@flowio/types 11.21.1 → 11.22.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/src/api.ts CHANGED
@@ -251,13 +251,6 @@ declare namespace io.flow.stripe.v0.enums {
251
251
  | 'source.canceled'
252
252
  | 'source.chargeable'
253
253
  | 'source.failed';
254
- type KlarnaPaymentMethodCategoryType =
255
- | 'direct_bank_transfer'
256
- | 'direct_debit'
257
- | 'pay_later'
258
- | 'pay_now'
259
- | 'pay_over_time';
260
- type KlarnaProduct = 'payment';
261
254
  type NetworkStatus =
262
255
  | 'approved_by_network'
263
256
  | 'declined_by_network'
@@ -561,7 +554,7 @@ declare namespace io.flow.stripe.v0.models {
561
554
  }
562
555
 
563
556
  interface OrderItem {
564
- readonly object?: string;
557
+ readonly object: string;
565
558
  readonly amount: number;
566
559
  readonly currency: string;
567
560
  readonly description?: string;
@@ -803,7 +796,7 @@ declare namespace io.flow.stripe.v0.models {
803
796
 
804
797
  interface Shipping {
805
798
  readonly address: io.flow.stripe.v0.models.Address;
806
- readonly name?: string;
799
+ readonly name: string;
807
800
  readonly phone?: string;
808
801
  }
809
802
 
@@ -826,7 +819,6 @@ declare namespace io.flow.stripe.v0.models {
826
819
  readonly status: io.flow.stripe.v0.enums.SourceStatus;
827
820
  readonly type: io.flow.stripe.v0.enums.SourceType;
828
821
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
829
- readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
830
822
  }
831
823
 
832
824
  interface SourceCard {
@@ -857,50 +849,12 @@ declare namespace io.flow.stripe.v0.models {
857
849
  readonly first_name?: string;
858
850
  readonly last_name?: string;
859
851
  readonly client_token: string;
860
- readonly payment_method_categories?: string;
861
- readonly purchase_country?: string;
862
- readonly shipping_first_name?: string;
863
- readonly shipping_last_name?: string;
864
- readonly locale?: string;
865
- readonly pay_later_name?: string;
866
- readonly pay_later_asset_urls_standard?: string;
867
- readonly pay_later_asset_urls_descriptive?: string;
868
- readonly pay_now_name?: string;
869
- readonly pay_now_asset_urls_standard?: string;
870
- readonly pay_now_asset_urls_descriptive?: string;
871
- readonly pay_over_time_name?: string;
872
- readonly pay_over_time_asset_urls_standard?: string;
873
- readonly pay_over_time_asset_urls_descriptive?: string;
874
- readonly direct_bank_transfer_name?: string;
875
- readonly direct_bank_transfer_asset_urls_standard?: string;
876
- readonly direct_bank_transfer_asset_urls_descriptive?: string;
877
- readonly direct_debit_name?: string;
878
- readonly direct_debit_asset_urls_standard?: string;
879
- readonly direct_debit_asset_urls_descriptive?: string;
880
852
  }
881
853
 
882
854
  interface SourceKlarnaRequest {
883
855
  readonly first_name: string;
884
856
  readonly last_name: string;
885
- readonly purchase_country?: string;
886
- readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
887
857
  readonly attachment?: string;
888
- readonly shipping_first_name?: string;
889
- readonly shipping_last_name?: string;
890
- readonly locale?: string;
891
- }
892
-
893
- interface SourceOrder {
894
- readonly amount?: number;
895
- readonly currency?: string;
896
- readonly email?: string;
897
- readonly items?: io.flow.stripe.v0.models.OrderItem[];
898
- readonly shipping?: io.flow.stripe.v0.models.Shipping;
899
- }
900
-
901
- interface SourceOrderRequest {
902
- readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
903
- readonly shipping?: io.flow.stripe.v0.models.Shipping;
904
858
  }
905
859
 
906
860
  interface SourceRequest {
@@ -918,7 +872,6 @@ declare namespace io.flow.stripe.v0.models {
918
872
  readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
919
873
  readonly token?: string;
920
874
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
921
- readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
922
875
  }
923
876
 
924
877
  interface Stripe3Ds2Fingerprint {