@stigg/typescript 0.1.0-alpha.21 → 0.1.0-alpha.22

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/v1/coupons.d.mts +3 -3
  4. package/resources/v1/coupons.d.ts +3 -3
  5. package/resources/v1/customers/customers.d.mts +780 -0
  6. package/resources/v1/customers/customers.d.mts.map +1 -1
  7. package/resources/v1/customers/customers.d.ts +780 -0
  8. package/resources/v1/customers/customers.d.ts.map +1 -1
  9. package/resources/v1/customers/customers.js.map +1 -1
  10. package/resources/v1/customers/customers.mjs.map +1 -1
  11. package/resources/v1/events/credits/grants.d.mts +1 -1
  12. package/resources/v1/events/credits/grants.d.ts +1 -1
  13. package/resources/v1/products.d.mts +4 -4
  14. package/resources/v1/products.d.mts.map +1 -1
  15. package/resources/v1/products.d.ts +4 -4
  16. package/resources/v1/products.d.ts.map +1 -1
  17. package/resources/v1/subscriptions/subscriptions.d.mts +14 -11
  18. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  19. package/resources/v1/subscriptions/subscriptions.d.ts +14 -11
  20. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  21. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  22. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  23. package/src/resources/v1/coupons.ts +3 -3
  24. package/src/resources/v1/customers/customers.ts +1836 -0
  25. package/src/resources/v1/events/credits/grants.ts +1 -1
  26. package/src/resources/v1/products.ts +4 -4
  27. package/src/resources/v1/subscriptions/subscriptions.ts +14 -11
  28. package/src/version.ts +1 -1
  29. package/version.d.mts +1 -1
  30. package/version.d.ts +1 -1
  31. package/version.js +1 -1
  32. package/version.mjs +1 -1
