@flowio/api-internal-factories 0.0.104 → 0.0.106
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/cjs/api-internal.js +1270 -1062
- package/dist/esm/api-internal.js +1160 -982
- package/dist/types/api-internal.d.ts +74 -45
- package/package.json +2 -2
- package/src/api-internal.ts +1299 -1147
package/dist/esm/api-internal.js
CHANGED
|
@@ -549,6 +549,7 @@ var factories = {
|
|
|
549
549
|
order: factories['io.flow.billing.accounting.v0.models.order_summary'](),
|
|
550
550
|
shopper: factories['io.flow.billing.accounting.v0.models.shopper_summary'](),
|
|
551
551
|
remittance: factories['io.flow.billing.accounting.v0.models.remittance_responsibility'](),
|
|
552
|
+
payment: factories['io.flow.billing.accounting.v0.models.payment_summary'](),
|
|
552
553
|
merchant: factories['io.flow.billing.accounting.v0.models.merchant_summary'](),
|
|
553
554
|
sequence_number: factories.long(),
|
|
554
555
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
@@ -674,11 +675,20 @@ var factories = {
|
|
|
674
675
|
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
675
676
|
currency: factories.string(),
|
|
676
677
|
}); },
|
|
678
|
+
'io.flow.billing.accounting.v0.models.payment_summary': function () { return ({
|
|
679
|
+
psp: factories.decimal(),
|
|
680
|
+
credit: factories.decimal(),
|
|
681
|
+
subsidized: factories.decimal(),
|
|
682
|
+
manual: factories.decimal(),
|
|
683
|
+
cod: factories.decimal(),
|
|
684
|
+
total: factories.decimal(),
|
|
685
|
+
}); },
|
|
677
686
|
'io.flow.billing.accounting.v0.models.pending_order': function () { return ({
|
|
678
687
|
id: factories.string(),
|
|
679
688
|
order: factories['io.flow.billing.accounting.v0.models.order_summary'](),
|
|
680
689
|
shopper: factories['io.flow.billing.accounting.v0.models.shopper_summary'](),
|
|
681
690
|
merchant: factories['io.flow.billing.accounting.v0.models.merchant_summary'](),
|
|
691
|
+
payment: factories['io.flow.billing.accounting.v0.models.payment_summary'](),
|
|
682
692
|
remittance: factories['io.flow.billing.accounting.v0.models.remittance_responsibility'](),
|
|
683
693
|
sequence_number: factories.long(),
|
|
684
694
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
@@ -693,6 +703,7 @@ var factories = {
|
|
|
693
703
|
shopper: factories['io.flow.billing.accounting.v0.models.shopper_summary'](),
|
|
694
704
|
merchant: factories['io.flow.billing.accounting.v0.models.merchant_summary'](),
|
|
695
705
|
remittance: factories['io.flow.billing.accounting.v0.models.remittance_responsibility'](),
|
|
706
|
+
payment: factories['io.flow.billing.accounting.v0.models.payment_summary'](),
|
|
696
707
|
sequence_number: factories.long(),
|
|
697
708
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
698
709
|
trigger: factories['io.flow.billing.accounting.v0.unions.return_trigger'](),
|
|
@@ -739,6 +750,7 @@ var factories = {
|
|
|
739
750
|
product: factories['io.flow.billing.accounting.v0.models.shopper_lines'](),
|
|
740
751
|
fees: factories['io.flow.billing.accounting.v0.models.shopper_fees'](),
|
|
741
752
|
freight: factories['io.flow.billing.accounting.v0.models.shopper_freight'](),
|
|
753
|
+
tips: factories.decimal(),
|
|
742
754
|
order_discount: factories.decimal(),
|
|
743
755
|
total: factories.decimal(),
|
|
744
756
|
}); },
|
|
@@ -799,408 +811,7 @@ var factories = {
|
|
|
799
811
|
]);
|
|
800
812
|
return f();
|
|
801
813
|
},
|
|
802
|
-
'io.flow.billing.
|
|
803
|
-
id: factories.string(),
|
|
804
|
-
currency: factories.string(),
|
|
805
|
-
}); },
|
|
806
|
-
'io.flow.billing.csv.v0.models.billing_channel_csv_order': function () { return ({
|
|
807
|
-
number: factories.string(),
|
|
808
|
-
submitted_at: factories.date_time_iso_8601(),
|
|
809
|
-
local: factories['io.flow.billing.csv.v0.models.billing_channel_csv_order_detail'](),
|
|
810
|
-
deliveries: arrayOf(function () { return factories['io.flow.billing.csv.v0.models.billing_channel_csv_order_delivery'](); }),
|
|
811
|
-
}); },
|
|
812
|
-
'io.flow.billing.csv.v0.models.billing_channel_csv_order_delivery': function () { return ({
|
|
813
|
-
carrier: factories['io.flow.billing.csv.v0.models.billing_csv_carrier'](),
|
|
814
|
-
service: factories['io.flow.billing.csv.v0.models.billing_csv_service'](),
|
|
815
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
816
|
-
ratecard_owner: factories['io.flow.billing.internal.v0.enums.responsible_party'](),
|
|
817
|
-
tier: factories['io.flow.billing.csv.v0.models.billing_csv_tier'](),
|
|
818
|
-
}); },
|
|
819
|
-
'io.flow.billing.csv.v0.models.billing_channel_csv_order_detail': function () { return ({
|
|
820
|
-
currency: factories.string(),
|
|
821
|
-
freight: factories.decimal(),
|
|
822
|
-
total: factories.decimal(),
|
|
823
|
-
subtotal: factories.decimal(),
|
|
824
|
-
vat: factories.decimal(),
|
|
825
|
-
duty: factories.decimal(),
|
|
826
|
-
discount: factories.decimal(),
|
|
827
|
-
adjustment: factories.decimal(),
|
|
828
|
-
insurance: factories.decimal(),
|
|
829
|
-
shipping: factories.decimal(),
|
|
830
|
-
}); },
|
|
831
|
-
'io.flow.billing.csv.v0.models.billing_csv_carrier': function () { return ({
|
|
832
|
-
id: factories.string(),
|
|
833
|
-
}); },
|
|
834
|
-
'io.flow.billing.csv.v0.models.billing_csv_center': function () { return ({
|
|
835
|
-
key: factories.string(),
|
|
836
|
-
}); },
|
|
837
|
-
'io.flow.billing.csv.v0.models.billing_csv_channel_billed_transaction': function () { return ({
|
|
838
|
-
id: factories.string(),
|
|
839
|
-
type: factories.string(),
|
|
840
|
-
net: factories.decimal(),
|
|
841
|
-
description: factories.string(),
|
|
842
|
-
account: factories['io.flow.billing.csv.v0.models.account_summary'](),
|
|
843
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
844
|
-
order: factories['io.flow.billing.csv.v0.models.billing_csv_order_summary'](),
|
|
845
|
-
}); },
|
|
846
|
-
'io.flow.billing.csv.v0.models.billing_csv_channel_transaction': function () { return ({
|
|
847
|
-
id: factories.string(),
|
|
848
|
-
account: factories['io.flow.billing.csv.v0.models.account_summary'](),
|
|
849
|
-
type: factories.string(),
|
|
850
|
-
description: factories.string(),
|
|
851
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
852
|
-
order: factories['io.flow.billing.csv.v0.models.billing_csv_order_with_mor_summary'](),
|
|
853
|
-
processing_transaction: factories['io.flow.billing.csv.v0.models.billing_csv_channel_transaction_processing_transaction'](),
|
|
854
|
-
spot_rate: factories['io.flow.billing.csv.v0.models.billing_csv_exchange_rate'](),
|
|
855
|
-
processing_transaction_base_amount_in_channel_account_currency: factories.decimal(),
|
|
856
|
-
processing_transaction_total_fees_in_channel_account_currency: factories.decimal(),
|
|
857
|
-
processing_fee: factories['io.flow.billing.csv.v0.models.billing_csv_fee'](),
|
|
858
|
-
fraud_fee: factories['io.flow.billing.csv.v0.models.billing_csv_fee'](),
|
|
859
|
-
mor_fee: factories['io.flow.billing.csv.v0.models.billing_csv_fee'](),
|
|
860
|
-
fx_fee: factories['io.flow.billing.csv.v0.models.billing_csv_fee'](),
|
|
861
|
-
duty_guarantee_fee: factories['io.flow.billing.csv.v0.models.billing_csv_fee'](),
|
|
862
|
-
rate_lock_fee: factories['io.flow.billing.csv.v0.models.billing_csv_fee'](),
|
|
863
|
-
transfer_fee: factories['io.flow.billing.csv.v0.models.billing_csv_fee'](),
|
|
864
|
-
total_fees: factories.decimal(),
|
|
865
|
-
amount: factories.decimal(),
|
|
866
|
-
}); },
|
|
867
|
-
'io.flow.billing.csv.v0.models.billing_csv_channel_transaction_processing_transaction': function () { return ({
|
|
868
|
-
id: factories.string(),
|
|
869
|
-
account: factories['io.flow.billing.csv.v0.models.account_summary'](),
|
|
870
|
-
local_currency: factories.string(),
|
|
871
|
-
base_amount: factories.decimal(),
|
|
872
|
-
total_fees: factories.decimal(),
|
|
873
|
-
payment_method: factories.string(),
|
|
874
|
-
}); },
|
|
875
|
-
'io.flow.billing.csv.v0.models.billing_csv_consumer_invoice': function () { return ({
|
|
876
|
-
invoice: factories['io.flow.billing.csv.v0.models.billing_csv_consumer_invoice_summary'](),
|
|
877
|
-
order: factories['io.flow.billing.internal.v0.models.billing_order_summary'](),
|
|
878
|
-
lines: arrayOf(function () { return factories['io.flow.billing.csv.v0.models.billing_csv_consumer_invoice_line_detail'](); }),
|
|
879
|
-
}); },
|
|
880
|
-
'io.flow.billing.csv.v0.models.billing_csv_consumer_invoice_line': function () { return ({
|
|
881
|
-
invoice: factories['io.flow.billing.csv.v0.models.billing_csv_consumer_invoice_summary'](),
|
|
882
|
-
order: factories['io.flow.billing.internal.v0.models.billing_order_summary'](),
|
|
883
|
-
line: factories['io.flow.billing.csv.v0.models.billing_csv_consumer_invoice_line_detail'](),
|
|
884
|
-
}); },
|
|
885
|
-
'io.flow.billing.csv.v0.models.billing_csv_consumer_invoice_line_detail': function () { return ({
|
|
886
|
-
discriminator: factories.string(),
|
|
887
|
-
item_number: factories.string(),
|
|
888
|
-
quantity: factories.long(),
|
|
889
|
-
unit_price: factories['io.flow.common.v0.models.price'](),
|
|
890
|
-
unit_discount: factories['io.flow.common.v0.models.price'](),
|
|
891
|
-
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
892
|
-
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
893
|
-
}); },
|
|
894
|
-
'io.flow.billing.csv.v0.models.billing_csv_consumer_invoice_summary': function () { return ({
|
|
895
|
-
id: factories.string(),
|
|
896
|
-
number: factories.string(),
|
|
897
|
-
date: factories.date_time_iso_8601(),
|
|
898
|
-
key: factories.string(),
|
|
899
|
-
}); },
|
|
900
|
-
'io.flow.billing.csv.v0.models.billing_csv_delivery': function () { return ({
|
|
901
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
902
|
-
carrier: factories['io.flow.billing.csv.v0.models.billing_csv_carrier'](),
|
|
903
|
-
center: factories['io.flow.billing.csv.v0.models.billing_csv_center'](),
|
|
904
|
-
service: factories['io.flow.billing.csv.v0.models.billing_csv_service'](),
|
|
905
|
-
tier: factories['io.flow.billing.csv.v0.models.billing_csv_tier'](),
|
|
906
|
-
cost: factories['io.flow.billing.csv.v0.models.billing_csv_delivery_cost_detail'](),
|
|
907
|
-
ratecard_owner: factories['io.flow.billing.internal.v0.enums.responsible_party'](),
|
|
908
|
-
}); },
|
|
909
|
-
'io.flow.billing.csv.v0.models.billing_csv_delivery_cost_detail': function () { return ({
|
|
910
|
-
ratecard_base_cost: factories.decimal(),
|
|
911
|
-
ratecard_ddp_fee: factories.decimal(),
|
|
912
|
-
ratecard_emergency_situation_surcharge: factories.decimal(),
|
|
913
|
-
ratecard_peak_surcharge: factories.decimal(),
|
|
914
|
-
ratecard_fuel_surcharge: factories.decimal(),
|
|
915
|
-
ratecard_oversized_shipment_fee: factories.decimal(),
|
|
916
|
-
ratecard_rural_shipment_fee: factories.decimal(),
|
|
917
|
-
center_commercial_invoice_fee: factories.decimal(),
|
|
918
|
-
center_inbound_carton_fee: factories.decimal(),
|
|
919
|
-
center_outbound_carton_fee: factories.decimal(),
|
|
920
|
-
}); },
|
|
921
|
-
'io.flow.billing.csv.v0.models.billing_csv_exchange_rate': function () { return ({
|
|
922
|
-
base_currency: factories.string(),
|
|
923
|
-
local_currency: factories.string(),
|
|
924
|
-
rate: factories.decimal(),
|
|
925
|
-
}); },
|
|
926
|
-
'io.flow.billing.csv.v0.models.billing_csv_fee': function () { return ({
|
|
927
|
-
amount: factories.decimal(),
|
|
928
|
-
description: factories.string(),
|
|
929
|
-
}); },
|
|
930
|
-
'io.flow.billing.csv.v0.models.billing_csv_generic_transaction': function () { return ({
|
|
931
|
-
id: factories.string(),
|
|
932
|
-
posted_at: factories.date_time_iso_8601(),
|
|
933
|
-
type: factories['io.flow.billing.internal.v0.enums.billing_transaction_type'](),
|
|
934
|
-
amount: factories.decimal(),
|
|
935
|
-
description: factories.string(),
|
|
936
|
-
}); },
|
|
937
|
-
'io.flow.billing.csv.v0.models.billing_csv_label_transaction': function () { return ({
|
|
938
|
-
id: factories.string(),
|
|
939
|
-
type: factories.string(),
|
|
940
|
-
gross: factories.decimal(),
|
|
941
|
-
net: factories.decimal(),
|
|
942
|
-
discounts: arrayOf(function () { return factories['io.flow.billing.internal.v0.models.discount'](); }),
|
|
943
|
-
description: factories.string(),
|
|
944
|
-
account: factories['io.flow.billing.csv.v0.models.account_summary'](),
|
|
945
|
-
label: factories['io.flow.billing.csv.v0.models.billing_csv_label_transaction_billable_label_summary'](),
|
|
946
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
947
|
-
order: factories['io.flow.billing.csv.v0.models.billing_csv_order_with_mor_summary'](),
|
|
948
|
-
}); },
|
|
949
|
-
'io.flow.billing.csv.v0.models.billing_csv_label_transaction_billable_label_summary': function () { return ({
|
|
950
|
-
id: factories.string(),
|
|
951
|
-
owner: factories['io.flow.fulfillment.v0.enums.ratecard_owner'](),
|
|
952
|
-
carrier_id: factories.string(),
|
|
953
|
-
carrier_tracking_number: factories.string(),
|
|
954
|
-
cost: factories['io.flow.billing.csv.v0.models.billing_csv_label_transaction_billable_label_summary_cost'](),
|
|
955
|
-
request_method: factories['io.flow.label.v0.enums.label_request_method'](),
|
|
956
|
-
trigger_method: factories['io.flow.label.v0.enums.label_trigger_method'](),
|
|
957
|
-
identifiers: objectOf(function () { return factories.string(); }),
|
|
958
|
-
}); },
|
|
959
|
-
'io.flow.billing.csv.v0.models.billing_csv_label_transaction_billable_label_summary_cost': function () { return ({
|
|
960
|
-
amount: factories.decimal(),
|
|
961
|
-
currency: factories.string(),
|
|
962
|
-
source: factories['io.flow.label.v0.enums.cost_estimate_source'](),
|
|
963
|
-
}); },
|
|
964
|
-
'io.flow.billing.csv.v0.models.billing_csv_merchant_reference': function () { return ({
|
|
965
|
-
id: factories.string(),
|
|
966
|
-
}); },
|
|
967
|
-
'io.flow.billing.csv.v0.models.billing_csv_order': function () { return ({
|
|
968
|
-
number: factories.string(),
|
|
969
|
-
primary_identifier: factories.string(),
|
|
970
|
-
submitted_at: factories.date_time_iso_8601(),
|
|
971
|
-
timezone: factories.string(),
|
|
972
|
-
local: factories['io.flow.billing.csv.v0.models.billing_csv_order_detail'](),
|
|
973
|
-
base: factories['io.flow.billing.csv.v0.models.billing_csv_order_detail'](),
|
|
974
|
-
transaction_amount: factories.decimal(),
|
|
975
|
-
deliveries: arrayOf(function () { return factories['io.flow.billing.csv.v0.models.billing_csv_delivery'](); }),
|
|
976
|
-
exchange_rate: factories['io.flow.billing.csv.v0.models.billing_csv_exchange_rate'](),
|
|
977
|
-
}); },
|
|
978
|
-
'io.flow.billing.csv.v0.models.billing_csv_order_destination': function () { return ({
|
|
979
|
-
city: factories.string(),
|
|
980
|
-
province: factories.string(),
|
|
981
|
-
postal: factories.string(),
|
|
982
|
-
country: factories.string(),
|
|
983
|
-
}); },
|
|
984
|
-
'io.flow.billing.csv.v0.models.billing_csv_order_detail': function () { return ({
|
|
985
|
-
currency: factories.string(),
|
|
986
|
-
adjustment: factories.decimal(),
|
|
987
|
-
subtotal: factories.decimal(),
|
|
988
|
-
vat: factories.decimal(),
|
|
989
|
-
duty: factories.decimal(),
|
|
990
|
-
shipping: factories.decimal(),
|
|
991
|
-
insurance: factories.decimal(),
|
|
992
|
-
discount: factories.decimal(),
|
|
993
|
-
total: factories.decimal(),
|
|
994
|
-
freight: factories.decimal(),
|
|
995
|
-
}); },
|
|
996
|
-
'io.flow.billing.csv.v0.models.billing_csv_order_summary': function () { return ({
|
|
997
|
-
number: factories.string(),
|
|
998
|
-
identifiers: objectOf(function () { return factories.string(); }),
|
|
999
|
-
}); },
|
|
1000
|
-
'io.flow.billing.csv.v0.models.billing_csv_order_transaction': function () { return ({
|
|
1001
|
-
id: factories.string(),
|
|
1002
|
-
type: factories.string(),
|
|
1003
|
-
amount: factories.decimal(),
|
|
1004
|
-
description: factories.string(),
|
|
1005
|
-
account: factories['io.flow.billing.csv.v0.models.account_summary'](),
|
|
1006
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
1007
|
-
order: factories['io.flow.billing.csv.v0.models.billing_csv_order_with_mor_summary'](),
|
|
1008
|
-
}); },
|
|
1009
|
-
'io.flow.billing.csv.v0.models.billing_csv_order_with_mor_summary': function () { return ({
|
|
1010
|
-
number: factories.string(),
|
|
1011
|
-
merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
|
|
1012
|
-
identifiers: objectOf(function () { return factories.string(); }),
|
|
1013
|
-
}); },
|
|
1014
|
-
'io.flow.billing.csv.v0.models.billing_csv_processing_transaction': function () { return ({
|
|
1015
|
-
id: factories.string(),
|
|
1016
|
-
reference: factories.string(),
|
|
1017
|
-
primary_identifier: factories.string(),
|
|
1018
|
-
parent_id: factories.string(),
|
|
1019
|
-
created_at: factories.date_time_iso_8601(),
|
|
1020
|
-
merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
|
|
1021
|
-
posted_at: factories.date_time_iso_8601(),
|
|
1022
|
-
type: factories['io.flow.billing.internal.v0.enums.billing_transaction_type'](),
|
|
1023
|
-
timezone: factories.string(),
|
|
1024
|
-
order_number: factories.string(),
|
|
1025
|
-
order_primary_identifier: factories.string(),
|
|
1026
|
-
order_identifiers: objectOf(function () { return factories.string(); }),
|
|
1027
|
-
order_submitted_at: factories.date_time_iso_8601(),
|
|
1028
|
-
order: factories['io.flow.billing.internal.v0.models.billing_order_summary'](),
|
|
1029
|
-
payment_method: factories.string(),
|
|
1030
|
-
local_amount: factories.decimal(),
|
|
1031
|
-
local_currency: factories.string(),
|
|
1032
|
-
base_amount: factories.decimal(),
|
|
1033
|
-
base_currency: factories.string(),
|
|
1034
|
-
processing_fee: factories.decimal(),
|
|
1035
|
-
processing_fee_description: factories.string(),
|
|
1036
|
-
rate_lock_fee: factories.decimal(),
|
|
1037
|
-
rate_lock_fee_description: factories.string(),
|
|
1038
|
-
vat_withholding: factories.decimal(),
|
|
1039
|
-
duty_withholding: factories.decimal(),
|
|
1040
|
-
freight_withholding: factories.decimal(),
|
|
1041
|
-
insurance_withholding: factories.decimal(),
|
|
1042
|
-
revenue_share: factories.decimal(),
|
|
1043
|
-
revenue_share_currency: factories.string(),
|
|
1044
|
-
amount: factories.decimal(),
|
|
1045
|
-
order_detail: factories['io.flow.billing.csv.v0.models.billing_csv_processing_transaction_order_detail'](),
|
|
1046
|
-
mor_fee: factories.decimal(),
|
|
1047
|
-
mor_fee_description: factories.string(),
|
|
1048
|
-
fx_fee: factories.decimal(),
|
|
1049
|
-
fx_fee_description: factories.string(),
|
|
1050
|
-
duty_guarantee_fee: factories.decimal(),
|
|
1051
|
-
duty_guarantee_fee_description: factories.string(),
|
|
1052
|
-
negative_balance_fee: factories.decimal(),
|
|
1053
|
-
negative_balance_fee_description: factories.string(),
|
|
1054
|
-
}); },
|
|
1055
|
-
'io.flow.billing.csv.v0.models.billing_csv_processing_transaction_delivery': function () { return ({
|
|
1056
|
-
delivery_option_id: factories.string(),
|
|
1057
|
-
ratecard_owner: factories['io.flow.billing.internal.v0.enums.responsible_party'](),
|
|
1058
|
-
service: factories['io.flow.billing.csv.v0.models.billing_csv_service'](),
|
|
1059
|
-
center: factories['io.flow.billing.csv.v0.models.billing_csv_center'](),
|
|
1060
|
-
ship_from_country: factories.string(),
|
|
1061
|
-
delivered_duty: factories.string(),
|
|
1062
|
-
}); },
|
|
1063
|
-
'io.flow.billing.csv.v0.models.billing_csv_processing_transaction_order_detail': function () { return ({
|
|
1064
|
-
total: factories.decimal(),
|
|
1065
|
-
subtotal: factories.decimal(),
|
|
1066
|
-
discount: factories.decimal(),
|
|
1067
|
-
vat: factories.decimal(),
|
|
1068
|
-
duty: factories.decimal(),
|
|
1069
|
-
shipping: factories.decimal(),
|
|
1070
|
-
vat_subsidy: factories.decimal(),
|
|
1071
|
-
duty_subsidy: factories.decimal(),
|
|
1072
|
-
estimated_freight: factories.decimal(),
|
|
1073
|
-
selected_deliveries: arrayOf(function () { return factories['io.flow.billing.csv.v0.models.billing_csv_processing_transaction_delivery'](); }),
|
|
1074
|
-
}); },
|
|
1075
|
-
'io.flow.billing.csv.v0.models.billing_csv_service': function () { return ({
|
|
1076
|
-
id: factories.string(),
|
|
1077
|
-
}); },
|
|
1078
|
-
'io.flow.billing.csv.v0.models.billing_csv_tier': function () { return ({
|
|
1079
|
-
name: factories.string(),
|
|
1080
|
-
}); },
|
|
1081
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction': function () { return ({
|
|
1082
|
-
id: factories.string(),
|
|
1083
|
-
type: factories['io.flow.billing.internal.v0.enums.billing_transaction_type'](),
|
|
1084
|
-
account: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_account'](),
|
|
1085
|
-
metadata: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata'](),
|
|
1086
|
-
order: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_order_summary'](),
|
|
1087
|
-
currency: factories.string(),
|
|
1088
|
-
source: factories['io.flow.billing.v0.enums.transaction_source'](),
|
|
1089
|
-
parent: factories['io.flow.billing.v0.models.parent_transaction_summary'](),
|
|
1090
|
-
gross: factories.decimal(),
|
|
1091
|
-
fees: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_fees'](),
|
|
1092
|
-
withholdings: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_withholdings'](),
|
|
1093
|
-
discount: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_discount'](),
|
|
1094
|
-
net: factories.decimal(),
|
|
1095
|
-
identifiers: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_identifiers'](),
|
|
1096
|
-
created_at: factories.date_time_iso_8601(),
|
|
1097
|
-
updated_at: factories.date_time_iso_8601(),
|
|
1098
|
-
}); },
|
|
1099
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_account': function () { return ({
|
|
1100
|
-
id: factories.string(),
|
|
1101
|
-
merchant: factories['io.flow.billing.csv.v0.models.billing_csv_merchant_reference'](),
|
|
1102
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
1103
|
-
source: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_account_source_summary'](),
|
|
1104
|
-
}); },
|
|
1105
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_account_source_summary': function () { return ({
|
|
1106
|
-
id: factories.string(),
|
|
1107
|
-
type: factories['io.flow.billing.internal.v0.enums.account_type'](),
|
|
1108
|
-
}); },
|
|
1109
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_discount': function () { return ({
|
|
1110
|
-
amount: factories.decimal(),
|
|
1111
|
-
description: factories.string(),
|
|
1112
|
-
}); },
|
|
1113
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_fees': function () { return ({
|
|
1114
|
-
duty_guarantee: factories.decimal(),
|
|
1115
|
-
mor: factories.decimal(),
|
|
1116
|
-
fraud: factories.decimal(),
|
|
1117
|
-
fx: factories.decimal(),
|
|
1118
|
-
processing: factories.decimal(),
|
|
1119
|
-
rate_lock: factories.decimal(),
|
|
1120
|
-
transfer: factories.decimal(),
|
|
1121
|
-
negative_balance: factories.decimal(),
|
|
1122
|
-
}); },
|
|
1123
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_identifiers': function () { return ({
|
|
1124
|
-
reference_id: factories.string(),
|
|
1125
|
-
}); },
|
|
1126
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata': function () { return ({
|
|
1127
|
-
channel: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_channel'](),
|
|
1128
|
-
shipping_label: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_shipping_label'](),
|
|
1129
|
-
shipping_label_revenue_share: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_shipping_label_revenue_share'](),
|
|
1130
|
-
trueup: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_trueup'](),
|
|
1131
|
-
carrier_charge: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_carrier_charge'](),
|
|
1132
|
-
manual: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_manual'](),
|
|
1133
|
-
failed_payout: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_failed_payout'](),
|
|
1134
|
-
}); },
|
|
1135
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_carrier_charge': function () { return ({
|
|
1136
|
-
reason: factories['io.flow.trueup.v0.enums.carrier_charge_reason'](),
|
|
1137
|
-
label_created_at: factories.date_time_iso_8601(),
|
|
1138
|
-
carrier_id: factories.string(),
|
|
1139
|
-
carrier_tracking_number: factories.string(),
|
|
1140
|
-
revenue_share_percentage: factories.decimal(),
|
|
1141
|
-
outbound_transaction_id: factories.string(),
|
|
1142
|
-
}); },
|
|
1143
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_channel': function () { return ({
|
|
1144
|
-
method: factories.string(),
|
|
1145
|
-
card: factories['io.flow.billing.v0.models.transaction_metadata_channel_card_metadata'](),
|
|
1146
|
-
}); },
|
|
1147
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_failed_payout': function () { return ({
|
|
1148
|
-
failed_payment: factories['io.flow.billing.v0.models.transaction_metadata_failed_payout_reference'](),
|
|
1149
|
-
}); },
|
|
1150
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_manual': function () { return ({
|
|
1151
|
-
description: factories.string(),
|
|
1152
|
-
original: factories['io.flow.billing.v0.models.transaction_metadata_original_transaction'](),
|
|
1153
|
-
category: factories['io.flow.billing.internal.v0.enums.manual_transaction_category'](),
|
|
1154
|
-
url: factories.string(),
|
|
1155
|
-
}); },
|
|
1156
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_shipping_label': function () { return ({
|
|
1157
|
-
request_method: factories['io.flow.label.v0.enums.label_request_method'](),
|
|
1158
|
-
}); },
|
|
1159
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_shipping_label_revenue_share': function () { return ({
|
|
1160
|
-
label_id: factories.string(),
|
|
1161
|
-
base_amount: factories.decimal(),
|
|
1162
|
-
percentage: factories.decimal(),
|
|
1163
|
-
}); },
|
|
1164
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_trueup': function () { return ({
|
|
1165
|
-
original: factories['io.flow.billing.v0.models.transaction_metadata_original_transaction'](),
|
|
1166
|
-
label_transaction_id: factories.string(),
|
|
1167
|
-
label_invoice_request_id: factories.string(),
|
|
1168
|
-
carrier_charge_id: factories.string(),
|
|
1169
|
-
}); },
|
|
1170
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_order_summary': function () { return ({
|
|
1171
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
1172
|
-
number: factories.string(),
|
|
1173
|
-
identifiers: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_order_summary_identifiers'](),
|
|
1174
|
-
}); },
|
|
1175
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_order_summary_identifiers': function () { return ({
|
|
1176
|
-
shopify_order_id: factories.string(),
|
|
1177
|
-
}); },
|
|
1178
|
-
'io.flow.billing.csv.v0.models.billing_csv_transaction_withholdings': function () { return ({
|
|
1179
|
-
tax: factories.decimal(),
|
|
1180
|
-
duty: factories.decimal(),
|
|
1181
|
-
freight: factories.decimal(),
|
|
1182
|
-
insurance: factories.decimal(),
|
|
1183
|
-
}); },
|
|
1184
|
-
'io.flow.billing.csv.v0.models.flow_finance_payment_summary': function () { return ({
|
|
1185
|
-
id: factories.string(),
|
|
1186
|
-
status: factories['io.flow.billing.internal.v0.enums.bank_payment_status_code'](),
|
|
1187
|
-
amount: factories.decimal(),
|
|
1188
|
-
bank_account_last4: factories.string(),
|
|
1189
|
-
}); },
|
|
1190
|
-
'io.flow.billing.csv.v0.models.flow_finance_statement_summary': function () { return ({
|
|
1191
|
-
account_id: factories.string(),
|
|
1192
|
-
payment: factories['io.flow.billing.csv.v0.models.flow_finance_payment_summary'](),
|
|
1193
|
-
statement_id: factories.string(),
|
|
1194
|
-
settlement_currency: factories.string(),
|
|
1195
|
-
starting_balance: factories.decimal(),
|
|
1196
|
-
balance_forward: factories.decimal(),
|
|
1197
|
-
transactions_posted: factories.decimal(),
|
|
1198
|
-
platform_fee: factories.decimal(),
|
|
1199
|
-
account_balance: factories.decimal(),
|
|
1200
|
-
dispute_balance: factories.decimal(),
|
|
1201
|
-
one_time_adjustments: objectOf(function () { return factories.decimal(); }),
|
|
1202
|
-
}); },
|
|
1203
|
-
'io.flow.billing.internal.v0.enums.account_payment_hold_reason': function () { return faker.helpers.arrayElement(['fraudulent', 'invalid_bank_account']); },
|
|
814
|
+
'io.flow.billing.internal.v0.enums.account_payment_hold_reason': function () { return faker.helpers.arrayElement(['fraudulent', 'frozen', 'invalid_bank_account']); },
|
|
1204
815
|
'io.flow.billing.internal.v0.enums.account_setting_liabilities_method': function () { return faker.helpers.arrayElement(['withholding', 'transaction']); },
|
|
1205
816
|
'io.flow.billing.internal.v0.enums.account_type': function () { return faker.helpers.arrayElement(['channel', 'organization']); },
|
|
1206
817
|
'io.flow.billing.internal.v0.enums.adjustment_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal']); },
|
|
@@ -2357,7 +1968,6 @@ var factories = {
|
|
|
2357
1968
|
sequence_number: factories.long(),
|
|
2358
1969
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
2359
1970
|
completes_order: factories.boolean(),
|
|
2360
|
-
payment: factories['io.flow.billing.reporting.v0.models.reporting_payment'](),
|
|
2361
1971
|
value: factories['io.flow.billing.reporting.v0.models.fulfillment_shopper_breakdown'](),
|
|
2362
1972
|
dispatch_country: factories['io.flow.billing.reporting.v0.models.reporting_country'](),
|
|
2363
1973
|
destination: factories['io.flow.billing.reporting.v0.models.reporting_destination'](),
|
|
@@ -2389,11 +1999,15 @@ var factories = {
|
|
|
2389
1999
|
'io.flow.billing.reporting.v0.enums.report_status': function () { return faker.helpers.arrayElement(['created', 'completed', 'completed_no_records', 'failed']); },
|
|
2390
2000
|
'io.flow.billing.reporting.v0.enums.report_type': function () { return faker.helpers.arrayElement([
|
|
2391
2001
|
'sales_record',
|
|
2002
|
+
'refund_record',
|
|
2003
|
+
'other_record',
|
|
2004
|
+
'pending_record',
|
|
2392
2005
|
'trueup_overview',
|
|
2393
2006
|
'non_channel_payment_bank_account',
|
|
2394
2007
|
'scheduled_payment',
|
|
2395
2008
|
'account_quarterly_balances',
|
|
2396
2009
|
'invariants',
|
|
2010
|
+
'payments',
|
|
2397
2011
|
]); },
|
|
2398
2012
|
'io.flow.billing.reporting.v0.enums.reporting_fulfillment_is_virtual': function () { return faker.helpers.arrayElement(['all', 'mixed', 'none']); },
|
|
2399
2013
|
'io.flow.billing.reporting.v0.enums.revenue_record_type': function () { return faker.helpers.arrayElement(['pending', 'sales', 'refund']); },
|
|
@@ -2404,6 +2018,7 @@ var factories = {
|
|
|
2404
2018
|
subtotal: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2405
2019
|
tax: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2406
2020
|
duty: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2021
|
+
tips: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2407
2022
|
discount: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2408
2023
|
total: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2409
2024
|
}); },
|
|
@@ -2511,11 +2126,11 @@ var factories = {
|
|
|
2511
2126
|
sequence_number: factories.long(),
|
|
2512
2127
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
2513
2128
|
completes_order: factories.boolean(),
|
|
2514
|
-
payment: factories['io.flow.billing.reporting.v0.models.reporting_payment'](),
|
|
2515
2129
|
refund: factories['io.flow.billing.reporting.v0.models.reporting_refund_reference'](),
|
|
2516
2130
|
value: factories['io.flow.billing.reporting.v0.models.fulfillment_shopper_breakdown'](),
|
|
2517
2131
|
dispatch_country: factories['io.flow.billing.reporting.v0.models.reporting_country'](),
|
|
2518
2132
|
destination: factories['io.flow.billing.reporting.v0.models.reporting_destination'](),
|
|
2133
|
+
payment: factories['io.flow.billing.reporting.v0.models.reporting_payment'](),
|
|
2519
2134
|
shipment: factories['io.flow.billing.reporting.v0.models.reporting_shipment'](),
|
|
2520
2135
|
is: factories['io.flow.billing.reporting.v0.models.reporting_fulfillment_is'](),
|
|
2521
2136
|
has: factories['io.flow.billing.reporting.v0.models.reporting_fulfillment_has'](),
|
|
@@ -2532,6 +2147,11 @@ var factories = {
|
|
|
2532
2147
|
wyol: factories.boolean(),
|
|
2533
2148
|
b2b: factories.boolean(),
|
|
2534
2149
|
domestic: factories.boolean(),
|
|
2150
|
+
combined_shipment: factories.boolean(),
|
|
2151
|
+
order_cancelled: factories.boolean(),
|
|
2152
|
+
lvg: factories.boolean(),
|
|
2153
|
+
tax_inclusive: factories.boolean(),
|
|
2154
|
+
duty_inclusive: factories.boolean(),
|
|
2535
2155
|
}); },
|
|
2536
2156
|
'io.flow.billing.reporting.v0.models.reporting_fx': function () { return ({
|
|
2537
2157
|
shipping: factories['io.flow.billing.reporting.v0.models.reporting_usd'](),
|
|
@@ -2539,6 +2159,7 @@ var factories = {
|
|
|
2539
2159
|
product: factories['io.flow.billing.reporting.v0.models.reporting_usd'](),
|
|
2540
2160
|
tax: factories['io.flow.billing.reporting.v0.models.reporting_usd'](),
|
|
2541
2161
|
duty: factories['io.flow.billing.reporting.v0.models.reporting_usd'](),
|
|
2162
|
+
tips: factories['io.flow.billing.reporting.v0.models.reporting_usd'](),
|
|
2542
2163
|
total: factories['io.flow.billing.reporting.v0.models.reporting_usd'](),
|
|
2543
2164
|
}); },
|
|
2544
2165
|
'io.flow.billing.reporting.v0.models.reporting_merchant_breakdown': function () { return ({
|
|
@@ -2554,12 +2175,14 @@ var factories = {
|
|
|
2554
2175
|
processing: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2555
2176
|
rate_lock: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2556
2177
|
transfer: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2178
|
+
total: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2557
2179
|
}); },
|
|
2558
2180
|
'io.flow.billing.reporting.v0.models.reporting_merchant_subsidies': function () { return ({
|
|
2559
2181
|
shipping: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2560
2182
|
tax: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2561
2183
|
duty: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2562
2184
|
ccf: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2185
|
+
total: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2563
2186
|
}); },
|
|
2564
2187
|
'io.flow.billing.reporting.v0.models.reporting_merchant_transactions': function () { return ({
|
|
2565
2188
|
adjustment: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
@@ -2567,6 +2190,8 @@ var factories = {
|
|
|
2567
2190
|
tax: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2568
2191
|
duty: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2569
2192
|
freight: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2193
|
+
discount: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2194
|
+
total: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2570
2195
|
}); },
|
|
2571
2196
|
'io.flow.billing.reporting.v0.models.reporting_monetary_value': function () { return ({
|
|
2572
2197
|
transaction: factories.decimal(),
|
|
@@ -2585,22 +2210,13 @@ var factories = {
|
|
|
2585
2210
|
name: factories.string(),
|
|
2586
2211
|
}); },
|
|
2587
2212
|
'io.flow.billing.reporting.v0.models.reporting_payment': function () { return ({
|
|
2588
|
-
metadata: factories['io.flow.billing.reporting.v0.models.reporting_payment_metadata'](),
|
|
2589
2213
|
psp: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2590
2214
|
credit: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2215
|
+
subsidized: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2216
|
+
manual: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2217
|
+
cod: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2591
2218
|
total: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2592
2219
|
}); },
|
|
2593
|
-
'io.flow.billing.reporting.v0.models.reporting_payment_metadata': function () { return ({
|
|
2594
|
-
gateway: factories['io.flow.payment.internal.v0.enums.processor'](),
|
|
2595
|
-
method: factories.string(),
|
|
2596
|
-
psp_reference: factories.string(),
|
|
2597
|
-
authorization: factories['io.flow.billing.reporting.v0.models.reporting_authorization_reference'](),
|
|
2598
|
-
settlement_date: factories.date_time_iso_8601(),
|
|
2599
|
-
additional_authorizations: factories['io.flow.billing.reporting.v0.models.reporting_payment_metadata_additional_authorizations'](),
|
|
2600
|
-
}); },
|
|
2601
|
-
'io.flow.billing.reporting.v0.models.reporting_payment_metadata_additional_authorizations': function () { return ({
|
|
2602
|
-
ids: factories.string(),
|
|
2603
|
-
}); },
|
|
2604
2220
|
'io.flow.billing.reporting.v0.models.reporting_province': function () { return ({
|
|
2605
2221
|
code: factories.string(),
|
|
2606
2222
|
name: factories.string(),
|
|
@@ -2625,6 +2241,7 @@ var factories = {
|
|
|
2625
2241
|
ccf: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2626
2242
|
emergency: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2627
2243
|
peak: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2244
|
+
total: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2628
2245
|
}); },
|
|
2629
2246
|
'io.flow.billing.reporting.v0.models.reporting_usd': function () { return ({
|
|
2630
2247
|
usd: factories.decimal(),
|
|
@@ -2966,7 +2583,7 @@ var factories = {
|
|
|
2966
2583
|
discriminator: 'channel',
|
|
2967
2584
|
method: factories.string(),
|
|
2968
2585
|
card: factories['io.flow.billing.v0.models.transaction_metadata_channel_card_metadata'](),
|
|
2969
|
-
organization_transaction: factories['io.flow.billing.v0.models.
|
|
2586
|
+
organization_transaction: factories['io.flow.billing.v0.models.transaction_metadata_channel_organization_transaction'](),
|
|
2970
2587
|
}); },
|
|
2971
2588
|
'io.flow.billing.v0.models.transaction_metadata_channel_card_metadata': function () { return ({
|
|
2972
2589
|
type: factories['io.flow.payment.v0.enums.card_type'](),
|
|
@@ -2976,6 +2593,10 @@ var factories = {
|
|
|
2976
2593
|
iin: factories.string(),
|
|
2977
2594
|
country: factories.string(),
|
|
2978
2595
|
}); },
|
|
2596
|
+
'io.flow.billing.v0.models.transaction_metadata_channel_organization_transaction': function () { return ({
|
|
2597
|
+
id: factories.string(),
|
|
2598
|
+
metadata: factories['io.flow.billing.v0.models.transaction_metadata_payment_transaction'](),
|
|
2599
|
+
}); },
|
|
2979
2600
|
'io.flow.billing.v0.models.transaction_metadata_failed_payout': function () { return ({
|
|
2980
2601
|
discriminator: 'failed_payout',
|
|
2981
2602
|
failed_payout: factories['io.flow.billing.v0.models.transaction_metadata_failed_payout_reference'](),
|
|
@@ -3762,6 +3383,7 @@ var factories = {
|
|
|
3762
3383
|
'unsupported_virtual_goods',
|
|
3763
3384
|
'non_matching_currencies',
|
|
3764
3385
|
'unsupported_order_edit',
|
|
3386
|
+
'order_missing',
|
|
3765
3387
|
]); },
|
|
3766
3388
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
3767
3389
|
'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
|
|
@@ -4366,207 +3988,19 @@ var factories = {
|
|
|
4366
3988
|
]);
|
|
4367
3989
|
return f();
|
|
4368
3990
|
},
|
|
4369
|
-
'io.flow.
|
|
4370
|
-
'io.flow.
|
|
4371
|
-
'io.flow.
|
|
4372
|
-
'io.flow.
|
|
4373
|
-
'io.flow.
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](); }),
|
|
4383
|
-
documents: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](); }),
|
|
4384
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
4385
|
-
b2b_invoice_type: factories['io.flow.consumer.invoice.v0.enums.b2b_invoice_type'](),
|
|
4386
|
-
}); },
|
|
4387
|
-
'io.flow.consumer.invoice.v0.models.b2b_invoice': function () { return ({
|
|
4388
|
-
id: factories.string(),
|
|
4389
|
-
number: factories.string(),
|
|
4390
|
-
buyer: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
4391
|
-
seller: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
4392
|
-
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
4393
|
-
date: factories.date_time_iso_8601(),
|
|
4394
|
-
key: factories.string(),
|
|
4395
|
-
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
4396
|
-
economic_title_location: factories['io.flow.merchant.of.record.v0.enums.economic_title_location'](),
|
|
4397
|
-
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
4398
|
-
destination: factories['io.flow.experience.v0.models.order_address'](),
|
|
4399
|
-
tax: factories['io.flow.common.v0.models.money'](),
|
|
4400
|
-
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](); }),
|
|
4401
|
-
documents: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](); }),
|
|
4402
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
4403
|
-
estimated_delivery_date: factories.date_time_iso_8601(),
|
|
4404
|
-
b2b_invoice_type: factories['io.flow.consumer.invoice.v0.enums.b2b_invoice_type'](),
|
|
4405
|
-
}); },
|
|
4406
|
-
'io.flow.consumer.invoice.v0.models.b2b_invoice_reference': function () { return ({
|
|
4407
|
-
id: factories.string(),
|
|
4408
|
-
key: factories.string(),
|
|
4409
|
-
number: factories.string(),
|
|
4410
|
-
}); },
|
|
4411
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice': function () { return ({
|
|
4412
|
-
id: factories.string(),
|
|
4413
|
-
number: factories.string(),
|
|
4414
|
-
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
4415
|
-
date: factories.date_time_iso_8601(),
|
|
4416
|
-
key: factories.string(),
|
|
4417
|
-
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
4418
|
-
entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
4419
|
-
payments: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_payment'](); }),
|
|
4420
|
-
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
4421
|
-
destination: factories['io.flow.experience.v0.models.order_address'](),
|
|
4422
|
-
billing_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
4423
|
-
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](); }),
|
|
4424
|
-
documents: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](); }),
|
|
4425
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
4426
|
-
tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
|
|
4427
|
-
customer_type: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_customer_type'](),
|
|
4428
|
-
estimated_delivery_date: factories.date_time_iso_8601(),
|
|
4429
|
-
}); },
|
|
4430
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference': function () { return ({
|
|
4431
|
-
id: factories.string(),
|
|
4432
|
-
key: factories.string(),
|
|
4433
|
-
name: factories.string(),
|
|
4434
|
-
address: factories['io.flow.common.v0.models.address'](),
|
|
4435
|
-
}); },
|
|
4436
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_document': function () { return ({
|
|
4437
|
-
type: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_document_type'](),
|
|
4438
|
-
language: factories.string(),
|
|
4439
|
-
url: factories.string(),
|
|
4440
|
-
}); },
|
|
4441
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_form': function () { return ({
|
|
4442
|
-
order_number: factories.string(),
|
|
4443
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
4444
|
-
}); },
|
|
4445
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_form_by_order': function () { return ({
|
|
4446
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
4447
|
-
}); },
|
|
4448
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_levy': function () { return ({
|
|
4449
|
-
rate: factories.decimal(),
|
|
4450
|
-
value: factories['io.flow.common.v0.models.price'](),
|
|
4451
|
-
}); },
|
|
4452
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form': function () { return ({
|
|
4453
|
-
rate: factories.decimal(),
|
|
4454
|
-
amount: factories.decimal(),
|
|
4455
|
-
}); },
|
|
4456
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount': function () { return ({
|
|
4457
|
-
discriminator: 'discount',
|
|
4458
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
4459
|
-
}); },
|
|
4460
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount_form': function () { return ({
|
|
4461
|
-
discriminator: 'discount',
|
|
4462
|
-
price: factories.decimal(),
|
|
4463
|
-
}); },
|
|
4464
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_item': function () { return ({
|
|
4465
|
-
discriminator: 'item',
|
|
4466
|
-
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
4467
|
-
description: factories.string(),
|
|
4468
|
-
quantity: factories.long(),
|
|
4469
|
-
unit_price: factories['io.flow.common.v0.models.price'](),
|
|
4470
|
-
unit_discount: factories['io.flow.common.v0.models.price'](),
|
|
4471
|
-
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
4472
|
-
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
4473
|
-
}); },
|
|
4474
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_item_form': function () { return ({
|
|
4475
|
-
discriminator: 'item',
|
|
4476
|
-
item_number: factories.string(),
|
|
4477
|
-
quantity: factories.long(),
|
|
4478
|
-
unit_price: factories.decimal(),
|
|
4479
|
-
unit_discount: factories.decimal(),
|
|
4480
|
-
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
4481
|
-
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
4482
|
-
}); },
|
|
4483
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping': function () { return ({
|
|
4484
|
-
discriminator: 'shipping',
|
|
4485
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
4486
|
-
discount: factories['io.flow.common.v0.models.price'](),
|
|
4487
|
-
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
4488
|
-
duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
4489
|
-
}); },
|
|
4490
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping_form': function () { return ({
|
|
4491
|
-
discriminator: 'shipping',
|
|
4492
|
-
price: factories.decimal(),
|
|
4493
|
-
discount: factories.decimal(),
|
|
4494
|
-
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
4495
|
-
duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
4496
|
-
}); },
|
|
4497
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary': function () { return ({
|
|
4498
|
-
id: factories.string(),
|
|
4499
|
-
number: factories.string(),
|
|
4500
|
-
submitted_at: factories.date_time_iso_8601(),
|
|
4501
|
-
}); },
|
|
4502
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_payment': function () { return ({
|
|
4503
|
-
date: factories.date_time_iso_8601(),
|
|
4504
|
-
description: factories.string(),
|
|
4505
|
-
value: factories['io.flow.common.v0.models.price'](),
|
|
4506
|
-
billing_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
4507
|
-
}); },
|
|
4508
|
-
'io.flow.consumer.invoice.v0.models.consumer_invoice_reference': function () { return ({
|
|
4509
|
-
id: factories.string(),
|
|
4510
|
-
key: factories.string(),
|
|
4511
|
-
number: factories.string(),
|
|
4512
|
-
}); },
|
|
4513
|
-
'io.flow.consumer.invoice.v0.models.credit_memo': function () { return ({
|
|
4514
|
-
id: factories.string(),
|
|
4515
|
-
number: factories.string(),
|
|
4516
|
-
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
4517
|
-
date: factories.date_time_iso_8601(),
|
|
4518
|
-
key: factories.string(),
|
|
4519
|
-
invoice: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_reference'](),
|
|
4520
|
-
entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
4521
|
-
payments: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_payment'](); }),
|
|
4522
|
-
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](); }),
|
|
4523
|
-
documents: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](); }),
|
|
4524
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
4525
|
-
tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
|
|
4526
|
-
}); },
|
|
4527
|
-
'io.flow.consumer.invoice.v0.models.credit_memo_form': function () { return ({
|
|
4528
|
-
refund_id: factories.string(),
|
|
4529
|
-
refund_key: factories.string(),
|
|
4530
|
-
refund_identifier: factories.string(),
|
|
4531
|
-
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line_form'](); }),
|
|
4532
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
4533
|
-
}); },
|
|
4534
|
-
'io.flow.consumer.invoice.v0.models.invoice_export': function () { return ({
|
|
4535
|
-
id: factories.string(),
|
|
4536
|
-
}); },
|
|
4537
|
-
'io.flow.consumer.invoice.v0.models.invoice_export_form': function () { return ({
|
|
4538
|
-
date_from: factories.date_iso_8601(),
|
|
4539
|
-
date_to: factories.date_iso_8601(),
|
|
4540
|
-
}); },
|
|
4541
|
-
'io.flow.consumer.invoice.v0.unions.consumer_invoice_line': function () {
|
|
4542
|
-
var f = faker.helpers.arrayElement([
|
|
4543
|
-
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_item'](); },
|
|
4544
|
-
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount'](); },
|
|
4545
|
-
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping'](); },
|
|
4546
|
-
]);
|
|
4547
|
-
return f();
|
|
4548
|
-
},
|
|
4549
|
-
'io.flow.consumer.invoice.v0.unions.consumer_invoice_line_form': function () {
|
|
4550
|
-
var f = faker.helpers.arrayElement([
|
|
4551
|
-
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_item_form'](); },
|
|
4552
|
-
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount_form'](); },
|
|
4553
|
-
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping_form'](); },
|
|
4554
|
-
]);
|
|
4555
|
-
return f();
|
|
4556
|
-
},
|
|
4557
|
-
'io.flow.crypto.v0.enums.error_type': function () { return faker.helpers.arrayElement(['authentication_error', 'invalid_request_error', 'rate_limit_error']); },
|
|
4558
|
-
'io.flow.crypto.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'cancelled']); },
|
|
4559
|
-
'io.flow.crypto.v0.enums.reason_type': function () { return faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']); },
|
|
4560
|
-
'io.flow.crypto.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded']); },
|
|
4561
|
-
'io.flow.crypto.v0.enums.webhook_event_name': function () { return faker.helpers.arrayElement([
|
|
4562
|
-
'payment.created',
|
|
4563
|
-
'payment.fulfilled',
|
|
4564
|
-
'payment.captured',
|
|
4565
|
-
'payment.refund_requested',
|
|
4566
|
-
'payment.refund_transferred',
|
|
4567
|
-
]); },
|
|
4568
|
-
'io.flow.crypto.v0.enums.webhook_object_type': function () { return faker.helpers.arrayElement(['event']); },
|
|
4569
|
-
'io.flow.crypto.v0.models.crypto_event': function () { return ({
|
|
3991
|
+
'io.flow.crypto.v0.enums.error_type': function () { return faker.helpers.arrayElement(['authentication_error', 'invalid_request_error', 'rate_limit_error']); },
|
|
3992
|
+
'io.flow.crypto.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'cancelled']); },
|
|
3993
|
+
'io.flow.crypto.v0.enums.reason_type': function () { return faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']); },
|
|
3994
|
+
'io.flow.crypto.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded']); },
|
|
3995
|
+
'io.flow.crypto.v0.enums.webhook_event_name': function () { return faker.helpers.arrayElement([
|
|
3996
|
+
'payment.created',
|
|
3997
|
+
'payment.fulfilled',
|
|
3998
|
+
'payment.captured',
|
|
3999
|
+
'payment.refund_requested',
|
|
4000
|
+
'payment.refund_transferred',
|
|
4001
|
+
]); },
|
|
4002
|
+
'io.flow.crypto.v0.enums.webhook_object_type': function () { return faker.helpers.arrayElement(['event']); },
|
|
4003
|
+
'io.flow.crypto.v0.models.crypto_event': function () { return ({
|
|
4570
4004
|
id: factories.string(),
|
|
4571
4005
|
object_type: factories['io.flow.crypto.v0.enums.webhook_object_type'](),
|
|
4572
4006
|
type: factories['io.flow.crypto.v0.enums.webhook_event_name'](),
|
|
@@ -5739,6 +5173,186 @@ var factories = {
|
|
|
5739
5173
|
]);
|
|
5740
5174
|
return f();
|
|
5741
5175
|
},
|
|
5176
|
+
'io.flow.experiment.internal.v0.enums.experiment_discriminator_key': function () { return faker.helpers.arrayElement(['experience', 'feature']); },
|
|
5177
|
+
'io.flow.experiment.internal.v0.enums.scope': function () { return faker.helpers.arrayElement(['organization', 'global']); },
|
|
5178
|
+
'io.flow.experiment.internal.v0.enums.significance_action': function () { return faker.helpers.arrayElement(['end_and_implement_winner', 'end_and_revert', 'do_nothing']); },
|
|
5179
|
+
'io.flow.experiment.internal.v0.enums.status': function () { return faker.helpers.arrayElement(['draft', 'scheduled', 'live', 'ended', 'archived']); },
|
|
5180
|
+
'io.flow.experiment.internal.v0.enums.timeseries_type': function () { return faker.helpers.arrayElement(['daily', 'weekly', 'monthly', 'yearly']); },
|
|
5181
|
+
'io.flow.experiment.internal.v0.models.daily_experiment_results': function () { return ({
|
|
5182
|
+
id: factories.string(),
|
|
5183
|
+
day: factories.date_iso_8601(),
|
|
5184
|
+
experiment_key: factories.string(),
|
|
5185
|
+
experiment_variant_key: factories.string(),
|
|
5186
|
+
visitor_count: factories.long(),
|
|
5187
|
+
visitors_with_transactions_count: factories.long(),
|
|
5188
|
+
conversion_rate: factories.decimal(),
|
|
5189
|
+
lower_bound: factories.decimal(),
|
|
5190
|
+
upper_bound: factories.decimal(),
|
|
5191
|
+
probability_of_being_best: factories.decimal(),
|
|
5192
|
+
currency: factories.string(),
|
|
5193
|
+
average_order_value: factories.double(),
|
|
5194
|
+
revenue_generated: factories.double(),
|
|
5195
|
+
total_order_count: factories.long(),
|
|
5196
|
+
conversion_rate_uplift: factories.decimal(),
|
|
5197
|
+
average_order_value_uplift: factories.decimal(),
|
|
5198
|
+
revenue_generated_uplift: factories.decimal(),
|
|
5199
|
+
}); },
|
|
5200
|
+
'io.flow.experiment.internal.v0.models.experience_experiment': function () { return ({
|
|
5201
|
+
discriminator: 'experience',
|
|
5202
|
+
id: factories.string(),
|
|
5203
|
+
key: factories.string(),
|
|
5204
|
+
name: factories.string(),
|
|
5205
|
+
description: factories.string(),
|
|
5206
|
+
status: factories['io.flow.experiment.internal.v0.enums.status'](),
|
|
5207
|
+
emails: arrayOf(function () { return factories.string(); }),
|
|
5208
|
+
started_at: factories.date_time_iso_8601(),
|
|
5209
|
+
ended_at: factories.date_time_iso_8601(),
|
|
5210
|
+
variants: arrayOf(function () { return factories['io.flow.experiment.internal.v0.models.experience_variant'](); }),
|
|
5211
|
+
transitions: arrayOf(function () { return factories['io.flow.experiment.internal.v0.enums.status'](); }),
|
|
5212
|
+
significance_action: factories['io.flow.experiment.internal.v0.enums.significance_action'](),
|
|
5213
|
+
}); },
|
|
5214
|
+
'io.flow.experiment.internal.v0.models.experience_variant': function () { return ({
|
|
5215
|
+
discriminator: 'experience_variant',
|
|
5216
|
+
experience: factories['io.flow.experiment.internal.v0.models.experience_variant_summary'](),
|
|
5217
|
+
traffic_percentage: factories.integer(),
|
|
5218
|
+
experiment_results: factories['io.flow.experiment.internal.v0.models.experiment_results'](),
|
|
5219
|
+
}); },
|
|
5220
|
+
'io.flow.experiment.internal.v0.models.experience_variant_form': function () { return ({
|
|
5221
|
+
discriminator: 'experience',
|
|
5222
|
+
key: factories.string(),
|
|
5223
|
+
traffic_percentage: factories.integer(),
|
|
5224
|
+
}); },
|
|
5225
|
+
'io.flow.experiment.internal.v0.models.experience_variant_summary': function () { return ({
|
|
5226
|
+
key: factories.string(),
|
|
5227
|
+
name: factories.string(),
|
|
5228
|
+
}); },
|
|
5229
|
+
'io.flow.experiment.internal.v0.models.experiment_form': function () { return ({
|
|
5230
|
+
name: factories.string(),
|
|
5231
|
+
description: factories.string(),
|
|
5232
|
+
emails: arrayOf(function () { return factories.string(); }),
|
|
5233
|
+
variants: arrayOf(function () { return factories['io.flow.experiment.internal.v0.unions.variant_form'](); }),
|
|
5234
|
+
significance_action: factories['io.flow.experiment.internal.v0.enums.significance_action'](),
|
|
5235
|
+
session_query: factories.string(),
|
|
5236
|
+
}); },
|
|
5237
|
+
'io.flow.experiment.internal.v0.models.experiment_form_default': function () { return ({
|
|
5238
|
+
discriminator: factories['io.flow.experiment.internal.v0.models.experiment_form_default_discriminator'](),
|
|
5239
|
+
variants: arrayOf(function () { return factories['io.flow.experiment.internal.v0.models.experiment_form_default_variant'](); }),
|
|
5240
|
+
}); },
|
|
5241
|
+
'io.flow.experiment.internal.v0.models.experiment_form_default_discriminator': function () { return ({
|
|
5242
|
+
key: factories['io.flow.experiment.internal.v0.enums.experiment_discriminator_key'](),
|
|
5243
|
+
values: arrayOf(function () { return factories['io.flow.experiment.internal.v0.models.experiment_form_default_discriminator_value'](); }),
|
|
5244
|
+
}); },
|
|
5245
|
+
'io.flow.experiment.internal.v0.models.experiment_form_default_discriminator_value': function () { return ({
|
|
5246
|
+
key: factories.string(),
|
|
5247
|
+
name: factories.string(),
|
|
5248
|
+
scope: factories['io.flow.experiment.internal.v0.enums.scope'](),
|
|
5249
|
+
}); },
|
|
5250
|
+
'io.flow.experiment.internal.v0.models.experiment_form_default_variant': function () { return ({
|
|
5251
|
+
key: factories.string(),
|
|
5252
|
+
name: factories.string(),
|
|
5253
|
+
traffic_percentage: factories.integer(),
|
|
5254
|
+
}); },
|
|
5255
|
+
'io.flow.experiment.internal.v0.models.experiment_milestone': function () { return ({
|
|
5256
|
+
id: factories.string(),
|
|
5257
|
+
experiment: factories['io.flow.experiment.internal.v0.models.experiment_reference'](),
|
|
5258
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5259
|
+
description: factories.string(),
|
|
5260
|
+
}); },
|
|
5261
|
+
'io.flow.experiment.internal.v0.models.experiment_milestone_form': function () { return ({
|
|
5262
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5263
|
+
description: factories.string(),
|
|
5264
|
+
}); },
|
|
5265
|
+
'io.flow.experiment.internal.v0.models.experiment_reference': function () { return ({
|
|
5266
|
+
key: factories.string(),
|
|
5267
|
+
}); },
|
|
5268
|
+
'io.flow.experiment.internal.v0.models.experiment_results': function () { return ({
|
|
5269
|
+
id: factories.string(),
|
|
5270
|
+
experiment_key: factories.string(),
|
|
5271
|
+
experiment_variant_key: factories.string(),
|
|
5272
|
+
visitor_count: factories.long(),
|
|
5273
|
+
visitors_with_transactions_count: factories.long(),
|
|
5274
|
+
conversion_rate: factories.decimal(),
|
|
5275
|
+
lower_bound: factories.decimal(),
|
|
5276
|
+
upper_bound: factories.decimal(),
|
|
5277
|
+
probability_of_being_best: factories.decimal(),
|
|
5278
|
+
currency: factories.string(),
|
|
5279
|
+
average_order_value: factories.double(),
|
|
5280
|
+
revenue_generated: factories.double(),
|
|
5281
|
+
total_order_count: factories.long(),
|
|
5282
|
+
conversion_rate_uplift: factories.decimal(),
|
|
5283
|
+
average_order_value_uplift: factories.decimal(),
|
|
5284
|
+
revenue_generated_uplift: factories.decimal(),
|
|
5285
|
+
}); },
|
|
5286
|
+
'io.flow.experiment.internal.v0.models.experiment_results_with_timestamp': function () { return ({
|
|
5287
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5288
|
+
results: arrayOf(function () { return factories['io.flow.experiment.internal.v0.models.experiment_results'](); }),
|
|
5289
|
+
}); },
|
|
5290
|
+
'io.flow.experiment.internal.v0.models.experiment_session_query_form': function () { return ({
|
|
5291
|
+
session_query: factories.string(),
|
|
5292
|
+
}); },
|
|
5293
|
+
'io.flow.experiment.internal.v0.models.experiment_version': function () { return ({
|
|
5294
|
+
id: factories.string(),
|
|
5295
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5296
|
+
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
5297
|
+
experiment: factories['io.flow.experiment.internal.v0.unions.experiment'](),
|
|
5298
|
+
}); },
|
|
5299
|
+
'io.flow.experiment.internal.v0.models.feature_experiment': function () { return ({
|
|
5300
|
+
discriminator: 'feature',
|
|
5301
|
+
id: factories.string(),
|
|
5302
|
+
key: factories.string(),
|
|
5303
|
+
name: factories.string(),
|
|
5304
|
+
description: factories.string(),
|
|
5305
|
+
status: factories['io.flow.experiment.internal.v0.enums.status'](),
|
|
5306
|
+
emails: arrayOf(function () { return factories.string(); }),
|
|
5307
|
+
scope: factories['io.flow.experiment.internal.v0.enums.scope'](),
|
|
5308
|
+
started_at: factories.date_time_iso_8601(),
|
|
5309
|
+
ended_at: factories.date_time_iso_8601(),
|
|
5310
|
+
variants: arrayOf(function () { return factories['io.flow.experiment.internal.v0.models.feature_variant'](); }),
|
|
5311
|
+
transitions: arrayOf(function () { return factories['io.flow.experiment.internal.v0.enums.status'](); }),
|
|
5312
|
+
significance_action: factories['io.flow.experiment.internal.v0.enums.significance_action'](),
|
|
5313
|
+
session_query: factories.string(),
|
|
5314
|
+
}); },
|
|
5315
|
+
'io.flow.experiment.internal.v0.models.feature_value_reference': function () { return ({
|
|
5316
|
+
feature_key: factories.string(),
|
|
5317
|
+
value: factories.string(),
|
|
5318
|
+
}); },
|
|
5319
|
+
'io.flow.experiment.internal.v0.models.feature_variant': function () { return ({
|
|
5320
|
+
discriminator: 'feature_variant',
|
|
5321
|
+
value: factories['io.flow.experiment.internal.v0.models.feature_variant_summary'](),
|
|
5322
|
+
traffic_percentage: factories.integer(),
|
|
5323
|
+
experiment_results: factories['io.flow.experiment.internal.v0.models.experiment_results'](),
|
|
5324
|
+
}); },
|
|
5325
|
+
'io.flow.experiment.internal.v0.models.feature_variant_form': function () { return ({
|
|
5326
|
+
discriminator: 'feature',
|
|
5327
|
+
key: factories.string(),
|
|
5328
|
+
traffic_percentage: factories.integer(),
|
|
5329
|
+
}); },
|
|
5330
|
+
'io.flow.experiment.internal.v0.models.feature_variant_summary': function () { return ({
|
|
5331
|
+
key: factories.string(),
|
|
5332
|
+
feature_value: factories['io.flow.experiment.internal.v0.models.feature_value_reference'](),
|
|
5333
|
+
name: factories.string(),
|
|
5334
|
+
}); },
|
|
5335
|
+
'io.flow.experiment.internal.v0.unions.experiment': function () {
|
|
5336
|
+
var f = faker.helpers.arrayElement([
|
|
5337
|
+
function () { return factories['io.flow.experiment.internal.v0.models.experience_experiment'](); },
|
|
5338
|
+
function () { return factories['io.flow.experiment.internal.v0.models.feature_experiment'](); },
|
|
5339
|
+
]);
|
|
5340
|
+
return f();
|
|
5341
|
+
},
|
|
5342
|
+
'io.flow.experiment.internal.v0.unions.variant': function () {
|
|
5343
|
+
var f = faker.helpers.arrayElement([
|
|
5344
|
+
function () { return factories['io.flow.experiment.internal.v0.models.experience_variant'](); },
|
|
5345
|
+
function () { return factories['io.flow.experiment.internal.v0.models.feature_variant'](); },
|
|
5346
|
+
]);
|
|
5347
|
+
return f();
|
|
5348
|
+
},
|
|
5349
|
+
'io.flow.experiment.internal.v0.unions.variant_form': function () {
|
|
5350
|
+
var f = faker.helpers.arrayElement([
|
|
5351
|
+
function () { return factories['io.flow.experiment.internal.v0.models.experience_variant_form'](); },
|
|
5352
|
+
function () { return factories['io.flow.experiment.internal.v0.models.feature_variant_form'](); },
|
|
5353
|
+
]);
|
|
5354
|
+
return f();
|
|
5355
|
+
},
|
|
5742
5356
|
'io.flow.export.v0.enums.export_status': function () { return faker.helpers.arrayElement(['created', 'processing', 'completed', 'failed']); },
|
|
5743
5357
|
'io.flow.export.v0.enums.item_identifier': function () { return faker.helpers.arrayElement(['item_number', 'sku']); },
|
|
5744
5358
|
'io.flow.export.v0.models.account_orders_export_type': function () { return ({
|
|
@@ -7953,7 +7567,7 @@ var factories = {
|
|
|
7953
7567
|
number: factories.string(),
|
|
7954
7568
|
company_name: factories.string(),
|
|
7955
7569
|
}); },
|
|
7956
|
-
'io.flow.internal.v0.enums.account_payment_hold_reason': function () { return faker.helpers.arrayElement(['fraudulent', 'invalid_bank_account']); },
|
|
7570
|
+
'io.flow.internal.v0.enums.account_payment_hold_reason': function () { return faker.helpers.arrayElement(['fraudulent', 'frozen', 'invalid_bank_account']); },
|
|
7957
7571
|
'io.flow.internal.v0.enums.account_setting_liabilities_method': function () { return faker.helpers.arrayElement(['withholding', 'transaction']); },
|
|
7958
7572
|
'io.flow.internal.v0.enums.account_type': function () { return faker.helpers.arrayElement(['channel', 'organization']); },
|
|
7959
7573
|
'io.flow.internal.v0.enums.address_configuration_setting_province_code': function () { return faker.helpers.arrayElement(['iso_3166_2', 'name']); },
|
|
@@ -8103,10 +7717,12 @@ var factories = {
|
|
|
8103
7717
|
'negative_balance_number_accounts',
|
|
8104
7718
|
'negative_balance_number_accounts_with_order_in_past_30_days',
|
|
8105
7719
|
'negative_balance_number_accounts_without_order_in_past_30_days',
|
|
7720
|
+
'negative_balance_number_active_accounts_with_balance_over_1000',
|
|
8106
7721
|
'negative_balance_total',
|
|
8107
7722
|
'negative_balance_total_with_order_in_past_30_days',
|
|
8108
7723
|
'negative_balance_total_without_order_in_past_30_days',
|
|
8109
7724
|
'negative_balance_single_account_max',
|
|
7725
|
+
'negative_balance_single_active_account_max',
|
|
8110
7726
|
'negative_balance_fee_total',
|
|
8111
7727
|
'accounts_with_payment_holds_count',
|
|
8112
7728
|
'accounts_with_payment_holds_pending_payment_promise_count',
|
|
@@ -8210,6 +7826,7 @@ var factories = {
|
|
|
8210
7826
|
'unsupported_virtual_goods',
|
|
8211
7827
|
'non_matching_currencies',
|
|
8212
7828
|
'unsupported_order_edit',
|
|
7829
|
+
'order_missing',
|
|
8213
7830
|
]); },
|
|
8214
7831
|
'io.flow.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
8215
7832
|
'io.flow.internal.v0.enums.channel_order_fulfillment_status_code': function () { return faker.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']); },
|
|
@@ -8260,6 +7877,7 @@ var factories = {
|
|
|
8260
7877
|
'io.flow.internal.v0.enums.classification_type': function () { return faker.helpers.arrayElement(['None', 'Manual', 'ML']); },
|
|
8261
7878
|
'io.flow.internal.v0.enums.clothing_age_classification': function () { return faker.helpers.arrayElement(['None', 'AgeKidsGeneral', 'Age0_10', 'Age10_13', 'Age13_14']); },
|
|
8262
7879
|
'io.flow.internal.v0.enums.colm_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
7880
|
+
'io.flow.internal.v0.enums.company': function () { return faker.helpers.arrayElement(['globale', 'flow']); },
|
|
8263
7881
|
'io.flow.internal.v0.enums.compliance_type': function () { return faker.helpers.arrayElement(['weee']); },
|
|
8264
7882
|
'io.flow.internal.v0.enums.content_element_type': function () { return faker.helpers.arrayElement(['markdown', 'html', 'plain_text', 'href']); },
|
|
8265
7883
|
'io.flow.internal.v0.enums.content_status': function () { return faker.helpers.arrayElement(['draft', 'live', 'archived']); },
|
|
@@ -8361,6 +7979,8 @@ var factories = {
|
|
|
8361
7979
|
'sales_record_deleted',
|
|
8362
7980
|
'revenue_record_upserted',
|
|
8363
7981
|
'revenue_record_deleted',
|
|
7982
|
+
'other_record_upserted',
|
|
7983
|
+
'other_record_deleted',
|
|
8364
7984
|
'calculator_organization_settings_upserted',
|
|
8365
7985
|
'calculator_organization_settings_deleted',
|
|
8366
7986
|
'carrier_account_upserted_v2',
|
|
@@ -8423,14 +8043,6 @@ var factories = {
|
|
|
8423
8043
|
'experience_import_request',
|
|
8424
8044
|
'submitted_order_upserted',
|
|
8425
8045
|
'levy_rate_summary_upserted',
|
|
8426
|
-
'experiment_upserted',
|
|
8427
|
-
'experiment_deleted',
|
|
8428
|
-
'experiment_results_upserted',
|
|
8429
|
-
'experiment_results_deleted',
|
|
8430
|
-
'daily_experiment_results_upserted',
|
|
8431
|
-
'daily_experiment_results_deleted',
|
|
8432
|
-
'experiment_milestone_upserted',
|
|
8433
|
-
'experiment_milestone_deleted',
|
|
8434
8046
|
'export_completed',
|
|
8435
8047
|
'export_failed',
|
|
8436
8048
|
'feature_upserted',
|
|
@@ -8465,6 +8077,12 @@ var factories = {
|
|
|
8465
8077
|
'fraud_pending_review_deleted',
|
|
8466
8078
|
'fraud_review_decision_upserted',
|
|
8467
8079
|
'fraud_review_decision_deleted',
|
|
8080
|
+
'fraud_review_authorization_upserted',
|
|
8081
|
+
'fraud_review_authorization_deleted',
|
|
8082
|
+
'fraud_pending_review_authorization_upserted',
|
|
8083
|
+
'fraud_pending_review_authorization_deleted',
|
|
8084
|
+
'fraud_review_authorization_decision_upserted',
|
|
8085
|
+
'fraud_review_authorization_decision_deleted',
|
|
8468
8086
|
'fraud_provider_configuration_upserted',
|
|
8469
8087
|
'fraud_provider_configuration_deleted',
|
|
8470
8088
|
'manual_review_rule_upserted',
|
|
@@ -8542,6 +8160,8 @@ var factories = {
|
|
|
8542
8160
|
'organization_deactivation_deleted',
|
|
8543
8161
|
'merchant_guid_assignment_upserted',
|
|
8544
8162
|
'merchant_guid_assignment_deleted',
|
|
8163
|
+
'organization_metadata_upserted',
|
|
8164
|
+
'organization_metadata_deleted',
|
|
8545
8165
|
'partner_organization_settings_upserted',
|
|
8546
8166
|
'partner_organization_settings_deleted',
|
|
8547
8167
|
'unassigned_merchant_guid_upserted',
|
|
@@ -8617,6 +8237,8 @@ var factories = {
|
|
|
8617
8237
|
'channel_order_summary_deleted',
|
|
8618
8238
|
'channel_organization_identifier_upserted',
|
|
8619
8239
|
'channel_organization_identifier_deleted',
|
|
8240
|
+
'order_tax_and_duty_inclusivity_setting_upserted',
|
|
8241
|
+
'order_tax_and_duty_inclusivity_setting_deleted',
|
|
8620
8242
|
'shopify_monitoring_order_monitor_event_upserted',
|
|
8621
8243
|
'shopify_monitoring_order_monitor_event_deleted',
|
|
8622
8244
|
'shopify_order_fulfillments_snapshot_upserted',
|
|
@@ -8635,8 +8257,16 @@ var factories = {
|
|
|
8635
8257
|
'svitlana_item_deleted',
|
|
8636
8258
|
'colm_item_upserted',
|
|
8637
8259
|
'colm_item_deleted',
|
|
8260
|
+
'harinath_item_upserted',
|
|
8261
|
+
'harinath_item_deleted',
|
|
8262
|
+
'konstantin_item_upserted',
|
|
8263
|
+
'konstantin_item_deleted',
|
|
8638
8264
|
'matias_item_upserted',
|
|
8639
8265
|
'matias_item_deleted',
|
|
8266
|
+
'michaelyan_item_upserted',
|
|
8267
|
+
'michaelyan_item_deleted',
|
|
8268
|
+
'miljenko_item_upserted',
|
|
8269
|
+
'miljenko_item_deleted',
|
|
8640
8270
|
'shruti_demo_item_upserted',
|
|
8641
8271
|
'shruti_demo_item_deleted',
|
|
8642
8272
|
'tam_item_upserted',
|
|
@@ -8649,6 +8279,8 @@ var factories = {
|
|
|
8649
8279
|
'tracking_label_deleted',
|
|
8650
8280
|
'tracking_upserted',
|
|
8651
8281
|
'tracking_deleted',
|
|
8282
|
+
'tracking_assurance_analysis_upserted',
|
|
8283
|
+
'tracking_assurance_analysis_deleted',
|
|
8652
8284
|
'tracking_request_upserted',
|
|
8653
8285
|
'tracking_response_upserted',
|
|
8654
8286
|
'user_upserted_v2',
|
|
@@ -8657,7 +8289,6 @@ var factories = {
|
|
|
8657
8289
|
'io.flow.internal.v0.enums.experience_import_type': function () { return faker.helpers.arrayElement(['experience_with_settings']); },
|
|
8658
8290
|
'io.flow.internal.v0.enums.experience_order_action': function () { return faker.helpers.arrayElement(['submit', 'refund_gift_cards']); },
|
|
8659
8291
|
'io.flow.internal.v0.enums.experience_order_action_trigger': function () { return faker.helpers.arrayElement(['zero_balance', 'unsubmitted_order']); },
|
|
8660
|
-
'io.flow.internal.v0.enums.experiment_discriminator_key': function () { return faker.helpers.arrayElement(['experience', 'feature']); },
|
|
8661
8292
|
'io.flow.internal.v0.enums.export_content_type': function () { return faker.helpers.arrayElement(['item', 'price_book_item']); },
|
|
8662
8293
|
'io.flow.internal.v0.enums.feature_scope': function () { return faker.helpers.arrayElement(['global', 'organization']); },
|
|
8663
8294
|
'io.flow.internal.v0.enums.feature_status': function () { return faker.helpers.arrayElement(['draft', 'active', 'archived']); },
|
|
@@ -8678,6 +8309,8 @@ var factories = {
|
|
|
8678
8309
|
]); },
|
|
8679
8310
|
'io.flow.internal.v0.enums.ftp_protocol': function () { return faker.helpers.arrayElement(['sftp', 'ftp']); },
|
|
8680
8311
|
'io.flow.internal.v0.enums.google_analytics_plugin': function () { return faker.helpers.arrayElement(['ec']); },
|
|
8312
|
+
'io.flow.internal.v0.enums.harinath_item_type': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
|
|
8313
|
+
'io.flow.internal.v0.enums.harmonization_decision_source': function () { return faker.helpers.arrayElement(['human', 'legacy_model', 'enterprise_model']); },
|
|
8681
8314
|
'io.flow.internal.v0.enums.http_method': function () { return faker.helpers.arrayElement(['get', 'post']); },
|
|
8682
8315
|
'io.flow.internal.v0.enums.inventory_check_service': function () { return faker.helpers.arrayElement(['sfcc', 'gymboree']); },
|
|
8683
8316
|
'io.flow.internal.v0.enums.inventory_reservation': function () { return faker.helpers.arrayElement(['synchronous-on-submit']); },
|
|
@@ -8699,6 +8332,7 @@ var factories = {
|
|
|
8699
8332
|
'io.flow.internal.v0.enums.item_quantity_action': function () { return faker.helpers.arrayElement(['fulfillment_ship', 'fulfillment_cancel', 'fulfillment_generate_label']); },
|
|
8700
8333
|
'io.flow.internal.v0.enums.item_type': function () { return faker.helpers.arrayElement(['standard', 'multi_product']); },
|
|
8701
8334
|
'io.flow.internal.v0.enums.keyword_type': function () { return faker.helpers.arrayElement(['positive', 'negative']); },
|
|
8335
|
+
'io.flow.internal.v0.enums.konstantin_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
8702
8336
|
'io.flow.internal.v0.enums.label_billing_strategy': function () { return faker.helpers.arrayElement(['quote', 'carrier']); },
|
|
8703
8337
|
'io.flow.internal.v0.enums.label_cancellation_error_code': function () { return faker.helpers.arrayElement(['already_used', 'carrier_unsupported']); },
|
|
8704
8338
|
'io.flow.internal.v0.enums.label_creation_status': function () { return faker.helpers.arrayElement(['success', 'error', 'pending', 'cancelled']); },
|
|
@@ -8713,6 +8347,11 @@ var factories = {
|
|
|
8713
8347
|
'io.flow.internal.v0.enums.label_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'billable_label', 'fee', 'revenue_share']); },
|
|
8714
8348
|
'io.flow.internal.v0.enums.liability_type': function () { return faker.helpers.arrayElement(['full_value_tax', 'low_value_goods_tax', 'high_value_goods_tax', 'duties']); },
|
|
8715
8349
|
'io.flow.internal.v0.enums.logistics_capability': function () { return faker.helpers.arrayElement(['logistics_address_correction']); },
|
|
8350
|
+
'io.flow.internal.v0.enums.logistics_payout_resolution_method': function () { return faker.helpers.arrayElement([
|
|
8351
|
+
'order_combined_shipment',
|
|
8352
|
+
'intransit_label_event',
|
|
8353
|
+
'shipping_notification',
|
|
8354
|
+
]); },
|
|
8716
8355
|
'io.flow.internal.v0.enums.manual_review_rule_status': function () { return faker.helpers.arrayElement(['active', 'archived']); },
|
|
8717
8356
|
'io.flow.internal.v0.enums.manual_transaction_category': function () { return faker.helpers.arrayElement([
|
|
8718
8357
|
'cancelled_order_refund',
|
|
@@ -8768,6 +8407,8 @@ var factories = {
|
|
|
8768
8407
|
'io.flow.internal.v0.enums.marketing_gateway_product_status': function () { return faker.helpers.arrayElement(['approved', 'not_approved', 'pending', 'not_found', 'excluded']); },
|
|
8769
8408
|
'io.flow.internal.v0.enums.marketing_gateway_schema_compatibility': function () { return faker.helpers.arrayElement(['google', 'facebook_primary', 'facebook_country_override', 'supplemental']); },
|
|
8770
8409
|
'io.flow.internal.v0.enums.matias_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
8410
|
+
'io.flow.internal.v0.enums.michaelyan_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
8411
|
+
'io.flow.internal.v0.enums.miljenko_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
8771
8412
|
'io.flow.internal.v0.enums.mixed_bag_weight': function () { return faker.helpers.arrayElement(['0', '1', '2']); },
|
|
8772
8413
|
'io.flow.internal.v0.enums.nature_of_sale': function () { return faker.helpers.arrayElement([
|
|
8773
8414
|
'consumer',
|
|
@@ -8814,6 +8455,7 @@ var factories = {
|
|
|
8814
8455
|
'unit_test',
|
|
8815
8456
|
'api',
|
|
8816
8457
|
'api_activation',
|
|
8458
|
+
'api_reject',
|
|
8817
8459
|
'audit_auto_activation',
|
|
8818
8460
|
'api_deactivation',
|
|
8819
8461
|
'api_sandbox_setup',
|
|
@@ -8913,11 +8555,15 @@ var factories = {
|
|
|
8913
8555
|
'io.flow.internal.v0.enums.report_status': function () { return faker.helpers.arrayElement(['created', 'completed', 'completed_no_records', 'failed']); },
|
|
8914
8556
|
'io.flow.internal.v0.enums.report_type': function () { return faker.helpers.arrayElement([
|
|
8915
8557
|
'sales_record',
|
|
8558
|
+
'refund_record',
|
|
8559
|
+
'other_record',
|
|
8560
|
+
'pending_record',
|
|
8916
8561
|
'trueup_overview',
|
|
8917
8562
|
'non_channel_payment_bank_account',
|
|
8918
8563
|
'scheduled_payment',
|
|
8919
8564
|
'account_quarterly_balances',
|
|
8920
8565
|
'invariants',
|
|
8566
|
+
'payments',
|
|
8921
8567
|
]); },
|
|
8922
8568
|
'io.flow.internal.v0.enums.reporting_fulfillment_is_virtual': function () { return faker.helpers.arrayElement(['all', 'mixed', 'none']); },
|
|
8923
8569
|
'io.flow.internal.v0.enums.reporting_scheme': function () { return faker.helpers.arrayElement([
|
|
@@ -8933,7 +8579,6 @@ var factories = {
|
|
|
8933
8579
|
'io.flow.internal.v0.enums.revenue_record_type': function () { return faker.helpers.arrayElement(['pending', 'sales', 'refund']); },
|
|
8934
8580
|
'io.flow.internal.v0.enums.risk_check': function () { return faker.helpers.arrayElement(['three_d_secure']); },
|
|
8935
8581
|
'io.flow.internal.v0.enums.risk_evaluation': function () { return faker.helpers.arrayElement(['Pending', 'High-Risk', 'Low-Risk', 'Restricted-Party', 'none']); },
|
|
8936
|
-
'io.flow.internal.v0.enums.scope': function () { return faker.helpers.arrayElement(['organization', 'global']); },
|
|
8937
8582
|
'io.flow.internal.v0.enums.serial_reservation_error': function () { return faker.helpers.arrayElement(['duration_too_long', 'items_not_found', 'reservation_expired']); },
|
|
8938
8583
|
'io.flow.internal.v0.enums.service_name': function () { return faker.helpers.arrayElement(['catalog', 'demandware', 'metric']); },
|
|
8939
8584
|
'io.flow.internal.v0.enums.session_country_status': function () { return faker.helpers.arrayElement(['enabled', 'disabled']); },
|
|
@@ -8996,7 +8641,6 @@ var factories = {
|
|
|
8996
8641
|
'io.flow.internal.v0.enums.shopify_promotion_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
8997
8642
|
'io.flow.internal.v0.enums.shopify_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator']); },
|
|
8998
8643
|
'io.flow.internal.v0.enums.shruti_demo_type': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
|
|
8999
|
-
'io.flow.internal.v0.enums.significance_action': function () { return faker.helpers.arrayElement(['end_and_implement_winner', 'end_and_revert', 'do_nothing']); },
|
|
9000
8644
|
'io.flow.internal.v0.enums.simple_rounding_strategy': function () { return faker.helpers.arrayElement(['no_rounding', 'currency_precision']); },
|
|
9001
8645
|
'io.flow.internal.v0.enums.snooze_next_action_with': function () { return faker.helpers.arrayElement(['customer_service', 'engineering']); },
|
|
9002
8646
|
'io.flow.internal.v0.enums.snooze_source_type': function () { return faker.helpers.arrayElement(['task', 'invariant']); },
|
|
@@ -9015,7 +8659,6 @@ var factories = {
|
|
|
9015
8659
|
'rate-source',
|
|
9016
8660
|
'rate-freshness',
|
|
9017
8661
|
]); },
|
|
9018
|
-
'io.flow.internal.v0.enums.status': function () { return faker.helpers.arrayElement(['draft', 'scheduled', 'live', 'ended', 'archived']); },
|
|
9019
8662
|
'io.flow.internal.v0.enums.subscription_frequency': function () { return faker.helpers.arrayElement(['yearly', 'monthly']); },
|
|
9020
8663
|
'io.flow.internal.v0.enums.suggestion_action': function () { return faker.helpers.arrayElement(['accept', 'validate', 'review']); },
|
|
9021
8664
|
'io.flow.internal.v0.enums.svitlana_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
@@ -9030,10 +8673,16 @@ var factories = {
|
|
|
9030
8673
|
'rate_levels',
|
|
9031
8674
|
'center_defaults',
|
|
9032
8675
|
]); },
|
|
8676
|
+
'io.flow.internal.v0.enums.tax_and_duty_inclusivity_setting': function () { return faker.helpers.arrayElement([
|
|
8677
|
+
'duty_exclusive_tax_exclusive',
|
|
8678
|
+
'duty_inclusive_tax_exclusive',
|
|
8679
|
+
'duty_exclusive_tax_inclusive',
|
|
8680
|
+
'duty_inclusive_tax_inclusive',
|
|
8681
|
+
]); },
|
|
9033
8682
|
'io.flow.internal.v0.enums.tax_calculation_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'outside_of_jurisdiction']); },
|
|
9034
8683
|
'io.flow.internal.v0.enums.tax_party': function () { return faker.helpers.arrayElement(['consumer', 'organization', 'flow', 'carrier']); },
|
|
9035
8684
|
'io.flow.internal.v0.enums.tax_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'tax']); },
|
|
9036
|
-
'io.flow.internal.v0.enums.
|
|
8685
|
+
'io.flow.internal.v0.enums.thiago_item_type': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
|
|
9037
8686
|
'io.flow.internal.v0.enums.tracking_integration_type': function () { return faker.helpers.arrayElement(['api', 'bulk', 'aftership']); },
|
|
9038
8687
|
'io.flow.internal.v0.enums.tracking_processing_failure_classification': function () { return faker.helpers.arrayElement([
|
|
9039
8688
|
'tracking_expired',
|
|
@@ -9734,15 +9383,6 @@ var factories = {
|
|
|
9734
9383
|
keywords: arrayOf(function () { return factories.string(); }),
|
|
9735
9384
|
action: factories['io.flow.internal.v0.enums.restriction_status'](),
|
|
9736
9385
|
}); },
|
|
9737
|
-
'io.flow.internal.v0.models.backfill': function () { return ({
|
|
9738
|
-
days_to_backfill: arrayOf(function () { return factories.date_time_iso_8601(); }),
|
|
9739
|
-
}); },
|
|
9740
|
-
'io.flow.internal.v0.models.backfill_form': function () { return ({
|
|
9741
|
-
start_date: factories.date_time_iso_8601(),
|
|
9742
|
-
end_date: factories.date_time_iso_8601(),
|
|
9743
|
-
organization_id: factories.string(),
|
|
9744
|
-
experiment_key: factories.string(),
|
|
9745
|
-
}); },
|
|
9746
9386
|
'io.flow.internal.v0.models.bank_account_reference': function () { return ({
|
|
9747
9387
|
id: factories.string(),
|
|
9748
9388
|
}); },
|
|
@@ -9845,7 +9485,7 @@ var factories = {
|
|
|
9845
9485
|
discriminator: 'billing_csv_transaction_upserted',
|
|
9846
9486
|
event_id: factories.string(),
|
|
9847
9487
|
timestamp: factories.date_time_iso_8601(),
|
|
9848
|
-
transaction: factories['io.flow.
|
|
9488
|
+
transaction: factories['io.flow.internal.v0.models.csv_transaction'](),
|
|
9849
9489
|
}); },
|
|
9850
9490
|
'io.flow.internal.v0.models.billing_invoice_summary': function () { return ({
|
|
9851
9491
|
id: factories.string(),
|
|
@@ -11093,27 +10733,35 @@ var factories = {
|
|
|
11093
10733
|
product_id: factories.string(),
|
|
11094
10734
|
}); },
|
|
11095
10735
|
'io.flow.internal.v0.models.classification_product_request': function () { return ({
|
|
11096
|
-
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
|
|
11102
|
-
|
|
11103
|
-
|
|
11104
|
-
|
|
11105
|
-
|
|
11106
|
-
|
|
10736
|
+
MerchantId: factories.string(),
|
|
10737
|
+
ProductName: factories.string(),
|
|
10738
|
+
ProductDescription: factories.string(),
|
|
10739
|
+
ProductIdInternal: factories.string(),
|
|
10740
|
+
ProductIdExternal: factories.string(),
|
|
10741
|
+
ProductGroupCode: factories.string(),
|
|
10742
|
+
ProductUrl: factories.string(),
|
|
10743
|
+
ProductImage: factories.string(),
|
|
10744
|
+
ProductAttributes: objectOf(function () { return factories.string(); }),
|
|
10745
|
+
Categories: arrayOf(function () { return factories.string(); }),
|
|
10746
|
+
PlatformId: factories['io.flow.internal.v0.enums.classification_platform'](),
|
|
10747
|
+
}); },
|
|
10748
|
+
'io.flow.internal.v0.models.classification_product_request_envelope': function () { return ({
|
|
10749
|
+
messageType: arrayOf(function () { return factories.string(); }),
|
|
10750
|
+
message: factories['io.flow.internal.v0.models.classification_product_request'](),
|
|
11107
10751
|
}); },
|
|
11108
10752
|
'io.flow.internal.v0.models.classification_product_result': function () { return ({
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
10753
|
+
productId: factories.string(),
|
|
10754
|
+
merchantId: factories.string(),
|
|
10755
|
+
platformId: factories['io.flow.internal.v0.enums.classification_platform'](),
|
|
10756
|
+
hsCode: factories.string(),
|
|
11113
10757
|
probability: factories.integer(),
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
10758
|
+
classificationDecision: factories['io.flow.internal.v0.enums.classification_decision'](),
|
|
10759
|
+
classificationType: factories['io.flow.internal.v0.enums.classification_type'](),
|
|
10760
|
+
clothingAgeClassification: factories['io.flow.internal.v0.enums.clothing_age_classification'](),
|
|
10761
|
+
}); },
|
|
10762
|
+
'io.flow.internal.v0.models.classification_product_result_envelope': function () { return ({
|
|
10763
|
+
messageType: arrayOf(function () { return factories.string(); }),
|
|
10764
|
+
message: factories['io.flow.internal.v0.models.classification_product_result'](),
|
|
11117
10765
|
}); },
|
|
11118
10766
|
'io.flow.internal.v0.models.classification_product_summary': function () { return ({
|
|
11119
10767
|
product_id: factories.string(),
|
|
@@ -11397,6 +11045,24 @@ var factories = {
|
|
|
11397
11045
|
secret_key: factories.string(),
|
|
11398
11046
|
signature_secret: factories.string(),
|
|
11399
11047
|
}); },
|
|
11048
|
+
'io.flow.internal.v0.models.csv_transaction': function () { return ({
|
|
11049
|
+
id: factories.string(),
|
|
11050
|
+
type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
|
|
11051
|
+
account: factories['io.flow.internal.v0.models.other_record_account'](),
|
|
11052
|
+
metadata: factories['io.flow.internal.v0.models.other_record_metadata'](),
|
|
11053
|
+
order: factories['io.flow.internal.v0.models.other_record_order_summary'](),
|
|
11054
|
+
currency: factories.string(),
|
|
11055
|
+
source: factories['io.flow.billing.v0.enums.transaction_source'](),
|
|
11056
|
+
parent: factories['io.flow.billing.v0.models.parent_transaction_summary'](),
|
|
11057
|
+
gross: factories.decimal(),
|
|
11058
|
+
fees: factories['io.flow.internal.v0.models.other_record_fees'](),
|
|
11059
|
+
withholdings: factories['io.flow.internal.v0.models.other_record_withholdings'](),
|
|
11060
|
+
discount: factories['io.flow.internal.v0.models.other_record_discount'](),
|
|
11061
|
+
net: factories.decimal(),
|
|
11062
|
+
identifiers: factories['io.flow.internal.v0.models.other_record_identifiers'](),
|
|
11063
|
+
created_at: factories.date_time_iso_8601(),
|
|
11064
|
+
updated_at: factories.date_time_iso_8601(),
|
|
11065
|
+
}); },
|
|
11400
11066
|
'io.flow.internal.v0.models.currency_internal_rate': function () { return ({
|
|
11401
11067
|
id: factories.string(),
|
|
11402
11068
|
organization_id: factories.string(),
|
|
@@ -11489,49 +11155,6 @@ var factories = {
|
|
|
11489
11155
|
material: factories['io.flow.internal.v0.models.customs_product_attribute_label'](),
|
|
11490
11156
|
construction: factories['io.flow.internal.v0.models.customs_product_attribute_label'](),
|
|
11491
11157
|
}); },
|
|
11492
|
-
'io.flow.internal.v0.models.daily_experiment_engine_results': function () { return ({
|
|
11493
|
-
day: factories.date_time_iso_8601(),
|
|
11494
|
-
organization_id: factories.string(),
|
|
11495
|
-
experiment_key: factories.string(),
|
|
11496
|
-
experiment_variant_key: factories.string(),
|
|
11497
|
-
distinct_visitors_count: factories.long(),
|
|
11498
|
-
visitors_with_transactions_count: factories.long(),
|
|
11499
|
-
total_visitors_count: factories.long(),
|
|
11500
|
-
total_revenue: factories.decimal(),
|
|
11501
|
-
}); },
|
|
11502
|
-
'io.flow.internal.v0.models.daily_experiment_results': function () { return ({
|
|
11503
|
-
id: factories.string(),
|
|
11504
|
-
day: factories.date_iso_8601(),
|
|
11505
|
-
experiment_key: factories.string(),
|
|
11506
|
-
experiment_variant_key: factories.string(),
|
|
11507
|
-
visitor_count: factories.long(),
|
|
11508
|
-
visitors_with_transactions_count: factories.long(),
|
|
11509
|
-
conversion_rate: factories.decimal(),
|
|
11510
|
-
lower_bound: factories.decimal(),
|
|
11511
|
-
upper_bound: factories.decimal(),
|
|
11512
|
-
probability_of_being_best: factories.decimal(),
|
|
11513
|
-
currency: factories.string(),
|
|
11514
|
-
average_order_value: factories.double(),
|
|
11515
|
-
revenue_generated: factories.double(),
|
|
11516
|
-
total_order_count: factories.long(),
|
|
11517
|
-
conversion_rate_uplift: factories.decimal(),
|
|
11518
|
-
average_order_value_uplift: factories.decimal(),
|
|
11519
|
-
revenue_generated_uplift: factories.decimal(),
|
|
11520
|
-
}); },
|
|
11521
|
-
'io.flow.internal.v0.models.daily_experiment_results_deleted': function () { return ({
|
|
11522
|
-
discriminator: 'daily_experiment_results_deleted',
|
|
11523
|
-
event_id: factories.string(),
|
|
11524
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11525
|
-
organization_id: factories.string(),
|
|
11526
|
-
daily_experiment_results: factories['io.flow.internal.v0.models.daily_experiment_results'](),
|
|
11527
|
-
}); },
|
|
11528
|
-
'io.flow.internal.v0.models.daily_experiment_results_upserted': function () { return ({
|
|
11529
|
-
discriminator: 'daily_experiment_results_upserted',
|
|
11530
|
-
event_id: factories.string(),
|
|
11531
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11532
|
-
organization_id: factories.string(),
|
|
11533
|
-
daily_experiment_results: factories['io.flow.internal.v0.models.daily_experiment_results'](),
|
|
11534
|
-
}); },
|
|
11535
11158
|
'io.flow.internal.v0.models.daily_value': function () { return ({
|
|
11536
11159
|
id: factories.string(),
|
|
11537
11160
|
key: factories['io.flow.internal.v0.enums.billing_metric_key'](),
|
|
@@ -12151,6 +11774,7 @@ var factories = {
|
|
|
12151
11774
|
branch_des: factories.string(),
|
|
12152
11775
|
}); },
|
|
12153
11776
|
'io.flow.internal.v0.models.erp_priority_vendor_form': function () { return ({
|
|
11777
|
+
company: factories['io.flow.internal.v0.enums.company'](),
|
|
12154
11778
|
acc_des: factories.string(),
|
|
12155
11779
|
tax_code: factories.string(),
|
|
12156
11780
|
tax_code_2: factories.string(),
|
|
@@ -12240,20 +11864,6 @@ var factories = {
|
|
|
12240
11864
|
'io.flow.internal.v0.models.expected_order_summary': function () { return ({
|
|
12241
11865
|
total: factories['io.flow.common.v0.models.money'](),
|
|
12242
11866
|
}); },
|
|
12243
|
-
'io.flow.internal.v0.models.experience_experiment': function () { return ({
|
|
12244
|
-
discriminator: 'experience',
|
|
12245
|
-
id: factories.string(),
|
|
12246
|
-
key: factories.string(),
|
|
12247
|
-
name: factories.string(),
|
|
12248
|
-
description: factories.string(),
|
|
12249
|
-
status: factories['io.flow.internal.v0.enums.status'](),
|
|
12250
|
-
emails: arrayOf(function () { return factories.string(); }),
|
|
12251
|
-
started_at: factories.date_time_iso_8601(),
|
|
12252
|
-
ended_at: factories.date_time_iso_8601(),
|
|
12253
|
-
variants: arrayOf(function () { return factories['io.flow.internal.v0.models.experience_variant'](); }),
|
|
12254
|
-
transitions: arrayOf(function () { return factories['io.flow.internal.v0.enums.status'](); }),
|
|
12255
|
-
significance_action: factories['io.flow.internal.v0.enums.significance_action'](),
|
|
12256
|
-
}); },
|
|
12257
11867
|
'io.flow.internal.v0.models.experience_export_request': function () { return ({
|
|
12258
11868
|
discriminator: 'experience_export_request',
|
|
12259
11869
|
event_id: factories.string(),
|
|
@@ -12280,143 +11890,6 @@ var factories = {
|
|
|
12280
11890
|
'io.flow.internal.v0.models.experience_session_reference': function () { return ({
|
|
12281
11891
|
id: factories.string(),
|
|
12282
11892
|
}); },
|
|
12283
|
-
'io.flow.internal.v0.models.experience_variant': function () { return ({
|
|
12284
|
-
discriminator: 'experience_variant',
|
|
12285
|
-
experience: factories['io.flow.internal.v0.models.experience_variant_summary'](),
|
|
12286
|
-
traffic_percentage: factories.integer(),
|
|
12287
|
-
experiment_results: factories['io.flow.internal.v0.models.experiment_results'](),
|
|
12288
|
-
}); },
|
|
12289
|
-
'io.flow.internal.v0.models.experience_variant_form': function () { return ({
|
|
12290
|
-
discriminator: 'experience',
|
|
12291
|
-
key: factories.string(),
|
|
12292
|
-
traffic_percentage: factories.integer(),
|
|
12293
|
-
}); },
|
|
12294
|
-
'io.flow.internal.v0.models.experience_variant_summary': function () { return ({
|
|
12295
|
-
key: factories.string(),
|
|
12296
|
-
name: factories.string(),
|
|
12297
|
-
}); },
|
|
12298
|
-
'io.flow.internal.v0.models.experiment_deleted': function () { return ({
|
|
12299
|
-
discriminator: 'experiment_deleted',
|
|
12300
|
-
event_id: factories.string(),
|
|
12301
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12302
|
-
organization_id: factories.string(),
|
|
12303
|
-
id: factories.string(),
|
|
12304
|
-
}); },
|
|
12305
|
-
'io.flow.internal.v0.models.experiment_engine_results': function () { return ({
|
|
12306
|
-
organization_id: factories.string(),
|
|
12307
|
-
experiment_key: factories.string(),
|
|
12308
|
-
experiment_variant_key: factories.string(),
|
|
12309
|
-
distinct_visitors_count: factories.long(),
|
|
12310
|
-
visitors_with_transactions_count: factories.long(),
|
|
12311
|
-
total_visitors_count: factories.long(),
|
|
12312
|
-
total_revenue: factories.decimal(),
|
|
12313
|
-
day: factories.date_time_iso_8601(),
|
|
12314
|
-
}); },
|
|
12315
|
-
'io.flow.internal.v0.models.experiment_form': function () { return ({
|
|
12316
|
-
name: factories.string(),
|
|
12317
|
-
description: factories.string(),
|
|
12318
|
-
emails: arrayOf(function () { return factories.string(); }),
|
|
12319
|
-
variants: arrayOf(function () { return factories['io.flow.internal.v0.unions.variant_form'](); }),
|
|
12320
|
-
significance_action: factories['io.flow.internal.v0.enums.significance_action'](),
|
|
12321
|
-
session_query: factories.string(),
|
|
12322
|
-
}); },
|
|
12323
|
-
'io.flow.internal.v0.models.experiment_form_default': function () { return ({
|
|
12324
|
-
discriminator: factories['io.flow.internal.v0.models.experiment_form_default_discriminator'](),
|
|
12325
|
-
variants: arrayOf(function () { return factories['io.flow.internal.v0.models.experiment_form_default_variant'](); }),
|
|
12326
|
-
}); },
|
|
12327
|
-
'io.flow.internal.v0.models.experiment_form_default_discriminator': function () { return ({
|
|
12328
|
-
key: factories['io.flow.internal.v0.enums.experiment_discriminator_key'](),
|
|
12329
|
-
values: arrayOf(function () { return factories['io.flow.internal.v0.models.experiment_form_default_discriminator_value'](); }),
|
|
12330
|
-
}); },
|
|
12331
|
-
'io.flow.internal.v0.models.experiment_form_default_discriminator_value': function () { return ({
|
|
12332
|
-
key: factories.string(),
|
|
12333
|
-
name: factories.string(),
|
|
12334
|
-
scope: factories['io.flow.internal.v0.enums.scope'](),
|
|
12335
|
-
}); },
|
|
12336
|
-
'io.flow.internal.v0.models.experiment_form_default_variant': function () { return ({
|
|
12337
|
-
key: factories.string(),
|
|
12338
|
-
name: factories.string(),
|
|
12339
|
-
traffic_percentage: factories.integer(),
|
|
12340
|
-
}); },
|
|
12341
|
-
'io.flow.internal.v0.models.experiment_milestone': function () { return ({
|
|
12342
|
-
id: factories.string(),
|
|
12343
|
-
experiment: factories['io.flow.internal.v0.models.experiment_reference'](),
|
|
12344
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12345
|
-
description: factories.string(),
|
|
12346
|
-
}); },
|
|
12347
|
-
'io.flow.internal.v0.models.experiment_milestone_deleted': function () { return ({
|
|
12348
|
-
discriminator: 'experiment_milestone_deleted',
|
|
12349
|
-
event_id: factories.string(),
|
|
12350
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12351
|
-
organization: factories.string(),
|
|
12352
|
-
id: factories.string(),
|
|
12353
|
-
}); },
|
|
12354
|
-
'io.flow.internal.v0.models.experiment_milestone_form': function () { return ({
|
|
12355
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12356
|
-
description: factories.string(),
|
|
12357
|
-
}); },
|
|
12358
|
-
'io.flow.internal.v0.models.experiment_milestone_upserted': function () { return ({
|
|
12359
|
-
discriminator: 'experiment_milestone_upserted',
|
|
12360
|
-
event_id: factories.string(),
|
|
12361
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12362
|
-
organization: factories.string(),
|
|
12363
|
-
experiment_milestone: factories['io.flow.internal.v0.models.experiment_milestone'](),
|
|
12364
|
-
}); },
|
|
12365
|
-
'io.flow.internal.v0.models.experiment_reference': function () { return ({
|
|
12366
|
-
key: factories.string(),
|
|
12367
|
-
}); },
|
|
12368
|
-
'io.flow.internal.v0.models.experiment_results': function () { return ({
|
|
12369
|
-
id: factories.string(),
|
|
12370
|
-
experiment_key: factories.string(),
|
|
12371
|
-
experiment_variant_key: factories.string(),
|
|
12372
|
-
visitor_count: factories.long(),
|
|
12373
|
-
visitors_with_transactions_count: factories.long(),
|
|
12374
|
-
conversion_rate: factories.decimal(),
|
|
12375
|
-
lower_bound: factories.decimal(),
|
|
12376
|
-
upper_bound: factories.decimal(),
|
|
12377
|
-
probability_of_being_best: factories.decimal(),
|
|
12378
|
-
currency: factories.string(),
|
|
12379
|
-
average_order_value: factories.double(),
|
|
12380
|
-
revenue_generated: factories.double(),
|
|
12381
|
-
total_order_count: factories.long(),
|
|
12382
|
-
conversion_rate_uplift: factories.decimal(),
|
|
12383
|
-
average_order_value_uplift: factories.decimal(),
|
|
12384
|
-
revenue_generated_uplift: factories.decimal(),
|
|
12385
|
-
}); },
|
|
12386
|
-
'io.flow.internal.v0.models.experiment_results_deleted': function () { return ({
|
|
12387
|
-
discriminator: 'experiment_results_deleted',
|
|
12388
|
-
event_id: factories.string(),
|
|
12389
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12390
|
-
organization_id: factories.string(),
|
|
12391
|
-
experiment_results: factories['io.flow.internal.v0.models.experiment_results'](),
|
|
12392
|
-
}); },
|
|
12393
|
-
'io.flow.internal.v0.models.experiment_results_upserted': function () { return ({
|
|
12394
|
-
discriminator: 'experiment_results_upserted',
|
|
12395
|
-
event_id: factories.string(),
|
|
12396
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12397
|
-
organization_id: factories.string(),
|
|
12398
|
-
experiment_results: factories['io.flow.internal.v0.models.experiment_results'](),
|
|
12399
|
-
}); },
|
|
12400
|
-
'io.flow.internal.v0.models.experiment_results_with_timestamp': function () { return ({
|
|
12401
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12402
|
-
results: arrayOf(function () { return factories['io.flow.internal.v0.models.experiment_results'](); }),
|
|
12403
|
-
}); },
|
|
12404
|
-
'io.flow.internal.v0.models.experiment_session_query_form': function () { return ({
|
|
12405
|
-
session_query: factories.string(),
|
|
12406
|
-
}); },
|
|
12407
|
-
'io.flow.internal.v0.models.experiment_upserted': function () { return ({
|
|
12408
|
-
discriminator: 'experiment_upserted',
|
|
12409
|
-
event_id: factories.string(),
|
|
12410
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12411
|
-
organization_id: factories.string(),
|
|
12412
|
-
experiment: factories['io.flow.internal.v0.unions.experiment'](),
|
|
12413
|
-
}); },
|
|
12414
|
-
'io.flow.internal.v0.models.experiment_version': function () { return ({
|
|
12415
|
-
id: factories.string(),
|
|
12416
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12417
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
12418
|
-
experiment: factories['io.flow.internal.v0.unions.experiment'](),
|
|
12419
|
-
}); },
|
|
12420
11893
|
'io.flow.internal.v0.models.explicit_statement': function () { return ({
|
|
12421
11894
|
id: factories.string(),
|
|
12422
11895
|
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
@@ -12477,6 +11950,7 @@ var factories = {
|
|
|
12477
11950
|
delivery_estimate: factories.date_time_iso_8601(),
|
|
12478
11951
|
description: factories.string(),
|
|
12479
11952
|
order_number: factories.string(),
|
|
11953
|
+
raw_carrier_event_code: factories.string(),
|
|
12480
11954
|
}); },
|
|
12481
11955
|
'io.flow.internal.v0.models.external_fulfillment_proof': function () { return ({
|
|
12482
11956
|
id: factories.string(),
|
|
@@ -12540,22 +12014,6 @@ var factories = {
|
|
|
12540
12014
|
organization: factories.string(),
|
|
12541
12015
|
feature: factories['io.flow.internal.v0.models.feature'](),
|
|
12542
12016
|
}); },
|
|
12543
|
-
'io.flow.internal.v0.models.feature_experiment': function () { return ({
|
|
12544
|
-
discriminator: 'feature',
|
|
12545
|
-
id: factories.string(),
|
|
12546
|
-
key: factories.string(),
|
|
12547
|
-
name: factories.string(),
|
|
12548
|
-
description: factories.string(),
|
|
12549
|
-
status: factories['io.flow.internal.v0.enums.status'](),
|
|
12550
|
-
emails: arrayOf(function () { return factories.string(); }),
|
|
12551
|
-
scope: factories['io.flow.internal.v0.enums.scope'](),
|
|
12552
|
-
started_at: factories.date_time_iso_8601(),
|
|
12553
|
-
ended_at: factories.date_time_iso_8601(),
|
|
12554
|
-
variants: arrayOf(function () { return factories['io.flow.internal.v0.models.feature_variant'](); }),
|
|
12555
|
-
transitions: arrayOf(function () { return factories['io.flow.internal.v0.enums.status'](); }),
|
|
12556
|
-
significance_action: factories['io.flow.internal.v0.enums.significance_action'](),
|
|
12557
|
-
session_query: factories.string(),
|
|
12558
|
-
}); },
|
|
12559
12017
|
'io.flow.internal.v0.models.feature_form': function () { return ({
|
|
12560
12018
|
name: factories.string(),
|
|
12561
12019
|
description: factories.string(),
|
|
@@ -12603,29 +12061,9 @@ var factories = {
|
|
|
12603
12061
|
feature_query: factories.string(),
|
|
12604
12062
|
context: factories['io.flow.internal.v0.models.feature_context_form'](),
|
|
12605
12063
|
}); },
|
|
12606
|
-
'io.flow.internal.v0.models.feature_value_reference': function () { return ({
|
|
12607
|
-
feature_key: factories.string(),
|
|
12608
|
-
value: factories.string(),
|
|
12609
|
-
}); },
|
|
12610
12064
|
'io.flow.internal.v0.models.feature_value_result': function () { return ({
|
|
12611
12065
|
values: arrayOf(function () { return factories['io.flow.internal.v0.unions.feature_value'](); }),
|
|
12612
12066
|
}); },
|
|
12613
|
-
'io.flow.internal.v0.models.feature_variant': function () { return ({
|
|
12614
|
-
discriminator: 'feature_variant',
|
|
12615
|
-
value: factories['io.flow.internal.v0.models.feature_variant_summary'](),
|
|
12616
|
-
traffic_percentage: factories.integer(),
|
|
12617
|
-
experiment_results: factories['io.flow.internal.v0.models.experiment_results'](),
|
|
12618
|
-
}); },
|
|
12619
|
-
'io.flow.internal.v0.models.feature_variant_form': function () { return ({
|
|
12620
|
-
discriminator: 'feature',
|
|
12621
|
-
key: factories.string(),
|
|
12622
|
-
traffic_percentage: factories.integer(),
|
|
12623
|
-
}); },
|
|
12624
|
-
'io.flow.internal.v0.models.feature_variant_summary': function () { return ({
|
|
12625
|
-
key: factories.string(),
|
|
12626
|
-
feature_value: factories['io.flow.internal.v0.models.feature_value_reference'](),
|
|
12627
|
-
name: factories.string(),
|
|
12628
|
-
}); },
|
|
12629
12067
|
'io.flow.internal.v0.models.fedex': function () { return ({
|
|
12630
12068
|
discriminator: 'fedex',
|
|
12631
12069
|
key: factories.string(),
|
|
@@ -12847,8 +12285,10 @@ var factories = {
|
|
|
12847
12285
|
reason: factories.string(),
|
|
12848
12286
|
next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
|
|
12849
12287
|
}); },
|
|
12850
|
-
'io.flow.internal.v0.models.
|
|
12851
|
-
|
|
12288
|
+
'io.flow.internal.v0.models.fraud_authorization_summary': function () { return ({
|
|
12289
|
+
fraud_review_authorization: factories['io.flow.internal.v0.models.fraud_review_authorization'](),
|
|
12290
|
+
fraud_pending_review_authorization: factories['io.flow.internal.v0.models.fraud_pending_review_authorization'](),
|
|
12291
|
+
fraud_review_authorization_decision: factories['io.flow.internal.v0.models.fraud_review_authorization_decision'](),
|
|
12852
12292
|
}); },
|
|
12853
12293
|
'io.flow.internal.v0.models.fraud_pending_review': function () { return ({
|
|
12854
12294
|
id: factories.string(),
|
|
@@ -12859,6 +12299,29 @@ var factories = {
|
|
|
12859
12299
|
apply_at: factories.date_time_iso_8601(),
|
|
12860
12300
|
liability: factories['io.flow.fraud.v0.enums.fraud_liability'](),
|
|
12861
12301
|
}); },
|
|
12302
|
+
'io.flow.internal.v0.models.fraud_pending_review_authorization': function () { return ({
|
|
12303
|
+
id: factories.string(),
|
|
12304
|
+
fraud_review_authorization_id: factories.string(),
|
|
12305
|
+
order: factories['io.flow.experience.v0.models.order_reference'](),
|
|
12306
|
+
fraud_order_reference: factories['io.flow.fraud.v0.unions.fraud_order_reference'](),
|
|
12307
|
+
recommended_status: factories['io.flow.fraud.v0.enums.fraud_status'](),
|
|
12308
|
+
apply_at: factories.date_time_iso_8601(),
|
|
12309
|
+
liability: factories['io.flow.fraud.v0.enums.fraud_liability'](),
|
|
12310
|
+
}); },
|
|
12311
|
+
'io.flow.internal.v0.models.fraud_pending_review_authorization_deleted': function () { return ({
|
|
12312
|
+
discriminator: 'fraud_pending_review_authorization_deleted',
|
|
12313
|
+
event_id: factories.string(),
|
|
12314
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12315
|
+
organization: factories.string(),
|
|
12316
|
+
id: factories.string(),
|
|
12317
|
+
}); },
|
|
12318
|
+
'io.flow.internal.v0.models.fraud_pending_review_authorization_upserted': function () { return ({
|
|
12319
|
+
discriminator: 'fraud_pending_review_authorization_upserted',
|
|
12320
|
+
event_id: factories.string(),
|
|
12321
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12322
|
+
organization: factories.string(),
|
|
12323
|
+
fraud_pending_review_authorization: factories['io.flow.internal.v0.models.fraud_pending_review_authorization'](),
|
|
12324
|
+
}); },
|
|
12862
12325
|
'io.flow.internal.v0.models.fraud_pending_review_deleted': function () { return ({
|
|
12863
12326
|
discriminator: 'fraud_pending_review_deleted',
|
|
12864
12327
|
event_id: factories.string(),
|
|
@@ -12931,6 +12394,61 @@ var factories = {
|
|
|
12931
12394
|
decline_reason: factories['io.flow.internal.v0.unions.decline_reason'](),
|
|
12932
12395
|
created_at: factories.date_time_iso_8601(),
|
|
12933
12396
|
}); },
|
|
12397
|
+
'io.flow.internal.v0.models.fraud_review_authorization': function () { return ({
|
|
12398
|
+
id: factories.string(),
|
|
12399
|
+
organization_id: factories.string(),
|
|
12400
|
+
order: factories['io.flow.experience.v0.models.order_reference'](),
|
|
12401
|
+
fraud_order_reference: factories['io.flow.fraud.v0.unions.fraud_order_reference'](),
|
|
12402
|
+
status: factories['io.flow.fraud.v0.enums.fraud_status'](),
|
|
12403
|
+
responsible_party: factories['io.flow.internal.v0.enums.fraud_review_responsible_party'](),
|
|
12404
|
+
description: factories.string(),
|
|
12405
|
+
risk_evaluation: factories['io.flow.internal.v0.enums.risk_evaluation'](),
|
|
12406
|
+
liability: factories['io.flow.fraud.v0.enums.fraud_liability'](),
|
|
12407
|
+
status_updated_at: factories.date_time_iso_8601(),
|
|
12408
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
12409
|
+
provider: factories['io.flow.internal.v0.enums.fraud_provider'](),
|
|
12410
|
+
payment_authorization_id: factories.string(),
|
|
12411
|
+
decline_reason: factories['io.flow.internal.v0.unions.decline_reason'](),
|
|
12412
|
+
created_at: factories.date_time_iso_8601(),
|
|
12413
|
+
}); },
|
|
12414
|
+
'io.flow.internal.v0.models.fraud_review_authorization_decision': function () { return ({
|
|
12415
|
+
id: factories.string(),
|
|
12416
|
+
fraud_review_authorization_id: factories.string(),
|
|
12417
|
+
order: factories['io.flow.experience.v0.models.order_reference'](),
|
|
12418
|
+
fraud_order_reference: factories['io.flow.fraud.v0.unions.fraud_order_reference'](),
|
|
12419
|
+
status: factories['io.flow.fraud.v0.enums.fraud_status'](),
|
|
12420
|
+
created_at: factories.date_time_iso_8601(),
|
|
12421
|
+
liability: factories['io.flow.fraud.v0.enums.fraud_liability'](),
|
|
12422
|
+
updated_by_user: factories['io.flow.common.v0.models.user_reference'](),
|
|
12423
|
+
}); },
|
|
12424
|
+
'io.flow.internal.v0.models.fraud_review_authorization_decision_deleted': function () { return ({
|
|
12425
|
+
discriminator: 'fraud_review_authorization_decision_deleted',
|
|
12426
|
+
event_id: factories.string(),
|
|
12427
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12428
|
+
organization: factories.string(),
|
|
12429
|
+
id: factories.string(),
|
|
12430
|
+
}); },
|
|
12431
|
+
'io.flow.internal.v0.models.fraud_review_authorization_decision_upserted': function () { return ({
|
|
12432
|
+
discriminator: 'fraud_review_authorization_decision_upserted',
|
|
12433
|
+
event_id: factories.string(),
|
|
12434
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12435
|
+
organization: factories.string(),
|
|
12436
|
+
fraud_review_authorization_decision: factories['io.flow.internal.v0.models.fraud_review_authorization_decision'](),
|
|
12437
|
+
}); },
|
|
12438
|
+
'io.flow.internal.v0.models.fraud_review_authorization_deleted': function () { return ({
|
|
12439
|
+
discriminator: 'fraud_review_authorization_deleted',
|
|
12440
|
+
event_id: factories.string(),
|
|
12441
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12442
|
+
organization: factories.string(),
|
|
12443
|
+
id: factories.string(),
|
|
12444
|
+
}); },
|
|
12445
|
+
'io.flow.internal.v0.models.fraud_review_authorization_upserted': function () { return ({
|
|
12446
|
+
discriminator: 'fraud_review_authorization_upserted',
|
|
12447
|
+
event_id: factories.string(),
|
|
12448
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12449
|
+
organization: factories.string(),
|
|
12450
|
+
fraud_review_authorization: factories['io.flow.internal.v0.models.fraud_review_authorization'](),
|
|
12451
|
+
}); },
|
|
12934
12452
|
'io.flow.internal.v0.models.fraud_review_decision': function () { return ({
|
|
12935
12453
|
id: factories.string(),
|
|
12936
12454
|
fraud_review_id: factories.string(),
|
|
@@ -12982,6 +12500,7 @@ var factories = {
|
|
|
12982
12500
|
fraud_review: factories['io.flow.internal.v0.models.fraud_review'](),
|
|
12983
12501
|
fraud_pending_review: factories['io.flow.internal.v0.models.fraud_pending_review'](),
|
|
12984
12502
|
fraud_review_decision: factories['io.flow.internal.v0.models.fraud_review_decision'](),
|
|
12503
|
+
fraud_review_authorizations: arrayOf(function () { return factories['io.flow.internal.v0.models.fraud_authorization_summary'](); }),
|
|
12985
12504
|
}); },
|
|
12986
12505
|
'io.flow.internal.v0.models.ftp_file_deleted': function () { return ({
|
|
12987
12506
|
discriminator: 'ftp_file_deleted',
|
|
@@ -13046,6 +12565,7 @@ var factories = {
|
|
|
13046
12565
|
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
13047
12566
|
shopper: factories['io.flow.internal.v0.models.shopper_summary'](),
|
|
13048
12567
|
remittance: factories['io.flow.internal.v0.models.remittance_responsibility'](),
|
|
12568
|
+
payment: factories['io.flow.internal.v0.models.payment_summary'](),
|
|
13049
12569
|
merchant: factories['io.flow.internal.v0.models.merchant_summary'](),
|
|
13050
12570
|
sequence_number: factories.long(),
|
|
13051
12571
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
@@ -13150,6 +12670,7 @@ var factories = {
|
|
|
13150
12670
|
subtotal: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
13151
12671
|
tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
13152
12672
|
duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
12673
|
+
tips: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
13153
12674
|
discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
13154
12675
|
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
13155
12676
|
}); },
|
|
@@ -13287,6 +12808,33 @@ var factories = {
|
|
|
13287
12808
|
discriminator: 'google_tag_manager',
|
|
13288
12809
|
tracker_id: factories.string(),
|
|
13289
12810
|
}); },
|
|
12811
|
+
'io.flow.internal.v0.models.harinath_item': function () { return ({
|
|
12812
|
+
id: factories.string(),
|
|
12813
|
+
number: factories.string(),
|
|
12814
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
12815
|
+
description: factories.string(),
|
|
12816
|
+
type: factories['io.flow.internal.v0.enums.harinath_item_type'](),
|
|
12817
|
+
added_on: factories.date_time_iso_8601(),
|
|
12818
|
+
}); },
|
|
12819
|
+
'io.flow.internal.v0.models.harinath_item_deleted': function () { return ({
|
|
12820
|
+
discriminator: 'harinath_item_deleted',
|
|
12821
|
+
event_id: factories.string(),
|
|
12822
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12823
|
+
id: factories.string(),
|
|
12824
|
+
}); },
|
|
12825
|
+
'io.flow.internal.v0.models.harinath_item_form': function () { return ({
|
|
12826
|
+
number: factories.string(),
|
|
12827
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
12828
|
+
description: factories.string(),
|
|
12829
|
+
type: factories['io.flow.internal.v0.enums.harinath_item_type'](),
|
|
12830
|
+
added_on: factories.date_time_iso_8601(),
|
|
12831
|
+
}); },
|
|
12832
|
+
'io.flow.internal.v0.models.harinath_item_upserted': function () { return ({
|
|
12833
|
+
discriminator: 'harinath_item_upserted',
|
|
12834
|
+
event_id: factories.string(),
|
|
12835
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12836
|
+
item: factories['io.flow.internal.v0.models.harinath_item'](),
|
|
12837
|
+
}); },
|
|
13290
12838
|
'io.flow.internal.v0.models.harmonization_classification_statistics_data': function () { return ({
|
|
13291
12839
|
statistics: factories['io.flow.internal.v0.models.classification_statistics'](),
|
|
13292
12840
|
}); },
|
|
@@ -13746,6 +13294,7 @@ var factories = {
|
|
|
13746
13294
|
price_amount: factories.decimal(),
|
|
13747
13295
|
status: factories['io.flow.internal.v0.enums.item_harmonization_status'](),
|
|
13748
13296
|
tariffs: objectOf(function () { return factories['io.flow.internal.v0.models.tariff_code_duty'](); }),
|
|
13297
|
+
decision_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
13749
13298
|
created_at: factories.date_time_iso_8601(),
|
|
13750
13299
|
updated_at: factories.date_time_iso_8601(),
|
|
13751
13300
|
updated_by_user_id: factories.string(),
|
|
@@ -13880,6 +13429,33 @@ var factories = {
|
|
|
13880
13429
|
standard_asset_urls: factories.string(),
|
|
13881
13430
|
descriptive_asset_urls: factories.string(),
|
|
13882
13431
|
}); },
|
|
13432
|
+
'io.flow.internal.v0.models.konstantin_item': function () { return ({
|
|
13433
|
+
id: factories.string(),
|
|
13434
|
+
number: factories.string(),
|
|
13435
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
13436
|
+
description: factories.string(),
|
|
13437
|
+
type: factories['io.flow.internal.v0.enums.konstantin_item_type'](),
|
|
13438
|
+
added_on: factories.date_time_iso_8601(),
|
|
13439
|
+
}); },
|
|
13440
|
+
'io.flow.internal.v0.models.konstantin_item_deleted': function () { return ({
|
|
13441
|
+
discriminator: 'konstantin_item_deleted',
|
|
13442
|
+
event_id: factories.string(),
|
|
13443
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13444
|
+
id: factories.string(),
|
|
13445
|
+
}); },
|
|
13446
|
+
'io.flow.internal.v0.models.konstantin_item_form': function () { return ({
|
|
13447
|
+
number: factories.string(),
|
|
13448
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
13449
|
+
description: factories.string(),
|
|
13450
|
+
type: factories['io.flow.internal.v0.enums.konstantin_item_type'](),
|
|
13451
|
+
added_on: factories.date_time_iso_8601(),
|
|
13452
|
+
}); },
|
|
13453
|
+
'io.flow.internal.v0.models.konstantin_item_upserted': function () { return ({
|
|
13454
|
+
discriminator: 'konstantin_item_upserted',
|
|
13455
|
+
event_id: factories.string(),
|
|
13456
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13457
|
+
item: factories['io.flow.internal.v0.models.konstantin_item'](),
|
|
13458
|
+
}); },
|
|
13883
13459
|
'io.flow.internal.v0.models.lab_project_settings': function () { return ({
|
|
13884
13460
|
id: factories.string(),
|
|
13885
13461
|
flow_lab_project_key: factories.string(),
|
|
@@ -14360,6 +13936,24 @@ var factories = {
|
|
|
14360
13936
|
'io.flow.internal.v0.models.logistics_capabilities_form': function () { return ({
|
|
14361
13937
|
capabilities: arrayOf(function () { return factories['io.flow.internal.v0.enums.logistics_capability'](); }),
|
|
14362
13938
|
}); },
|
|
13939
|
+
'io.flow.internal.v0.models.logistics_payout_request': function () { return ({
|
|
13940
|
+
organization_id: factories.string(),
|
|
13941
|
+
order_number: factories.string(),
|
|
13942
|
+
carrier: factories.string(),
|
|
13943
|
+
carrier_tracking_number: factories.string(),
|
|
13944
|
+
dry_run: factories.boolean(),
|
|
13945
|
+
payout_resolution_method: factories['io.flow.internal.v0.enums.logistics_payout_resolution_method'](),
|
|
13946
|
+
label_id: factories.string(),
|
|
13947
|
+
combined_shipment_order_number: factories.string(),
|
|
13948
|
+
}); },
|
|
13949
|
+
'io.flow.internal.v0.models.logistics_payout_request_form': function () { return ({
|
|
13950
|
+
organization_id: factories.string(),
|
|
13951
|
+
order_identifier: factories.string(),
|
|
13952
|
+
carrier_id: factories.string(),
|
|
13953
|
+
carrier_name: factories.string(),
|
|
13954
|
+
carrier_tracking_number: factories.string(),
|
|
13955
|
+
external_reference_number: factories.string(),
|
|
13956
|
+
}); },
|
|
14363
13957
|
'io.flow.internal.v0.models.logo': function () { return ({
|
|
14364
13958
|
url: factories.string(),
|
|
14365
13959
|
}); },
|
|
@@ -14849,6 +14443,60 @@ var factories = {
|
|
|
14849
14443
|
id: factories.string(),
|
|
14850
14444
|
proposition: factories['io.flow.internal.v0.models.metadata_proposition'](),
|
|
14851
14445
|
}); },
|
|
14446
|
+
'io.flow.internal.v0.models.michaelyan_item': function () { return ({
|
|
14447
|
+
id: factories.string(),
|
|
14448
|
+
number: factories.string(),
|
|
14449
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
14450
|
+
description: factories.string(),
|
|
14451
|
+
type: factories['io.flow.internal.v0.enums.michaelyan_item_type'](),
|
|
14452
|
+
added_on: factories.date_time_iso_8601(),
|
|
14453
|
+
}); },
|
|
14454
|
+
'io.flow.internal.v0.models.michaelyan_item_deleted': function () { return ({
|
|
14455
|
+
discriminator: 'michaelyan_item_deleted',
|
|
14456
|
+
event_id: factories.string(),
|
|
14457
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14458
|
+
id: factories.string(),
|
|
14459
|
+
}); },
|
|
14460
|
+
'io.flow.internal.v0.models.michaelyan_item_form': function () { return ({
|
|
14461
|
+
number: factories.string(),
|
|
14462
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
14463
|
+
description: factories.string(),
|
|
14464
|
+
type: factories['io.flow.internal.v0.enums.michaelyan_item_type'](),
|
|
14465
|
+
added_on: factories.date_time_iso_8601(),
|
|
14466
|
+
}); },
|
|
14467
|
+
'io.flow.internal.v0.models.michaelyan_item_upserted': function () { return ({
|
|
14468
|
+
discriminator: 'michaelyan_item_upserted',
|
|
14469
|
+
event_id: factories.string(),
|
|
14470
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14471
|
+
item: factories['io.flow.internal.v0.models.michaelyan_item'](),
|
|
14472
|
+
}); },
|
|
14473
|
+
'io.flow.internal.v0.models.miljenko_item': function () { return ({
|
|
14474
|
+
id: factories.string(),
|
|
14475
|
+
number: factories.string(),
|
|
14476
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
14477
|
+
description: factories.string(),
|
|
14478
|
+
type: factories['io.flow.internal.v0.enums.miljenko_item_type'](),
|
|
14479
|
+
added_on: factories.date_time_iso_8601(),
|
|
14480
|
+
}); },
|
|
14481
|
+
'io.flow.internal.v0.models.miljenko_item_deleted': function () { return ({
|
|
14482
|
+
discriminator: 'miljenko_item_deleted',
|
|
14483
|
+
event_id: factories.string(),
|
|
14484
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14485
|
+
id: factories.string(),
|
|
14486
|
+
}); },
|
|
14487
|
+
'io.flow.internal.v0.models.miljenko_item_form': function () { return ({
|
|
14488
|
+
number: factories.string(),
|
|
14489
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
14490
|
+
description: factories.string(),
|
|
14491
|
+
type: factories['io.flow.internal.v0.enums.miljenko_item_type'](),
|
|
14492
|
+
added_on: factories.date_time_iso_8601(),
|
|
14493
|
+
}); },
|
|
14494
|
+
'io.flow.internal.v0.models.miljenko_item_upserted': function () { return ({
|
|
14495
|
+
discriminator: 'miljenko_item_upserted',
|
|
14496
|
+
event_id: factories.string(),
|
|
14497
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14498
|
+
item: factories['io.flow.internal.v0.models.miljenko_item'](),
|
|
14499
|
+
}); },
|
|
14852
14500
|
'io.flow.internal.v0.models.next_billing_statement': function () { return ({
|
|
14853
14501
|
date: factories.date_time_iso_8601(),
|
|
14854
14502
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -15201,6 +14849,26 @@ var factories = {
|
|
|
15201
14849
|
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
15202
14850
|
currency: factories.string(),
|
|
15203
14851
|
}); },
|
|
14852
|
+
'io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting': function () { return ({
|
|
14853
|
+
id: factories.string(),
|
|
14854
|
+
organization_id: factories.string(),
|
|
14855
|
+
shopify_order_id: factories.string(),
|
|
14856
|
+
order_number: factories.string(),
|
|
14857
|
+
tax_and_duty_inclusivity_setting: factories['io.flow.internal.v0.enums.tax_and_duty_inclusivity_setting'](),
|
|
14858
|
+
}); },
|
|
14859
|
+
'io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting_deleted': function () { return ({
|
|
14860
|
+
discriminator: 'order_tax_and_duty_inclusivity_setting_deleted',
|
|
14861
|
+
event_id: factories.string(),
|
|
14862
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14863
|
+
organization: factories.string(),
|
|
14864
|
+
id: factories.string(),
|
|
14865
|
+
}); },
|
|
14866
|
+
'io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting_upserted': function () { return ({
|
|
14867
|
+
discriminator: 'order_tax_and_duty_inclusivity_setting_upserted',
|
|
14868
|
+
event_id: factories.string(),
|
|
14869
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14870
|
+
order_tax_and_duty_inclusivity_setting: factories['io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting'](),
|
|
14871
|
+
}); },
|
|
15204
14872
|
'io.flow.internal.v0.models.order_transaction': function () { return ({
|
|
15205
14873
|
discriminator: 'order_transaction',
|
|
15206
14874
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
@@ -15455,6 +15123,31 @@ var factories = {
|
|
|
15455
15123
|
from: factories.string(),
|
|
15456
15124
|
to: factories.string(),
|
|
15457
15125
|
}); },
|
|
15126
|
+
'io.flow.internal.v0.models.organization_metadata': function () { return ({
|
|
15127
|
+
id: factories.string(),
|
|
15128
|
+
organization_id: factories.string(),
|
|
15129
|
+
pending_restriction_count: factories.long(),
|
|
15130
|
+
pending_verification_count: factories.long(),
|
|
15131
|
+
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
15132
|
+
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
15133
|
+
product_count: factories.long(),
|
|
15134
|
+
restricted_product_count: factories.long(),
|
|
15135
|
+
last_order_submitted_at: factories.date_time_iso_8601(),
|
|
15136
|
+
}); },
|
|
15137
|
+
'io.flow.internal.v0.models.organization_metadata_deleted': function () { return ({
|
|
15138
|
+
discriminator: 'organization_metadata_deleted',
|
|
15139
|
+
event_id: factories.string(),
|
|
15140
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15141
|
+
organization: factories.string(),
|
|
15142
|
+
id: factories.string(),
|
|
15143
|
+
}); },
|
|
15144
|
+
'io.flow.internal.v0.models.organization_metadata_upserted': function () { return ({
|
|
15145
|
+
discriminator: 'organization_metadata_upserted',
|
|
15146
|
+
event_id: factories.string(),
|
|
15147
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15148
|
+
organization: factories.string(),
|
|
15149
|
+
organization_metadata: factories['io.flow.internal.v0.models.organization_metadata'](),
|
|
15150
|
+
}); },
|
|
15458
15151
|
'io.flow.internal.v0.models.organization_onboarding_state_adjustment_result': function () { return ({
|
|
15459
15152
|
organization_onboarding_state: factories['io.flow.organization.onboarding.state.v0.models.organization_onboarding_state'](),
|
|
15460
15153
|
}); },
|
|
@@ -15620,6 +15313,124 @@ var factories = {
|
|
|
15620
15313
|
onboarding_state: factories['io.flow.organization.onboarding.state.v0.unions.onboarding_state'](),
|
|
15621
15314
|
audit_result: factories['io.flow.internal.v0.enums.onboarding_audit_result'](),
|
|
15622
15315
|
}); },
|
|
15316
|
+
'io.flow.internal.v0.models.other_record': function () { return ({
|
|
15317
|
+
id: factories.string(),
|
|
15318
|
+
type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
|
|
15319
|
+
account: factories['io.flow.internal.v0.models.other_record_account'](),
|
|
15320
|
+
metadata: factories['io.flow.internal.v0.models.other_record_metadata'](),
|
|
15321
|
+
order: factories['io.flow.internal.v0.models.other_record_order_summary'](),
|
|
15322
|
+
currency: factories.string(),
|
|
15323
|
+
source: factories['io.flow.billing.v0.enums.transaction_source'](),
|
|
15324
|
+
parent: factories['io.flow.billing.v0.models.parent_transaction_summary'](),
|
|
15325
|
+
gross: factories.decimal(),
|
|
15326
|
+
fees: factories['io.flow.internal.v0.models.other_record_fees'](),
|
|
15327
|
+
withholdings: factories['io.flow.internal.v0.models.other_record_withholdings'](),
|
|
15328
|
+
discount: factories['io.flow.internal.v0.models.other_record_discount'](),
|
|
15329
|
+
net: factories.decimal(),
|
|
15330
|
+
identifiers: factories['io.flow.internal.v0.models.other_record_identifiers'](),
|
|
15331
|
+
created_at: factories.date_time_iso_8601(),
|
|
15332
|
+
updated_at: factories.date_time_iso_8601(),
|
|
15333
|
+
}); },
|
|
15334
|
+
'io.flow.internal.v0.models.other_record_account': function () { return ({
|
|
15335
|
+
id: factories.string(),
|
|
15336
|
+
merchant: factories['io.flow.internal.v0.models.other_record_merchant_reference'](),
|
|
15337
|
+
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
15338
|
+
source: factories['io.flow.internal.v0.models.other_record_account_source_summary'](),
|
|
15339
|
+
}); },
|
|
15340
|
+
'io.flow.internal.v0.models.other_record_account_source_summary': function () { return ({
|
|
15341
|
+
id: factories.string(),
|
|
15342
|
+
type: factories['io.flow.internal.v0.enums.account_type'](),
|
|
15343
|
+
}); },
|
|
15344
|
+
'io.flow.internal.v0.models.other_record_deleted': function () { return ({
|
|
15345
|
+
discriminator: 'other_record_deleted',
|
|
15346
|
+
event_id: factories.string(),
|
|
15347
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15348
|
+
id: factories.string(),
|
|
15349
|
+
}); },
|
|
15350
|
+
'io.flow.internal.v0.models.other_record_discount': function () { return ({
|
|
15351
|
+
amount: factories.decimal(),
|
|
15352
|
+
description: factories.string(),
|
|
15353
|
+
}); },
|
|
15354
|
+
'io.flow.internal.v0.models.other_record_fees': function () { return ({
|
|
15355
|
+
duty_guarantee: factories.decimal(),
|
|
15356
|
+
mor: factories.decimal(),
|
|
15357
|
+
fraud: factories.decimal(),
|
|
15358
|
+
fx: factories.decimal(),
|
|
15359
|
+
processing: factories.decimal(),
|
|
15360
|
+
rate_lock: factories.decimal(),
|
|
15361
|
+
transfer: factories.decimal(),
|
|
15362
|
+
negative_balance: factories.decimal(),
|
|
15363
|
+
}); },
|
|
15364
|
+
'io.flow.internal.v0.models.other_record_identifiers': function () { return ({
|
|
15365
|
+
reference_id: factories.string(),
|
|
15366
|
+
}); },
|
|
15367
|
+
'io.flow.internal.v0.models.other_record_merchant_reference': function () { return ({
|
|
15368
|
+
id: factories.string(),
|
|
15369
|
+
}); },
|
|
15370
|
+
'io.flow.internal.v0.models.other_record_metadata': function () { return ({
|
|
15371
|
+
channel: factories['io.flow.internal.v0.models.other_record_metadata_channel'](),
|
|
15372
|
+
shipping_label: factories['io.flow.internal.v0.models.other_record_metadata_shipping_label'](),
|
|
15373
|
+
shipping_label_revenue_share: factories['io.flow.internal.v0.models.other_record_metadata_shipping_label_revenue_share'](),
|
|
15374
|
+
trueup: factories['io.flow.internal.v0.models.other_record_metadata_trueup'](),
|
|
15375
|
+
carrier_charge: factories['io.flow.internal.v0.models.other_record_metadata_carrier_charge'](),
|
|
15376
|
+
manual: factories['io.flow.internal.v0.models.other_record_metadata_manual'](),
|
|
15377
|
+
failed_payout: factories['io.flow.internal.v0.models.other_record_metadata_failed_payout'](),
|
|
15378
|
+
}); },
|
|
15379
|
+
'io.flow.internal.v0.models.other_record_metadata_carrier_charge': function () { return ({
|
|
15380
|
+
reason: factories['io.flow.trueup.v0.enums.carrier_charge_reason'](),
|
|
15381
|
+
label_created_at: factories.date_time_iso_8601(),
|
|
15382
|
+
carrier_id: factories.string(),
|
|
15383
|
+
carrier_tracking_number: factories.string(),
|
|
15384
|
+
revenue_share_percentage: factories.decimal(),
|
|
15385
|
+
outbound_transaction_id: factories.string(),
|
|
15386
|
+
}); },
|
|
15387
|
+
'io.flow.internal.v0.models.other_record_metadata_channel': function () { return ({
|
|
15388
|
+
method: factories.string(),
|
|
15389
|
+
card: factories['io.flow.billing.v0.models.transaction_metadata_channel_card_metadata'](),
|
|
15390
|
+
}); },
|
|
15391
|
+
'io.flow.internal.v0.models.other_record_metadata_failed_payout': function () { return ({
|
|
15392
|
+
failed_payment: factories['io.flow.billing.v0.models.transaction_metadata_failed_payout_reference'](),
|
|
15393
|
+
}); },
|
|
15394
|
+
'io.flow.internal.v0.models.other_record_metadata_manual': function () { return ({
|
|
15395
|
+
description: factories.string(),
|
|
15396
|
+
original: factories['io.flow.billing.v0.models.transaction_metadata_original_transaction'](),
|
|
15397
|
+
category: factories['io.flow.internal.v0.enums.manual_transaction_category'](),
|
|
15398
|
+
url: factories.string(),
|
|
15399
|
+
}); },
|
|
15400
|
+
'io.flow.internal.v0.models.other_record_metadata_shipping_label': function () { return ({
|
|
15401
|
+
request_method: factories['io.flow.label.v0.enums.label_request_method'](),
|
|
15402
|
+
}); },
|
|
15403
|
+
'io.flow.internal.v0.models.other_record_metadata_shipping_label_revenue_share': function () { return ({
|
|
15404
|
+
label_id: factories.string(),
|
|
15405
|
+
base_amount: factories.decimal(),
|
|
15406
|
+
percentage: factories.decimal(),
|
|
15407
|
+
}); },
|
|
15408
|
+
'io.flow.internal.v0.models.other_record_metadata_trueup': function () { return ({
|
|
15409
|
+
original: factories['io.flow.billing.v0.models.transaction_metadata_original_transaction'](),
|
|
15410
|
+
label_transaction_id: factories.string(),
|
|
15411
|
+
label_invoice_request_id: factories.string(),
|
|
15412
|
+
carrier_charge_id: factories.string(),
|
|
15413
|
+
}); },
|
|
15414
|
+
'io.flow.internal.v0.models.other_record_order_summary': function () { return ({
|
|
15415
|
+
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
15416
|
+
number: factories.string(),
|
|
15417
|
+
identifiers: factories['io.flow.internal.v0.models.other_record_order_summary_identifiers'](),
|
|
15418
|
+
}); },
|
|
15419
|
+
'io.flow.internal.v0.models.other_record_order_summary_identifiers': function () { return ({
|
|
15420
|
+
shopify_order_id: factories.string(),
|
|
15421
|
+
}); },
|
|
15422
|
+
'io.flow.internal.v0.models.other_record_upserted': function () { return ({
|
|
15423
|
+
discriminator: 'other_record_upserted',
|
|
15424
|
+
event_id: factories.string(),
|
|
15425
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15426
|
+
other_record: factories['io.flow.internal.v0.models.other_record'](),
|
|
15427
|
+
}); },
|
|
15428
|
+
'io.flow.internal.v0.models.other_record_withholdings': function () { return ({
|
|
15429
|
+
tax: factories.decimal(),
|
|
15430
|
+
duty: factories.decimal(),
|
|
15431
|
+
freight: factories.decimal(),
|
|
15432
|
+
insurance: factories.decimal(),
|
|
15433
|
+
}); },
|
|
15623
15434
|
'io.flow.internal.v0.models.partner': function () { return ({
|
|
15624
15435
|
id: factories.string(),
|
|
15625
15436
|
name: factories.string(),
|
|
@@ -15765,6 +15576,14 @@ var factories = {
|
|
|
15765
15576
|
id: factories.string(),
|
|
15766
15577
|
merchant: factories['io.flow.internal.v0.unions.processor_merchant'](),
|
|
15767
15578
|
}); },
|
|
15579
|
+
'io.flow.internal.v0.models.payment_summary': function () { return ({
|
|
15580
|
+
psp: factories.decimal(),
|
|
15581
|
+
credit: factories.decimal(),
|
|
15582
|
+
subsidized: factories.decimal(),
|
|
15583
|
+
manual: factories.decimal(),
|
|
15584
|
+
cod: factories.decimal(),
|
|
15585
|
+
total: factories.decimal(),
|
|
15586
|
+
}); },
|
|
15768
15587
|
'io.flow.internal.v0.models.payment_summary_v2': function () { return ({
|
|
15769
15588
|
discriminator: 'payment_summary_v2',
|
|
15770
15589
|
id: factories.string(),
|
|
@@ -15959,6 +15778,7 @@ var factories = {
|
|
|
15959
15778
|
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
15960
15779
|
shopper: factories['io.flow.internal.v0.models.shopper_summary'](),
|
|
15961
15780
|
merchant: factories['io.flow.internal.v0.models.merchant_summary'](),
|
|
15781
|
+
payment: factories['io.flow.internal.v0.models.payment_summary'](),
|
|
15962
15782
|
remittance: factories['io.flow.internal.v0.models.remittance_responsibility'](),
|
|
15963
15783
|
sequence_number: factories.long(),
|
|
15964
15784
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
@@ -16780,11 +16600,11 @@ var factories = {
|
|
|
16780
16600
|
sequence_number: factories.long(),
|
|
16781
16601
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
16782
16602
|
completes_order: factories.boolean(),
|
|
16783
|
-
payment: factories['io.flow.internal.v0.models.reporting_payment'](),
|
|
16784
16603
|
refund: factories['io.flow.internal.v0.models.reporting_refund_reference'](),
|
|
16785
16604
|
value: factories['io.flow.internal.v0.models.fulfillment_shopper_breakdown'](),
|
|
16786
16605
|
dispatch_country: factories['io.flow.internal.v0.models.reporting_country'](),
|
|
16787
16606
|
destination: factories['io.flow.internal.v0.models.reporting_destination'](),
|
|
16607
|
+
payment: factories['io.flow.internal.v0.models.reporting_payment'](),
|
|
16788
16608
|
shipment: factories['io.flow.internal.v0.models.reporting_shipment'](),
|
|
16789
16609
|
is: factories['io.flow.internal.v0.models.reporting_fulfillment_is'](),
|
|
16790
16610
|
has: factories['io.flow.internal.v0.models.reporting_fulfillment_has'](),
|
|
@@ -16801,6 +16621,11 @@ var factories = {
|
|
|
16801
16621
|
wyol: factories.boolean(),
|
|
16802
16622
|
b2b: factories.boolean(),
|
|
16803
16623
|
domestic: factories.boolean(),
|
|
16624
|
+
combined_shipment: factories.boolean(),
|
|
16625
|
+
order_cancelled: factories.boolean(),
|
|
16626
|
+
lvg: factories.boolean(),
|
|
16627
|
+
tax_inclusive: factories.boolean(),
|
|
16628
|
+
duty_inclusive: factories.boolean(),
|
|
16804
16629
|
}); },
|
|
16805
16630
|
'io.flow.internal.v0.models.reporting_fx': function () { return ({
|
|
16806
16631
|
shipping: factories['io.flow.internal.v0.models.reporting_usd'](),
|
|
@@ -16808,6 +16633,7 @@ var factories = {
|
|
|
16808
16633
|
product: factories['io.flow.internal.v0.models.reporting_usd'](),
|
|
16809
16634
|
tax: factories['io.flow.internal.v0.models.reporting_usd'](),
|
|
16810
16635
|
duty: factories['io.flow.internal.v0.models.reporting_usd'](),
|
|
16636
|
+
tips: factories['io.flow.internal.v0.models.reporting_usd'](),
|
|
16811
16637
|
total: factories['io.flow.internal.v0.models.reporting_usd'](),
|
|
16812
16638
|
}); },
|
|
16813
16639
|
'io.flow.internal.v0.models.reporting_merchant_breakdown': function () { return ({
|
|
@@ -16823,12 +16649,14 @@ var factories = {
|
|
|
16823
16649
|
processing: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16824
16650
|
rate_lock: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16825
16651
|
transfer: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16652
|
+
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16826
16653
|
}); },
|
|
16827
16654
|
'io.flow.internal.v0.models.reporting_merchant_subsidies': function () { return ({
|
|
16828
16655
|
shipping: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16829
16656
|
tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16830
16657
|
duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16831
16658
|
ccf: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16659
|
+
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16832
16660
|
}); },
|
|
16833
16661
|
'io.flow.internal.v0.models.reporting_merchant_transactions': function () { return ({
|
|
16834
16662
|
adjustment: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
@@ -16836,6 +16664,8 @@ var factories = {
|
|
|
16836
16664
|
tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16837
16665
|
duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16838
16666
|
freight: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16667
|
+
discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16668
|
+
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16839
16669
|
}); },
|
|
16840
16670
|
'io.flow.internal.v0.models.reporting_monetary_value': function () { return ({
|
|
16841
16671
|
transaction: factories.decimal(),
|
|
@@ -16854,22 +16684,13 @@ var factories = {
|
|
|
16854
16684
|
name: factories.string(),
|
|
16855
16685
|
}); },
|
|
16856
16686
|
'io.flow.internal.v0.models.reporting_payment': function () { return ({
|
|
16857
|
-
metadata: factories['io.flow.internal.v0.models.reporting_payment_metadata'](),
|
|
16858
16687
|
psp: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16859
16688
|
credit: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16689
|
+
subsidized: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16690
|
+
manual: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16691
|
+
cod: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16860
16692
|
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16861
16693
|
}); },
|
|
16862
|
-
'io.flow.internal.v0.models.reporting_payment_metadata': function () { return ({
|
|
16863
|
-
gateway: factories['io.flow.internal.v0.enums.processor'](),
|
|
16864
|
-
method: factories.string(),
|
|
16865
|
-
psp_reference: factories.string(),
|
|
16866
|
-
authorization: factories['io.flow.internal.v0.models.reporting_authorization_reference'](),
|
|
16867
|
-
settlement_date: factories.date_time_iso_8601(),
|
|
16868
|
-
additional_authorizations: factories['io.flow.internal.v0.models.reporting_payment_metadata_additional_authorizations'](),
|
|
16869
|
-
}); },
|
|
16870
|
-
'io.flow.internal.v0.models.reporting_payment_metadata_additional_authorizations': function () { return ({
|
|
16871
|
-
ids: factories.string(),
|
|
16872
|
-
}); },
|
|
16873
16694
|
'io.flow.internal.v0.models.reporting_province': function () { return ({
|
|
16874
16695
|
code: factories.string(),
|
|
16875
16696
|
name: factories.string(),
|
|
@@ -16894,6 +16715,7 @@ var factories = {
|
|
|
16894
16715
|
ccf: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16895
16716
|
emergency: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16896
16717
|
peak: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16718
|
+
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16897
16719
|
}); },
|
|
16898
16720
|
'io.flow.internal.v0.models.reporting_usd': function () { return ({
|
|
16899
16721
|
usd: factories.decimal(),
|
|
@@ -16915,6 +16737,9 @@ var factories = {
|
|
|
16915
16737
|
ignore_classification_status: factories.boolean(),
|
|
16916
16738
|
select_mismatching_item_types: factories.boolean(),
|
|
16917
16739
|
}); },
|
|
16740
|
+
'io.flow.internal.v0.models.rescreen_restrictions_products': function () { return ({
|
|
16741
|
+
placeholder: factories.boolean(),
|
|
16742
|
+
}); },
|
|
16918
16743
|
'io.flow.internal.v0.models.restriction_category': function () { return ({
|
|
16919
16744
|
category: factories.string(),
|
|
16920
16745
|
}); },
|
|
@@ -17155,6 +16980,7 @@ var factories = {
|
|
|
17155
16980
|
shopper: factories['io.flow.internal.v0.models.shopper_summary'](),
|
|
17156
16981
|
merchant: factories['io.flow.internal.v0.models.merchant_summary'](),
|
|
17157
16982
|
remittance: factories['io.flow.internal.v0.models.remittance_responsibility'](),
|
|
16983
|
+
payment: factories['io.flow.internal.v0.models.payment_summary'](),
|
|
17158
16984
|
sequence_number: factories.long(),
|
|
17159
16985
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
17160
16986
|
trigger: factories['io.flow.internal.v0.unions.return_trigger'](),
|
|
@@ -17329,7 +17155,7 @@ var factories = {
|
|
|
17329
17155
|
discriminator: 'search_experiment_summary',
|
|
17330
17156
|
key: factories.string(),
|
|
17331
17157
|
name: factories.string(),
|
|
17332
|
-
status: factories['io.flow.internal.v0.enums.status'](),
|
|
17158
|
+
status: factories['io.flow.experiment.internal.v0.enums.status'](),
|
|
17333
17159
|
}); },
|
|
17334
17160
|
'io.flow.internal.v0.models.search_item_summary': function () { return ({
|
|
17335
17161
|
discriminator: 'search_item_summary',
|
|
@@ -17874,6 +17700,8 @@ var factories = {
|
|
|
17874
17700
|
id: factories.string(),
|
|
17875
17701
|
initial_catalog_synced_at: factories.date_time_iso_8601(),
|
|
17876
17702
|
catalog_sync_duration: factories.long(),
|
|
17703
|
+
restrictions_sync_duration: factories.long(),
|
|
17704
|
+
classifications_sync_duration: factories.long(),
|
|
17877
17705
|
catalog_products_count: factories.long(),
|
|
17878
17706
|
initial_product_restrictions_synced_at: factories.date_time_iso_8601(),
|
|
17879
17707
|
}); },
|
|
@@ -17937,6 +17765,7 @@ var factories = {
|
|
|
17937
17765
|
product: factories['io.flow.internal.v0.models.shopper_lines'](),
|
|
17938
17766
|
fees: factories['io.flow.internal.v0.models.shopper_fees'](),
|
|
17939
17767
|
freight: factories['io.flow.internal.v0.models.shopper_freight'](),
|
|
17768
|
+
tips: factories.decimal(),
|
|
17940
17769
|
order_discount: factories.decimal(),
|
|
17941
17770
|
total: factories.decimal(),
|
|
17942
17771
|
}); },
|
|
@@ -18556,6 +18385,21 @@ var factories = {
|
|
|
18556
18385
|
'io.flow.internal.v0.models.test_form': function () { return ({
|
|
18557
18386
|
name: factories.string(),
|
|
18558
18387
|
}); },
|
|
18388
|
+
'io.flow.internal.v0.models.thiago_item': function () { return ({
|
|
18389
|
+
id: factories.string(),
|
|
18390
|
+
number: factories.string(),
|
|
18391
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
18392
|
+
description: factories.string(),
|
|
18393
|
+
type: factories['io.flow.internal.v0.enums.thiago_item_type'](),
|
|
18394
|
+
added_on: factories.date_time_iso_8601(),
|
|
18395
|
+
}); },
|
|
18396
|
+
'io.flow.internal.v0.models.thiago_item_form': function () { return ({
|
|
18397
|
+
number: factories.string(),
|
|
18398
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
18399
|
+
description: factories.string(),
|
|
18400
|
+
type: factories['io.flow.internal.v0.enums.thiago_item_type'](),
|
|
18401
|
+
added_on: factories.date_time_iso_8601(),
|
|
18402
|
+
}); },
|
|
18559
18403
|
'io.flow.internal.v0.models.third_party_logistics_partner': function () { return ({
|
|
18560
18404
|
warehouse_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
18561
18405
|
warehouse_url: factories.string(),
|
|
@@ -18623,6 +18467,43 @@ var factories = {
|
|
|
18623
18467
|
time: factories.string(),
|
|
18624
18468
|
timezone: factories.string(),
|
|
18625
18469
|
}); },
|
|
18470
|
+
'io.flow.internal.v0.models.tracking_assurance_analysis': function () { return ({
|
|
18471
|
+
id: factories.string(),
|
|
18472
|
+
job_id: factories.string(),
|
|
18473
|
+
label_id: factories.string(),
|
|
18474
|
+
order_number: factories.string(),
|
|
18475
|
+
carrier_tracking_number: factories.string(),
|
|
18476
|
+
flow_tracking_number: factories.string(),
|
|
18477
|
+
carrier_status: factories.string(),
|
|
18478
|
+
aftership_status: factories.string(),
|
|
18479
|
+
flow_status: factories.string(),
|
|
18480
|
+
latest_carrier_event_date: factories.date_time_iso_8601(),
|
|
18481
|
+
latest_aftership_event_date: factories.date_time_iso_8601(),
|
|
18482
|
+
latest_flow_event_date: factories.date_time_iso_8601(),
|
|
18483
|
+
label_created_at: factories.date_time_iso_8601(),
|
|
18484
|
+
carrier_id: factories.string(),
|
|
18485
|
+
carrier_origin_country: factories.string(),
|
|
18486
|
+
label_origin_country: factories.string(),
|
|
18487
|
+
label_destination_country: factories.string(),
|
|
18488
|
+
carrier_destination_country: factories.string(),
|
|
18489
|
+
}); },
|
|
18490
|
+
'io.flow.internal.v0.models.tracking_assurance_analysis_deleted': function () { return ({
|
|
18491
|
+
discriminator: 'tracking_assurance_analysis_deleted',
|
|
18492
|
+
event_id: factories.string(),
|
|
18493
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18494
|
+
organization: factories.string(),
|
|
18495
|
+
id: factories.string(),
|
|
18496
|
+
}); },
|
|
18497
|
+
'io.flow.internal.v0.models.tracking_assurance_analysis_upserted': function () { return ({
|
|
18498
|
+
discriminator: 'tracking_assurance_analysis_upserted',
|
|
18499
|
+
event_id: factories.string(),
|
|
18500
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18501
|
+
organization: factories.string(),
|
|
18502
|
+
analysis: factories['io.flow.internal.v0.models.tracking_assurance_analysis'](),
|
|
18503
|
+
}); },
|
|
18504
|
+
'io.flow.internal.v0.models.tracking_debug_force_transit_form': function () { return ({
|
|
18505
|
+
description: factories.string(),
|
|
18506
|
+
}); },
|
|
18626
18507
|
'io.flow.internal.v0.models.tracking_debug_label': function () { return ({
|
|
18627
18508
|
in_transit_location: factories['io.flow.internal.v0.models.tracking_debug_label_location'](),
|
|
18628
18509
|
delivery_location: factories['io.flow.internal.v0.models.tracking_debug_label_location'](),
|
|
@@ -19232,6 +19113,8 @@ var factories = {
|
|
|
19232
19113
|
function () { return factories['io.flow.internal.v0.models.sales_record_deleted'](); },
|
|
19233
19114
|
function () { return factories['io.flow.internal.v0.models.revenue_record_upserted'](); },
|
|
19234
19115
|
function () { return factories['io.flow.internal.v0.models.revenue_record_deleted'](); },
|
|
19116
|
+
function () { return factories['io.flow.internal.v0.models.other_record_upserted'](); },
|
|
19117
|
+
function () { return factories['io.flow.internal.v0.models.other_record_deleted'](); },
|
|
19235
19118
|
function () { return factories['io.flow.internal.v0.models.calculator_organization_settings_upserted'](); },
|
|
19236
19119
|
function () { return factories['io.flow.internal.v0.models.calculator_organization_settings_deleted'](); },
|
|
19237
19120
|
function () { return factories['io.flow.internal.v0.models.carrier_account_upserted_v2'](); },
|
|
@@ -19294,14 +19177,6 @@ var factories = {
|
|
|
19294
19177
|
function () { return factories['io.flow.internal.v0.models.experience_import_request'](); },
|
|
19295
19178
|
function () { return factories['io.flow.internal.v0.models.submitted_order_upserted'](); },
|
|
19296
19179
|
function () { return factories['io.flow.internal.v0.models.levy_rate_summary_upserted'](); },
|
|
19297
|
-
function () { return factories['io.flow.internal.v0.models.experiment_upserted'](); },
|
|
19298
|
-
function () { return factories['io.flow.internal.v0.models.experiment_deleted'](); },
|
|
19299
|
-
function () { return factories['io.flow.internal.v0.models.experiment_results_upserted'](); },
|
|
19300
|
-
function () { return factories['io.flow.internal.v0.models.experiment_results_deleted'](); },
|
|
19301
|
-
function () { return factories['io.flow.internal.v0.models.daily_experiment_results_upserted'](); },
|
|
19302
|
-
function () { return factories['io.flow.internal.v0.models.daily_experiment_results_deleted'](); },
|
|
19303
|
-
function () { return factories['io.flow.internal.v0.models.experiment_milestone_upserted'](); },
|
|
19304
|
-
function () { return factories['io.flow.internal.v0.models.experiment_milestone_deleted'](); },
|
|
19305
19180
|
function () { return factories['io.flow.internal.v0.models.export_completed'](); },
|
|
19306
19181
|
function () { return factories['io.flow.internal.v0.models.export_failed'](); },
|
|
19307
19182
|
function () { return factories['io.flow.internal.v0.models.feature_upserted'](); },
|
|
@@ -19336,6 +19211,12 @@ var factories = {
|
|
|
19336
19211
|
function () { return factories['io.flow.internal.v0.models.fraud_pending_review_deleted'](); },
|
|
19337
19212
|
function () { return factories['io.flow.internal.v0.models.fraud_review_decision_upserted'](); },
|
|
19338
19213
|
function () { return factories['io.flow.internal.v0.models.fraud_review_decision_deleted'](); },
|
|
19214
|
+
function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_upserted'](); },
|
|
19215
|
+
function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_deleted'](); },
|
|
19216
|
+
function () { return factories['io.flow.internal.v0.models.fraud_pending_review_authorization_upserted'](); },
|
|
19217
|
+
function () { return factories['io.flow.internal.v0.models.fraud_pending_review_authorization_deleted'](); },
|
|
19218
|
+
function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_decision_upserted'](); },
|
|
19219
|
+
function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_decision_deleted'](); },
|
|
19339
19220
|
function () { return factories['io.flow.internal.v0.models.fraud_provider_configuration_upserted'](); },
|
|
19340
19221
|
function () { return factories['io.flow.internal.v0.models.fraud_provider_configuration_deleted'](); },
|
|
19341
19222
|
function () { return factories['io.flow.internal.v0.models.manual_review_rule_upserted'](); },
|
|
@@ -19413,6 +19294,8 @@ var factories = {
|
|
|
19413
19294
|
function () { return factories['io.flow.internal.v0.models.organization_deactivation_deleted'](); },
|
|
19414
19295
|
function () { return factories['io.flow.internal.v0.models.merchant_guid_assignment_upserted'](); },
|
|
19415
19296
|
function () { return factories['io.flow.internal.v0.models.merchant_guid_assignment_deleted'](); },
|
|
19297
|
+
function () { return factories['io.flow.internal.v0.models.organization_metadata_upserted'](); },
|
|
19298
|
+
function () { return factories['io.flow.internal.v0.models.organization_metadata_deleted'](); },
|
|
19416
19299
|
function () { return factories['io.flow.internal.v0.models.partner_organization_settings_upserted'](); },
|
|
19417
19300
|
function () { return factories['io.flow.internal.v0.models.partner_organization_settings_deleted'](); },
|
|
19418
19301
|
function () { return factories['io.flow.internal.v0.models.unassigned_merchant_guid_upserted'](); },
|
|
@@ -19488,6 +19371,8 @@ var factories = {
|
|
|
19488
19371
|
function () { return factories['io.flow.internal.v0.models.channel_order_summary_deleted'](); },
|
|
19489
19372
|
function () { return factories['io.flow.internal.v0.models.channel_organization_identifier_upserted'](); },
|
|
19490
19373
|
function () { return factories['io.flow.internal.v0.models.channel_organization_identifier_deleted'](); },
|
|
19374
|
+
function () { return factories['io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting_upserted'](); },
|
|
19375
|
+
function () { return factories['io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting_deleted'](); },
|
|
19491
19376
|
function () { return factories['io.flow.internal.v0.models.shopify_monitoring_order_monitor_event_upserted'](); },
|
|
19492
19377
|
function () { return factories['io.flow.internal.v0.models.shopify_monitoring_order_monitor_event_deleted'](); },
|
|
19493
19378
|
function () { return factories['io.flow.internal.v0.models.shopify_order_fulfillments_snapshot_upserted'](); },
|
|
@@ -19506,8 +19391,16 @@ var factories = {
|
|
|
19506
19391
|
function () { return factories['io.flow.internal.v0.models.svitlana_item_deleted'](); },
|
|
19507
19392
|
function () { return factories['io.flow.internal.v0.models.colm_item_upserted'](); },
|
|
19508
19393
|
function () { return factories['io.flow.internal.v0.models.colm_item_deleted'](); },
|
|
19394
|
+
function () { return factories['io.flow.internal.v0.models.harinath_item_upserted'](); },
|
|
19395
|
+
function () { return factories['io.flow.internal.v0.models.harinath_item_deleted'](); },
|
|
19396
|
+
function () { return factories['io.flow.internal.v0.models.konstantin_item_upserted'](); },
|
|
19397
|
+
function () { return factories['io.flow.internal.v0.models.konstantin_item_deleted'](); },
|
|
19509
19398
|
function () { return factories['io.flow.internal.v0.models.matias_item_upserted'](); },
|
|
19510
19399
|
function () { return factories['io.flow.internal.v0.models.matias_item_deleted'](); },
|
|
19400
|
+
function () { return factories['io.flow.internal.v0.models.michaelyan_item_upserted'](); },
|
|
19401
|
+
function () { return factories['io.flow.internal.v0.models.michaelyan_item_deleted'](); },
|
|
19402
|
+
function () { return factories['io.flow.internal.v0.models.miljenko_item_upserted'](); },
|
|
19403
|
+
function () { return factories['io.flow.internal.v0.models.miljenko_item_deleted'](); },
|
|
19511
19404
|
function () { return factories['io.flow.internal.v0.models.shruti_demo_item_upserted'](); },
|
|
19512
19405
|
function () { return factories['io.flow.internal.v0.models.shruti_demo_item_deleted'](); },
|
|
19513
19406
|
function () { return factories['io.flow.internal.v0.models.tam_item_upserted'](); },
|
|
@@ -19520,6 +19413,8 @@ var factories = {
|
|
|
19520
19413
|
function () { return factories['io.flow.internal.v0.models.tracking_label_deleted'](); },
|
|
19521
19414
|
function () { return factories['io.flow.internal.v0.models.tracking_upserted'](); },
|
|
19522
19415
|
function () { return factories['io.flow.internal.v0.models.tracking_deleted'](); },
|
|
19416
|
+
function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_upserted'](); },
|
|
19417
|
+
function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted'](); },
|
|
19523
19418
|
function () { return factories['io.flow.internal.v0.models.tracking_request_upserted'](); },
|
|
19524
19419
|
function () { return factories['io.flow.internal.v0.models.tracking_response_upserted'](); },
|
|
19525
19420
|
function () { return factories['io.flow.internal.v0.models.user_upserted_v2'](); },
|
|
@@ -19527,13 +19422,6 @@ var factories = {
|
|
|
19527
19422
|
]);
|
|
19528
19423
|
return f();
|
|
19529
19424
|
},
|
|
19530
|
-
'io.flow.internal.v0.unions.experiment': function () {
|
|
19531
|
-
var f = faker.helpers.arrayElement([
|
|
19532
|
-
function () { return factories['io.flow.internal.v0.models.experience_experiment'](); },
|
|
19533
|
-
function () { return factories['io.flow.internal.v0.models.feature_experiment'](); },
|
|
19534
|
-
]);
|
|
19535
|
-
return f();
|
|
19536
|
-
},
|
|
19537
19425
|
'io.flow.internal.v0.unions.explicit_statement_form': function () {
|
|
19538
19426
|
var f = faker.helpers.arrayElement([
|
|
19539
19427
|
function () { return factories['io.flow.internal.v0.models.explicit_statement_form_transaction_ids'](); },
|
|
@@ -19983,20 +19871,6 @@ var factories = {
|
|
|
19983
19871
|
]);
|
|
19984
19872
|
return f();
|
|
19985
19873
|
},
|
|
19986
|
-
'io.flow.internal.v0.unions.variant': function () {
|
|
19987
|
-
var f = faker.helpers.arrayElement([
|
|
19988
|
-
function () { return factories['io.flow.internal.v0.models.experience_variant'](); },
|
|
19989
|
-
function () { return factories['io.flow.internal.v0.models.feature_variant'](); },
|
|
19990
|
-
]);
|
|
19991
|
-
return f();
|
|
19992
|
-
},
|
|
19993
|
-
'io.flow.internal.v0.unions.variant_form': function () {
|
|
19994
|
-
var f = faker.helpers.arrayElement([
|
|
19995
|
-
function () { return factories['io.flow.internal.v0.models.experience_variant_form'](); },
|
|
19996
|
-
function () { return factories['io.flow.internal.v0.models.feature_variant_form'](); },
|
|
19997
|
-
]);
|
|
19998
|
-
return f();
|
|
19999
|
-
},
|
|
20000
19874
|
'io.flow.inventory.v0.enums.aggregate': function () { return faker.helpers.arrayElement(['maximum', 'minimum']); },
|
|
20001
19875
|
'io.flow.inventory.v0.enums.inventory_status': function () { return faker.helpers.arrayElement(['has_inventory', 'no_inventory']); },
|
|
20002
19876
|
'io.flow.inventory.v0.enums.update_type': function () { return faker.helpers.arrayElement(['change', 'set']); },
|
|
@@ -20819,6 +20693,7 @@ var factories = {
|
|
|
20819
20693
|
'business_street_address_is_po_box',
|
|
20820
20694
|
'exception_merchant',
|
|
20821
20695
|
'application_missing',
|
|
20696
|
+
'missing_logistics_contact_info',
|
|
20822
20697
|
]); },
|
|
20823
20698
|
'io.flow.organization.onboarding.state.v0.models.activation_put_form': function () { return ({
|
|
20824
20699
|
placeholder: factories.boolean(),
|
|
@@ -20867,6 +20742,10 @@ var factories = {
|
|
|
20867
20742
|
completed_at: factories.date_time_iso_8601(),
|
|
20868
20743
|
onboarding_started_at: factories.date_time_iso_8601(),
|
|
20869
20744
|
}); },
|
|
20745
|
+
'io.flow.organization.onboarding.state.v0.models.rejection_put_form': function () { return ({
|
|
20746
|
+
reason: factories['io.flow.organization.onboarding.state.v0.enums.merchant_rejected_reason'](),
|
|
20747
|
+
description: factories.string(),
|
|
20748
|
+
}); },
|
|
20870
20749
|
'io.flow.organization.onboarding.state.v0.models.setup_blocked': function () { return ({
|
|
20871
20750
|
discriminator: 'setup_blocked',
|
|
20872
20751
|
reasons: arrayOf(function () { return factories['io.flow.organization.onboarding.state.v0.enums.onboarding_blocked_reason'](); }),
|
|
@@ -21181,6 +21060,7 @@ var factories = {
|
|
|
21181
21060
|
'order_missing_information',
|
|
21182
21061
|
'order_domestic',
|
|
21183
21062
|
'order_mismatched_currencies',
|
|
21063
|
+
'order_missing',
|
|
21184
21064
|
]); },
|
|
21185
21065
|
'io.flow.payment.gateway.v0.enums.payment_request_review_status': function () { return faker.helpers.arrayElement(['pending', 'approved', 'rejected']); },
|
|
21186
21066
|
'io.flow.payment.gateway.v0.enums.payment_status': function () { return faker.helpers.arrayElement([
|
|
@@ -21669,6 +21549,10 @@ var factories = {
|
|
|
21669
21549
|
payment_capture_option: factories['io.flow.payment.gateway.v0.unions.payment_capture_option'](),
|
|
21670
21550
|
review: factories['io.flow.payment.gateway.v0.models.payment_request_review'](),
|
|
21671
21551
|
}); },
|
|
21552
|
+
'io.flow.payment.gateway.v0.models.payment_request_cancellation_reason_order_missing': function () { return ({
|
|
21553
|
+
type: 'order_missing',
|
|
21554
|
+
description: factories.string(),
|
|
21555
|
+
}); },
|
|
21672
21556
|
'io.flow.payment.gateway.v0.models.payment_request_form': function () { return ({
|
|
21673
21557
|
amount: factories.decimal(),
|
|
21674
21558
|
currency: factories.string(),
|
|
@@ -21846,6 +21730,12 @@ var factories = {
|
|
|
21846
21730
|
]);
|
|
21847
21731
|
return f();
|
|
21848
21732
|
},
|
|
21733
|
+
'io.flow.payment.gateway.v0.unions.payment_request_cancellation_reason': function () {
|
|
21734
|
+
var f = faker.helpers.arrayElement([
|
|
21735
|
+
function () { return factories['io.flow.payment.gateway.v0.models.payment_request_cancellation_reason_order_missing'](); },
|
|
21736
|
+
]);
|
|
21737
|
+
return f();
|
|
21738
|
+
},
|
|
21849
21739
|
'io.flow.payment.gateway.v0.unions.sdk_adyen_v3_authentication_token': function () {
|
|
21850
21740
|
var f = faker.helpers.arrayElement([
|
|
21851
21741
|
function () { return factories['io.flow.payment.gateway.v0.models.adyen_v3_fingerprint_token'](); },
|
|
@@ -23336,6 +23226,14 @@ var factories = {
|
|
|
23336
23226
|
discriminator: 'payment_processor_reference',
|
|
23337
23227
|
processor: factories.string(),
|
|
23338
23228
|
}); },
|
|
23229
|
+
'io.flow.payment.v0.models.payment_processor_transaction_details_apm': function () { return ({
|
|
23230
|
+
discriminator: 'apm',
|
|
23231
|
+
transaction_identifier: factories.string(),
|
|
23232
|
+
capture_identifier: factories.string(),
|
|
23233
|
+
method_type: factories.string(),
|
|
23234
|
+
result_status: factories.string(),
|
|
23235
|
+
reason_code: factories.string(),
|
|
23236
|
+
}); },
|
|
23339
23237
|
'io.flow.payment.v0.models.payment_processor_transaction_details_card': function () { return ({
|
|
23340
23238
|
discriminator: 'card',
|
|
23341
23239
|
transaction_identifier: factories.string(),
|
|
@@ -23361,6 +23259,7 @@ var factories = {
|
|
|
23361
23259
|
'io.flow.payment.v0.models.paypal_authorization_details': function () { return ({
|
|
23362
23260
|
discriminator: 'paypal_authorization_details',
|
|
23363
23261
|
payment_id: factories.string(),
|
|
23262
|
+
internal_payment_id: factories.string(),
|
|
23364
23263
|
payment_method: factories.string(),
|
|
23365
23264
|
payment_state: factories.string(),
|
|
23366
23265
|
payer_id: factories.string(),
|
|
@@ -23752,6 +23651,7 @@ var factories = {
|
|
|
23752
23651
|
'io.flow.payment.v0.unions.payment_processor_transaction_details': function () {
|
|
23753
23652
|
var f = faker.helpers.arrayElement([
|
|
23754
23653
|
function () { return factories['io.flow.payment.v0.models.payment_processor_transaction_details_card'](); },
|
|
23654
|
+
function () { return factories['io.flow.payment.v0.models.payment_processor_transaction_details_apm'](); },
|
|
23755
23655
|
]);
|
|
23756
23656
|
return f();
|
|
23757
23657
|
},
|
|
@@ -25156,6 +25056,7 @@ var factories = {
|
|
|
25156
25056
|
published_at: factories.date_time_iso_8601(),
|
|
25157
25057
|
created_at: factories.date_time_iso_8601(),
|
|
25158
25058
|
updated_at: factories.date_time_iso_8601(),
|
|
25059
|
+
has_variants_that_requires_components: factories.boolean(),
|
|
25159
25060
|
}); },
|
|
25160
25061
|
'io.flow.shopify.external.v0.models.product_delete': function () { return ({
|
|
25161
25062
|
id: factories.long(),
|
|
@@ -25841,6 +25742,19 @@ var factories = {
|
|
|
25841
25742
|
channel_id: factories.string(),
|
|
25842
25743
|
channel_organization_identifier: factories['io.flow.shopify.markets.internal.v0.models.channel_organization_identifier'](),
|
|
25843
25744
|
}); },
|
|
25745
|
+
'io.flow.shopify.markets.internal.event.v0.models.order_tax_and_duty_inclusivity_setting_deleted': function () { return ({
|
|
25746
|
+
discriminator: 'order_tax_and_duty_inclusivity_setting_deleted',
|
|
25747
|
+
event_id: factories.string(),
|
|
25748
|
+
timestamp: factories.date_time_iso_8601(),
|
|
25749
|
+
organization: factories.string(),
|
|
25750
|
+
id: factories.string(),
|
|
25751
|
+
}); },
|
|
25752
|
+
'io.flow.shopify.markets.internal.event.v0.models.order_tax_and_duty_inclusivity_setting_upserted': function () { return ({
|
|
25753
|
+
discriminator: 'order_tax_and_duty_inclusivity_setting_upserted',
|
|
25754
|
+
event_id: factories.string(),
|
|
25755
|
+
timestamp: factories.date_time_iso_8601(),
|
|
25756
|
+
order_tax_and_duty_inclusivity_setting: factories['io.flow.shopify.markets.internal.v0.models.order_tax_and_duty_inclusivity_setting'](),
|
|
25757
|
+
}); },
|
|
25844
25758
|
'io.flow.shopify.markets.internal.event.v0.models.shopify_markets_metrics_deleted': function () { return ({
|
|
25845
25759
|
discriminator: 'shopify_markets_metrics_deleted',
|
|
25846
25760
|
event_id: factories.string(),
|
|
@@ -25929,6 +25843,8 @@ var factories = {
|
|
|
25929
25843
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.channel_order_summary_deleted'](); },
|
|
25930
25844
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.channel_organization_identifier_upserted'](); },
|
|
25931
25845
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.channel_organization_identifier_deleted'](); },
|
|
25846
|
+
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.order_tax_and_duty_inclusivity_setting_upserted'](); },
|
|
25847
|
+
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.order_tax_and_duty_inclusivity_setting_deleted'](); },
|
|
25932
25848
|
]);
|
|
25933
25849
|
return f();
|
|
25934
25850
|
},
|
|
@@ -25973,6 +25889,12 @@ var factories = {
|
|
|
25973
25889
|
'toys_hobbies_gifts',
|
|
25974
25890
|
'other',
|
|
25975
25891
|
]); },
|
|
25892
|
+
'io.flow.shopify.markets.internal.v0.enums.tax_and_duty_inclusivity_setting': function () { return faker.helpers.arrayElement([
|
|
25893
|
+
'duty_exclusive_tax_exclusive',
|
|
25894
|
+
'duty_inclusive_tax_exclusive',
|
|
25895
|
+
'duty_exclusive_tax_inclusive',
|
|
25896
|
+
'duty_inclusive_tax_inclusive',
|
|
25897
|
+
]); },
|
|
25976
25898
|
'io.flow.shopify.markets.internal.v0.models.catalog_publication_sync_validation_error': function () { return ({
|
|
25977
25899
|
message: factories.string(),
|
|
25978
25900
|
reason: factories.string(),
|
|
@@ -26011,6 +25933,13 @@ var factories = {
|
|
|
26011
25933
|
'io.flow.shopify.markets.internal.v0.models.markets_order_summary': function () { return ({
|
|
26012
25934
|
id: factories.string(),
|
|
26013
25935
|
}); },
|
|
25936
|
+
'io.flow.shopify.markets.internal.v0.models.order_tax_and_duty_inclusivity_setting': function () { return ({
|
|
25937
|
+
id: factories.string(),
|
|
25938
|
+
organization_id: factories.string(),
|
|
25939
|
+
shopify_order_id: factories.string(),
|
|
25940
|
+
order_number: factories.string(),
|
|
25941
|
+
tax_and_duty_inclusivity_setting: factories['io.flow.shopify.markets.internal.v0.enums.tax_and_duty_inclusivity_setting'](),
|
|
25942
|
+
}); },
|
|
26014
25943
|
'io.flow.shopify.markets.internal.v0.models.order_validation_error': function () { return ({
|
|
26015
25944
|
message: factories.string(),
|
|
26016
25945
|
reason: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason'](),
|
|
@@ -26120,6 +26049,8 @@ var factories = {
|
|
|
26120
26049
|
id: factories.string(),
|
|
26121
26050
|
initial_catalog_synced_at: factories.date_time_iso_8601(),
|
|
26122
26051
|
catalog_sync_duration: factories.long(),
|
|
26052
|
+
restrictions_sync_duration: factories.long(),
|
|
26053
|
+
classifications_sync_duration: factories.long(),
|
|
26123
26054
|
catalog_products_count: factories.long(),
|
|
26124
26055
|
initial_product_restrictions_synced_at: factories.date_time_iso_8601(),
|
|
26125
26056
|
}); },
|
|
@@ -26212,7 +26143,14 @@ var factories = {
|
|
|
26212
26143
|
'io.flow.shopify.markets.v0.enums.shopify_order_fulfillment_status_type': function () { return faker.helpers.arrayElement(['fulfilled', 'null', 'partial']); },
|
|
26213
26144
|
'io.flow.shopify.markets.v0.enums.shopify_order_inventory_behaviour': function () { return faker.helpers.arrayElement(['bypass', 'decrement_ignoring_policy', 'decrement_obeying_policy']); },
|
|
26214
26145
|
'io.flow.shopify.markets.v0.enums.shopify_order_kind_type': function () { return faker.helpers.arrayElement(['authorization', 'capture', 'sale', 'void', 'refund']); },
|
|
26215
|
-
'io.flow.shopify.markets.v0.enums.shopify_order_payment_gateway_names': function () { return faker.helpers.arrayElement([
|
|
26146
|
+
'io.flow.shopify.markets.v0.enums.shopify_order_payment_gateway_names': function () { return faker.helpers.arrayElement([
|
|
26147
|
+
'flow_commerce',
|
|
26148
|
+
'gift_card',
|
|
26149
|
+
'manual',
|
|
26150
|
+
'shopify_payments',
|
|
26151
|
+
'shop_cash',
|
|
26152
|
+
'shopify_store_credit',
|
|
26153
|
+
]); },
|
|
26216
26154
|
'io.flow.shopify.markets.v0.enums.shopify_order_processing_method_type': function () { return faker.helpers.arrayElement(['checkout', 'direct', 'manual', 'offsite', 'express', 'deferred_payment']); },
|
|
26217
26155
|
'io.flow.shopify.markets.v0.enums.shopify_order_restock_type': function () { return faker.helpers.arrayElement(['no_restock', 'cancel', 'return']); },
|
|
26218
26156
|
'io.flow.shopify.markets.v0.enums.shopify_order_status_type': function () { return faker.helpers.arrayElement(['open', 'closed', 'cancelled', 'any']); },
|
|
@@ -27211,6 +27149,43 @@ var factories = {
|
|
|
27211
27149
|
},
|
|
27212
27150
|
'io.flow.stripe.v0.enums.account_type': function () { return faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']); },
|
|
27213
27151
|
'io.flow.stripe.v0.enums.apple_pay_type': function () { return faker.helpers.arrayElement(['apple_pay', 'apple_pay_later']); },
|
|
27152
|
+
'io.flow.stripe.v0.enums.bank_ideal': function () { return faker.helpers.arrayElement([
|
|
27153
|
+
'abn_amro',
|
|
27154
|
+
'asn_bank',
|
|
27155
|
+
'bunq',
|
|
27156
|
+
'handelsbanken',
|
|
27157
|
+
'ing',
|
|
27158
|
+
'knab',
|
|
27159
|
+
'moneyou',
|
|
27160
|
+
'n26',
|
|
27161
|
+
'nn',
|
|
27162
|
+
'rabobank',
|
|
27163
|
+
'regiobank',
|
|
27164
|
+
'revolut',
|
|
27165
|
+
'sns_bank',
|
|
27166
|
+
'triodos_bank',
|
|
27167
|
+
'van_lanschot',
|
|
27168
|
+
'yoursafe',
|
|
27169
|
+
]); },
|
|
27170
|
+
'io.flow.stripe.v0.enums.bic_ideal': function () { return faker.helpers.arrayElement([
|
|
27171
|
+
'ABNANL2A',
|
|
27172
|
+
'ASNBNL21',
|
|
27173
|
+
'BITSNL2A',
|
|
27174
|
+
'BUNQNL2A',
|
|
27175
|
+
'FVLBNL22',
|
|
27176
|
+
'HANDNL2A',
|
|
27177
|
+
'INGBNL2A',
|
|
27178
|
+
'KNABNL2H',
|
|
27179
|
+
'MOYONL21',
|
|
27180
|
+
'NNBANL2G',
|
|
27181
|
+
'NTSBDEB1',
|
|
27182
|
+
'RABONL2U',
|
|
27183
|
+
'RBRBNL21',
|
|
27184
|
+
'REVOIE23',
|
|
27185
|
+
'REVOLT21',
|
|
27186
|
+
'SNSBNL2A',
|
|
27187
|
+
'TRIONL2U',
|
|
27188
|
+
]); },
|
|
27214
27189
|
'io.flow.stripe.v0.enums.cancellation_reason': function () { return faker.helpers.arrayElement([
|
|
27215
27190
|
'abandoned',
|
|
27216
27191
|
'automatic',
|
|
@@ -27294,6 +27269,40 @@ var factories = {
|
|
|
27294
27269
|
'highest_risk_level',
|
|
27295
27270
|
'requested_block_on_incorrect_cvc',
|
|
27296
27271
|
]); },
|
|
27272
|
+
'io.flow.stripe.v0.enums.dispute_event_type': function () { return faker.helpers.arrayElement([
|
|
27273
|
+
'charge.dispute.closed',
|
|
27274
|
+
'charge.dispute.created',
|
|
27275
|
+
'charge.dispute.funds_reinstated',
|
|
27276
|
+
'charge.dispute.funds_withdrawn',
|
|
27277
|
+
'charge.dispute.updated',
|
|
27278
|
+
]); },
|
|
27279
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type': function () { return faker.helpers.arrayElement(['chargeback', 'inquiry']); },
|
|
27280
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_type': function () { return faker.helpers.arrayElement(['card', 'klarna', 'paypal']); },
|
|
27281
|
+
'io.flow.stripe.v0.enums.dispute_reason': function () { return faker.helpers.arrayElement([
|
|
27282
|
+
'bank_cannot_process',
|
|
27283
|
+
'check_returned',
|
|
27284
|
+
'credit_not_processed',
|
|
27285
|
+
'customer_initiated',
|
|
27286
|
+
'debit_not_authorized',
|
|
27287
|
+
'duplicate',
|
|
27288
|
+
'fraudulent',
|
|
27289
|
+
'general',
|
|
27290
|
+
'incorrect_account_details',
|
|
27291
|
+
'insufficient_funds',
|
|
27292
|
+
'product_not_received',
|
|
27293
|
+
'product_unacceptable',
|
|
27294
|
+
'subscription_canceled',
|
|
27295
|
+
'unrecognized',
|
|
27296
|
+
]); },
|
|
27297
|
+
'io.flow.stripe.v0.enums.dispute_status': function () { return faker.helpers.arrayElement([
|
|
27298
|
+
'warning_needs_response',
|
|
27299
|
+
'warning_under_review',
|
|
27300
|
+
'warning_closed',
|
|
27301
|
+
'needs_response',
|
|
27302
|
+
'under_review',
|
|
27303
|
+
'won',
|
|
27304
|
+
'lost',
|
|
27305
|
+
]); },
|
|
27297
27306
|
'io.flow.stripe.v0.enums.error_code': function () { return faker.helpers.arrayElement([
|
|
27298
27307
|
'invalid_number',
|
|
27299
27308
|
'invalid_expiry_month',
|
|
@@ -27386,6 +27395,11 @@ var factories = {
|
|
|
27386
27395
|
'charge.succeeded',
|
|
27387
27396
|
'charge.updated',
|
|
27388
27397
|
'charge.refund.updated',
|
|
27398
|
+
'charge.dispute.closed',
|
|
27399
|
+
'charge.dispute.created',
|
|
27400
|
+
'charge.dispute.funds_reinstated',
|
|
27401
|
+
'charge.dispute.funds_withdrawn',
|
|
27402
|
+
'charge.dispute.updated',
|
|
27389
27403
|
'payment_intent.created',
|
|
27390
27404
|
'payment_intent.amount_capturable_updated',
|
|
27391
27405
|
'payment_intent.payment_failed',
|
|
@@ -27425,9 +27439,10 @@ var factories = {
|
|
|
27425
27439
|
'succeeded',
|
|
27426
27440
|
]); },
|
|
27427
27441
|
'io.flow.stripe.v0.enums.payment_method_category_klarna': function () { return faker.helpers.arrayElement(['pay_later', 'pay_now', 'pay_with_financing', 'pay_in_installments']); },
|
|
27428
|
-
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present', 'klarna']); },
|
|
27442
|
+
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present', 'ideal', 'klarna', 'bancontact']); },
|
|
27429
27443
|
'io.flow.stripe.v0.enums.payment_outcome_type': function () { return faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']); },
|
|
27430
27444
|
'io.flow.stripe.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['succeeded', 'pending', 'failed']); },
|
|
27445
|
+
'io.flow.stripe.v0.enums.preferred_language_bancontact': function () { return faker.helpers.arrayElement(['de', 'en', 'fr', 'nl']); },
|
|
27431
27446
|
'io.flow.stripe.v0.enums.preferred_locale_klarna': function () { return faker.helpers.arrayElement([
|
|
27432
27447
|
'de-AT',
|
|
27433
27448
|
'en-AT',
|
|
@@ -27726,6 +27741,48 @@ var factories = {
|
|
|
27726
27741
|
source: factories.string(),
|
|
27727
27742
|
description: factories.string(),
|
|
27728
27743
|
}); },
|
|
27744
|
+
'io.flow.stripe.v0.models.dispute': function () { return ({
|
|
27745
|
+
id: factories.string(),
|
|
27746
|
+
amount: factories.integer(),
|
|
27747
|
+
charge: factories.string(),
|
|
27748
|
+
currency: factories.string(),
|
|
27749
|
+
evidence: factories.object(),
|
|
27750
|
+
metadata: objectOf(function () { return factories.string(); }),
|
|
27751
|
+
payment_intent: factories.string(),
|
|
27752
|
+
reason: factories['io.flow.stripe.v0.enums.dispute_reason'](),
|
|
27753
|
+
status: factories['io.flow.stripe.v0.enums.dispute_status'](),
|
|
27754
|
+
object: factories.string(),
|
|
27755
|
+
balance_transactions: arrayOf(function () { return factories.object(); }),
|
|
27756
|
+
created: factories.long(),
|
|
27757
|
+
evidence_details: factories['io.flow.stripe.v0.models.dispute_evidence_details'](),
|
|
27758
|
+
is_charge_refundable: factories.boolean(),
|
|
27759
|
+
livemode: factories.boolean(),
|
|
27760
|
+
payment_method_details: factories['io.flow.stripe.v0.models.dispute_payment_method_details'](),
|
|
27761
|
+
}); },
|
|
27762
|
+
'io.flow.stripe.v0.models.dispute_evidence_details': function () { return ({
|
|
27763
|
+
due_by: factories.long(),
|
|
27764
|
+
has_evidence: factories.boolean(),
|
|
27765
|
+
past_due: factories.boolean(),
|
|
27766
|
+
submission_count: factories.integer(),
|
|
27767
|
+
}); },
|
|
27768
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details': function () { return ({
|
|
27769
|
+
card: factories['io.flow.stripe.v0.models.dispute_payment_method_details_card'](),
|
|
27770
|
+
klarna: factories['io.flow.stripe.v0.models.dispute_payment_method_details_klarna'](),
|
|
27771
|
+
paypal: factories['io.flow.stripe.v0.models.dispute_payment_method_details_paypal'](),
|
|
27772
|
+
type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_type'](),
|
|
27773
|
+
}); },
|
|
27774
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_card': function () { return ({
|
|
27775
|
+
brand: factories.string(),
|
|
27776
|
+
case_type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type'](),
|
|
27777
|
+
network_reason_code: factories.string(),
|
|
27778
|
+
}); },
|
|
27779
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_klarna': function () { return ({
|
|
27780
|
+
reason_code: factories.string(),
|
|
27781
|
+
}); },
|
|
27782
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_paypal': function () { return ({
|
|
27783
|
+
case_id: factories.string(),
|
|
27784
|
+
reason_code: factories.string(),
|
|
27785
|
+
}); },
|
|
27729
27786
|
'io.flow.stripe.v0.models.error': function () { return ({
|
|
27730
27787
|
error: factories['io.flow.stripe.v0.models.stripe_error'](),
|
|
27731
27788
|
}); },
|
|
@@ -27952,8 +28009,10 @@ var factories = {
|
|
|
27952
28009
|
id: factories.string(),
|
|
27953
28010
|
object: factories.string(),
|
|
27954
28011
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
28012
|
+
bancontact: factories.object(),
|
|
27955
28013
|
card: factories['io.flow.stripe.v0.models.payment_method_card_details'](),
|
|
27956
28014
|
card_present: factories.object(),
|
|
28015
|
+
ideal: factories.object(),
|
|
27957
28016
|
klarna: factories.object(),
|
|
27958
28017
|
created: factories.long(),
|
|
27959
28018
|
customer: factories.string(),
|
|
@@ -27984,18 +28043,43 @@ var factories = {
|
|
|
27984
28043
|
number: factories.string(),
|
|
27985
28044
|
cvc: factories.string(),
|
|
27986
28045
|
}); },
|
|
28046
|
+
'io.flow.stripe.v0.models.payment_method_data_bancontact': function () { return ({
|
|
28047
|
+
type: 'bancontact',
|
|
28048
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
28049
|
+
metadata: factories.object(),
|
|
28050
|
+
}); },
|
|
27987
28051
|
'io.flow.stripe.v0.models.payment_method_data_card': function () { return ({
|
|
27988
28052
|
type: 'card',
|
|
27989
28053
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
27990
28054
|
metadata: factories.object(),
|
|
27991
28055
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
27992
28056
|
}); },
|
|
28057
|
+
'io.flow.stripe.v0.models.payment_method_data_ideal': function () { return ({
|
|
28058
|
+
type: 'ideal',
|
|
28059
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
28060
|
+
metadata: factories.object(),
|
|
28061
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_ideal_form'](),
|
|
28062
|
+
}); },
|
|
27993
28063
|
'io.flow.stripe.v0.models.payment_method_data_klarna': function () { return ({
|
|
27994
28064
|
type: 'klarna',
|
|
27995
28065
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
27996
28066
|
metadata: factories.object(),
|
|
27997
28067
|
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
27998
28068
|
}); },
|
|
28069
|
+
'io.flow.stripe.v0.models.payment_method_details_bancontact': function () { return ({
|
|
28070
|
+
type: 'bancontact',
|
|
28071
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_details_bancontact_information'](),
|
|
28072
|
+
}); },
|
|
28073
|
+
'io.flow.stripe.v0.models.payment_method_details_bancontact_information': function () { return ({
|
|
28074
|
+
bank_code: factories.string(),
|
|
28075
|
+
bank_name: factories.string(),
|
|
28076
|
+
bic: factories.string(),
|
|
28077
|
+
generated_sepa_debit: factories.string(),
|
|
28078
|
+
generated_sepa_debit_mandate: factories.string(),
|
|
28079
|
+
iban_last4: factories.string(),
|
|
28080
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
28081
|
+
verified_name: factories.string(),
|
|
28082
|
+
}); },
|
|
27999
28083
|
'io.flow.stripe.v0.models.payment_method_details_card': function () { return ({
|
|
28000
28084
|
type: 'card',
|
|
28001
28085
|
card: factories['io.flow.stripe.v0.models.payment_method_details_card_information'](),
|
|
@@ -28025,6 +28109,18 @@ var factories = {
|
|
|
28025
28109
|
multicapture: factories['io.flow.stripe.v0.models.multicapture'](),
|
|
28026
28110
|
overcapture: factories['io.flow.stripe.v0.models.overcapture'](),
|
|
28027
28111
|
}); },
|
|
28112
|
+
'io.flow.stripe.v0.models.payment_method_details_ideal': function () { return ({
|
|
28113
|
+
type: 'ideal',
|
|
28114
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_details_ideal_information'](),
|
|
28115
|
+
}); },
|
|
28116
|
+
'io.flow.stripe.v0.models.payment_method_details_ideal_information': function () { return ({
|
|
28117
|
+
bank: factories['io.flow.stripe.v0.enums.bank_ideal'](),
|
|
28118
|
+
bic: factories['io.flow.stripe.v0.enums.bic_ideal'](),
|
|
28119
|
+
generated_sepa_debit: factories.string(),
|
|
28120
|
+
generated_sepa_debit_mandate: factories.string(),
|
|
28121
|
+
iban_last4: factories.string(),
|
|
28122
|
+
verified_name: factories.string(),
|
|
28123
|
+
}); },
|
|
28028
28124
|
'io.flow.stripe.v0.models.payment_method_details_klarna': function () { return ({
|
|
28029
28125
|
type: 'klarna',
|
|
28030
28126
|
klarna: factories['io.flow.stripe.v0.models.payment_method_details_klarna_information'](),
|
|
@@ -28033,24 +28129,47 @@ var factories = {
|
|
|
28033
28129
|
payment_method_category: factories['io.flow.stripe.v0.enums.payment_method_category_klarna'](),
|
|
28034
28130
|
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
28035
28131
|
}); },
|
|
28132
|
+
'io.flow.stripe.v0.models.payment_method_form_bancontact': function () { return ({
|
|
28133
|
+
type: 'bancontact',
|
|
28134
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
28135
|
+
metadata: factories.object(),
|
|
28136
|
+
bancontact: factories.object(),
|
|
28137
|
+
}); },
|
|
28036
28138
|
'io.flow.stripe.v0.models.payment_method_form_card': function () { return ({
|
|
28037
28139
|
type: 'card',
|
|
28038
28140
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
28039
28141
|
metadata: factories.object(),
|
|
28040
28142
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
28041
28143
|
}); },
|
|
28144
|
+
'io.flow.stripe.v0.models.payment_method_form_ideal': function () { return ({
|
|
28145
|
+
type: 'ideal',
|
|
28146
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
28147
|
+
metadata: factories.object(),
|
|
28148
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_ideal_form'](),
|
|
28149
|
+
}); },
|
|
28042
28150
|
'io.flow.stripe.v0.models.payment_method_form_klarna': function () { return ({
|
|
28043
28151
|
type: 'klarna',
|
|
28044
28152
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
28045
28153
|
metadata: factories.object(),
|
|
28046
28154
|
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
28047
28155
|
}); },
|
|
28156
|
+
'io.flow.stripe.v0.models.payment_method_ideal_form': function () { return ({
|
|
28157
|
+
bank: factories.string(),
|
|
28158
|
+
}); },
|
|
28048
28159
|
'io.flow.stripe.v0.models.payment_method_klarna_form': function () { return ({
|
|
28049
28160
|
dob: factories['io.flow.stripe.v0.models.klarna_dob_form'](),
|
|
28050
28161
|
}); },
|
|
28051
28162
|
'io.flow.stripe.v0.models.payment_method_options': function () { return ({
|
|
28052
28163
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card'](),
|
|
28164
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_options_ideal'](),
|
|
28053
28165
|
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna'](),
|
|
28166
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_options_bancontact'](),
|
|
28167
|
+
}); },
|
|
28168
|
+
'io.flow.stripe.v0.models.payment_method_options_bancontact': function () { return ({
|
|
28169
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
28170
|
+
}); },
|
|
28171
|
+
'io.flow.stripe.v0.models.payment_method_options_bancontact_form': function () { return ({
|
|
28172
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
28054
28173
|
}); },
|
|
28055
28174
|
'io.flow.stripe.v0.models.payment_method_options_card': function () { return ({
|
|
28056
28175
|
network: factories.string(),
|
|
@@ -28067,7 +28186,15 @@ var factories = {
|
|
|
28067
28186
|
}); },
|
|
28068
28187
|
'io.flow.stripe.v0.models.payment_method_options_form': function () { return ({
|
|
28069
28188
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card_form'](),
|
|
28189
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_options_ideal_form'](),
|
|
28070
28190
|
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna_form'](),
|
|
28191
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_options_bancontact_form'](),
|
|
28192
|
+
}); },
|
|
28193
|
+
'io.flow.stripe.v0.models.payment_method_options_ideal': function () { return ({
|
|
28194
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
28195
|
+
}); },
|
|
28196
|
+
'io.flow.stripe.v0.models.payment_method_options_ideal_form': function () { return ({
|
|
28197
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
28071
28198
|
}); },
|
|
28072
28199
|
'io.flow.stripe.v0.models.payment_method_options_klarna': function () { return ({
|
|
28073
28200
|
capture_method: factories['io.flow.stripe.v0.enums.capture_method'](),
|
|
@@ -28261,6 +28388,22 @@ var factories = {
|
|
|
28261
28388
|
three_ds_optimizations: factories.string(),
|
|
28262
28389
|
directory_server_encryption: factories.object(),
|
|
28263
28390
|
}); },
|
|
28391
|
+
'io.flow.stripe.v0.models.stripe_dispute_event': function () { return ({
|
|
28392
|
+
id: factories.string(),
|
|
28393
|
+
api_version: factories.string(),
|
|
28394
|
+
data: factories['io.flow.stripe.v0.models.stripe_dispute_event_data'](),
|
|
28395
|
+
request: factories.object(),
|
|
28396
|
+
type: factories['io.flow.stripe.v0.enums.dispute_event_type'](),
|
|
28397
|
+
object: factories.string(),
|
|
28398
|
+
account: factories.string(),
|
|
28399
|
+
created: factories.long(),
|
|
28400
|
+
livemode: factories.boolean(),
|
|
28401
|
+
pending_webhooks: factories.integer(),
|
|
28402
|
+
}); },
|
|
28403
|
+
'io.flow.stripe.v0.models.stripe_dispute_event_data': function () { return ({
|
|
28404
|
+
object: factories['io.flow.stripe.v0.models.dispute'](),
|
|
28405
|
+
previous_attributes: factories.object(),
|
|
28406
|
+
}); },
|
|
28264
28407
|
'io.flow.stripe.v0.models.stripe_error': function () { return ({
|
|
28265
28408
|
type: factories['io.flow.stripe.v0.enums.error_type'](),
|
|
28266
28409
|
charge: factories.string(),
|
|
@@ -28353,21 +28496,27 @@ var factories = {
|
|
|
28353
28496
|
'io.flow.stripe.v0.unions.payment_method_data': function () {
|
|
28354
28497
|
var f = faker.helpers.arrayElement([
|
|
28355
28498
|
function () { return factories['io.flow.stripe.v0.models.payment_method_data_card'](); },
|
|
28499
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_ideal'](); },
|
|
28356
28500
|
function () { return factories['io.flow.stripe.v0.models.payment_method_data_klarna'](); },
|
|
28501
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_bancontact'](); },
|
|
28357
28502
|
]);
|
|
28358
28503
|
return f();
|
|
28359
28504
|
},
|
|
28360
28505
|
'io.flow.stripe.v0.unions.payment_method_details': function () {
|
|
28361
28506
|
var f = faker.helpers.arrayElement([
|
|
28362
28507
|
function () { return factories['io.flow.stripe.v0.models.payment_method_details_card'](); },
|
|
28508
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_details_ideal'](); },
|
|
28363
28509
|
function () { return factories['io.flow.stripe.v0.models.payment_method_details_klarna'](); },
|
|
28510
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_details_bancontact'](); },
|
|
28364
28511
|
]);
|
|
28365
28512
|
return f();
|
|
28366
28513
|
},
|
|
28367
28514
|
'io.flow.stripe.v0.unions.payment_method_form': function () {
|
|
28368
28515
|
var f = faker.helpers.arrayElement([
|
|
28369
28516
|
function () { return factories['io.flow.stripe.v0.models.payment_method_form_card'](); },
|
|
28517
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_ideal'](); },
|
|
28370
28518
|
function () { return factories['io.flow.stripe.v0.models.payment_method_form_klarna'](); },
|
|
28519
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_bancontact'](); },
|
|
28371
28520
|
]);
|
|
28372
28521
|
return f();
|
|
28373
28522
|
},
|
|
@@ -28795,8 +28944,6 @@ export var makeAuthorizedOrderCharge = function () { return factories['io.flow.i
|
|
|
28795
28944
|
export var makeAuthorizedShippingCharge = function () { return factories['io.flow.internal.v0.models.authorized_shipping_charge'](); };
|
|
28796
28945
|
export var makeAutoRestrictRule = function () { return factories['io.flow.internal.v0.enums.auto_restrict_rule'](); };
|
|
28797
28946
|
export var makeAutoReviewCriteria = function () { return factories['io.flow.internal.v0.models.auto_review_criteria'](); };
|
|
28798
|
-
export var makeBackfill = function () { return factories['io.flow.internal.v0.models.backfill'](); };
|
|
28799
|
-
export var makeBackfillForm = function () { return factories['io.flow.internal.v0.models.backfill_form'](); };
|
|
28800
28947
|
export var makeBankAccountReference = function () { return factories['io.flow.internal.v0.models.bank_account_reference'](); };
|
|
28801
28948
|
export var makeBankPayment = function () { return factories['io.flow.internal.v0.models.bank_payment'](); };
|
|
28802
28949
|
export var makeBankPaymentDeletedV2 = function () { return factories['io.flow.internal.v0.models.bank_payment_deleted_v2'](); };
|
|
@@ -29052,7 +29199,9 @@ export var makeClassificationProduct = function () { return factories['io.flow.i
|
|
|
29052
29199
|
export var makeClassificationProductHarmonization = function () { return factories['io.flow.internal.v0.models.classification_product_harmonization'](); };
|
|
29053
29200
|
export var makeClassificationProductId = function () { return factories['io.flow.internal.v0.models.classification_product_id'](); };
|
|
29054
29201
|
export var makeClassificationProductRequest = function () { return factories['io.flow.internal.v0.models.classification_product_request'](); };
|
|
29202
|
+
export var makeClassificationProductRequestEnvelope = function () { return factories['io.flow.internal.v0.models.classification_product_request_envelope'](); };
|
|
29055
29203
|
export var makeClassificationProductResult = function () { return factories['io.flow.internal.v0.models.classification_product_result'](); };
|
|
29204
|
+
export var makeClassificationProductResultEnvelope = function () { return factories['io.flow.internal.v0.models.classification_product_result_envelope'](); };
|
|
29056
29205
|
export var makeClassificationProductSummary = function () { return factories['io.flow.internal.v0.models.classification_product_summary'](); };
|
|
29057
29206
|
export var makeClassificationProductSummaryPage = function () { return factories['io.flow.internal.v0.models.classification_product_summary_page'](); };
|
|
29058
29207
|
export var makeClassificationRequeueRequest = function () { return factories['io.flow.internal.v0.models.classification_requeue_request'](); };
|
|
@@ -29077,6 +29226,7 @@ export var makeCommercialInvoiceInternal = function () { return factories['io.fl
|
|
|
29077
29226
|
export var makeCommercialInvoiceInternalDeleted = function () { return factories['io.flow.internal.v0.models.commercial_invoice_internal_deleted'](); };
|
|
29078
29227
|
export var makeCommercialInvoiceInternalUpserted = function () { return factories['io.flow.internal.v0.models.commercial_invoice_internal_upserted'](); };
|
|
29079
29228
|
export var makeCommercialInvoiceSummary = function () { return factories['io.flow.internal.v0.models.commercial_invoice_summary'](); };
|
|
29229
|
+
export var makeCompany = function () { return factories['io.flow.internal.v0.enums.company'](); };
|
|
29080
29230
|
export var makeCompanyReference = function () { return factories['io.flow.internal.v0.models.company_reference'](); };
|
|
29081
29231
|
export var makeCompliance = function () { return factories['io.flow.internal.v0.models.compliance'](); };
|
|
29082
29232
|
export var makeComplianceData = function () { return factories['io.flow.internal.v0.unions.compliance_data'](); };
|
|
@@ -29111,6 +29261,7 @@ export var makeCryptoAccountModificationForm = function () { return factories['i
|
|
|
29111
29261
|
export var makeCryptoAccountPutForm = function () { return factories['io.flow.internal.v0.models.crypto_account_put_form'](); };
|
|
29112
29262
|
export var makeCryptoAuthentication = function () { return factories['io.flow.internal.v0.models.crypto_authentication'](); };
|
|
29113
29263
|
export var makeCryptoAuthenticationForm = function () { return factories['io.flow.internal.v0.models.crypto_authentication_form'](); };
|
|
29264
|
+
export var makeCsvTransaction = function () { return factories['io.flow.internal.v0.models.csv_transaction'](); };
|
|
29114
29265
|
export var makeCurrencyInternalRate = function () { return factories['io.flow.internal.v0.models.currency_internal_rate'](); };
|
|
29115
29266
|
export var makeCustomerPurgeUpserted = function () { return factories['io.flow.internal.v0.models.customer_purge_upserted'](); };
|
|
29116
29267
|
export var makeCustomerSecret = function () { return factories['io.flow.internal.v0.models.customer_secret'](); };
|
|
@@ -29124,10 +29275,6 @@ export var makeCustomsDetails = function () { return factories['io.flow.internal
|
|
|
29124
29275
|
export var makeCustomsDetailsForm = function () { return factories['io.flow.internal.v0.models.customs_details_form'](); };
|
|
29125
29276
|
export var makeCustomsProductAttributeLabel = function () { return factories['io.flow.internal.v0.models.customs_product_attribute_label'](); };
|
|
29126
29277
|
export var makeCustomsProductLabels = function () { return factories['io.flow.internal.v0.models.customs_product_labels'](); };
|
|
29127
|
-
export var makeDailyExperimentEngineResults = function () { return factories['io.flow.internal.v0.models.daily_experiment_engine_results'](); };
|
|
29128
|
-
export var makeDailyExperimentResults = function () { return factories['io.flow.internal.v0.models.daily_experiment_results'](); };
|
|
29129
|
-
export var makeDailyExperimentResultsDeleted = function () { return factories['io.flow.internal.v0.models.daily_experiment_results_deleted'](); };
|
|
29130
|
-
export var makeDailyExperimentResultsUpserted = function () { return factories['io.flow.internal.v0.models.daily_experiment_results_upserted'](); };
|
|
29131
29278
|
export var makeDailyValue = function () { return factories['io.flow.internal.v0.models.daily_value'](); };
|
|
29132
29279
|
export var makeDailyValueDeleted = function () { return factories['io.flow.internal.v0.models.daily_value_deleted'](); };
|
|
29133
29280
|
export var makeDailyValueUpserted = function () { return factories['io.flow.internal.v0.models.daily_value_upserted'](); };
|
|
@@ -29257,7 +29404,6 @@ export var makeExclusionRuleDeleted = function () { return factories['io.flow.in
|
|
|
29257
29404
|
export var makeExclusionRuleExportRequest = function () { return factories['io.flow.internal.v0.models.exclusion_rule_export_request'](); };
|
|
29258
29405
|
export var makeExclusionRuleUpserted = function () { return factories['io.flow.internal.v0.models.exclusion_rule_upserted'](); };
|
|
29259
29406
|
export var makeExpectedOrderSummary = function () { return factories['io.flow.internal.v0.models.expected_order_summary'](); };
|
|
29260
|
-
export var makeExperienceExperiment = function () { return factories['io.flow.internal.v0.models.experience_experiment'](); };
|
|
29261
29407
|
export var makeExperienceExportRequest = function () { return factories['io.flow.internal.v0.models.experience_export_request'](); };
|
|
29262
29408
|
export var makeExperienceImportRequest = function () { return factories['io.flow.internal.v0.models.experience_import_request'](); };
|
|
29263
29409
|
export var makeExperienceImportType = function () { return factories['io.flow.internal.v0.enums.experience_import_type'](); };
|
|
@@ -29265,30 +29411,6 @@ export var makeExperienceOrderAction = function () { return factories['io.flow.i
|
|
|
29265
29411
|
export var makeExperienceOrderActionRule = function () { return factories['io.flow.internal.v0.models.experience_order_action_rule'](); };
|
|
29266
29412
|
export var makeExperienceOrderActionTrigger = function () { return factories['io.flow.internal.v0.enums.experience_order_action_trigger'](); };
|
|
29267
29413
|
export var makeExperienceSessionReference = function () { return factories['io.flow.internal.v0.models.experience_session_reference'](); };
|
|
29268
|
-
export var makeExperienceVariant = function () { return factories['io.flow.internal.v0.models.experience_variant'](); };
|
|
29269
|
-
export var makeExperienceVariantForm = function () { return factories['io.flow.internal.v0.models.experience_variant_form'](); };
|
|
29270
|
-
export var makeExperienceVariantSummary = function () { return factories['io.flow.internal.v0.models.experience_variant_summary'](); };
|
|
29271
|
-
export var makeExperiment = function () { return factories['io.flow.internal.v0.unions.experiment'](); };
|
|
29272
|
-
export var makeExperimentDeleted = function () { return factories['io.flow.internal.v0.models.experiment_deleted'](); };
|
|
29273
|
-
export var makeExperimentDiscriminatorKey = function () { return factories['io.flow.internal.v0.enums.experiment_discriminator_key'](); };
|
|
29274
|
-
export var makeExperimentEngineResults = function () { return factories['io.flow.internal.v0.models.experiment_engine_results'](); };
|
|
29275
|
-
export var makeExperimentForm = function () { return factories['io.flow.internal.v0.models.experiment_form'](); };
|
|
29276
|
-
export var makeExperimentFormDefault = function () { return factories['io.flow.internal.v0.models.experiment_form_default'](); };
|
|
29277
|
-
export var makeExperimentFormDefaultDiscriminator = function () { return factories['io.flow.internal.v0.models.experiment_form_default_discriminator'](); };
|
|
29278
|
-
export var makeExperimentFormDefaultDiscriminatorValue = function () { return factories['io.flow.internal.v0.models.experiment_form_default_discriminator_value'](); };
|
|
29279
|
-
export var makeExperimentFormDefaultVariant = function () { return factories['io.flow.internal.v0.models.experiment_form_default_variant'](); };
|
|
29280
|
-
export var makeExperimentMilestone = function () { return factories['io.flow.internal.v0.models.experiment_milestone'](); };
|
|
29281
|
-
export var makeExperimentMilestoneDeleted = function () { return factories['io.flow.internal.v0.models.experiment_milestone_deleted'](); };
|
|
29282
|
-
export var makeExperimentMilestoneForm = function () { return factories['io.flow.internal.v0.models.experiment_milestone_form'](); };
|
|
29283
|
-
export var makeExperimentMilestoneUpserted = function () { return factories['io.flow.internal.v0.models.experiment_milestone_upserted'](); };
|
|
29284
|
-
export var makeExperimentReference = function () { return factories['io.flow.internal.v0.models.experiment_reference'](); };
|
|
29285
|
-
export var makeExperimentResults = function () { return factories['io.flow.internal.v0.models.experiment_results'](); };
|
|
29286
|
-
export var makeExperimentResultsDeleted = function () { return factories['io.flow.internal.v0.models.experiment_results_deleted'](); };
|
|
29287
|
-
export var makeExperimentResultsUpserted = function () { return factories['io.flow.internal.v0.models.experiment_results_upserted'](); };
|
|
29288
|
-
export var makeExperimentResultsWithTimestamp = function () { return factories['io.flow.internal.v0.models.experiment_results_with_timestamp'](); };
|
|
29289
|
-
export var makeExperimentSessionQueryForm = function () { return factories['io.flow.internal.v0.models.experiment_session_query_form'](); };
|
|
29290
|
-
export var makeExperimentUpserted = function () { return factories['io.flow.internal.v0.models.experiment_upserted'](); };
|
|
29291
|
-
export var makeExperimentVersion = function () { return factories['io.flow.internal.v0.models.experiment_version'](); };
|
|
29292
29414
|
export var makeExplicitStatement = function () { return factories['io.flow.internal.v0.models.explicit_statement'](); };
|
|
29293
29415
|
export var makeExplicitStatementForm = function () { return factories['io.flow.internal.v0.unions.explicit_statement_form'](); };
|
|
29294
29416
|
export var makeExplicitStatementFormAllPendingPostedTransactions = function () { return factories['io.flow.internal.v0.models.explicit_statement_form_all_pending_posted_transactions'](); };
|
|
@@ -29311,7 +29433,6 @@ export var makeFeature = function () { return factories['io.flow.internal.v0.mod
|
|
|
29311
29433
|
export var makeFeatureContextForm = function () { return factories['io.flow.internal.v0.models.feature_context_form'](); };
|
|
29312
29434
|
export var makeFeatureDefaultValue = function () { return factories['io.flow.internal.v0.unions.feature_default_value'](); };
|
|
29313
29435
|
export var makeFeatureDeleted = function () { return factories['io.flow.internal.v0.models.feature_deleted'](); };
|
|
29314
|
-
export var makeFeatureExperiment = function () { return factories['io.flow.internal.v0.models.feature_experiment'](); };
|
|
29315
29436
|
export var makeFeatureForm = function () { return factories['io.flow.internal.v0.models.feature_form'](); };
|
|
29316
29437
|
export var makeFeatureGeoForm = function () { return factories['io.flow.internal.v0.models.feature_geo_form'](); };
|
|
29317
29438
|
export var makeFeatureIdReference = function () { return factories['io.flow.internal.v0.models.feature_id_reference'](); };
|
|
@@ -29329,11 +29450,7 @@ export var makeFeatureType = function () { return factories['io.flow.internal.v0
|
|
|
29329
29450
|
export var makeFeatureUpserted = function () { return factories['io.flow.internal.v0.models.feature_upserted'](); };
|
|
29330
29451
|
export var makeFeatureValue = function () { return factories['io.flow.internal.v0.unions.feature_value'](); };
|
|
29331
29452
|
export var makeFeatureValueForm = function () { return factories['io.flow.internal.v0.models.feature_value_form'](); };
|
|
29332
|
-
export var makeFeatureValueReference = function () { return factories['io.flow.internal.v0.models.feature_value_reference'](); };
|
|
29333
29453
|
export var makeFeatureValueResult = function () { return factories['io.flow.internal.v0.models.feature_value_result'](); };
|
|
29334
|
-
export var makeFeatureVariant = function () { return factories['io.flow.internal.v0.models.feature_variant'](); };
|
|
29335
|
-
export var makeFeatureVariantForm = function () { return factories['io.flow.internal.v0.models.feature_variant_form'](); };
|
|
29336
|
-
export var makeFeatureVariantSummary = function () { return factories['io.flow.internal.v0.models.feature_variant_summary'](); };
|
|
29337
29454
|
export var makeFedex = function () { return factories['io.flow.internal.v0.models.fedex'](); };
|
|
29338
29455
|
export var makeFedexCrossborder = function () { return factories['io.flow.internal.v0.models.fedex_crossborder'](); };
|
|
29339
29456
|
export var makeFee = function () { return factories['io.flow.internal.v0.models.fee'](); };
|
|
@@ -29368,9 +29485,12 @@ export var makeFlowLabProjectPutForm = function () { return factories['io.flow.i
|
|
|
29368
29485
|
export var makeFlowLabelSetting = function () { return factories['io.flow.internal.v0.models.flow_label_setting'](); };
|
|
29369
29486
|
export var makeFlowLabelSettingForm = function () { return factories['io.flow.internal.v0.models.flow_label_setting_form'](); };
|
|
29370
29487
|
export var makeFlowShopValidationError = function () { return factories['io.flow.internal.v0.models.flow_shop_validation_error'](); };
|
|
29371
|
-
export var makeForceTransitForm = function () { return factories['io.flow.internal.v0.models.force_transit_form'](); };
|
|
29372
29488
|
export var makeFormat = function () { return factories['io.flow.internal.v0.enums.format'](); };
|
|
29489
|
+
export var makeFraudAuthorizationSummary = function () { return factories['io.flow.internal.v0.models.fraud_authorization_summary'](); };
|
|
29373
29490
|
export var makeFraudPendingReview = function () { return factories['io.flow.internal.v0.models.fraud_pending_review'](); };
|
|
29491
|
+
export var makeFraudPendingReviewAuthorization = function () { return factories['io.flow.internal.v0.models.fraud_pending_review_authorization'](); };
|
|
29492
|
+
export var makeFraudPendingReviewAuthorizationDeleted = function () { return factories['io.flow.internal.v0.models.fraud_pending_review_authorization_deleted'](); };
|
|
29493
|
+
export var makeFraudPendingReviewAuthorizationUpserted = function () { return factories['io.flow.internal.v0.models.fraud_pending_review_authorization_upserted'](); };
|
|
29374
29494
|
export var makeFraudPendingReviewDeleted = function () { return factories['io.flow.internal.v0.models.fraud_pending_review_deleted'](); };
|
|
29375
29495
|
export var makeFraudPendingReviewDetail = function () { return factories['io.flow.internal.v0.models.fraud_pending_review_detail'](); };
|
|
29376
29496
|
export var makeFraudPendingReviewUpserted = function () { return factories['io.flow.internal.v0.models.fraud_pending_review_upserted'](); };
|
|
@@ -29383,6 +29503,12 @@ export var makeFraudProviderConfigurationRiskified = function () { return factor
|
|
|
29383
29503
|
export var makeFraudProviderConfigurationUpserted = function () { return factories['io.flow.internal.v0.models.fraud_provider_configuration_upserted'](); };
|
|
29384
29504
|
export var makeFraudProviderStatus = function () { return factories['io.flow.internal.v0.enums.fraud_provider_status'](); };
|
|
29385
29505
|
export var makeFraudReview = function () { return factories['io.flow.internal.v0.models.fraud_review'](); };
|
|
29506
|
+
export var makeFraudReviewAuthorization = function () { return factories['io.flow.internal.v0.models.fraud_review_authorization'](); };
|
|
29507
|
+
export var makeFraudReviewAuthorizationDecision = function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_decision'](); };
|
|
29508
|
+
export var makeFraudReviewAuthorizationDecisionDeleted = function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_decision_deleted'](); };
|
|
29509
|
+
export var makeFraudReviewAuthorizationDecisionUpserted = function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_decision_upserted'](); };
|
|
29510
|
+
export var makeFraudReviewAuthorizationDeleted = function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_deleted'](); };
|
|
29511
|
+
export var makeFraudReviewAuthorizationUpserted = function () { return factories['io.flow.internal.v0.models.fraud_review_authorization_upserted'](); };
|
|
29386
29512
|
export var makeFraudReviewDecision = function () { return factories['io.flow.internal.v0.models.fraud_review_decision'](); };
|
|
29387
29513
|
export var makeFraudReviewDecisionDeleted = function () { return factories['io.flow.internal.v0.models.fraud_review_decision_deleted'](); };
|
|
29388
29514
|
export var makeFraudReviewDecisionForm = function () { return factories['io.flow.internal.v0.models.fraud_review_decision_form'](); };
|
|
@@ -29450,10 +29576,16 @@ export var makeGoogleLinker = function () { return factories['io.flow.internal.v
|
|
|
29450
29576
|
export var makeGoogleShoppingAccountParameters = function () { return factories['io.flow.internal.v0.models.google_shopping_account_parameters'](); };
|
|
29451
29577
|
export var makeGoogleShoppingSetting = function () { return factories['io.flow.internal.v0.models.google_shopping_setting'](); };
|
|
29452
29578
|
export var makeGoogleTagManager = function () { return factories['io.flow.internal.v0.models.google_tag_manager'](); };
|
|
29579
|
+
export var makeHarinathItem = function () { return factories['io.flow.internal.v0.models.harinath_item'](); };
|
|
29580
|
+
export var makeHarinathItemDeleted = function () { return factories['io.flow.internal.v0.models.harinath_item_deleted'](); };
|
|
29581
|
+
export var makeHarinathItemForm = function () { return factories['io.flow.internal.v0.models.harinath_item_form'](); };
|
|
29582
|
+
export var makeHarinathItemType = function () { return factories['io.flow.internal.v0.enums.harinath_item_type'](); };
|
|
29583
|
+
export var makeHarinathItemUpserted = function () { return factories['io.flow.internal.v0.models.harinath_item_upserted'](); };
|
|
29453
29584
|
export var makeHarmonizationClassificationStatisticsData = function () { return factories['io.flow.internal.v0.models.harmonization_classification_statistics_data'](); };
|
|
29454
29585
|
export var makeHarmonizationClassificationStatisticsPublished = function () { return factories['io.flow.internal.v0.models.harmonization_classification_statistics_published'](); };
|
|
29455
29586
|
export var makeHarmonizationCodesImport = function () { return factories['io.flow.internal.v0.models.harmonization_codes_import'](); };
|
|
29456
29587
|
export var makeHarmonizationColumnSetting = function () { return factories['io.flow.internal.v0.models.harmonization_column_setting'](); };
|
|
29588
|
+
export var makeHarmonizationDecisionSource = function () { return factories['io.flow.internal.v0.enums.harmonization_decision_source'](); };
|
|
29457
29589
|
export var makeHarmonizationItemClassification = function () { return factories['io.flow.internal.v0.models.harmonization_item_classification'](); };
|
|
29458
29590
|
export var makeHarmonizationItemClassificationDeleted = function () { return factories['io.flow.internal.v0.models.harmonization_item_classification_deleted'](); };
|
|
29459
29591
|
export var makeHarmonizationItemClassificationUpserted = function () { return factories['io.flow.internal.v0.models.harmonization_item_classification_upserted'](); };
|
|
@@ -29557,6 +29689,11 @@ export var makeKeyReference = function () { return factories['io.flow.internal.v
|
|
|
29557
29689
|
export var makeKeywordType = function () { return factories['io.flow.internal.v0.enums.keyword_type'](); };
|
|
29558
29690
|
export var makeKlarnaAuthorizationParameters = function () { return factories['io.flow.internal.v0.models.klarna_authorization_parameters'](); };
|
|
29559
29691
|
export var makeKlarnaPaymentMethodCategory = function () { return factories['io.flow.internal.v0.models.klarna_payment_method_category'](); };
|
|
29692
|
+
export var makeKonstantinItem = function () { return factories['io.flow.internal.v0.models.konstantin_item'](); };
|
|
29693
|
+
export var makeKonstantinItemDeleted = function () { return factories['io.flow.internal.v0.models.konstantin_item_deleted'](); };
|
|
29694
|
+
export var makeKonstantinItemForm = function () { return factories['io.flow.internal.v0.models.konstantin_item_form'](); };
|
|
29695
|
+
export var makeKonstantinItemType = function () { return factories['io.flow.internal.v0.enums.konstantin_item_type'](); };
|
|
29696
|
+
export var makeKonstantinItemUpserted = function () { return factories['io.flow.internal.v0.models.konstantin_item_upserted'](); };
|
|
29560
29697
|
export var makeLabProjectSettings = function () { return factories['io.flow.internal.v0.models.lab_project_settings'](); };
|
|
29561
29698
|
export var makeLabProjectSettingsForm = function () { return factories['io.flow.internal.v0.models.lab_project_settings_form'](); };
|
|
29562
29699
|
export var makeLabProjectSettingsFormAcceptance = function () { return factories['io.flow.internal.v0.models.lab_project_settings_form_acceptance'](); };
|
|
@@ -29633,6 +29770,9 @@ export var makeLocation = function () { return factories['io.flow.internal.v0.mo
|
|
|
29633
29770
|
export var makeLogisticsCapabilities = function () { return factories['io.flow.internal.v0.models.logistics_capabilities'](); };
|
|
29634
29771
|
export var makeLogisticsCapabilitiesForm = function () { return factories['io.flow.internal.v0.models.logistics_capabilities_form'](); };
|
|
29635
29772
|
export var makeLogisticsCapability = function () { return factories['io.flow.internal.v0.enums.logistics_capability'](); };
|
|
29773
|
+
export var makeLogisticsPayoutRequest = function () { return factories['io.flow.internal.v0.models.logistics_payout_request'](); };
|
|
29774
|
+
export var makeLogisticsPayoutRequestForm = function () { return factories['io.flow.internal.v0.models.logistics_payout_request_form'](); };
|
|
29775
|
+
export var makeLogisticsPayoutResolutionMethod = function () { return factories['io.flow.internal.v0.enums.logistics_payout_resolution_method'](); };
|
|
29636
29776
|
export var makeLogo = function () { return factories['io.flow.internal.v0.models.logo'](); };
|
|
29637
29777
|
export var makeLostChargeback = function () { return factories['io.flow.internal.v0.models.lost_chargeback'](); };
|
|
29638
29778
|
export var makeLoyaltyProgram = function () { return factories['io.flow.internal.v0.models.loyalty_program'](); };
|
|
@@ -29732,6 +29872,16 @@ export var makeMerchantUpserted = function () { return factories['io.flow.intern
|
|
|
29732
29872
|
export var makeMessageStamp = function () { return factories['io.flow.internal.v0.models.message_stamp'](); };
|
|
29733
29873
|
export var makeMetadataProposition = function () { return factories['io.flow.internal.v0.models.metadata_proposition'](); };
|
|
29734
29874
|
export var makeMetadataRatecard = function () { return factories['io.flow.internal.v0.models.metadata_ratecard'](); };
|
|
29875
|
+
export var makeMichaelyanItem = function () { return factories['io.flow.internal.v0.models.michaelyan_item'](); };
|
|
29876
|
+
export var makeMichaelyanItemDeleted = function () { return factories['io.flow.internal.v0.models.michaelyan_item_deleted'](); };
|
|
29877
|
+
export var makeMichaelyanItemForm = function () { return factories['io.flow.internal.v0.models.michaelyan_item_form'](); };
|
|
29878
|
+
export var makeMichaelyanItemType = function () { return factories['io.flow.internal.v0.enums.michaelyan_item_type'](); };
|
|
29879
|
+
export var makeMichaelyanItemUpserted = function () { return factories['io.flow.internal.v0.models.michaelyan_item_upserted'](); };
|
|
29880
|
+
export var makeMiljenkoItem = function () { return factories['io.flow.internal.v0.models.miljenko_item'](); };
|
|
29881
|
+
export var makeMiljenkoItemDeleted = function () { return factories['io.flow.internal.v0.models.miljenko_item_deleted'](); };
|
|
29882
|
+
export var makeMiljenkoItemForm = function () { return factories['io.flow.internal.v0.models.miljenko_item_form'](); };
|
|
29883
|
+
export var makeMiljenkoItemType = function () { return factories['io.flow.internal.v0.enums.miljenko_item_type'](); };
|
|
29884
|
+
export var makeMiljenkoItemUpserted = function () { return factories['io.flow.internal.v0.models.miljenko_item_upserted'](); };
|
|
29735
29885
|
export var makeMixedBagWeight = function () { return factories['io.flow.internal.v0.enums.mixed_bag_weight'](); };
|
|
29736
29886
|
export var makeNatureOfSale = function () { return factories['io.flow.internal.v0.enums.nature_of_sale'](); };
|
|
29737
29887
|
export var makeNextBillingStatement = function () { return factories['io.flow.internal.v0.models.next_billing_statement'](); };
|
|
@@ -29806,6 +29956,9 @@ export var makeOrderServiceChangeCsvForm = function () { return factories['io.fl
|
|
|
29806
29956
|
export var makeOrderShipped = function () { return factories['io.flow.internal.v0.models.order_shipped'](); };
|
|
29807
29957
|
export var makeOrderSubmissionForm = function () { return factories['io.flow.internal.v0.models.order_submission_form'](); };
|
|
29808
29958
|
export var makeOrderSummary = function () { return factories['io.flow.internal.v0.models.order_summary'](); };
|
|
29959
|
+
export var makeOrderTaxAndDutyInclusivitySetting = function () { return factories['io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting'](); };
|
|
29960
|
+
export var makeOrderTaxAndDutyInclusivitySettingDeleted = function () { return factories['io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting_deleted'](); };
|
|
29961
|
+
export var makeOrderTaxAndDutyInclusivitySettingUpserted = function () { return factories['io.flow.internal.v0.models.order_tax_and_duty_inclusivity_setting_upserted'](); };
|
|
29809
29962
|
export var makeOrderTransaction = function () { return factories['io.flow.internal.v0.models.order_transaction'](); };
|
|
29810
29963
|
export var makeOrderTransactionDeleted = function () { return factories['io.flow.internal.v0.models.order_transaction_deleted'](); };
|
|
29811
29964
|
export var makeOrderTransactionType = function () { return factories['io.flow.internal.v0.enums.order_transaction_type'](); };
|
|
@@ -29845,6 +29998,9 @@ export var makeOrganizationDebugTransaction = function () { return factories['io
|
|
|
29845
29998
|
export var makeOrganizationInvitationAcceptForm = function () { return factories['io.flow.internal.v0.models.organization_invitation_accept_form'](); };
|
|
29846
29999
|
export var makeOrganizationMembershipCopy = function () { return factories['io.flow.internal.v0.models.organization_membership_copy'](); };
|
|
29847
30000
|
export var makeOrganizationMembershipCopyForm = function () { return factories['io.flow.internal.v0.models.organization_membership_copy_form'](); };
|
|
30001
|
+
export var makeOrganizationMetadata = function () { return factories['io.flow.internal.v0.models.organization_metadata'](); };
|
|
30002
|
+
export var makeOrganizationMetadataDeleted = function () { return factories['io.flow.internal.v0.models.organization_metadata_deleted'](); };
|
|
30003
|
+
export var makeOrganizationMetadataUpserted = function () { return factories['io.flow.internal.v0.models.organization_metadata_upserted'](); };
|
|
29848
30004
|
export var makeOrganizationMetricType = function () { return factories['io.flow.internal.v0.enums.organization_metric_type'](); };
|
|
29849
30005
|
export var makeOrganizationOnboardingStateAdjustmentResult = function () { return factories['io.flow.internal.v0.models.organization_onboarding_state_adjustment_result'](); };
|
|
29850
30006
|
export var makeOrganizationOnboardingStateAuditResult = function () { return factories['io.flow.internal.v0.models.organization_onboarding_state_audit_result'](); };
|
|
@@ -29874,6 +30030,26 @@ export var makeOrganizationStatusChange = function () { return factories['io.flo
|
|
|
29874
30030
|
export var makeOrganizationStatusChangeDeleted = function () { return factories['io.flow.internal.v0.models.organization_status_change_deleted'](); };
|
|
29875
30031
|
export var makeOrganizationStatusChangeUpserted = function () { return factories['io.flow.internal.v0.models.organization_status_change_upserted'](); };
|
|
29876
30032
|
export var makeOrganizationsAuditCheckReport = function () { return factories['io.flow.internal.v0.models.organizations_audit_check_report'](); };
|
|
30033
|
+
export var makeOtherRecord = function () { return factories['io.flow.internal.v0.models.other_record'](); };
|
|
30034
|
+
export var makeOtherRecordAccount = function () { return factories['io.flow.internal.v0.models.other_record_account'](); };
|
|
30035
|
+
export var makeOtherRecordAccountSourceSummary = function () { return factories['io.flow.internal.v0.models.other_record_account_source_summary'](); };
|
|
30036
|
+
export var makeOtherRecordDeleted = function () { return factories['io.flow.internal.v0.models.other_record_deleted'](); };
|
|
30037
|
+
export var makeOtherRecordDiscount = function () { return factories['io.flow.internal.v0.models.other_record_discount'](); };
|
|
30038
|
+
export var makeOtherRecordFees = function () { return factories['io.flow.internal.v0.models.other_record_fees'](); };
|
|
30039
|
+
export var makeOtherRecordIdentifiers = function () { return factories['io.flow.internal.v0.models.other_record_identifiers'](); };
|
|
30040
|
+
export var makeOtherRecordMerchantReference = function () { return factories['io.flow.internal.v0.models.other_record_merchant_reference'](); };
|
|
30041
|
+
export var makeOtherRecordMetadata = function () { return factories['io.flow.internal.v0.models.other_record_metadata'](); };
|
|
30042
|
+
export var makeOtherRecordMetadataCarrierCharge = function () { return factories['io.flow.internal.v0.models.other_record_metadata_carrier_charge'](); };
|
|
30043
|
+
export var makeOtherRecordMetadataChannel = function () { return factories['io.flow.internal.v0.models.other_record_metadata_channel'](); };
|
|
30044
|
+
export var makeOtherRecordMetadataFailedPayout = function () { return factories['io.flow.internal.v0.models.other_record_metadata_failed_payout'](); };
|
|
30045
|
+
export var makeOtherRecordMetadataManual = function () { return factories['io.flow.internal.v0.models.other_record_metadata_manual'](); };
|
|
30046
|
+
export var makeOtherRecordMetadataShippingLabel = function () { return factories['io.flow.internal.v0.models.other_record_metadata_shipping_label'](); };
|
|
30047
|
+
export var makeOtherRecordMetadataShippingLabelRevenueShare = function () { return factories['io.flow.internal.v0.models.other_record_metadata_shipping_label_revenue_share'](); };
|
|
30048
|
+
export var makeOtherRecordMetadataTrueup = function () { return factories['io.flow.internal.v0.models.other_record_metadata_trueup'](); };
|
|
30049
|
+
export var makeOtherRecordOrderSummary = function () { return factories['io.flow.internal.v0.models.other_record_order_summary'](); };
|
|
30050
|
+
export var makeOtherRecordOrderSummaryIdentifiers = function () { return factories['io.flow.internal.v0.models.other_record_order_summary_identifiers'](); };
|
|
30051
|
+
export var makeOtherRecordUpserted = function () { return factories['io.flow.internal.v0.models.other_record_upserted'](); };
|
|
30052
|
+
export var makeOtherRecordWithholdings = function () { return factories['io.flow.internal.v0.models.other_record_withholdings'](); };
|
|
29877
30053
|
export var makeOutputStyle = function () { return factories['io.flow.internal.v0.enums.output_style'](); };
|
|
29878
30054
|
export var makeOwner = function () { return factories['io.flow.internal.v0.enums.owner'](); };
|
|
29879
30055
|
export var makePartner = function () { return factories['io.flow.internal.v0.models.partner'](); };
|
|
@@ -29903,6 +30079,7 @@ export var makePaymentProcessorAccountUpserted = function () { return factories[
|
|
|
29903
30079
|
export var makePaymentProcessorMerchantDeleted = function () { return factories['io.flow.internal.v0.models.payment_processor_merchant_deleted'](); };
|
|
29904
30080
|
export var makePaymentProcessorMerchantUpserted = function () { return factories['io.flow.internal.v0.models.payment_processor_merchant_upserted'](); };
|
|
29905
30081
|
export var makePaymentRedirect = function () { return factories['io.flow.internal.v0.unions.payment_redirect'](); };
|
|
30082
|
+
export var makePaymentSummary = function () { return factories['io.flow.internal.v0.models.payment_summary'](); };
|
|
29906
30083
|
export var makePaymentSummaryDetails = function () { return factories['io.flow.internal.v0.unions.payment_summary_details'](); };
|
|
29907
30084
|
export var makePaymentSummaryStatus = function () { return factories['io.flow.internal.v0.enums.payment_summary_status'](); };
|
|
29908
30085
|
export var makePaymentSummaryType = function () { return factories['io.flow.internal.v0.enums.payment_summary_type'](); };
|
|
@@ -30104,8 +30281,6 @@ export var makeReportingMonetaryValue = function () { return factories['io.flow.
|
|
|
30104
30281
|
export var makeReportingOrderSummary = function () { return factories['io.flow.internal.v0.models.reporting_order_summary'](); };
|
|
30105
30282
|
export var makeReportingOrganizationSummary = function () { return factories['io.flow.internal.v0.models.reporting_organization_summary'](); };
|
|
30106
30283
|
export var makeReportingPayment = function () { return factories['io.flow.internal.v0.models.reporting_payment'](); };
|
|
30107
|
-
export var makeReportingPaymentMetadata = function () { return factories['io.flow.internal.v0.models.reporting_payment_metadata'](); };
|
|
30108
|
-
export var makeReportingPaymentMetadataAdditionalAuthorizations = function () { return factories['io.flow.internal.v0.models.reporting_payment_metadata_additional_authorizations'](); };
|
|
30109
30284
|
export var makeReportingProvince = function () { return factories['io.flow.internal.v0.models.reporting_province'](); };
|
|
30110
30285
|
export var makeReportingReconciliation = function () { return factories['io.flow.internal.v0.models.reporting_reconciliation'](); };
|
|
30111
30286
|
export var makeReportingRefundReference = function () { return factories['io.flow.internal.v0.models.reporting_refund_reference'](); };
|
|
@@ -30117,6 +30292,7 @@ export var makeReportingVatRemittance = function () { return factories['io.flow.
|
|
|
30117
30292
|
export var makeReportingVatRemittanceRate = function () { return factories['io.flow.internal.v0.models.reporting_vat_remittance_rate'](); };
|
|
30118
30293
|
export var makeReportingVendor = function () { return factories['io.flow.internal.v0.models.reporting_vendor'](); };
|
|
30119
30294
|
export var makeRequeueRequestForm = function () { return factories['io.flow.internal.v0.models.requeue_request_form'](); };
|
|
30295
|
+
export var makeRescreenRestrictionsProducts = function () { return factories['io.flow.internal.v0.models.rescreen_restrictions_products'](); };
|
|
30120
30296
|
export var makeResponsibleParty = function () { return factories['io.flow.internal.v0.enums.responsible_party'](); };
|
|
30121
30297
|
export var makeRestrictionAction = function () { return factories['io.flow.internal.v0.enums.restriction_action'](); };
|
|
30122
30298
|
export var makeRestrictionCategory = function () { return factories['io.flow.internal.v0.models.restriction_category'](); };
|
|
@@ -30177,7 +30353,6 @@ export var makeSalesRecordUpserted = function () { return factories['io.flow.int
|
|
|
30177
30353
|
export var makeSandboxSetup = function () { return factories['io.flow.internal.v0.models.sandbox_setup'](); };
|
|
30178
30354
|
export var makeSandboxSetupForm = function () { return factories['io.flow.internal.v0.models.sandbox_setup_form'](); };
|
|
30179
30355
|
export var makeScheduledPayment = function () { return factories['io.flow.internal.v0.models.scheduled_payment'](); };
|
|
30180
|
-
export var makeScope = function () { return factories['io.flow.internal.v0.enums.scope'](); };
|
|
30181
30356
|
export var makeScreen = function () { return factories['io.flow.internal.v0.models.screen'](); };
|
|
30182
30357
|
export var makeScreenForm = function () { return factories['io.flow.internal.v0.models.screen_form'](); };
|
|
30183
30358
|
export var makeScreeningStatusChange = function () { return factories['io.flow.internal.v0.models.screening_status_change'](); };
|
|
@@ -30323,7 +30498,6 @@ export var makeShrutiDemoItemDeleted = function () { return factories['io.flow.i
|
|
|
30323
30498
|
export var makeShrutiDemoItemForm = function () { return factories['io.flow.internal.v0.models.shruti_demo_item_form'](); };
|
|
30324
30499
|
export var makeShrutiDemoItemUpserted = function () { return factories['io.flow.internal.v0.models.shruti_demo_item_upserted'](); };
|
|
30325
30500
|
export var makeShrutiDemoType = function () { return factories['io.flow.internal.v0.enums.shruti_demo_type'](); };
|
|
30326
|
-
export var makeSignificanceAction = function () { return factories['io.flow.internal.v0.enums.significance_action'](); };
|
|
30327
30501
|
export var makeSimpleAccountReference = function () { return factories['io.flow.internal.v0.models.simple_account_reference'](); };
|
|
30328
30502
|
export var makeSimpleRoundingStrategy = function () { return factories['io.flow.internal.v0.enums.simple_rounding_strategy'](); };
|
|
30329
30503
|
export var makeSimplifiedClassificationTaxonomy = function () { return factories['io.flow.internal.v0.unions.simplified_classification_taxonomy'](); };
|
|
@@ -30353,7 +30527,6 @@ export var makeStatementCreationMetadata = function () { return factories['io.fl
|
|
|
30353
30527
|
export var makeStatementStatus = function () { return factories['io.flow.internal.v0.enums.statement_status'](); };
|
|
30354
30528
|
export var makeStatementTransferTransactionLocation = function () { return factories['io.flow.internal.v0.enums.statement_transfer_transaction_location'](); };
|
|
30355
30529
|
export var makeStatisticType = function () { return factories['io.flow.internal.v0.enums.statistic_type'](); };
|
|
30356
|
-
export var makeStatus = function () { return factories['io.flow.internal.v0.enums.status'](); };
|
|
30357
30530
|
export var makeStoreConnection = function () { return factories['io.flow.internal.v0.models.store_connection'](); };
|
|
30358
30531
|
export var makeStoreConnectionForm = function () { return factories['io.flow.internal.v0.models.store_connection_form'](); };
|
|
30359
30532
|
export var makeStringFeatureDefaultValue = function () { return factories['io.flow.internal.v0.models.string_feature_default_value'](); };
|
|
@@ -30416,6 +30589,7 @@ export var makeTaskProcessQueuedEvent = function () { return factories['io.flow.
|
|
|
30416
30589
|
export var makeTaskProcessorKey = function () { return factories['io.flow.internal.v0.enums.task_processor_key'](); };
|
|
30417
30590
|
export var makeTaskSummarizeCode = function () { return factories['io.flow.internal.v0.models.task_summarize_code'](); };
|
|
30418
30591
|
export var makeTaxAmount = function () { return factories['io.flow.internal.v0.unions.tax_amount'](); };
|
|
30592
|
+
export var makeTaxAndDutyInclusivitySetting = function () { return factories['io.flow.internal.v0.enums.tax_and_duty_inclusivity_setting'](); };
|
|
30419
30593
|
export var makeTaxCalculation = function () { return factories['io.flow.internal.v0.models.tax_calculation'](); };
|
|
30420
30594
|
export var makeTaxCalculationError = function () { return factories['io.flow.internal.v0.models.tax_calculation_error'](); };
|
|
30421
30595
|
export var makeTaxCalculationErrorCode = function () { return factories['io.flow.internal.v0.enums.tax_calculation_error_code'](); };
|
|
@@ -30435,6 +30609,9 @@ export var makeTaxonomyNode = function () { return factories['io.flow.internal.v
|
|
|
30435
30609
|
export var makeTechOnboardingDescription = function () { return factories['io.flow.internal.v0.models.tech_onboarding_description'](); };
|
|
30436
30610
|
export var makeTest = function () { return factories['io.flow.internal.v0.models.test'](); };
|
|
30437
30611
|
export var makeTestForm = function () { return factories['io.flow.internal.v0.models.test_form'](); };
|
|
30612
|
+
export var makeThiagoItem = function () { return factories['io.flow.internal.v0.models.thiago_item'](); };
|
|
30613
|
+
export var makeThiagoItemForm = function () { return factories['io.flow.internal.v0.models.thiago_item_form'](); };
|
|
30614
|
+
export var makeThiagoItemType = function () { return factories['io.flow.internal.v0.enums.thiago_item_type'](); };
|
|
30438
30615
|
export var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.internal.v0.models.third_party_logistics_partner'](); };
|
|
30439
30616
|
export var makeThirdPartyLogisticsPickUpTimeWindow = function () { return factories['io.flow.internal.v0.models.third_party_logistics_pick_up_time_window'](); };
|
|
30440
30617
|
export var makeTieredFee = function () { return factories['io.flow.internal.v0.models.tiered_fee'](); };
|
|
@@ -30446,8 +30623,11 @@ export var makeTimeToClassifyAggregatedUpserted = function () { return factories
|
|
|
30446
30623
|
export var makeTimeToClassifyDeleted = function () { return factories['io.flow.internal.v0.models.time_to_classify_deleted'](); };
|
|
30447
30624
|
export var makeTimeToClassifyUpserted = function () { return factories['io.flow.internal.v0.models.time_to_classify_upserted'](); };
|
|
30448
30625
|
export var makeTimeWithTimezone = function () { return factories['io.flow.internal.v0.models.time_with_timezone'](); };
|
|
30449
|
-
export var makeTimeseriesType = function () { return factories['io.flow.internal.v0.enums.timeseries_type'](); };
|
|
30450
30626
|
export var makeTracker = function () { return factories['io.flow.internal.v0.unions.tracker'](); };
|
|
30627
|
+
export var makeTrackingAssuranceAnalysis = function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis'](); };
|
|
30628
|
+
export var makeTrackingAssuranceAnalysisDeleted = function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted'](); };
|
|
30629
|
+
export var makeTrackingAssuranceAnalysisUpserted = function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_upserted'](); };
|
|
30630
|
+
export var makeTrackingDebugForceTransitForm = function () { return factories['io.flow.internal.v0.models.tracking_debug_force_transit_form'](); };
|
|
30451
30631
|
export var makeTrackingDebugLabel = function () { return factories['io.flow.internal.v0.models.tracking_debug_label'](); };
|
|
30452
30632
|
export var makeTrackingDebugLabelEvent = function () { return factories['io.flow.internal.v0.models.tracking_debug_label_event'](); };
|
|
30453
30633
|
export var makeTrackingDebugLabelLocation = function () { return factories['io.flow.internal.v0.models.tracking_debug_label_location'](); };
|
|
@@ -30510,8 +30690,6 @@ export var makeUserUpsertedV2 = function () { return factories['io.flow.internal
|
|
|
30510
30690
|
export var makeV1Checkout = function () { return factories['io.flow.internal.v0.models.v1_checkout'](); };
|
|
30511
30691
|
export var makeValidationCharacterLength = function () { return factories['io.flow.internal.v0.models.validation_character_length'](); };
|
|
30512
30692
|
export var makeValidationRule = function () { return factories['io.flow.internal.v0.unions.validation_rule'](); };
|
|
30513
|
-
export var makeVariant = function () { return factories['io.flow.internal.v0.unions.variant'](); };
|
|
30514
|
-
export var makeVariantForm = function () { return factories['io.flow.internal.v0.unions.variant_form'](); };
|
|
30515
30693
|
export var makeViesResult = function () { return factories['io.flow.internal.v0.models.vies_result'](); };
|
|
30516
30694
|
export var makeVirtualCardTransaction = function () { return factories['io.flow.internal.v0.models.virtual_card_transaction'](); };
|
|
30517
30695
|
export var makeWasteElectricalAndElectronicEquipmentComplianceData = function () { return factories['io.flow.internal.v0.models.waste_electrical_and_electronic_equipment_compliance_data'](); };
|