@flowio/api-internal-factories 0.0.111 → 0.0.113
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 +254 -38
- package/dist/esm/api-internal.js +199 -0
- package/dist/types/api-internal.d.ts +17 -0
- package/package.json +2 -2
- package/src/api-internal.ts +217 -0
package/src/api-internal.ts
CHANGED
|
@@ -1947,6 +1947,7 @@ const factories = {
|
|
|
1947
1947
|
},
|
|
1948
1948
|
|
|
1949
1949
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_error_action': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceErrorAction => faker.helpers.arrayElement(['auto_reject', 'auto_accept']),
|
|
1950
|
+
'io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode => faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']),
|
|
1950
1951
|
|
|
1951
1952
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom => faker.helpers.arrayElement([
|
|
1952
1953
|
'cx_team',
|
|
@@ -2033,6 +2034,15 @@ const factories = {
|
|
|
2033
2034
|
external_order: factories.object(),
|
|
2034
2035
|
}),
|
|
2035
2036
|
|
|
2037
|
+
'io.flow.channel.internal.v0.models.channel_order_acceptance_failure': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceFailure => ({
|
|
2038
|
+
id: factories.string(),
|
|
2039
|
+
organization_id: factories.string(),
|
|
2040
|
+
channel_id: factories.string(),
|
|
2041
|
+
payment_request_id: factories.string(),
|
|
2042
|
+
code: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code'](),
|
|
2043
|
+
reason: factories.string(),
|
|
2044
|
+
}),
|
|
2045
|
+
|
|
2036
2046
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_form': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceForm => ({
|
|
2037
2047
|
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
2038
2048
|
}),
|
|
@@ -7279,6 +7289,7 @@ const factories = {
|
|
|
7279
7289
|
|
|
7280
7290
|
'io.flow.internal.v0.enums.channel_billed_transaction_type': (): io.flow.internal.v0.enums.ChannelBilledTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'channel_initiated']),
|
|
7281
7291
|
'io.flow.internal.v0.enums.channel_order_acceptance_error_action': (): io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction => faker.helpers.arrayElement(['auto_reject', 'auto_accept']),
|
|
7292
|
+
'io.flow.internal.v0.enums.channel_order_acceptance_failure_reason_code': (): io.flow.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode => faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']),
|
|
7282
7293
|
|
|
7283
7294
|
'io.flow.internal.v0.enums.channel_order_acceptance_next_action_from': (): io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom => faker.helpers.arrayElement([
|
|
7284
7295
|
'cx_team',
|
|
@@ -7435,6 +7446,8 @@ const factories = {
|
|
|
7435
7446
|
'adyen_capture_upserted',
|
|
7436
7447
|
'adyen_refund_deleted',
|
|
7437
7448
|
'adyen_refund_upserted',
|
|
7449
|
+
'adyen_dispute_upserted',
|
|
7450
|
+
'adyen_dispute_deleted',
|
|
7438
7451
|
'index_assignment_upserted',
|
|
7439
7452
|
'index_assignment_deleted',
|
|
7440
7453
|
'fulfillment_upserted',
|
|
@@ -7508,6 +7521,7 @@ const factories = {
|
|
|
7508
7521
|
'catalog_settings_deleted',
|
|
7509
7522
|
'channel_order_acceptance_upserted',
|
|
7510
7523
|
'channel_order_acceptance_deleted',
|
|
7524
|
+
'channel_order_acceptance_failed',
|
|
7511
7525
|
'checkout_configuration_upserted',
|
|
7512
7526
|
'checkout_configuration_deleted',
|
|
7513
7527
|
'commercial_invoice_internal_upserted',
|
|
@@ -7763,6 +7777,8 @@ const factories = {
|
|
|
7763
7777
|
'stripe_capture_upserted',
|
|
7764
7778
|
'stripe_refund_deleted',
|
|
7765
7779
|
'stripe_refund_upserted',
|
|
7780
|
+
'stripe_dispute_upserted',
|
|
7781
|
+
'stripe_dispute_deleted',
|
|
7766
7782
|
'liability_remittance_plan_upserted',
|
|
7767
7783
|
'liability_remittance_plan_deleted',
|
|
7768
7784
|
'svitlana_item_upserted',
|
|
@@ -8173,6 +8189,8 @@ const factories = {
|
|
|
8173
8189
|
'account_quarterly_balances',
|
|
8174
8190
|
'invariants',
|
|
8175
8191
|
'payments',
|
|
8192
|
+
'reconcile_not_recorded',
|
|
8193
|
+
'products_record',
|
|
8176
8194
|
]),
|
|
8177
8195
|
|
|
8178
8196
|
'io.flow.internal.v0.enums.reporting_fulfillment_is_virtual': (): io.flow.internal.v0.enums.ReportingFulfillmentIsVirtual => faker.helpers.arrayElement(['all', 'mixed', 'none']),
|
|
@@ -8755,6 +8773,20 @@ const factories = {
|
|
|
8755
8773
|
capture: factories['io.flow.internal.v0.models.adyen_internal_capture'](),
|
|
8756
8774
|
}),
|
|
8757
8775
|
|
|
8776
|
+
'io.flow.internal.v0.models.adyen_dispute_deleted': (): io.flow.internal.v0.models.AdyenDisputeDeleted => ({
|
|
8777
|
+
discriminator: 'adyen_dispute_deleted',
|
|
8778
|
+
event_id: factories.string(),
|
|
8779
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8780
|
+
id: factories.string(),
|
|
8781
|
+
}),
|
|
8782
|
+
|
|
8783
|
+
'io.flow.internal.v0.models.adyen_dispute_upserted': (): io.flow.internal.v0.models.AdyenDisputeUpserted => ({
|
|
8784
|
+
discriminator: 'adyen_dispute_upserted',
|
|
8785
|
+
event_id: factories.string(),
|
|
8786
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8787
|
+
dispute: factories['io.flow.internal.v0.models.adyen_internal_dispute'](),
|
|
8788
|
+
}),
|
|
8789
|
+
|
|
8758
8790
|
'io.flow.internal.v0.models.adyen_internal_authorization': (): io.flow.internal.v0.models.AdyenInternalAuthorization => ({
|
|
8759
8791
|
id: factories.string(),
|
|
8760
8792
|
flow_authorization_id: factories.string(),
|
|
@@ -8796,6 +8828,32 @@ const factories = {
|
|
|
8796
8828
|
response: factories.string(),
|
|
8797
8829
|
}),
|
|
8798
8830
|
|
|
8831
|
+
'io.flow.internal.v0.models.adyen_internal_dispute': (): io.flow.internal.v0.models.AdyenInternalDispute => ({
|
|
8832
|
+
id: factories.string(),
|
|
8833
|
+
amount: factories.long(),
|
|
8834
|
+
currency: factories.string(),
|
|
8835
|
+
psp_reference: factories.string(),
|
|
8836
|
+
original_reference: factories.string(),
|
|
8837
|
+
event_code: factories.string(),
|
|
8838
|
+
event_date: factories.date_time_iso_8601(),
|
|
8839
|
+
chargeback_reason_code: factories.string(),
|
|
8840
|
+
modification_merchant_references: factories.string(),
|
|
8841
|
+
chargeback_scheme_code: factories.string(),
|
|
8842
|
+
defense_period_ends_at: factories.date_time_iso_8601(),
|
|
8843
|
+
dispute_status: factories.string(),
|
|
8844
|
+
defendable: factories.string(),
|
|
8845
|
+
merchant_account_code: factories.string(),
|
|
8846
|
+
operations: arrayOf(() => factories.string()),
|
|
8847
|
+
merchant_reference: factories.string(),
|
|
8848
|
+
payment_method: factories.string(),
|
|
8849
|
+
reason: factories.string(),
|
|
8850
|
+
success: factories.string(),
|
|
8851
|
+
livemode: factories.boolean(),
|
|
8852
|
+
updated_by_user_id: factories.string(),
|
|
8853
|
+
created_at: factories.date_time_iso_8601(),
|
|
8854
|
+
updated_at: factories.date_time_iso_8601(),
|
|
8855
|
+
}),
|
|
8856
|
+
|
|
8799
8857
|
'io.flow.internal.v0.models.adyen_internal_refund': (): io.flow.internal.v0.models.AdyenInternalRefund => ({
|
|
8800
8858
|
id: factories.string(),
|
|
8801
8859
|
flow_refund_id: factories.string(),
|
|
@@ -9725,6 +9783,11 @@ const factories = {
|
|
|
9725
9783
|
calculator_organization_settings: factories['io.flow.internal.v0.models.calculator_organization_settings'](),
|
|
9726
9784
|
}),
|
|
9727
9785
|
|
|
9786
|
+
'io.flow.internal.v0.models.call_record': (): io.flow.internal.v0.models.CallRecord => ({
|
|
9787
|
+
id: factories.string(),
|
|
9788
|
+
request_body: factories.json(),
|
|
9789
|
+
}),
|
|
9790
|
+
|
|
9728
9791
|
'io.flow.internal.v0.models.carrier_account': (): io.flow.internal.v0.models.CarrierAccount => ({
|
|
9729
9792
|
id: factories.string(),
|
|
9730
9793
|
carrier: factories['io.flow.fulfillment.v0.models.carrier_reference'](),
|
|
@@ -9981,6 +10044,7 @@ const factories = {
|
|
|
9981
10044
|
id: factories.string(),
|
|
9982
10045
|
packaging: arrayOf(() => factories['io.flow.fulfillment.v0.models.packaging']()),
|
|
9983
10046
|
shipping_address_contact: factories['io.flow.common.v0.models.contact'](),
|
|
10047
|
+
location_fallback: factories['io.flow.common.v0.models.address'](),
|
|
9984
10048
|
}),
|
|
9985
10049
|
|
|
9986
10050
|
'io.flow.internal.v0.models.center_defaults_deleted': (): io.flow.internal.v0.models.CenterDefaultsDeleted => ({
|
|
@@ -9994,6 +10058,7 @@ const factories = {
|
|
|
9994
10058
|
'io.flow.internal.v0.models.center_defaults_form': (): io.flow.internal.v0.models.CenterDefaultsForm => ({
|
|
9995
10059
|
packaging: arrayOf(() => factories['io.flow.fulfillment.v0.models.packaging']()),
|
|
9996
10060
|
shipping_address_contact: factories['io.flow.common.v0.models.contact'](),
|
|
10061
|
+
location_fallback: factories['io.flow.common.v0.models.address'](),
|
|
9997
10062
|
}),
|
|
9998
10063
|
|
|
9999
10064
|
'io.flow.internal.v0.models.center_defaults_upserted': (): io.flow.internal.v0.models.CenterDefaultsUpserted => ({
|
|
@@ -10227,6 +10292,24 @@ const factories = {
|
|
|
10227
10292
|
external_order: factories.object(),
|
|
10228
10293
|
}),
|
|
10229
10294
|
|
|
10295
|
+
'io.flow.internal.v0.models.channel_order_acceptance_failed': (): io.flow.internal.v0.models.ChannelOrderAcceptanceFailed => ({
|
|
10296
|
+
discriminator: 'channel_order_acceptance_failed',
|
|
10297
|
+
event_id: factories.string(),
|
|
10298
|
+
timestamp: factories.date_time_iso_8601(),
|
|
10299
|
+
organization: factories.string(),
|
|
10300
|
+
channel_id: factories.string(),
|
|
10301
|
+
channel_order_acceptance_failure: factories['io.flow.internal.v0.models.channel_order_acceptance_failure'](),
|
|
10302
|
+
}),
|
|
10303
|
+
|
|
10304
|
+
'io.flow.internal.v0.models.channel_order_acceptance_failure': (): io.flow.internal.v0.models.ChannelOrderAcceptanceFailure => ({
|
|
10305
|
+
id: factories.string(),
|
|
10306
|
+
organization_id: factories.string(),
|
|
10307
|
+
channel_id: factories.string(),
|
|
10308
|
+
payment_request_id: factories.string(),
|
|
10309
|
+
code: factories['io.flow.internal.v0.enums.channel_order_acceptance_failure_reason_code'](),
|
|
10310
|
+
reason: factories.string(),
|
|
10311
|
+
}),
|
|
10312
|
+
|
|
10230
10313
|
'io.flow.internal.v0.models.channel_order_acceptance_form': (): io.flow.internal.v0.models.ChannelOrderAcceptanceForm => ({
|
|
10231
10314
|
status: factories['io.flow.internal.v0.enums.channel_order_acceptance_status'](),
|
|
10232
10315
|
}),
|
|
@@ -11609,6 +11692,7 @@ const factories = {
|
|
|
11609
11692
|
issued_at: factories.date_time_iso_8601(),
|
|
11610
11693
|
expires_at: factories.date_time_iso_8601(),
|
|
11611
11694
|
created_at: factories.date_time_iso_8601(),
|
|
11695
|
+
updated_at: factories.date_time_iso_8601(),
|
|
11612
11696
|
}),
|
|
11613
11697
|
|
|
11614
11698
|
'io.flow.internal.v0.models.dispute_authorization_reference': (): io.flow.internal.v0.models.DisputeAuthorizationReference => ({
|
|
@@ -14231,6 +14315,8 @@ const factories = {
|
|
|
14231
14315
|
suggested_responsibility: factories['io.flow.internal.v0.enums.label_request_error_handling_responsibility'](),
|
|
14232
14316
|
origin_country: factories.string(),
|
|
14233
14317
|
destination_country: factories.string(),
|
|
14318
|
+
reference_id: factories.string(),
|
|
14319
|
+
logistics_integration_provider: factories.string(),
|
|
14234
14320
|
}),
|
|
14235
14321
|
|
|
14236
14322
|
'io.flow.internal.v0.models.label_summary': (): io.flow.internal.v0.models.LabelSummary => ({
|
|
@@ -15188,6 +15274,20 @@ const factories = {
|
|
|
15188
15274
|
merchant_guid_assignment: factories['io.flow.internal.v0.models.merchant_guid_assignment'](),
|
|
15189
15275
|
}),
|
|
15190
15276
|
|
|
15277
|
+
'io.flow.internal.v0.models.merchant_hub_override': (): io.flow.internal.v0.models.MerchantHubOverride => ({
|
|
15278
|
+
id: factories.string(),
|
|
15279
|
+
organization_id: factories.string(),
|
|
15280
|
+
code: factories.string(),
|
|
15281
|
+
contact: factories['io.flow.common.v0.models.contact'](),
|
|
15282
|
+
location: factories['io.flow.common.v0.models.address'](),
|
|
15283
|
+
}),
|
|
15284
|
+
|
|
15285
|
+
'io.flow.internal.v0.models.merchant_hub_override_form': (): io.flow.internal.v0.models.MerchantHubOverrideForm => ({
|
|
15286
|
+
code: factories.string(),
|
|
15287
|
+
contact: factories['io.flow.common.v0.models.contact'](),
|
|
15288
|
+
location: factories['io.flow.common.v0.models.address'](),
|
|
15289
|
+
}),
|
|
15290
|
+
|
|
15191
15291
|
'io.flow.internal.v0.models.merchant_of_record_entity_settings': (): io.flow.internal.v0.models.MerchantOfRecordEntitySettings => ({
|
|
15192
15292
|
id: factories.string(),
|
|
15193
15293
|
merchant_of_record_entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
@@ -17090,6 +17190,11 @@ const factories = {
|
|
|
17090
17190
|
next_product: factories['io.flow.internal.v0.models.classification_product_id'](),
|
|
17091
17191
|
}),
|
|
17092
17192
|
|
|
17193
|
+
'io.flow.internal.v0.models.product_currencies': (): io.flow.internal.v0.models.ProductCurrencies => ({
|
|
17194
|
+
transaction: factories.string(),
|
|
17195
|
+
destination: factories.string(),
|
|
17196
|
+
}),
|
|
17197
|
+
|
|
17093
17198
|
'io.flow.internal.v0.models.product_detail_settings_form': (): io.flow.internal.v0.models.ProductDetailSettingsForm => ({
|
|
17094
17199
|
keys: arrayOf(() => factories.string()),
|
|
17095
17200
|
}),
|
|
@@ -17119,6 +17224,14 @@ const factories = {
|
|
|
17119
17224
|
),
|
|
17120
17225
|
}),
|
|
17121
17226
|
|
|
17227
|
+
'io.flow.internal.v0.models.product_record': (): io.flow.internal.v0.models.ProductRecord => ({
|
|
17228
|
+
organization_id: factories.string(),
|
|
17229
|
+
order_number: factories.string(),
|
|
17230
|
+
fulfillment_id: factories.string(),
|
|
17231
|
+
currencies: factories['io.flow.internal.v0.models.product_currencies'](),
|
|
17232
|
+
products: arrayOf(() => factories['io.flow.internal.v0.models.product_transaction']()),
|
|
17233
|
+
}),
|
|
17234
|
+
|
|
17122
17235
|
'io.flow.internal.v0.models.product_restriction_result_validation_error': (): io.flow.internal.v0.models.ProductRestrictionResultValidationError => ({
|
|
17123
17236
|
message: factories.string(),
|
|
17124
17237
|
reason: factories.string(),
|
|
@@ -17167,6 +17280,12 @@ const factories = {
|
|
|
17167
17280
|
),
|
|
17168
17281
|
}),
|
|
17169
17282
|
|
|
17283
|
+
'io.flow.internal.v0.models.product_transaction': (): io.flow.internal.v0.models.ProductTransaction => ({
|
|
17284
|
+
transaction_amount: factories.decimal(),
|
|
17285
|
+
destination_amount: factories.decimal(),
|
|
17286
|
+
quantity: factories.long(),
|
|
17287
|
+
}),
|
|
17288
|
+
|
|
17170
17289
|
'io.flow.internal.v0.models.profit': (): io.flow.internal.v0.models.Profit => ({
|
|
17171
17290
|
key: factories['io.flow.internal.v0.enums.profit_stream_key'](),
|
|
17172
17291
|
principal: factories['io.flow.internal.v0.models.principal'](),
|
|
@@ -17241,6 +17360,21 @@ const factories = {
|
|
|
17241
17360
|
created_at: factories.date_time_iso_8601(),
|
|
17242
17361
|
}),
|
|
17243
17362
|
|
|
17363
|
+
'io.flow.internal.v0.models.public_hub': (): io.flow.internal.v0.models.PublicHub => ({
|
|
17364
|
+
id: factories.string(),
|
|
17365
|
+
code: factories.string(),
|
|
17366
|
+
third_party_logistics_reference: factories.string(),
|
|
17367
|
+
contact: factories['io.flow.common.v0.models.contact'](),
|
|
17368
|
+
location: factories['io.flow.common.v0.models.address'](),
|
|
17369
|
+
}),
|
|
17370
|
+
|
|
17371
|
+
'io.flow.internal.v0.models.public_hub_form': (): io.flow.internal.v0.models.PublicHubForm => ({
|
|
17372
|
+
code: factories.string(),
|
|
17373
|
+
third_party_logistics_reference: factories.string(),
|
|
17374
|
+
contact: factories['io.flow.common.v0.models.contact'](),
|
|
17375
|
+
location: factories['io.flow.common.v0.models.address'](),
|
|
17376
|
+
}),
|
|
17377
|
+
|
|
17244
17378
|
'io.flow.internal.v0.models.quote': (): io.flow.internal.v0.models.Quote => ({
|
|
17245
17379
|
id: factories.string(),
|
|
17246
17380
|
base: factories.string(),
|
|
@@ -17808,6 +17942,7 @@ const factories = {
|
|
|
17808
17942
|
'io.flow.internal.v0.models.reporting_conversion_rates': (): io.flow.internal.v0.models.ReportingConversionRates => ({
|
|
17809
17943
|
merchant: factories.decimal(),
|
|
17810
17944
|
entity: factories.decimal(),
|
|
17945
|
+
destination_country: factories.decimal(),
|
|
17811
17946
|
usd: factories.decimal(),
|
|
17812
17947
|
eur: factories.decimal(),
|
|
17813
17948
|
}),
|
|
@@ -17821,6 +17956,7 @@ const factories = {
|
|
|
17821
17956
|
transaction: factories.string(),
|
|
17822
17957
|
merchant: factories.string(),
|
|
17823
17958
|
entity: factories.string(),
|
|
17959
|
+
destination_country: factories.string(),
|
|
17824
17960
|
}),
|
|
17825
17961
|
|
|
17826
17962
|
'io.flow.internal.v0.models.reporting_debug': (): io.flow.internal.v0.models.ReportingDebug => ({
|
|
@@ -17942,6 +18078,7 @@ const factories = {
|
|
|
17942
18078
|
transaction: factories.decimal(),
|
|
17943
18079
|
merchant: factories.decimal(),
|
|
17944
18080
|
entity: factories.decimal(),
|
|
18081
|
+
destination_country: factories.decimal(),
|
|
17945
18082
|
usd: factories.decimal(),
|
|
17946
18083
|
eur: factories.decimal(),
|
|
17947
18084
|
}),
|
|
@@ -19600,6 +19737,20 @@ const factories = {
|
|
|
19600
19737
|
capture: factories['io.flow.internal.v0.models.stripe_internal_capture'](),
|
|
19601
19738
|
}),
|
|
19602
19739
|
|
|
19740
|
+
'io.flow.internal.v0.models.stripe_dispute_deleted': (): io.flow.internal.v0.models.StripeDisputeDeleted => ({
|
|
19741
|
+
discriminator: 'stripe_dispute_deleted',
|
|
19742
|
+
event_id: factories.string(),
|
|
19743
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19744
|
+
id: factories.string(),
|
|
19745
|
+
}),
|
|
19746
|
+
|
|
19747
|
+
'io.flow.internal.v0.models.stripe_dispute_upserted': (): io.flow.internal.v0.models.StripeDisputeUpserted => ({
|
|
19748
|
+
discriminator: 'stripe_dispute_upserted',
|
|
19749
|
+
event_id: factories.string(),
|
|
19750
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19751
|
+
dispute: factories['io.flow.internal.v0.models.stripe_internal_dispute'](),
|
|
19752
|
+
}),
|
|
19753
|
+
|
|
19603
19754
|
'io.flow.internal.v0.models.stripe_internal_authorization': (): io.flow.internal.v0.models.StripeInternalAuthorization => ({
|
|
19604
19755
|
id: factories.string(),
|
|
19605
19756
|
flow_authorization_id: factories.string(),
|
|
@@ -19621,6 +19772,34 @@ const factories = {
|
|
|
19621
19772
|
response: factories.object(),
|
|
19622
19773
|
}),
|
|
19623
19774
|
|
|
19775
|
+
'io.flow.internal.v0.models.stripe_internal_dispute': (): io.flow.internal.v0.models.StripeInternalDispute => ({
|
|
19776
|
+
id: factories.string(),
|
|
19777
|
+
stripe_id: factories.string(),
|
|
19778
|
+
amount: factories.integer(),
|
|
19779
|
+
charge_id: factories.string(),
|
|
19780
|
+
currency: factories.string(),
|
|
19781
|
+
evidence: factories.object(),
|
|
19782
|
+
metadata: factories.object(),
|
|
19783
|
+
payment_intent_id: factories.string(),
|
|
19784
|
+
reason: factories.string(),
|
|
19785
|
+
status: factories.string(),
|
|
19786
|
+
connected_account: factories.string(),
|
|
19787
|
+
balance_transactions: arrayOf(() => factories.object()),
|
|
19788
|
+
dispute_created_at: factories.date_time_iso_8601(),
|
|
19789
|
+
dispute_expires_at: factories.date_time_iso_8601(),
|
|
19790
|
+
has_evidence: factories.boolean(),
|
|
19791
|
+
past_due: factories.boolean(),
|
|
19792
|
+
submission_count: factories.integer(),
|
|
19793
|
+
is_charge_refundable: factories.boolean(),
|
|
19794
|
+
live_mode: factories.boolean(),
|
|
19795
|
+
payment_method_type: factories.string(),
|
|
19796
|
+
payment_method_reason_code: factories.string(),
|
|
19797
|
+
payment_method_card_brand: factories.string(),
|
|
19798
|
+
updated_by_user_id: factories.string(),
|
|
19799
|
+
created_at: factories.date_time_iso_8601(),
|
|
19800
|
+
updated_at: factories.date_time_iso_8601(),
|
|
19801
|
+
}),
|
|
19802
|
+
|
|
19624
19803
|
'io.flow.internal.v0.models.stripe_internal_refund': (): io.flow.internal.v0.models.StripeInternalRefund => ({
|
|
19625
19804
|
id: factories.string(),
|
|
19626
19805
|
flow_refund_id: factories.string(),
|
|
@@ -20886,6 +21065,8 @@ const factories = {
|
|
|
20886
21065
|
() => factories['io.flow.internal.v0.models.adyen_capture_upserted'](),
|
|
20887
21066
|
() => factories['io.flow.internal.v0.models.adyen_refund_deleted'](),
|
|
20888
21067
|
() => factories['io.flow.internal.v0.models.adyen_refund_upserted'](),
|
|
21068
|
+
() => factories['io.flow.internal.v0.models.adyen_dispute_upserted'](),
|
|
21069
|
+
() => factories['io.flow.internal.v0.models.adyen_dispute_deleted'](),
|
|
20889
21070
|
() => factories['io.flow.internal.v0.models.index_assignment_upserted'](),
|
|
20890
21071
|
() => factories['io.flow.internal.v0.models.index_assignment_deleted'](),
|
|
20891
21072
|
() => factories['io.flow.internal.v0.models.fulfillment_upserted'](),
|
|
@@ -20959,6 +21140,7 @@ const factories = {
|
|
|
20959
21140
|
() => factories['io.flow.internal.v0.models.catalog_settings_deleted'](),
|
|
20960
21141
|
() => factories['io.flow.internal.v0.models.channel_order_acceptance_upserted'](),
|
|
20961
21142
|
() => factories['io.flow.internal.v0.models.channel_order_acceptance_deleted'](),
|
|
21143
|
+
() => factories['io.flow.internal.v0.models.channel_order_acceptance_failed'](),
|
|
20962
21144
|
() => factories['io.flow.internal.v0.models.checkout_configuration_upserted'](),
|
|
20963
21145
|
() => factories['io.flow.internal.v0.models.checkout_configuration_deleted'](),
|
|
20964
21146
|
() => factories['io.flow.internal.v0.models.commercial_invoice_internal_upserted'](),
|
|
@@ -21214,6 +21396,8 @@ const factories = {
|
|
|
21214
21396
|
() => factories['io.flow.internal.v0.models.stripe_capture_upserted'](),
|
|
21215
21397
|
() => factories['io.flow.internal.v0.models.stripe_refund_deleted'](),
|
|
21216
21398
|
() => factories['io.flow.internal.v0.models.stripe_refund_upserted'](),
|
|
21399
|
+
() => factories['io.flow.internal.v0.models.stripe_dispute_upserted'](),
|
|
21400
|
+
() => factories['io.flow.internal.v0.models.stripe_dispute_deleted'](),
|
|
21217
21401
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_upserted'](),
|
|
21218
21402
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_deleted'](),
|
|
21219
21403
|
() => factories['io.flow.internal.v0.models.svitlana_item_upserted'](),
|
|
@@ -22081,6 +22265,13 @@ const factories = {
|
|
|
22081
22265
|
|
|
22082
22266
|
'io.flow.label.v0.enums.label_trigger_method': (): io.flow.label.v0.enums.LabelTriggerMethod => faker.helpers.arrayElement(['autogenerated', 'on_demand']),
|
|
22083
22267
|
|
|
22268
|
+
'io.flow.label.v0.enums.origin_location_source': (): io.flow.label.v0.enums.OriginLocationSource => faker.helpers.arrayElement([
|
|
22269
|
+
'public_hub_code',
|
|
22270
|
+
'merchant_hub_code_override',
|
|
22271
|
+
'shopify',
|
|
22272
|
+
'fallback_location',
|
|
22273
|
+
]),
|
|
22274
|
+
|
|
22084
22275
|
'io.flow.label.v0.enums.package_dimensions_source': (): io.flow.label.v0.enums.PackageDimensionsSource => faker.helpers.arrayElement([
|
|
22085
22276
|
'provided',
|
|
22086
22277
|
'item_dimensions_estimated',
|
|
@@ -22114,6 +22305,9 @@ const factories = {
|
|
|
22114
22305
|
'package': factories['io.flow.label.v0.models.shipping_label_package'](),
|
|
22115
22306
|
origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
22116
22307
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
22308
|
+
reference_id: factories.string(),
|
|
22309
|
+
origin_location_source: factories['io.flow.label.v0.enums.origin_location_source'](),
|
|
22310
|
+
hub_code: factories.string(),
|
|
22117
22311
|
}),
|
|
22118
22312
|
|
|
22119
22313
|
'io.flow.label.v0.models.crossdock_shipment': (): io.flow.label.v0.models.CrossdockShipment => ({
|
|
@@ -22136,6 +22330,8 @@ const factories = {
|
|
|
22136
22330
|
service: factories.string(),
|
|
22137
22331
|
shipment_recipient: factories['io.flow.label.v0.enums.shipment_recipient'](),
|
|
22138
22332
|
package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
|
|
22333
|
+
origin_location_source: factories['io.flow.label.v0.enums.origin_location_source'](),
|
|
22334
|
+
reference_id: factories.string(),
|
|
22139
22335
|
}),
|
|
22140
22336
|
|
|
22141
22337
|
'io.flow.label.v0.models.detailed_shipping_notification_form': (): io.flow.label.v0.models.DetailedShippingNotificationForm => ({
|
|
@@ -22314,6 +22510,7 @@ const factories = {
|
|
|
22314
22510
|
items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
|
|
22315
22511
|
center_key: factories.string(),
|
|
22316
22512
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
22513
|
+
reference_id: factories.string(),
|
|
22317
22514
|
}),
|
|
22318
22515
|
|
|
22319
22516
|
'io.flow.label.v0.models.summary_shipping_notification_form': (): io.flow.label.v0.models.SummaryShippingNotificationForm => ({
|
|
@@ -31604,6 +31801,9 @@ const factories = {
|
|
|
31604
31801
|
delivered: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
31605
31802
|
rejected: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
31606
31803
|
returned: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
31804
|
+
crossed_border: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
31805
|
+
destroyed: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
31806
|
+
return_reversal: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
31607
31807
|
}),
|
|
31608
31808
|
|
|
31609
31809
|
'io.flow.tracking.v0.models.label_tracking_summary_update': (): io.flow.tracking.v0.models.LabelTrackingSummaryUpdate => ({
|
|
@@ -31853,10 +32053,13 @@ export const makeAdyenCancelDeleted = () => factories['io.flow.internal.v0.model
|
|
|
31853
32053
|
export const makeAdyenCancelUpserted = () => factories['io.flow.internal.v0.models.adyen_cancel_upserted']();
|
|
31854
32054
|
export const makeAdyenCaptureDeleted = () => factories['io.flow.internal.v0.models.adyen_capture_deleted']();
|
|
31855
32055
|
export const makeAdyenCaptureUpserted = () => factories['io.flow.internal.v0.models.adyen_capture_upserted']();
|
|
32056
|
+
export const makeAdyenDisputeDeleted = () => factories['io.flow.internal.v0.models.adyen_dispute_deleted']();
|
|
32057
|
+
export const makeAdyenDisputeUpserted = () => factories['io.flow.internal.v0.models.adyen_dispute_upserted']();
|
|
31856
32058
|
export const makeAdyenIntegrationType = () => factories['io.flow.internal.v0.enums.adyen_integration_type']();
|
|
31857
32059
|
export const makeAdyenInternalAuthorization = () => factories['io.flow.internal.v0.models.adyen_internal_authorization']();
|
|
31858
32060
|
export const makeAdyenInternalCancel = () => factories['io.flow.internal.v0.models.adyen_internal_cancel']();
|
|
31859
32061
|
export const makeAdyenInternalCapture = () => factories['io.flow.internal.v0.models.adyen_internal_capture']();
|
|
32062
|
+
export const makeAdyenInternalDispute = () => factories['io.flow.internal.v0.models.adyen_internal_dispute']();
|
|
31860
32063
|
export const makeAdyenInternalRefund = () => factories['io.flow.internal.v0.models.adyen_internal_refund']();
|
|
31861
32064
|
export const makeAdyenMerchant = () => factories['io.flow.internal.v0.models.adyen_merchant']();
|
|
31862
32065
|
export const makeAdyenMerchantAccount = () => factories['io.flow.internal.v0.models.adyen_merchant_account']();
|
|
@@ -31997,6 +32200,7 @@ export const makeCalculatorOrganizationSettingsDeleted = () => factories['io.flo
|
|
|
31997
32200
|
export const makeCalculatorOrganizationSettingsForm = () => factories['io.flow.internal.v0.models.calculator_organization_settings_form']();
|
|
31998
32201
|
export const makeCalculatorOrganizationSettingsUpserted = () => factories['io.flow.internal.v0.models.calculator_organization_settings_upserted']();
|
|
31999
32202
|
export const makeCalculatorStamp = () => factories['io.flow.internal.v0.unions.calculator_stamp']();
|
|
32203
|
+
export const makeCallRecord = () => factories['io.flow.internal.v0.models.call_record']();
|
|
32000
32204
|
export const makeCarrierAccount = () => factories['io.flow.internal.v0.models.carrier_account']();
|
|
32001
32205
|
export const makeCarrierAccountDeleted = () => factories['io.flow.internal.v0.models.carrier_account_deleted']();
|
|
32002
32206
|
export const makeCarrierAccountForm = () => factories['io.flow.internal.v0.models.carrier_account_form']();
|
|
@@ -32069,6 +32273,9 @@ export const makeChannelOrderAcceptance = () => factories['io.flow.internal.v0.m
|
|
|
32069
32273
|
export const makeChannelOrderAcceptanceDeleted = () => factories['io.flow.internal.v0.models.channel_order_acceptance_deleted']();
|
|
32070
32274
|
export const makeChannelOrderAcceptanceDetails = () => factories['io.flow.internal.v0.models.channel_order_acceptance_details']();
|
|
32071
32275
|
export const makeChannelOrderAcceptanceErrorAction = () => factories['io.flow.internal.v0.enums.channel_order_acceptance_error_action']();
|
|
32276
|
+
export const makeChannelOrderAcceptanceFailed = () => factories['io.flow.internal.v0.models.channel_order_acceptance_failed']();
|
|
32277
|
+
export const makeChannelOrderAcceptanceFailure = () => factories['io.flow.internal.v0.models.channel_order_acceptance_failure']();
|
|
32278
|
+
export const makeChannelOrderAcceptanceFailureReasonCode = () => factories['io.flow.internal.v0.enums.channel_order_acceptance_failure_reason_code']();
|
|
32072
32279
|
export const makeChannelOrderAcceptanceForm = () => factories['io.flow.internal.v0.models.channel_order_acceptance_form']();
|
|
32073
32280
|
export const makeChannelOrderAcceptanceNextActionFrom = () => factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from']();
|
|
32074
32281
|
export const makeChannelOrderAcceptanceReason = () => factories['io.flow.internal.v0.models.channel_order_acceptance_reason']();
|
|
@@ -32859,6 +33066,8 @@ export const makeMerchantFees = () => factories['io.flow.internal.v0.models.merc
|
|
|
32859
33066
|
export const makeMerchantGuidAssignment = () => factories['io.flow.internal.v0.models.merchant_guid_assignment']();
|
|
32860
33067
|
export const makeMerchantGuidAssignmentDeleted = () => factories['io.flow.internal.v0.models.merchant_guid_assignment_deleted']();
|
|
32861
33068
|
export const makeMerchantGuidAssignmentUpserted = () => factories['io.flow.internal.v0.models.merchant_guid_assignment_upserted']();
|
|
33069
|
+
export const makeMerchantHubOverride = () => factories['io.flow.internal.v0.models.merchant_hub_override']();
|
|
33070
|
+
export const makeMerchantHubOverrideForm = () => factories['io.flow.internal.v0.models.merchant_hub_override_form']();
|
|
32862
33071
|
export const makeMerchantOfRecordEntitySettings = () => factories['io.flow.internal.v0.models.merchant_of_record_entity_settings']();
|
|
32863
33072
|
export const makeMerchantOfRecordEntitySettingsForm = () => factories['io.flow.internal.v0.models.merchant_of_record_entity_settings_form']();
|
|
32864
33073
|
export const makeMerchantSearchResult = () => factories['io.flow.internal.v0.models.merchant_search_result']();
|
|
@@ -33151,17 +33360,20 @@ export const makeProductClassification = () => factories['io.flow.internal.v0.mo
|
|
|
33151
33360
|
export const makeProductClassificationForm = () => factories['io.flow.internal.v0.models.product_classification_form']();
|
|
33152
33361
|
export const makeProductClassificationJudgementForm = () => factories['io.flow.internal.v0.models.product_classification_judgement_form']();
|
|
33153
33362
|
export const makeProductClassificationResult = () => factories['io.flow.internal.v0.models.product_classification_result']();
|
|
33363
|
+
export const makeProductCurrencies = () => factories['io.flow.internal.v0.models.product_currencies']();
|
|
33154
33364
|
export const makeProductDetailSettingsForm = () => factories['io.flow.internal.v0.models.product_detail_settings_form']();
|
|
33155
33365
|
export const makeProductHarmonization = () => factories['io.flow.internal.v0.models.product_harmonization']();
|
|
33156
33366
|
export const makeProductHarmonizationForm = () => factories['io.flow.internal.v0.models.product_harmonization_form']();
|
|
33157
33367
|
export const makeProductLabels = () => factories['io.flow.internal.v0.models.product_labels']();
|
|
33158
33368
|
export const makeProductListSettingsForm = () => factories['io.flow.internal.v0.models.product_list_settings_form']();
|
|
33369
|
+
export const makeProductRecord = () => factories['io.flow.internal.v0.models.product_record']();
|
|
33159
33370
|
export const makeProductRestrictionResultValidationError = () => factories['io.flow.internal.v0.models.product_restriction_result_validation_error']();
|
|
33160
33371
|
export const makeProductRestrictionRuleDecision = () => factories['io.flow.internal.v0.models.product_restriction_rule_decision']();
|
|
33161
33372
|
export const makeProductRestrictionRuleDecisionDeleted = () => factories['io.flow.internal.v0.models.product_restriction_rule_decision_deleted']();
|
|
33162
33373
|
export const makeProductRestrictionRuleDecisionUpserted = () => factories['io.flow.internal.v0.models.product_restriction_rule_decision_upserted']();
|
|
33163
33374
|
export const makeProductReviewHistory = () => factories['io.flow.internal.v0.models.product_review_history']();
|
|
33164
33375
|
export const makeProductStatus = () => factories['io.flow.internal.v0.enums.product_status']();
|
|
33376
|
+
export const makeProductTransaction = () => factories['io.flow.internal.v0.models.product_transaction']();
|
|
33165
33377
|
export const makeProfit = () => factories['io.flow.internal.v0.models.profit']();
|
|
33166
33378
|
export const makeProfitShare = () => factories['io.flow.internal.v0.models.profit_share']();
|
|
33167
33379
|
export const makeProfitShareOrderReference = () => factories['io.flow.internal.v0.models.profit_share_order_reference']();
|
|
@@ -33181,6 +33393,8 @@ export const makeProofOfPostingOrderCancellation = () => factories['io.flow.inte
|
|
|
33181
33393
|
export const makeProofOfPostingOrderCombinedShipment = () => factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment']();
|
|
33182
33394
|
export const makeProofOfPostingShippingNotification = () => factories['io.flow.internal.v0.models.proof_of_posting_shipping_notification']();
|
|
33183
33395
|
export const makeProofOfPostingTimeElapsed = () => factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed']();
|
|
33396
|
+
export const makePublicHub = () => factories['io.flow.internal.v0.models.public_hub']();
|
|
33397
|
+
export const makePublicHubForm = () => factories['io.flow.internal.v0.models.public_hub_form']();
|
|
33184
33398
|
export const makeQuote = () => factories['io.flow.internal.v0.models.quote']();
|
|
33185
33399
|
export const makeQuoteDeleted = () => factories['io.flow.internal.v0.models.quote_deleted']();
|
|
33186
33400
|
export const makeQuoteRequest = () => factories['io.flow.internal.v0.models.quote_request']();
|
|
@@ -33558,8 +33772,11 @@ export const makeStripeAuthorizationDeleted = () => factories['io.flow.internal.
|
|
|
33558
33772
|
export const makeStripeAuthorizationUpserted = () => factories['io.flow.internal.v0.models.stripe_authorization_upserted']();
|
|
33559
33773
|
export const makeStripeCaptureDeleted = () => factories['io.flow.internal.v0.models.stripe_capture_deleted']();
|
|
33560
33774
|
export const makeStripeCaptureUpserted = () => factories['io.flow.internal.v0.models.stripe_capture_upserted']();
|
|
33775
|
+
export const makeStripeDisputeDeleted = () => factories['io.flow.internal.v0.models.stripe_dispute_deleted']();
|
|
33776
|
+
export const makeStripeDisputeUpserted = () => factories['io.flow.internal.v0.models.stripe_dispute_upserted']();
|
|
33561
33777
|
export const makeStripeInternalAuthorization = () => factories['io.flow.internal.v0.models.stripe_internal_authorization']();
|
|
33562
33778
|
export const makeStripeInternalCapture = () => factories['io.flow.internal.v0.models.stripe_internal_capture']();
|
|
33779
|
+
export const makeStripeInternalDispute = () => factories['io.flow.internal.v0.models.stripe_internal_dispute']();
|
|
33563
33780
|
export const makeStripeInternalRefund = () => factories['io.flow.internal.v0.models.stripe_internal_refund']();
|
|
33564
33781
|
export const makeStripeInternalReversal = () => factories['io.flow.internal.v0.models.stripe_internal_reversal']();
|
|
33565
33782
|
export const makeStripeMerchant = () => factories['io.flow.internal.v0.models.stripe_merchant']();
|