@@ -139,6 +139,128 @@ export namespace CustomerResponse {
139
139
  */
140
140
  updatedAt: string;
141
141
 
142
+ /**
143
+ * The billing currency of the customer
144
+ */
145
+ billingCurrency?:
146
+ | 'usd'
147
+ | 'aed'
148
+ | 'all'
149
+ | 'amd'
150
+ | 'ang'
151
+ | 'aud'
152
+ | 'awg'
153
+ | 'azn'
154
+ | 'bam'
155
+ | 'bbd'
156
+ | 'bdt'
157
+ | 'bgn'
158
+ | 'bif'
159
+ | 'bmd'
160
+ | 'bnd'
161
+ | 'bsd'
162
+ | 'bwp'
163
+ | 'byn'
164
+ | 'bzd'
165
+ | 'brl'
166
+ | 'cad'
167
+ | 'cdf'
168
+ | 'chf'
169
+ | 'cny'
170
+ | 'czk'
171
+ | 'dkk'
172
+ | 'dop'
173
+ | 'dzd'
174
+ | 'egp'
175
+ | 'etb'
176
+ | 'eur'
177
+ | 'fjd'
178
+ | 'gbp'
179
+ | 'gel'
180
+ | 'gip'
181
+ | 'gmd'
182
+ | 'gyd'
183
+ | 'hkd'
184
+ | 'hrk'
185
+ | 'htg'
186
+ | 'idr'
187
+ | 'ils'
188
+ | 'inr'
189
+ | 'isk'
190
+ | 'jmd'
191
+ | 'jpy'
192
+ | 'kes'
193
+ | 'kgs'
194
+ | 'khr'
195
+ | 'kmf'
196
+ | 'krw'
197
+ | 'kyd'
198
+ | 'kzt'
199
+ | 'lbp'
200
+ | 'lkr'
201
+ | 'lrd'
202
+ | 'lsl'
203
+ | 'mad'
204
+ | 'mdl'
205
+ | 'mga'
206
+ | 'mkd'
207
+ | 'mmk'
208
+ | 'mnt'
209
+ | 'mop'
210
+ | 'mro'
211
+ | 'mvr'
212
+ | 'mwk'
213
+ | 'mxn'
214
+ | 'myr'
215
+ | 'mzn'
216
+ | 'nad'
217
+ | 'ngn'
218
+ | 'nok'
219
+ | 'npr'
220
+ | 'nzd'
221
+ | 'pgk'
222
+ | 'php'
223
+ | 'pkr'
224
+ | 'pln'
225
+ | 'qar'
226
+ | 'ron'
227
+ | 'rsd'
228
+ | 'rub'
229
+ | 'rwf'
230
+ | 'sar'
231
+ | 'sbd'
232
+ | 'scr'
233
+ | 'sek'
234
+ | 'sgd'
235
+ | 'sle'
236
+ | 'sll'
237
+ | 'sos'
238
+ | 'szl'
239
+ | 'thb'
240
+ | 'tjs'
241
+ | 'top'
242
+ | 'try'
243
+ | 'ttd'
244
+ | 'tzs'
245
+ | 'uah'
246
+ | 'uzs'
247
+ | 'vnd'
248
+ | 'vuv'
249
+ | 'wst'
250
+ | 'xaf'
251
+ | 'xcd'
252
+ | 'yer'
253
+ | 'zar'
254
+ | 'zmw'
255
+ | 'clp'
256
+ | 'djf'
257
+ | 'gnf'
258
+ | 'ugx'
259
+ | 'pyg'
260
+ | 'xof'
261
+ | 'xpf'
262
+ | null;
263
+
142
264
  /**
143
265
  * The unique identifier for the entity in the billing provider
144
266
  */
@@ -164,6 +286,11 @@ export namespace CustomerResponse {
164
286
  */
165
287
  integrations?: Array<Data.Integration>;
166
288
 
289
+ /**
290
+ * Language to use for this customer
291
+ */
292
+ language?: string | null;
293
+
167
294
  /**
168
295
  * Additional metadata
169
296
  */
@@ -173,6 +300,16 @@ export namespace CustomerResponse {
173
300
  * The name of the customer
174
301
  */
175
302
  name?: string | null;
303
+
304
+ /**
305
+ * Vendor-specific billing passthrough fields.
306
+ */
307
+ passthrough?: Data.Passthrough;
308
+
309
+ /**
310
+ * Timezone to use for this customer
311
+ */
312
+ timezone?: string | null;
176
313
  }
177
314
 
178
315
  export namespace Data {
@@ -235,6 +372,328 @@ export namespace CustomerResponse {
235
372
  | 'OPEN_FGA'
236
373
  | 'APP_STORE';
237
374
  }
375
+
376
+ /**
377
+ * Vendor-specific billing passthrough fields.
378
+ */
379
+ export interface Passthrough {
380
+ /**
381
+ * Stripe-specific billing fields for the customer.
382
+ */
383
+ stripe?: Passthrough.Stripe;
384
+
385
+ /**
386
+ * Zuora-specific billing fields for the customer.
387
+ */
388
+ zuora?: Passthrough.Zuora;
389
+ }
390
+
391
+ export namespace Passthrough {
392
+ /**
393
+ * Stripe-specific billing fields for the customer.
394
+ */
395
+ export interface Stripe {
396
+ /**
397
+ * Physical address
398
+ */
399
+ billingAddress?: Stripe.BillingAddress;
400
+
401
+ /**
402
+ * Customer name
403
+ */
404
+ customerName?: string;
405
+
406
+ /**
407
+ * Invoice custom fields
408
+ */
409
+ invoiceCustomFields?: { [key: string]: string };
410
+
411
+ /**
412
+ * Additional metadata
413
+ */
414
+ metadata?: { [key: string]: string };
415
+
416
+ /**
417
+ * Billing provider payment method id, attached to this customer
418
+ */
419
+ paymentMethodId?: string;
420
+
421
+ /**
422
+ * Physical address
423
+ */
424
+ shippingAddress?: Stripe.ShippingAddress;
425
+
426
+ /**
427
+ * Tax IDs
428
+ */
429
+ taxIds?: Array<Stripe.TaxID>;
430
+ }
431
+
432
+ export namespace Stripe {
433
+ /**
434
+ * Physical address
435
+ */
436
+ export interface BillingAddress {
437
+ /**
438
+ * City name
439
+ */
440
+ city?: string;
441
+
442
+ /**
443
+ * Country code or name
444
+ */
445
+ country?: string;
446
+
447
+ /**
448
+ * Street address line 1
449
+ */
450
+ line1?: string;
451
+
452
+ /**
453
+ * Street address line 2
454
+ */
455
+ line2?: string;
456
+
457
+ /**
458
+ * Postal or ZIP code
459
+ */
460
+ postalCode?: string;
461
+
462
+ /**
463
+ * State or province
464
+ */
465
+ state?: string;
466
+ }
467
+
468
+ /**
469
+ * Physical address
470
+ */
471
+ export interface ShippingAddress {
472
+ /**
473
+ * City name
474
+ */
475
+ city?: string;
476
+
477
+ /**
478
+ * Country code or name
479
+ */
480
+ country?: string;
481
+
482
+ /**
483
+ * Street address line 1
484
+ */
485
+ line1?: string;
486
+
487
+ /**
488
+ * Street address line 2
489
+ */
490
+ line2?: string;
491
+
492
+ /**
493
+ * Postal or ZIP code
494
+ */
495
+ postalCode?: string;
496
+
497
+ /**
498
+ * State or province
499
+ */
500
+ state?: string;
501
+ }
502
+
503
+ /**
504
+ * Tax identifier with type and value for customer tax exemptions.
505
+ */
506
+ export interface TaxID {
507
+ /**
508
+ * The type of tax exemption identifier, such as VAT.
509
+ */
510
+ type: string;
511
+
512
+ /**
513
+ * The actual tax identifier value
514
+ */
515
+ value: string;
516
+ }
517
+ }
518
+
519
+ /**
520
+ * Zuora-specific billing fields for the customer.
521
+ */
522
+ export interface Zuora {
523
+ /**
524
+ * Physical address
525
+ */
526
+ billingAddress?: Zuora.BillingAddress;
527
+
528
+ /**
529
+ * Customers selected currency
530
+ */
531
+ currency?:
532
+ | 'usd'
533
+ | 'aed'
534
+ | 'all'
535
+ | 'amd'
536
+ | 'ang'
537
+ | 'aud'
538
+ | 'awg'
539
+ | 'azn'
540
+ | 'bam'
541
+ | 'bbd'
542
+ | 'bdt'
543
+ | 'bgn'
544
+ | 'bif'
545
+ | 'bmd'
546
+ | 'bnd'
547
+ | 'bsd'
548
+ | 'bwp'
549
+ | 'byn'
550
+ | 'bzd'
551
+ | 'brl'
552
+ | 'cad'
553
+ | 'cdf'
554
+ | 'chf'
555
+ | 'cny'
556
+ | 'czk'
557
+ | 'dkk'
558
+ | 'dop'
559
+ | 'dzd'
560
+ | 'egp'
561
+ | 'etb'
562
+ | 'eur'
563
+ | 'fjd'
564
+ | 'gbp'
565
+ | 'gel'
566
+ | 'gip'
567
+ | 'gmd'
568
+ | 'gyd'
569
+ | 'hkd'
570
+ | 'hrk'
571
+ | 'htg'
572
+ | 'idr'
573
+ | 'ils'
574
+ | 'inr'
575
+ | 'isk'
576
+ | 'jmd'
577
+ | 'jpy'
578
+ | 'kes'
579
+ | 'kgs'
580
+ | 'khr'
581
+ | 'kmf'
582
+ | 'krw'
583
+ | 'kyd'
584
+ | 'kzt'
585
+ | 'lbp'
586
+ | 'lkr'
587
+ | 'lrd'
588
+ | 'lsl'
589
+ | 'mad'
590
+ | 'mdl'
591
+ | 'mga'
592
+ | 'mkd'
593
+ | 'mmk'
594
+ | 'mnt'
595
+ | 'mop'
596
+ | 'mro'
597
+ | 'mvr'
598
+ | 'mwk'
599
+ | 'mxn'
600
+ | 'myr'
601
+ | 'mzn'
602
+ | 'nad'
603
+ | 'ngn'
604
+ | 'nok'
605
+ | 'npr'
606
+ | 'nzd'
607
+ | 'pgk'
608
+ | 'php'
609
+ | 'pkr'
610
+ | 'pln'
611
+ | 'qar'
612
+ | 'ron'
613
+ | 'rsd'
614
+ | 'rub'
615
+ | 'rwf'
616
+ | 'sar'
617
+ | 'sbd'
618
+ | 'scr'
619
+ | 'sek'
620
+ | 'sgd'
621
+ | 'sle'
622
+ | 'sll'
623
+ | 'sos'
624
+ | 'szl'
625
+ | 'thb'
626
+ | 'tjs'
627
+ | 'top'
628
+ | 'try'
629
+ | 'ttd'
630
+ | 'tzs'
631
+ | 'uah'
632
+ | 'uzs'
633
+ | 'vnd'
634
+ | 'vuv'
635
+ | 'wst'
636
+ | 'xaf'
637
+ | 'xcd'
638
+ | 'yer'
639
+ | 'zar'
640
+ | 'zmw'
641
+ | 'clp'
642
+ | 'djf'
643
+ | 'gnf'
644
+ | 'ugx'
645
+ | 'pyg'
646
+ | 'xof'
647
+ | 'xpf';
648
+
649
+ /**
650
+ * Additional metadata
651
+ */
652
+ metadata?: { [key: string]: string };
653
+
654
+ /**
655
+ * Billing provider payment method id, attached to this customer
656
+ */
657
+ paymentMethodId?: string;
658
+ }
659
+
660
+ export namespace Zuora {
661
+ /**
662
+ * Physical address
663
+ */
664
+ export interface BillingAddress {
665
+ /**
666
+ * City name
667
+ */
668
+ city?: string;
669
+
670
+ /**
671
+ * Country code or name
672
+ */
673
+ country?: string;
674
+
675
+ /**
676
+ * Street address line 1
677
+ */
678
+ line1?: string;
679
+
680
+ /**
681
+ * Street address line 2
682
+ */
683
+ line2?: string;
684
+
685
+ /**
686
+ * Postal or ZIP code
687
+ */
688
+ postalCode?: string;
689
+
690
+ /**
691
+ * State or province
692
+ */
693
+ state?: string;
694
+ }
695
+ }
696
+ }
238
697
  }
239
698
  }
240
699
 
@@ -262,6 +721,128 @@ export interface CustomerListResponse {
262
721
  */
263
722
  updatedAt: string;
264
723
 
724
+ /**
725
+ * The billing currency of the customer
726
+ */
727
+ billingCurrency?:
728
+ | 'usd'
729
+ | 'aed'
730
+ | 'all'
731
+ | 'amd'
732
+ | 'ang'
733
+ | 'aud'
734
+ | 'awg'
735
+ | 'azn'
736
+ | 'bam'
737
+ | 'bbd'
738
+ | 'bdt'
739
+ | 'bgn'
740
+ | 'bif'
741
+ | 'bmd'
742
+ | 'bnd'
743
+ | 'bsd'
744
+ | 'bwp'
745
+ | 'byn'
746
+ | 'bzd'
747
+ | 'brl'
748
+ | 'cad'
749
+ | 'cdf'
750
+ | 'chf'
751
+ | 'cny'
752
+ | 'czk'
753
+ | 'dkk'
754
+ | 'dop'
755
+ | 'dzd'
756
+ | 'egp'
757
+ | 'etb'
758
+ | 'eur'
759
+ | 'fjd'
760
+ | 'gbp'
761
+ | 'gel'
762
+ | 'gip'
763
+ | 'gmd'
764
+ | 'gyd'
765
+ | 'hkd'
766
+ | 'hrk'
767
+ | 'htg'
768
+ | 'idr'
769
+ | 'ils'
770
+ | 'inr'
771
+ | 'isk'
772
+ | 'jmd'
773
+ | 'jpy'
774
+ | 'kes'
775
+ | 'kgs'
776
+ | 'khr'
777
+ | 'kmf'
778
+ | 'krw'
779
+ | 'kyd'
780
+ | 'kzt'
781
+ | 'lbp'
782
+ | 'lkr'
783
+ | 'lrd'
784
+ | 'lsl'
785
+ | 'mad'
786
+ | 'mdl'
787
+ | 'mga'
788
+ | 'mkd'
789
+ | 'mmk'
790
+ | 'mnt'
791
+ | 'mop'
792
+ | 'mro'
793
+ | 'mvr'
794
+ | 'mwk'
795
+ | 'mxn'
796
+ | 'myr'
797
+ | 'mzn'
798
+ | 'nad'
799
+ | 'ngn'
800
+ | 'nok'
801
+ | 'npr'
802
+ | 'nzd'
803
+ | 'pgk'
804
+ | 'php'
805
+ | 'pkr'
806
+ | 'pln'
807
+ | 'qar'
808
+ | 'ron'
809
+ | 'rsd'
810
+ | 'rub'
811
+ | 'rwf'
812
+ | 'sar'
813
+ | 'sbd'
814
+ | 'scr'
815
+ | 'sek'
816
+ | 'sgd'
817
+ | 'sle'
818
+ | 'sll'
819
+ | 'sos'
820
+ | 'szl'
821
+ | 'thb'
822
+ | 'tjs'
823
+ | 'top'
824
+ | 'try'
825
+ | 'ttd'
826
+ | 'tzs'
827
+ | 'uah'
828
+ | 'uzs'
829
+ | 'vnd'
830
+ | 'vuv'
831
+ | 'wst'
832
+ | 'xaf'
833
+ | 'xcd'
834
+ | 'yer'
835
+ | 'zar'
836
+ | 'zmw'
837
+ | 'clp'
838
+ | 'djf'
839
+ | 'gnf'
840
+ | 'ugx'
841
+ | 'pyg'
842
+ | 'xof'
843
+ | 'xpf'
844
+ | null;
845
+
265
846
  /**
266
847
  * The unique identifier for the entity in the billing provider
267
848
  */
@@ -287,6 +868,11 @@ export interface CustomerListResponse {
287
868
  */
288
869
  integrations?: Array<CustomerListResponse.Integration>;
289
870
 
871
+ /**
872
+ * Language to use for this customer
873
+ */
874
+ language?: string | null;
875
+
290
876
  /**
291
877
  * Additional metadata
292
878
  */
@@ -296,6 +882,16 @@ export interface CustomerListResponse {
296
882
  * The name of the customer
297
883
  */
298
884
  name?: string | null;
885
+
886
+ /**
887
+ * Vendor-specific billing passthrough fields.
888
+ */
889
+ passthrough?: CustomerListResponse.Passthrough;
890
+
891
+ /**
892
+ * Timezone to use for this customer
893
+ */
894
+ timezone?: string | null;
299
895
  }
300
896
 
301
897
  export namespace CustomerListResponse {
@@ -358,6 +954,328 @@ export namespace CustomerListResponse {
358
954
  | 'OPEN_FGA'
359
955
  | 'APP_STORE';
360
956
  }
957
+
958
+ /**
959
+ * Vendor-specific billing passthrough fields.
960
+ */
961
+ export interface Passthrough {
962
+ /**
963
+ * Stripe-specific billing fields for the customer.
964
+ */
965
+ stripe?: Passthrough.Stripe;
966
+
967
+ /**
968
+ * Zuora-specific billing fields for the customer.
969
+ */
970
+ zuora?: Passthrough.Zuora;
971
+ }
972
+
973
+ export namespace Passthrough {
974
+ /**
975
+ * Stripe-specific billing fields for the customer.
976
+ */
977
+ export interface Stripe {
978
+ /**
979
+ * Physical address
980
+ */
981
+ billingAddress?: Stripe.BillingAddress;
982
+
983
+ /**
984
+ * Customer name
985
+ */
986
+ customerName?: string;
987
+
988
+ /**
989
+ * Invoice custom fields
990
+ */
991
+ invoiceCustomFields?: { [key: string]: string };
992
+
993
+ /**
994
+ * Additional metadata
995
+ */
996
+ metadata?: { [key: string]: string };
997
+
998
+ /**
999
+ * Billing provider payment method id, attached to this customer
1000
+ */
1001
+ paymentMethodId?: string;
1002
+
1003
+ /**
1004
+ * Physical address
1005
+ */
1006
+ shippingAddress?: Stripe.ShippingAddress;
1007
+
1008
+ /**
1009
+ * Tax IDs
1010
+ */
1011
+ taxIds?: Array<Stripe.TaxID>;
1012
+ }
1013
+
1014
+ export namespace Stripe {
1015
+ /**
1016
+ * Physical address
1017
+ */
1018
+ export interface BillingAddress {
1019
+ /**
1020
+ * City name
1021
+ */
1022
+ city?: string;
1023
+
1024
+ /**
1025
+ * Country code or name
1026
+ */
1027
+ country?: string;
1028
+
1029
+ /**
1030
+ * Street address line 1
1031
+ */
1032
+ line1?: string;
1033
+
1034
+ /**
1035
+ * Street address line 2
1036
+ */
1037
+ line2?: string;
1038
+
1039
+ /**
1040
+ * Postal or ZIP code
1041
+ */
1042
+ postalCode?: string;
1043
+
1044
+ /**
1045
+ * State or province
1046
+ */
1047
+ state?: string;
1048
+ }
1049
+
1050
+ /**
1051
+ * Physical address
1052
+ */
1053
+ export interface ShippingAddress {
1054
+ /**
1055
+ * City name
1056
+ */
1057
+ city?: string;
1058
+
1059
+ /**
1060
+ * Country code or name
1061
+ */
1062
+ country?: string;
1063
+
1064
+ /**
1065
+ * Street address line 1
1066
+ */
1067
+ line1?: string;
1068
+
1069
+ /**
1070
+ * Street address line 2
1071
+ */
1072
+ line2?: string;
1073
+
1074
+ /**
1075
+ * Postal or ZIP code
1076
+ */
1077
+ postalCode?: string;
1078
+
1079
+ /**
1080
+ * State or province
1081
+ */
1082
+ state?: string;
1083
+ }
1084
+
1085
+ /**
1086
+ * Tax identifier with type and value for customer tax exemptions.
1087
+ */
1088
+ export interface TaxID {
1089
+ /**
1090
+ * The type of tax exemption identifier, such as VAT.
1091
+ */
1092
+ type: string;
1093
+
1094
+ /**
1095
+ * The actual tax identifier value
1096
+ */
1097
+ value: string;
1098
+ }
1099
+ }
1100
+
1101
+ /**
1102
+ * Zuora-specific billing fields for the customer.
1103
+ */
1104
+ export interface Zuora {
1105
+ /**
1106
+ * Physical address
1107
+ */
1108
+ billingAddress?: Zuora.BillingAddress;
1109
+
1110
+ /**
1111
+ * Customers selected currency
1112
+ */
1113
+ currency?:
1114
+ | 'usd'
1115
+ | 'aed'
1116
+ | 'all'
1117
+ | 'amd'
1118
+ | 'ang'
1119
+ | 'aud'
1120
+ | 'awg'
1121
+ | 'azn'
1122
+ | 'bam'
1123
+ | 'bbd'
1124
+ | 'bdt'
1125
+ | 'bgn'
1126
+ | 'bif'
1127
+ | 'bmd'
1128
+ | 'bnd'
1129
+ | 'bsd'
1130
+ | 'bwp'
1131
+ | 'byn'
1132
+ | 'bzd'
1133
+ | 'brl'
1134
+ | 'cad'
1135
+ | 'cdf'
1136
+ | 'chf'
1137
+ | 'cny'
1138
+ | 'czk'
1139
+ | 'dkk'
1140
+ | 'dop'
1141
+ | 'dzd'
1142
+ | 'egp'
1143
+ | 'etb'
1144
+ | 'eur'
1145
+ | 'fjd'
1146
+ | 'gbp'
1147
+ | 'gel'
1148
+ | 'gip'
1149
+ | 'gmd'
1150
+ | 'gyd'
1151
+ | 'hkd'
1152
+ | 'hrk'
1153
+ | 'htg'
1154
+ | 'idr'
1155
+ | 'ils'
1156
+ | 'inr'
1157
+ | 'isk'
1158
+ | 'jmd'
1159
+ | 'jpy'
1160
+ | 'kes'
1161
+ | 'kgs'
1162
+ | 'khr'
1163
+ | 'kmf'
1164
+ | 'krw'
1165
+ | 'kyd'
1166
+ | 'kzt'
1167
+ | 'lbp'
1168
+ | 'lkr'
1169
+ | 'lrd'
1170
+ | 'lsl'
1171
+ | 'mad'
1172
+ | 'mdl'
1173
+ | 'mga'
1174
+ | 'mkd'
1175
+ | 'mmk'
1176
+ | 'mnt'
1177
+ | 'mop'
1178
+ | 'mro'
1179
+ | 'mvr'
1180
+ | 'mwk'
1181
+ | 'mxn'
1182
+ | 'myr'
1183
+ | 'mzn'
1184
+ | 'nad'
1185
+ | 'ngn'
1186
+ | 'nok'
1187
+ | 'npr'
1188
+ | 'nzd'
1189
+ | 'pgk'
1190
+ | 'php'
1191
+ | 'pkr'
1192
+ | 'pln'
1193
+ | 'qar'
1194
+ | 'ron'
1195
+ | 'rsd'
1196
+ | 'rub'
1197
+ | 'rwf'
1198
+ | 'sar'
1199
+ | 'sbd'
1200
+ | 'scr'
1201
+ | 'sek'
1202
+ | 'sgd'
1203
+ | 'sle'
1204
+ | 'sll'
1205
+ | 'sos'
1206
+ | 'szl'
1207
+ | 'thb'
1208
+ | 'tjs'
1209
+ | 'top'
1210
+ | 'try'
1211
+ | 'ttd'
1212
+ | 'tzs'
1213
+ | 'uah'
1214
+ | 'uzs'
1215
+ | 'vnd'
1216
+ | 'vuv'
1217
+ | 'wst'
1218
+ | 'xaf'
1219
+ | 'xcd'
1220
+ | 'yer'
1221
+ | 'zar'
1222
+ | 'zmw'
1223
+ | 'clp'
1224
+ | 'djf'
1225
+ | 'gnf'
1226
+ | 'ugx'
1227
+ | 'pyg'
1228
+ | 'xof'
1229
+ | 'xpf';
1230
+
1231
+ /**
1232
+ * Additional metadata
1233
+ */
1234
+ metadata?: { [key: string]: string };
1235
+
1236
+ /**
1237
+ * Billing provider payment method id, attached to this customer
1238
+ */
1239
+ paymentMethodId?: string;
1240
+ }
1241
+
1242
+ export namespace Zuora {
1243
+ /**
1244
+ * Physical address
1245
+ */
1246
+ export interface BillingAddress {
1247
+ /**
1248
+ * City name
1249
+ */
1250
+ city?: string;
1251
+
1252
+ /**
1253
+ * Country code or name
1254
+ */
1255
+ country?: string;
1256
+
1257
+ /**
1258
+ * Street address line 1
1259
+ */
1260
+ line1?: string;
1261
+
1262
+ /**
1263
+ * Street address line 2
1264
+ */
1265
+ line2?: string;
1266
+
1267
+ /**
1268
+ * Postal or ZIP code
1269
+ */
1270
+ postalCode?: string;
1271
+
1272
+ /**
1273
+ * State or province
1274
+ */
1275
+ state?: string;
1276
+ }
1277
+ }
1278
+ }
361
1279
  }
362
1280
 
363
1281
  /**
@@ -403,6 +1321,128 @@ export interface CustomerListResourcesResponse {
403
1321
  }
404
1322
 
405
1323
  export interface CustomerUpdateParams {
1324
+ /**
1325
+ * The billing currency of the customer
1326
+ */
1327
+ billingCurrency?:
1328
+ | 'usd'
1329
+ | 'aed'
1330
+ | 'all'
1331
+ | 'amd'
1332
+ | 'ang'
1333
+ | 'aud'
1334
+ | 'awg'
1335
+ | 'azn'
1336
+ | 'bam'
1337
+ | 'bbd'
1338
+ | 'bdt'
1339
+ | 'bgn'
1340
+ | 'bif'
1341
+ | 'bmd'
1342
+ | 'bnd'
1343
+ | 'bsd'
1344
+ | 'bwp'
1345
+ | 'byn'
1346
+ | 'bzd'
1347
+ | 'brl'
1348
+ | 'cad'
1349
+ | 'cdf'
1350
+ | 'chf'
1351
+ | 'cny'
1352
+ | 'czk'
1353
+ | 'dkk'
1354
+ | 'dop'
1355
+ | 'dzd'
1356
+ | 'egp'
1357
+ | 'etb'
1358
+ | 'eur'
1359
+ | 'fjd'
1360
+ | 'gbp'
1361
+ | 'gel'
1362
+ | 'gip'
1363
+ | 'gmd'
1364
+ | 'gyd'
1365
+ | 'hkd'
1366
+ | 'hrk'
1367
+ | 'htg'
1368
+ | 'idr'
1369
+ | 'ils'
1370
+ | 'inr'
1371
+ | 'isk'
1372
+ | 'jmd'
1373
+ | 'jpy'
1374
+ | 'kes'
1375
+ | 'kgs'
1376
+ | 'khr'
1377
+ | 'kmf'
1378
+ | 'krw'
1379
+ | 'kyd'
1380
+ | 'kzt'
1381
+ | 'lbp'
1382
+ | 'lkr'
1383
+ | 'lrd'
1384
+ | 'lsl'
1385
+ | 'mad'
1386
+ | 'mdl'
1387
+ | 'mga'
1388
+ | 'mkd'
1389
+ | 'mmk'
1390
+ | 'mnt'
1391
+ | 'mop'
1392
+ | 'mro'
1393
+ | 'mvr'
1394
+ | 'mwk'
1395
+ | 'mxn'
1396
+ | 'myr'
1397
+ | 'mzn'
1398
+ | 'nad'
1399
+ | 'ngn'
1400
+ | 'nok'
1401
+ | 'npr'
1402
+ | 'nzd'
1403
+ | 'pgk'
1404
+ | 'php'
1405
+ | 'pkr'
1406
+ | 'pln'
1407
+ | 'qar'
1408
+ | 'ron'
1409
+ | 'rsd'
1410
+ | 'rub'
1411
+ | 'rwf'
1412
+ | 'sar'
1413
+ | 'sbd'
1414
+ | 'scr'
1415
+ | 'sek'
1416
+ | 'sgd'
1417
+ | 'sle'
1418
+ | 'sll'
1419
+ | 'sos'
1420
+ | 'szl'
1421
+ | 'thb'
1422
+ | 'tjs'
1423
+ | 'top'
1424
+ | 'try'
1425
+ | 'ttd'
1426
+ | 'tzs'
1427
+ | 'uah'
1428
+ | 'uzs'
1429
+ | 'vnd'
1430
+ | 'vuv'
1431
+ | 'wst'
1432
+ | 'xaf'
1433
+ | 'xcd'
1434
+ | 'yer'
1435
+ | 'zar'
1436
+ | 'zmw'
1437
+ | 'clp'
1438
+ | 'djf'
1439
+ | 'gnf'
1440
+ | 'ugx'
1441
+ | 'pyg'
1442
+ | 'xof'
1443
+ | 'xpf'
1444
+ | null;
1445
+
406
1446
  /**
407
1447
  * The unique identifier for the entity in the billing provider
408
1448
  */
@@ -423,6 +1463,11 @@ export interface CustomerUpdateParams {
423
1463
  */
424
1464
  integrations?: Array<CustomerUpdateParams.Integration>;
425
1465
 
1466
+ /**
1467
+ * Language to use for this customer
1468
+ */
1469
+ language?: string | null;
1470
+
426
1471
  /**
427
1472
  * Additional metadata
428
1473
  */
@@ -432,6 +1477,16 @@ export interface CustomerUpdateParams {
432
1477
  * The name of the customer
433
1478
  */
434
1479
  name?: string | null;
1480
+
1481
+ /**
1482
+ * Vendor-specific billing passthrough fields.
1483
+ */
1484
+ passthrough?: CustomerUpdateParams.Passthrough;
1485
+
1486
+ /**
1487
+ * Timezone to use for this customer
1488
+ */
1489
+ timezone?: string | null;
435
1490
  }
436
1491
 
437
1492
  export namespace CustomerUpdateParams {
@@ -464,6 +1519,328 @@ export namespace CustomerUpdateParams {
464
1519
  | 'OPEN_FGA'
465
1520
  | 'APP_STORE';
466
1521
  }
1522
+
1523
+ /**
1524
+ * Vendor-specific billing passthrough fields.
1525
+ */
1526
+ export interface Passthrough {
1527
+ /**
1528
+ * Stripe-specific billing fields for the customer.
1529
+ */
1530
+ stripe?: Passthrough.Stripe;
1531
+
1532
+ /**
1533
+ * Zuora-specific billing fields for the customer.
1534
+ */
1535
+ zuora?: Passthrough.Zuora;
1536
+ }
1537
+
1538
+ export namespace Passthrough {
1539
+ /**
1540
+ * Stripe-specific billing fields for the customer.
1541
+ */
1542
+ export interface Stripe {
1543
+ /**
1544
+ * Physical address
1545
+ */
1546
+ billingAddress?: Stripe.BillingAddress;
1547
+
1548
+ /**
1549
+ * Customer name
1550
+ */
1551
+ customerName?: string;
1552
+
1553
+ /**
1554
+ * Invoice custom fields
1555
+ */
1556
+ invoiceCustomFields?: { [key: string]: string };
1557
+
1558
+ /**
1559
+ * Additional metadata
1560
+ */
1561
+ metadata?: { [key: string]: string };
1562
+
1563
+ /**
1564
+ * Billing provider payment method id, attached to this customer
1565
+ */
1566
+ paymentMethodId?: string;
1567
+
1568
+ /**
1569
+ * Physical address
1570
+ */
1571
+ shippingAddress?: Stripe.ShippingAddress;
1572
+
1573
+ /**
1574
+ * Tax IDs
1575
+ */
1576
+ taxIds?: Array<Stripe.TaxID>;
1577
+ }
1578
+
1579
+ export namespace Stripe {
1580
+ /**
1581
+ * Physical address
1582
+ */
1583
+ export interface BillingAddress {
1584
+ /**
1585
+ * City name
1586
+ */
1587
+ city?: string;
1588
+
1589
+ /**
1590
+ * Country code or name
1591
+ */
1592
+ country?: string;
1593
+
1594
+ /**
1595
+ * Street address line 1
1596
+ */
1597
+ line1?: string;
1598
+
1599
+ /**
1600
+ * Street address line 2
1601
+ */
1602
+ line2?: string;
1603
+
1604
+ /**
1605
+ * Postal or ZIP code
1606
+ */
1607
+ postalCode?: string;
1608
+
1609
+ /**
1610
+ * State or province
1611
+ */
1612
+ state?: string;
1613
+ }
1614
+
1615
+ /**
1616
+ * Physical address
1617
+ */
1618
+ export interface ShippingAddress {
1619
+ /**
1620
+ * City name
1621
+ */
1622
+ city?: string;
1623
+
1624
+ /**
1625
+ * Country code or name
1626
+ */
1627
+ country?: string;
1628
+
1629
+ /**
1630
+ * Street address line 1
1631
+ */
1632
+ line1?: string;
1633
+
1634
+ /**
1635
+ * Street address line 2
1636
+ */
1637
+ line2?: string;
1638
+
1639
+ /**
1640
+ * Postal or ZIP code
1641
+ */
1642
+ postalCode?: string;
1643
+
1644
+ /**
1645
+ * State or province
1646
+ */
1647
+ state?: string;
1648
+ }
1649
+
1650
+ /**
1651
+ * Tax identifier with type and value for customer tax exemptions.
1652
+ */
1653
+ export interface TaxID {
1654
+ /**
1655
+ * The type of tax exemption identifier, such as VAT.
1656
+ */
1657
+ type: string;
1658
+
1659
+ /**
1660
+ * The actual tax identifier value
1661
+ */
1662
+ value: string;
1663
+ }
1664
+ }
1665
+
1666
+ /**
1667
+ * Zuora-specific billing fields for the customer.
1668
+ */
1669
+ export interface Zuora {
1670
+ /**
1671
+ * Physical address
1672
+ */
1673
+ billingAddress?: Zuora.BillingAddress;
1674
+
1675
+ /**
1676
+ * Customers selected currency
1677
+ */
1678
+ currency?:
1679
+ | 'usd'
1680
+ | 'aed'
1681
+ | 'all'
1682
+ | 'amd'
1683
+ | 'ang'
1684
+ | 'aud'
1685
+ | 'awg'
1686
+ | 'azn'
1687
+ | 'bam'
1688
+ | 'bbd'
1689
+ | 'bdt'
1690
+ | 'bgn'
1691
+ | 'bif'
1692
+ | 'bmd'
1693
+ | 'bnd'
1694
+ | 'bsd'
1695
+ | 'bwp'
1696
+ | 'byn'
1697
+ | 'bzd'
1698
+ | 'brl'
1699
+ | 'cad'
1700
+ | 'cdf'
1701
+ | 'chf'
1702
+ | 'cny'
1703
+ | 'czk'
1704
+ | 'dkk'
1705
+ | 'dop'
1706
+ | 'dzd'
1707
+ | 'egp'
1708
+ | 'etb'
1709
+ | 'eur'
1710
+ | 'fjd'
1711
+ | 'gbp'
1712
+ | 'gel'
1713
+ | 'gip'
1714
+ | 'gmd'
1715
+ | 'gyd'
1716
+ | 'hkd'
1717
+ | 'hrk'
1718
+ | 'htg'
1719
+ | 'idr'
1720
+ | 'ils'
1721
+ | 'inr'
1722
+ | 'isk'
1723
+ | 'jmd'
1724
+ | 'jpy'
1725
+ | 'kes'
1726
+ | 'kgs'
1727
+ | 'khr'
1728
+ | 'kmf'
1729
+ | 'krw'
1730
+ | 'kyd'
1731
+ | 'kzt'
1732
+ | 'lbp'
1733
+ | 'lkr'
1734
+ | 'lrd'
1735
+ | 'lsl'
1736
+ | 'mad'
1737
+ | 'mdl'
1738
+ | 'mga'
1739
+ | 'mkd'
1740
+ | 'mmk'
1741
+ | 'mnt'
1742
+ | 'mop'
1743
+ | 'mro'
1744
+ | 'mvr'
1745
+ | 'mwk'
1746
+ | 'mxn'
1747
+ | 'myr'
1748
+ | 'mzn'
1749
+ | 'nad'
1750
+ | 'ngn'
1751
+ | 'nok'
1752
+ | 'npr'
1753
+ | 'nzd'
1754
+ | 'pgk'
1755
+ | 'php'
1756
+ | 'pkr'
1757
+ | 'pln'
1758
+ | 'qar'
1759
+ | 'ron'
1760
+ | 'rsd'
1761
+ | 'rub'
1762
+ | 'rwf'
1763
+ | 'sar'
1764
+ | 'sbd'
1765
+ | 'scr'
1766
+ | 'sek'
1767
+ | 'sgd'
1768
+ | 'sle'
1769
+ | 'sll'
1770
+ | 'sos'
1771
+ | 'szl'
1772
+ | 'thb'
1773
+ | 'tjs'
1774
+ | 'top'
1775
+ | 'try'
1776
+ | 'ttd'
1777
+ | 'tzs'
1778
+ | 'uah'
1779
+ | 'uzs'
1780
+ | 'vnd'
1781
+ | 'vuv'
1782
+ | 'wst'
1783
+ | 'xaf'
1784
+ | 'xcd'
1785
+ | 'yer'
1786
+ | 'zar'
1787
+ | 'zmw'
1788
+ | 'clp'
1789
+ | 'djf'
1790
+ | 'gnf'
1791
+ | 'ugx'
1792
+ | 'pyg'
1793
+ | 'xof'
1794
+ | 'xpf';
1795
+
1796
+ /**
1797
+ * Additional metadata
1798
+ */
1799
+ metadata?: { [key: string]: string };
1800
+
1801
+ /**
1802
+ * Billing provider payment method id, attached to this customer
1803
+ */
1804
+ paymentMethodId?: string;
1805
+ }
1806
+
1807
+ export namespace Zuora {
1808
+ /**
1809
+ * Physical address
1810
+ */
1811
+ export interface BillingAddress {
1812
+ /**
1813
+ * City name
1814
+ */
1815
+ city?: string;
1816
+
1817
+ /**
1818
+ * Country code or name
1819
+ */
1820
+ country?: string;
1821
+
1822
+ /**
1823
+ * Street address line 1
1824
+ */
1825
+ line1?: string;
1826
+
1827
+ /**
1828
+ * Street address line 2
1829
+ */
1830
+ line2?: string;
1831
+
1832
+ /**
1833
+ * Postal or ZIP code
1834
+ */
1835
+ postalCode?: string;
1836
+
1837
+ /**
1838
+ * State or province
1839
+ */
1840
+ state?: string;
1841
+ }
1842
+ }
1843
+ }
467
1844
  }
468
1845
 
469
1846
  export interface CustomerListParams extends MyCursorIDPageParams {
@@ -574,6 +1951,128 @@ export interface CustomerProvisionParams {
574
1951
  */
575
1952
  id: string;
576
1953
 
1954
+ /**
1955
+ * The billing currency of the customer
1956
+ */
1957
+ billingCurrency?:
1958
+ | 'usd'
1959
+ | 'aed'
1960
+ | 'all'
1961
+ | 'amd'
1962
+ | 'ang'
1963
+ | 'aud'
1964
+ | 'awg'
1965
+ | 'azn'
1966
+ | 'bam'
1967
+ | 'bbd'
1968
+ | 'bdt'
1969
+ | 'bgn'
1970
+ | 'bif'
1971
+ | 'bmd'
1972
+ | 'bnd'
1973
+ | 'bsd'
1974
+ | 'bwp'
1975
+ | 'byn'
1976
+ | 'bzd'
1977
+ | 'brl'
1978
+ | 'cad'
1979
+ | 'cdf'
1980
+ | 'chf'
1981
+ | 'cny'
1982
+ | 'czk'
1983
+ | 'dkk'
1984
+ | 'dop'
1985
+ | 'dzd'
1986
+ | 'egp'
1987
+ | 'etb'
1988
+ | 'eur'
1989
+ | 'fjd'
1990
+ | 'gbp'
1991
+ | 'gel'
1992
+ | 'gip'
1993
+ | 'gmd'
1994
+ | 'gyd'
1995
+ | 'hkd'
1996
+ | 'hrk'
1997
+ | 'htg'
1998
+ | 'idr'
1999
+ | 'ils'
2000
+ | 'inr'
2001
+ | 'isk'
2002
+ | 'jmd'
2003
+ | 'jpy'
2004
+ | 'kes'
2005
+ | 'kgs'
2006
+ | 'khr'
2007
+ | 'kmf'
2008
+ | 'krw'
2009
+ | 'kyd'
2010
+ | 'kzt'
2011
+ | 'lbp'
2012
+ | 'lkr'
2013
+ | 'lrd'
2014
+ | 'lsl'
2015
+ | 'mad'
2016
+ | 'mdl'
2017
+ | 'mga'
2018
+ | 'mkd'
2019
+ | 'mmk'
2020
+ | 'mnt'
2021
+ | 'mop'
2022
+ | 'mro'
2023
+ | 'mvr'
2024
+ | 'mwk'
2025
+ | 'mxn'
2026
+ | 'myr'
2027
+ | 'mzn'
2028
+ | 'nad'
2029
+ | 'ngn'
2030
+ | 'nok'
2031
+ | 'npr'
2032
+ | 'nzd'
2033
+ | 'pgk'
2034
+ | 'php'
2035
+ | 'pkr'
2036
+ | 'pln'
2037
+ | 'qar'
2038
+ | 'ron'
2039
+ | 'rsd'
2040
+ | 'rub'
2041
+ | 'rwf'
2042
+ | 'sar'
2043
+ | 'sbd'
2044
+ | 'scr'
2045
+ | 'sek'
2046
+ | 'sgd'
2047
+ | 'sle'
2048
+ | 'sll'
2049
+ | 'sos'
2050
+ | 'szl'
2051
+ | 'thb'
2052
+ | 'tjs'
2053
+ | 'top'
2054
+ | 'try'
2055
+ | 'ttd'
2056
+ | 'tzs'
2057
+ | 'uah'
2058
+ | 'uzs'
2059
+ | 'vnd'
2060
+ | 'vuv'
2061
+ | 'wst'
2062
+ | 'xaf'
2063
+ | 'xcd'
2064
+ | 'yer'
2065
+ | 'zar'
2066
+ | 'zmw'
2067
+ | 'clp'
2068
+ | 'djf'
2069
+ | 'gnf'
2070
+ | 'ugx'
2071
+ | 'pyg'
2072
+ | 'xof'
2073
+ | 'xpf'
2074
+ | null;
2075
+
577
2076
  /**
578
2077
  * The unique identifier for the entity in the billing provider
579
2078
  */
@@ -599,6 +2098,11 @@ export interface CustomerProvisionParams {
599
2098
  */
600
2099
  integrations?: Array<CustomerProvisionParams.Integration>;
601
2100
 
2101
+ /**
2102
+ * Language to use for this customer
2103
+ */
2104
+ language?: string | null;
2105
+
602
2106
  /**
603
2107
  * Additional metadata
604
2108
  */
@@ -608,6 +2112,16 @@ export interface CustomerProvisionParams {
608
2112
  * The name of the customer
609
2113
  */
610
2114
  name?: string | null;
2115
+
2116
+ /**
2117
+ * Vendor-specific billing passthrough fields.
2118
+ */
2119
+ passthrough?: CustomerProvisionParams.Passthrough;
2120
+
2121
+ /**
2122
+ * Timezone to use for this customer
2123
+ */
2124
+ timezone?: string | null;
611
2125
  }
612
2126
 
613
2127
  export namespace CustomerProvisionParams {
@@ -670,6 +2184,328 @@ export namespace CustomerProvisionParams {
670
2184
  | 'OPEN_FGA'
671
2185
  | 'APP_STORE';
672
2186
  }
2187
+
2188
+ /**
2189
+ * Vendor-specific billing passthrough fields.
2190
+ */
2191
+ export interface Passthrough {
2192
+ /**
2193
+ * Stripe-specific billing fields for the customer.
2194
+ */
2195
+ stripe?: Passthrough.Stripe;
2196
+
2197
+ /**
2198
+ * Zuora-specific billing fields for the customer.
2199
+ */
2200
+ zuora?: Passthrough.Zuora;
2201
+ }
2202
+
2203
+ export namespace Passthrough {
2204
+ /**
2205
+ * Stripe-specific billing fields for the customer.
2206
+ */
2207
+ export interface Stripe {
2208
+ /**
2209
+ * Physical address
2210
+ */
2211
+ billingAddress?: Stripe.BillingAddress;
2212
+
2213
+ /**
2214
+ * Customer name
2215
+ */
2216
+ customerName?: string;
2217
+
2218
+ /**
2219
+ * Invoice custom fields
2220
+ */
2221
+ invoiceCustomFields?: { [key: string]: string };
2222
+
2223
+ /**
2224
+ * Additional metadata
2225
+ */
2226
+ metadata?: { [key: string]: string };
2227
+
2228
+ /**
2229
+ * Billing provider payment method id, attached to this customer
2230
+ */
2231
+ paymentMethodId?: string;
2232
+
2233
+ /**
2234
+ * Physical address
2235
+ */
2236
+ shippingAddress?: Stripe.ShippingAddress;
2237
+
2238
+ /**
2239
+ * Tax IDs
2240
+ */
2241
+ taxIds?: Array<Stripe.TaxID>;
2242
+ }
2243
+
2244
+ export namespace Stripe {
2245
+ /**
2246
+ * Physical address
2247
+ */
2248
+ export interface BillingAddress {
2249
+ /**
2250
+ * City name
2251
+ */
2252
+ city?: string;
2253
+
2254
+ /**
2255
+ * Country code or name
2256
+ */
2257
+ country?: string;
2258
+
2259
+ /**
2260
+ * Street address line 1
2261
+ */
2262
+ line1?: string;
2263
+
2264
+ /**
2265
+ * Street address line 2
2266
+ */
2267
+ line2?: string;
2268
+
2269
+ /**
2270
+ * Postal or ZIP code
2271
+ */
2272
+ postalCode?: string;
2273
+
2274
+ /**
2275
+ * State or province
2276
+ */
2277
+ state?: string;
2278
+ }
2279
+
2280
+ /**
2281
+ * Physical address
2282
+ */
2283
+ export interface ShippingAddress {
2284
+ /**
2285
+ * City name
2286
+ */
2287
+ city?: string;
2288
+
2289
+ /**
2290
+ * Country code or name
2291
+ */
2292
+ country?: string;
2293
+
2294
+ /**
2295
+ * Street address line 1
2296
+ */
2297
+ line1?: string;
2298
+
2299
+ /**
2300
+ * Street address line 2
2301
+ */
2302
+ line2?: string;
2303
+
2304
+ /**
2305
+ * Postal or ZIP code
2306
+ */
2307
+ postalCode?: string;
2308
+
2309
+ /**
2310
+ * State or province
2311
+ */
2312
+ state?: string;
2313
+ }
2314
+
2315
+ /**
2316
+ * Tax identifier with type and value for customer tax exemptions.
2317
+ */
2318
+ export interface TaxID {
2319
+ /**
2320
+ * The type of tax exemption identifier, such as VAT.
2321
+ */
2322
+ type: string;
2323
+
2324
+ /**
2325
+ * The actual tax identifier value
2326
+ */
2327
+ value: string;
2328
+ }
2329
+ }
2330
+
2331
+ /**
2332
+ * Zuora-specific billing fields for the customer.
2333
+ */
2334
+ export interface Zuora {
2335
+ /**
2336
+ * Physical address
2337
+ */
2338
+ billingAddress?: Zuora.BillingAddress;
2339
+
2340
+ /**
2341
+ * Customers selected currency
2342
+ */
2343
+ currency?:
2344
+ | 'usd'
2345
+ | 'aed'
2346
+ | 'all'
2347
+ | 'amd'
2348
+ | 'ang'
2349
+ | 'aud'
2350
+ | 'awg'
2351
+ | 'azn'
2352
+ | 'bam'
2353
+ | 'bbd'
2354
+ | 'bdt'
2355
+ | 'bgn'
2356
+ | 'bif'
2357
+ | 'bmd'
2358
+ | 'bnd'
2359
+ | 'bsd'
2360
+ | 'bwp'
2361
+ | 'byn'
2362
+ | 'bzd'
2363
+ | 'brl'
2364
+ | 'cad'
2365
+ | 'cdf'
2366
+ | 'chf'
2367
+ | 'cny'
2368
+ | 'czk'
2369
+ | 'dkk'
2370
+ | 'dop'
2371
+ | 'dzd'
2372
+ | 'egp'
2373
+ | 'etb'
2374
+ | 'eur'
2375
+ | 'fjd'
2376
+ | 'gbp'
2377
+ | 'gel'
2378
+ | 'gip'
2379
+ | 'gmd'
2380
+ | 'gyd'
2381
+ | 'hkd'
2382
+ | 'hrk'
2383
+ | 'htg'
2384
+ | 'idr'
2385
+ | 'ils'
2386
+ | 'inr'
2387
+ | 'isk'
2388
+ | 'jmd'
2389
+ | 'jpy'
2390
+ | 'kes'
2391
+ | 'kgs'
2392
+ | 'khr'
2393
+ | 'kmf'
2394
+ | 'krw'
2395
+ | 'kyd'
2396
+ | 'kzt'
2397
+ | 'lbp'
2398
+ | 'lkr'
2399
+ | 'lrd'
2400
+ | 'lsl'
2401
+ | 'mad'
2402
+ | 'mdl'
2403
+ | 'mga'
2404
+ | 'mkd'
2405
+ | 'mmk'
2406
+ | 'mnt'
2407
+ | 'mop'
2408
+ | 'mro'
2409
+ | 'mvr'
2410
+ | 'mwk'
2411
+ | 'mxn'
2412
+ | 'myr'
2413
+ | 'mzn'
2414
+ | 'nad'
2415
+ | 'ngn'
2416
+ | 'nok'
2417
+ | 'npr'
2418
+ | 'nzd'
2419
+ | 'pgk'
2420
+ | 'php'
2421
+ | 'pkr'
2422
+ | 'pln'
2423
+ | 'qar'
2424
+ | 'ron'
2425
+ | 'rsd'
2426
+ | 'rub'
2427
+ | 'rwf'
2428
+ | 'sar'
2429
+ | 'sbd'
2430
+ | 'scr'
2431
+ | 'sek'
2432
+ | 'sgd'
2433
+ | 'sle'
2434
+ | 'sll'
2435
+ | 'sos'
2436
+ | 'szl'
2437
+ | 'thb'
2438
+ | 'tjs'
2439
+ | 'top'
2440
+ | 'try'
2441
+ | 'ttd'
2442
+ | 'tzs'
2443
+ | 'uah'
2444
+ | 'uzs'
2445
+ | 'vnd'
2446
+ | 'vuv'
2447
+ | 'wst'
2448
+ | 'xaf'
2449
+ | 'xcd'
2450
+ | 'yer'
2451
+ | 'zar'
2452
+ | 'zmw'
2453
+ | 'clp'
2454
+ | 'djf'
2455
+ | 'gnf'
2456
+ | 'ugx'
2457
+ | 'pyg'
2458
+ | 'xof'
2459
+ | 'xpf';
2460
+
2461
+ /**
2462
+ * Additional metadata
2463
+ */
2464
+ metadata?: { [key: string]: string };
2465
+
2466
+ /**
2467
+ * Billing provider payment method id, attached to this customer
2468
+ */
2469
+ paymentMethodId?: string;
2470
+ }
2471
+
2472
+ export namespace Zuora {
2473
+ /**
2474
+ * Physical address
2475
+ */
2476
+ export interface BillingAddress {
2477
+ /**
2478
+ * City name
2479
+ */
2480
+ city?: string;
2481
+
2482
+ /**
2483
+ * Country code or name
2484
+ */
2485
+ country?: string;
2486
+
2487
+ /**
2488
+ * Street address line 1
2489
+ */
2490
+ line1?: string;
2491
+
2492
+ /**
2493
+ * Street address line 2
2494
+ */
2495
+ line2?: string;
2496
+
2497
+ /**
2498
+ * Postal or ZIP code
2499
+ */
2500
+ postalCode?: string;
2501
+
2502
+ /**
2503
+ * State or province
2504
+ */
2505
+ state?: string;
2506
+ }
2507
+ }
2508
+ }
673
2509
  }
674
2510
 
675
2511
  Customers.PaymentMethod = PaymentMethod;