@flowio/api-factories 0.0.66 → 0.0.68
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.js +266 -204
- package/dist/esm/api.js +207 -169
- package/dist/types/api.d.ts +28 -4
- package/package.json +2 -2
- package/src/api.ts +238 -198
package/src/api.ts
CHANGED
|
@@ -30,10 +30,10 @@ const factories = {
|
|
|
30
30
|
string: () => faker.datatype.string(),
|
|
31
31
|
unit: () => undefined,
|
|
32
32
|
uuid: () => faker.datatype.uuid(),
|
|
33
|
-
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': (): io.flow.apple.pay.v0.enums.ApplePayContactField => faker.helpers.arrayElement(['email', 'name', 'phone', '
|
|
33
|
+
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': (): io.flow.apple.pay.v0.enums.ApplePayContactField => faker.helpers.arrayElement(['email', 'name', 'phone', 'postalAddress', 'phoneticName']),
|
|
34
34
|
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': (): io.flow.apple.pay.v0.enums.ApplePayLineItemType => faker.helpers.arrayElement(['final', 'pending']),
|
|
35
35
|
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': (): io.flow.apple.pay.v0.enums.ApplePayMerchantCapability => faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']),
|
|
36
|
-
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.helpers.arrayElement(['shipping', 'delivery', '
|
|
36
|
+
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.helpers.arrayElement(['shipping', 'delivery', 'storePickup', 'servicePickup']),
|
|
37
37
|
|
|
38
38
|
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': (): io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks => faker.helpers.arrayElement([
|
|
39
39
|
'amex',
|
|
@@ -48,7 +48,7 @@ const factories = {
|
|
|
48
48
|
'io.flow.apple.pay.v0.models.apple_pay_line_item': (): io.flow.apple.pay.v0.models.ApplePayLineItem => ({
|
|
49
49
|
label: factories.string(),
|
|
50
50
|
type: factories['io.flow.apple.pay.v0.enums.apple_pay_line_item_type'](),
|
|
51
|
-
amount: factories.
|
|
51
|
+
amount: factories.string(),
|
|
52
52
|
}),
|
|
53
53
|
|
|
54
54
|
'io.flow.apple.pay.v0.models.apple_pay_payment_contact': (): io.flow.apple.pay.v0.models.ApplePayPaymentContact => ({
|
|
@@ -107,7 +107,7 @@ const factories = {
|
|
|
107
107
|
'io.flow.apple.pay.v0.models.apple_pay_shipping_method': (): io.flow.apple.pay.v0.models.ApplePayShippingMethod => ({
|
|
108
108
|
label: factories.string(),
|
|
109
109
|
detail: factories.string(),
|
|
110
|
-
amount: factories.
|
|
110
|
+
amount: factories.string(),
|
|
111
111
|
identifier: factories.string(),
|
|
112
112
|
}),
|
|
113
113
|
|
|
@@ -141,165 +141,6 @@ const factories = {
|
|
|
141
141
|
return f();
|
|
142
142
|
},
|
|
143
143
|
|
|
144
|
-
'io.flow.billing.true.up.v0.enums.true_up_surcharge_type': (): io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType => faker.helpers.arrayElement([
|
|
145
|
-
'fuel',
|
|
146
|
-
'remote_area',
|
|
147
|
-
'oversize',
|
|
148
|
-
'duties_paid',
|
|
149
|
-
'emergency',
|
|
150
|
-
'peak',
|
|
151
|
-
'address_correction',
|
|
152
|
-
]),
|
|
153
|
-
|
|
154
|
-
'io.flow.billing.true.up.v0.models.label_base': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase => ({
|
|
155
|
-
amount: factories.decimal(),
|
|
156
|
-
weight: factories.decimal(),
|
|
157
|
-
}),
|
|
158
|
-
|
|
159
|
-
'io.flow.billing.true.up.v0.models.label_destination': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelDestination => ({
|
|
160
|
-
country: factories.string(),
|
|
161
|
-
}),
|
|
162
|
-
|
|
163
|
-
'io.flow.billing.true.up.v0.models.label_invoice_request': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceRequest => ({
|
|
164
|
-
id: factories.string(),
|
|
165
|
-
label: factories['io.flow.billing.true.up.v0.models.true_up_label_summary'](),
|
|
166
|
-
units: factories['io.flow.billing.true.up.v0.models.label_units'](),
|
|
167
|
-
base: factories['io.flow.billing.true.up.v0.models.label_base'](),
|
|
168
|
-
surcharges: arrayOf(() => factories['io.flow.billing.true.up.v0.models.label_surcharge']()),
|
|
169
|
-
total: factories.decimal(),
|
|
170
|
-
destination: factories['io.flow.billing.true.up.v0.models.label_destination'](),
|
|
171
|
-
metadata: factories['io.flow.billing.true.up.v0.models.label_metadata'](),
|
|
172
|
-
}),
|
|
173
|
-
|
|
174
|
-
'io.flow.billing.true.up.v0.models.label_invoice_response_file': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseFile => ({
|
|
175
|
-
id: factories.string(),
|
|
176
|
-
url: factories.string(),
|
|
177
|
-
created_at: factories.date_time_iso_8601(),
|
|
178
|
-
result: factories['io.flow.billing.true.up.v0.models.label_invoice_response_file_result'](),
|
|
179
|
-
}),
|
|
180
|
-
|
|
181
|
-
'io.flow.billing.true.up.v0.models.label_invoice_response_file_form': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseFileForm => ({
|
|
182
|
-
url: factories.string(),
|
|
183
|
-
}),
|
|
184
|
-
|
|
185
|
-
'io.flow.billing.true.up.v0.models.label_invoice_response_file_result': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseFileResult => ({
|
|
186
|
-
processed_at: factories.date_time_iso_8601(),
|
|
187
|
-
number_lines_successful: factories.long(),
|
|
188
|
-
number_lines_with_errors: factories.long(),
|
|
189
|
-
errors_url: factories.string(),
|
|
190
|
-
}),
|
|
191
|
-
|
|
192
|
-
'io.flow.billing.true.up.v0.models.label_invoice_response_form': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseForm => ({
|
|
193
|
-
id: factories.string(),
|
|
194
|
-
label_invoice_request_id: factories.string(),
|
|
195
|
-
units: factories['io.flow.billing.true.up.v0.models.label_response_units'](),
|
|
196
|
-
base: factories['io.flow.billing.true.up.v0.models.label_base'](),
|
|
197
|
-
surcharges: factories['io.flow.billing.true.up.v0.models.label_surcharge_form'](),
|
|
198
|
-
total: factories.decimal(),
|
|
199
|
-
}),
|
|
200
|
-
|
|
201
|
-
'io.flow.billing.true.up.v0.models.label_metadata': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata => ({
|
|
202
|
-
ratecard: factories['io.flow.billing.true.up.v0.models.metadata_ratecard'](),
|
|
203
|
-
weights: factories['io.flow.billing.true.up.v0.models.metadata_weights'](),
|
|
204
|
-
}),
|
|
205
|
-
|
|
206
|
-
'io.flow.billing.true.up.v0.models.label_response_units': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelResponseUnits => ({
|
|
207
|
-
currency: factories.string(),
|
|
208
|
-
weight: factories['io.flow.units.v0.enums.unit_of_weight'](),
|
|
209
|
-
length: factories['io.flow.units.v0.enums.unit_of_length'](),
|
|
210
|
-
}),
|
|
211
|
-
|
|
212
|
-
'io.flow.billing.true.up.v0.models.label_surcharge': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge => ({
|
|
213
|
-
amount: factories.decimal(),
|
|
214
|
-
type: factories['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'](),
|
|
215
|
-
detail: factories['io.flow.billing.true.up.v0.unions.label_surcharge_detail'](),
|
|
216
|
-
}),
|
|
217
|
-
|
|
218
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_detail_flat': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailFlat => ({
|
|
219
|
-
discriminator: 'flat',
|
|
220
|
-
placeholder: factories.string(),
|
|
221
|
-
}),
|
|
222
|
-
|
|
223
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPerWeightUnit => ({
|
|
224
|
-
discriminator: 'per_weight_unit',
|
|
225
|
-
fee: factories.decimal(),
|
|
226
|
-
}),
|
|
227
|
-
|
|
228
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_detail_percentage': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPercentage => ({
|
|
229
|
-
discriminator: 'percentage',
|
|
230
|
-
percentage: factories.decimal(),
|
|
231
|
-
}),
|
|
232
|
-
|
|
233
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_form': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeForm => ({
|
|
234
|
-
fuel: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
235
|
-
remote_area: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
236
|
-
oversize: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
237
|
-
duties_paid: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
238
|
-
emergency: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
239
|
-
peak: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
240
|
-
address_correction: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
241
|
-
}),
|
|
242
|
-
|
|
243
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_single_form': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm => ({
|
|
244
|
-
amount: factories.decimal(),
|
|
245
|
-
percentage: factories.decimal(),
|
|
246
|
-
fee_per_weight_unit: factories.decimal(),
|
|
247
|
-
}),
|
|
248
|
-
|
|
249
|
-
'io.flow.billing.true.up.v0.models.label_units': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits => ({
|
|
250
|
-
currency: factories.string(),
|
|
251
|
-
weight: factories['io.flow.units.v0.enums.unit_of_weight'](),
|
|
252
|
-
length: factories['io.flow.units.v0.enums.unit_of_length'](),
|
|
253
|
-
}),
|
|
254
|
-
|
|
255
|
-
'io.flow.billing.true.up.v0.models.metadata_proposition': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataProposition => ({
|
|
256
|
-
shipping_method: factories['io.flow.billing.true.up.v0.models.shipping_method_reference'](),
|
|
257
|
-
name: factories.string(),
|
|
258
|
-
}),
|
|
259
|
-
|
|
260
|
-
'io.flow.billing.true.up.v0.models.metadata_ratecard': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard => ({
|
|
261
|
-
id: factories.string(),
|
|
262
|
-
proposition: factories['io.flow.billing.true.up.v0.models.metadata_proposition'](),
|
|
263
|
-
}),
|
|
264
|
-
|
|
265
|
-
'io.flow.billing.true.up.v0.models.metadata_weights': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights => ({
|
|
266
|
-
dead: factories['io.flow.billing.true.up.v0.models.weights_dead'](),
|
|
267
|
-
dimensional: factories['io.flow.billing.true.up.v0.models.weights_dimensional'](),
|
|
268
|
-
}),
|
|
269
|
-
|
|
270
|
-
'io.flow.billing.true.up.v0.models.shipping_method_reference': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.ShippingMethodReference => ({
|
|
271
|
-
id: factories.string(),
|
|
272
|
-
}),
|
|
273
|
-
|
|
274
|
-
'io.flow.billing.true.up.v0.models.true_up_label_summary': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.TrueUpLabelSummary => ({
|
|
275
|
-
id: factories.string(),
|
|
276
|
-
carrier_service_id: factories.string(),
|
|
277
|
-
carrier_tracking_number: factories.string(),
|
|
278
|
-
flow_tracking_number: factories.string(),
|
|
279
|
-
created_at: factories.date_time_iso_8601(),
|
|
280
|
-
}),
|
|
281
|
-
|
|
282
|
-
'io.flow.billing.true.up.v0.models.weights_dead': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead => ({
|
|
283
|
-
weight: factories.decimal(),
|
|
284
|
-
}),
|
|
285
|
-
|
|
286
|
-
'io.flow.billing.true.up.v0.models.weights_dimensional': (): io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional => ({
|
|
287
|
-
weight: factories.decimal(),
|
|
288
|
-
length: factories.decimal(),
|
|
289
|
-
width: factories.decimal(),
|
|
290
|
-
height: factories.decimal(),
|
|
291
|
-
}),
|
|
292
|
-
|
|
293
|
-
'io.flow.billing.true.up.v0.unions.label_surcharge_detail': (): io.flow.billing.RESERVED_WORD_true.up.v0.unions.LabelSurchargeDetail => {
|
|
294
|
-
const f = faker.helpers.arrayElement([
|
|
295
|
-
() => factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_flat'](),
|
|
296
|
-
() => factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_percentage'](),
|
|
297
|
-
() => factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit'](),
|
|
298
|
-
]);
|
|
299
|
-
|
|
300
|
-
return f();
|
|
301
|
-
},
|
|
302
|
-
|
|
303
144
|
'io.flow.error.v0.enums.generic_error_code': (): io.flow.error.v0.enums.GenericErrorCode => faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']),
|
|
304
145
|
|
|
305
146
|
'io.flow.error.v0.models.generic_error': (): io.flow.error.v0.models.GenericError => ({
|
|
@@ -2332,6 +2173,7 @@ const factories = {
|
|
|
2332
2173
|
network: factories.string(),
|
|
2333
2174
|
request_three_d_secure: factories['io.flow.stripe.v0.enums.request_three_d_secure_type'](),
|
|
2334
2175
|
stored_credential_transaction_type: factories['io.flow.stripe.v0.enums.stored_credential_transaction_type'](),
|
|
2176
|
+
mcc: factories.string(),
|
|
2335
2177
|
}),
|
|
2336
2178
|
|
|
2337
2179
|
'io.flow.stripe.v0.models.payment_outcome': (): io.flow.stripe.v0.models.PaymentOutcome => ({
|
|
@@ -2651,9 +2493,6 @@ const factories = {
|
|
|
2651
2493
|
return f();
|
|
2652
2494
|
},
|
|
2653
2495
|
|
|
2654
|
-
'io.flow.units.v0.enums.unit_of_length': (): io.flow.units.v0.enums.UnitOfLength => faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']),
|
|
2655
|
-
'io.flow.units.v0.enums.unit_of_volume': (): io.flow.units.v0.enums.UnitOfVolume => faker.helpers.arrayElement(['cubic_inch', 'cubic_meter']),
|
|
2656
|
-
'io.flow.units.v0.enums.unit_of_weight': (): io.flow.units.v0.enums.UnitOfWeight => faker.helpers.arrayElement(['gram', 'kilogram', 'ounce', 'pound']),
|
|
2657
2496
|
'io.flow.v0.enums.abandoned_order_promotion_status': (): io.flow.v0.enums.AbandonedOrderPromotionStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
2658
2497
|
'io.flow.v0.enums.abandoned_order_setting_status': (): io.flow.v0.enums.AbandonedOrderSettingStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
2659
2498
|
|
|
@@ -2875,6 +2714,10 @@ const factories = {
|
|
|
2875
2714
|
'channel_payout_deleted',
|
|
2876
2715
|
'organization_payout_upserted',
|
|
2877
2716
|
'organization_payout_deleted',
|
|
2717
|
+
'channel_pending_payout_transaction_upserted',
|
|
2718
|
+
'channel_pending_payout_transaction_deleted',
|
|
2719
|
+
'organization_pending_payout_transaction_upserted',
|
|
2720
|
+
'organization_pending_payout_transaction_deleted',
|
|
2878
2721
|
'attribute_upserted',
|
|
2879
2722
|
'attribute_deleted',
|
|
2880
2723
|
'attribute_upserted_v2',
|
|
@@ -3436,6 +3279,16 @@ const factories = {
|
|
|
3436
3279
|
|
|
3437
3280
|
'io.flow.v0.enums.payout_attachment_type': (): io.flow.v0.enums.PayoutAttachmentType => faker.helpers.arrayElement(['transactions']),
|
|
3438
3281
|
'io.flow.v0.enums.payout_status_failure_code': (): io.flow.v0.enums.PayoutStatusFailureCode => faker.helpers.arrayElement(['invalid_account_number', 'account_closed', 'could_not_process']),
|
|
3282
|
+
|
|
3283
|
+
'io.flow.v0.enums.pending_payout_transaction_reason_code': (): io.flow.v0.enums.PendingPayoutTransactionReasonCode => faker.helpers.arrayElement([
|
|
3284
|
+
'waiting_for_full_refund',
|
|
3285
|
+
'waiting_for_fulfillment',
|
|
3286
|
+
'waiting_for_in_transit',
|
|
3287
|
+
'waiting_for_next_payout_date',
|
|
3288
|
+
'waiting_for_tracking_info',
|
|
3289
|
+
'waiting_for_positive_account_balance',
|
|
3290
|
+
]),
|
|
3291
|
+
|
|
3439
3292
|
'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']),
|
|
3440
3293
|
'io.flow.v0.enums.physical_delivery_special_serivce': (): io.flow.v0.enums.PhysicalDeliverySpecialSerivce => faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']),
|
|
3441
3294
|
'io.flow.v0.enums.postal_type': (): io.flow.v0.enums.PostalType => faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']),
|
|
@@ -3613,15 +3466,6 @@ const factories = {
|
|
|
3613
3466
|
'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
|
|
3614
3467
|
'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.helpers.arrayElement(['supported', 'not_supported']),
|
|
3615
3468
|
|
|
3616
|
-
'io.flow.v0.enums.transaction_payout_pending_reason': (): io.flow.v0.enums.TransactionPayoutPendingReason => faker.helpers.arrayElement([
|
|
3617
|
-
'waiting_for_full_refund',
|
|
3618
|
-
'waiting_for_fulfillment',
|
|
3619
|
-
'waiting_for_in_transit',
|
|
3620
|
-
'waiting_for_next_payout_date',
|
|
3621
|
-
'external_fulfillment_missing_tracking_info',
|
|
3622
|
-
'waiting_for_positive_account_balance',
|
|
3623
|
-
]),
|
|
3624
|
-
|
|
3625
3469
|
'io.flow.v0.enums.transaction_source': (): io.flow.v0.enums.TransactionSource => faker.helpers.arrayElement([
|
|
3626
3470
|
'capture',
|
|
3627
3471
|
'refund',
|
|
@@ -5145,6 +4989,18 @@ const factories = {
|
|
|
5145
4989
|
id: factories.string(),
|
|
5146
4990
|
}),
|
|
5147
4991
|
|
|
4992
|
+
'io.flow.v0.models.channel_currency_pair': (): io.flow.v0.models.ChannelCurrencyPair => ({
|
|
4993
|
+
id: factories.string(),
|
|
4994
|
+
base: factories.string(),
|
|
4995
|
+
target: factories.string(),
|
|
4996
|
+
rate: factories['io.flow.v0.models.channel_currency_rate'](),
|
|
4997
|
+
}),
|
|
4998
|
+
|
|
4999
|
+
'io.flow.v0.models.channel_currency_rate': (): io.flow.v0.models.ChannelCurrencyRate => ({
|
|
5000
|
+
id: factories.string(),
|
|
5001
|
+
value: factories.decimal(),
|
|
5002
|
+
}),
|
|
5003
|
+
|
|
5148
5004
|
'io.flow.v0.models.channel_currency_upserted': (): io.flow.v0.models.ChannelCurrencyUpserted => ({
|
|
5149
5005
|
discriminator: 'channel_currency_upserted',
|
|
5150
5006
|
event_id: factories.string(),
|
|
@@ -5240,6 +5096,31 @@ const factories = {
|
|
|
5240
5096
|
payout: factories['io.flow.v0.models.channel_payout'](),
|
|
5241
5097
|
}),
|
|
5242
5098
|
|
|
5099
|
+
'io.flow.v0.models.channel_pending_payout_transaction': (): io.flow.v0.models.ChannelPendingPayoutTransaction => ({
|
|
5100
|
+
id: factories.string(),
|
|
5101
|
+
reason: factories['io.flow.v0.models.pending_payout_transaction_reason'](),
|
|
5102
|
+
timeout: factories['io.flow.v0.models.pending_payout_transaction_timeout'](),
|
|
5103
|
+
created_at: factories.date_time_iso_8601(),
|
|
5104
|
+
updated_at: factories.date_time_iso_8601(),
|
|
5105
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
5106
|
+
}),
|
|
5107
|
+
|
|
5108
|
+
'io.flow.v0.models.channel_pending_payout_transaction_deleted': (): io.flow.v0.models.ChannelPendingPayoutTransactionDeleted => ({
|
|
5109
|
+
discriminator: 'channel_pending_payout_transaction_deleted',
|
|
5110
|
+
event_id: factories.string(),
|
|
5111
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5112
|
+
channel_id: factories.string(),
|
|
5113
|
+
id: factories.string(),
|
|
5114
|
+
}),
|
|
5115
|
+
|
|
5116
|
+
'io.flow.v0.models.channel_pending_payout_transaction_upserted': (): io.flow.v0.models.ChannelPendingPayoutTransactionUpserted => ({
|
|
5117
|
+
discriminator: 'channel_pending_payout_transaction_upserted',
|
|
5118
|
+
event_id: factories.string(),
|
|
5119
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5120
|
+
channel_id: factories.string(),
|
|
5121
|
+
channel_pending_payout_transaction: factories['io.flow.v0.models.channel_pending_payout_transaction'](),
|
|
5122
|
+
}),
|
|
5123
|
+
|
|
5243
5124
|
'io.flow.v0.models.channel_rate': (): io.flow.v0.models.ChannelRate => ({
|
|
5244
5125
|
placeholder: factories.string(),
|
|
5245
5126
|
}),
|
|
@@ -5331,12 +5212,6 @@ const factories = {
|
|
|
5331
5212
|
id: factories.string(),
|
|
5332
5213
|
}),
|
|
5333
5214
|
|
|
5334
|
-
'io.flow.v0.models.channel_transaction_payout': (): io.flow.v0.models.ChannelTransactionPayout => ({
|
|
5335
|
-
transaction: factories['io.flow.v0.models.transaction_reference'](),
|
|
5336
|
-
waiting_for: factories['io.flow.v0.enums.transaction_payout_pending_reason'](),
|
|
5337
|
-
payout: factories['io.flow.v0.models.payout_reference'](),
|
|
5338
|
-
}),
|
|
5339
|
-
|
|
5340
5215
|
'io.flow.v0.models.channel_transaction_upserted': (): io.flow.v0.models.ChannelTransactionUpserted => ({
|
|
5341
5216
|
discriminator: 'channel_transaction_upserted',
|
|
5342
5217
|
event_id: factories.string(),
|
|
@@ -6021,6 +5896,10 @@ const factories = {
|
|
|
6021
5896
|
reason: factories.string(),
|
|
6022
5897
|
}),
|
|
6023
5898
|
|
|
5899
|
+
'io.flow.v0.models.dead_weight': (): io.flow.v0.models.DeadWeight => ({
|
|
5900
|
+
weight: factories.decimal(),
|
|
5901
|
+
}),
|
|
5902
|
+
|
|
6024
5903
|
'io.flow.v0.models.default_bank_account_form': (): io.flow.v0.models.DefaultBankAccountForm => ({
|
|
6025
5904
|
bank_account_id: factories.string(),
|
|
6026
5905
|
}),
|
|
@@ -6265,6 +6144,13 @@ const factories = {
|
|
|
6265
6144
|
dimension_estimate: factories['io.flow.v0.models.dimension_estimate'](),
|
|
6266
6145
|
}),
|
|
6267
6146
|
|
|
6147
|
+
'io.flow.v0.models.dimensional_weight': (): io.flow.v0.models.DimensionalWeight => ({
|
|
6148
|
+
weight: factories.decimal(),
|
|
6149
|
+
length: factories.decimal(),
|
|
6150
|
+
width: factories.decimal(),
|
|
6151
|
+
height: factories.decimal(),
|
|
6152
|
+
}),
|
|
6153
|
+
|
|
6268
6154
|
'io.flow.v0.models.dimensions': (): io.flow.v0.models.Dimensions => ({
|
|
6269
6155
|
product: factories['io.flow.v0.models.dimension'](),
|
|
6270
6156
|
packaging: factories['io.flow.v0.models.dimension'](),
|
|
@@ -7112,9 +6998,21 @@ const factories = {
|
|
|
7112
6998
|
ends_at: factories.date_time_iso_8601(),
|
|
7113
6999
|
}),
|
|
7114
7000
|
|
|
7001
|
+
'io.flow.v0.models.fuel_surcharge_by_weight': (): io.flow.v0.models.FuelSurchargeByWeight => ({
|
|
7002
|
+
discriminator: 'fuel_surcharge_by_weight',
|
|
7003
|
+
amount: factories.decimal(),
|
|
7004
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7005
|
+
}),
|
|
7006
|
+
|
|
7007
|
+
'io.flow.v0.models.fuel_surcharge_percent': (): io.flow.v0.models.FuelSurchargePercent => ({
|
|
7008
|
+
discriminator: 'fuel_surcharge_percent',
|
|
7009
|
+
percent: factories.decimal(),
|
|
7010
|
+
}),
|
|
7011
|
+
|
|
7115
7012
|
'io.flow.v0.models.fuel_surcharge_ratecard_fee': (): io.flow.v0.models.FuelSurchargeRatecardFee => ({
|
|
7116
7013
|
discriminator: 'fuel_surcharge_ratecard_fee',
|
|
7117
7014
|
amount: factories['io.flow.v0.models.money'](),
|
|
7015
|
+
fuel_surcharge_rate: factories['io.flow.v0.unions.fuel_surcharge_rate'](),
|
|
7118
7016
|
}),
|
|
7119
7017
|
|
|
7120
7018
|
'io.flow.v0.models.fuel_surcharge_service_fee': (): io.flow.v0.models.FuelSurchargeServiceFee => ({
|
|
@@ -7368,6 +7266,7 @@ const factories = {
|
|
|
7368
7266
|
currency: factories.string(),
|
|
7369
7267
|
amount: factories.double(),
|
|
7370
7268
|
fees: arrayOf(() => factories['io.flow.v0.unions.ratecard_fee']()),
|
|
7269
|
+
weight_break: factories.decimal(),
|
|
7371
7270
|
total: factories.double(),
|
|
7372
7271
|
lane: factories['io.flow.v0.models.lane_summary'](),
|
|
7373
7272
|
}),
|
|
@@ -8021,6 +7920,11 @@ const factories = {
|
|
|
8021
7920
|
status: factories.string(),
|
|
8022
7921
|
}),
|
|
8023
7922
|
|
|
7923
|
+
'io.flow.v0.models.label_base': (): io.flow.v0.models.LabelBase => ({
|
|
7924
|
+
amount: factories.decimal(),
|
|
7925
|
+
weight: factories.decimal(),
|
|
7926
|
+
}),
|
|
7927
|
+
|
|
8024
7928
|
'io.flow.v0.models.label_deleted_v2': (): io.flow.v0.models.LabelDeletedV2 => ({
|
|
8025
7929
|
discriminator: 'label_deleted_v2',
|
|
8026
7930
|
event_id: factories.string(),
|
|
@@ -8055,6 +7959,27 @@ const factories = {
|
|
|
8055
7959
|
id: factories.string(),
|
|
8056
7960
|
}),
|
|
8057
7961
|
|
|
7962
|
+
'io.flow.v0.models.label_surcharge': (): io.flow.v0.models.LabelSurcharge => ({
|
|
7963
|
+
amount: factories.decimal(),
|
|
7964
|
+
type: factories['io.flow.v0.enums.trueup_surcharge_type'](),
|
|
7965
|
+
detail: factories['io.flow.v0.unions.label_surcharge_detail'](),
|
|
7966
|
+
}),
|
|
7967
|
+
|
|
7968
|
+
'io.flow.v0.models.label_surcharge_detail_flat': (): io.flow.v0.models.LabelSurchargeDetailFlat => ({
|
|
7969
|
+
discriminator: 'flat',
|
|
7970
|
+
placeholder: factories.string(),
|
|
7971
|
+
}),
|
|
7972
|
+
|
|
7973
|
+
'io.flow.v0.models.label_surcharge_detail_per_weight_unit': (): io.flow.v0.models.LabelSurchargeDetailPerWeightUnit => ({
|
|
7974
|
+
discriminator: 'per_weight_unit',
|
|
7975
|
+
fee: factories.decimal(),
|
|
7976
|
+
}),
|
|
7977
|
+
|
|
7978
|
+
'io.flow.v0.models.label_surcharge_detail_percentage': (): io.flow.v0.models.LabelSurchargeDetailPercentage => ({
|
|
7979
|
+
discriminator: 'percentage',
|
|
7980
|
+
percentage: factories.decimal(),
|
|
7981
|
+
}),
|
|
7982
|
+
|
|
8058
7983
|
'io.flow.v0.models.label_tracking_carrier_service': (): io.flow.v0.models.LabelTrackingCarrierService => ({
|
|
8059
7984
|
carrier_id: factories.string(),
|
|
8060
7985
|
service_id: factories.string(),
|
|
@@ -8076,6 +8001,12 @@ const factories = {
|
|
|
8076
8001
|
created_at: factories.date_time_iso_8601(),
|
|
8077
8002
|
}),
|
|
8078
8003
|
|
|
8004
|
+
'io.flow.v0.models.label_units': (): io.flow.v0.models.LabelUnits => ({
|
|
8005
|
+
currency: factories.string(),
|
|
8006
|
+
weight: factories['io.flow.v0.enums.unit_of_weight'](),
|
|
8007
|
+
length: factories['io.flow.v0.enums.unit_of_length'](),
|
|
8008
|
+
}),
|
|
8009
|
+
|
|
8079
8010
|
'io.flow.v0.models.label_upserted': (): io.flow.v0.models.LabelUpserted => ({
|
|
8080
8011
|
discriminator: 'label_upserted',
|
|
8081
8012
|
event_id: factories.string(),
|
|
@@ -9664,6 +9595,31 @@ const factories = {
|
|
|
9664
9595
|
payout: factories['io.flow.v0.models.organization_payout'](),
|
|
9665
9596
|
}),
|
|
9666
9597
|
|
|
9598
|
+
'io.flow.v0.models.organization_pending_payout_transaction': (): io.flow.v0.models.OrganizationPendingPayoutTransaction => ({
|
|
9599
|
+
id: factories.string(),
|
|
9600
|
+
reason: factories['io.flow.v0.models.pending_payout_transaction_reason'](),
|
|
9601
|
+
timeout: factories['io.flow.v0.models.pending_payout_transaction_timeout'](),
|
|
9602
|
+
created_at: factories.date_time_iso_8601(),
|
|
9603
|
+
updated_at: factories.date_time_iso_8601(),
|
|
9604
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
9605
|
+
}),
|
|
9606
|
+
|
|
9607
|
+
'io.flow.v0.models.organization_pending_payout_transaction_deleted': (): io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted => ({
|
|
9608
|
+
discriminator: 'organization_pending_payout_transaction_deleted',
|
|
9609
|
+
event_id: factories.string(),
|
|
9610
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9611
|
+
organization: factories.string(),
|
|
9612
|
+
id: factories.string(),
|
|
9613
|
+
}),
|
|
9614
|
+
|
|
9615
|
+
'io.flow.v0.models.organization_pending_payout_transaction_upserted': (): io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted => ({
|
|
9616
|
+
discriminator: 'organization_pending_payout_transaction_upserted',
|
|
9617
|
+
event_id: factories.string(),
|
|
9618
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9619
|
+
organization: factories.string(),
|
|
9620
|
+
organization_pending_payout_transaction: factories['io.flow.v0.models.organization_pending_payout_transaction'](),
|
|
9621
|
+
}),
|
|
9622
|
+
|
|
9667
9623
|
'io.flow.v0.models.organization_put_form': (): io.flow.v0.models.OrganizationPutForm => ({
|
|
9668
9624
|
name: factories.string(),
|
|
9669
9625
|
environment: factories['io.flow.v0.enums.environment'](),
|
|
@@ -9772,12 +9728,6 @@ const factories = {
|
|
|
9772
9728
|
id: factories.string(),
|
|
9773
9729
|
}),
|
|
9774
9730
|
|
|
9775
|
-
'io.flow.v0.models.organization_transaction_payout': (): io.flow.v0.models.OrganizationTransactionPayout => ({
|
|
9776
|
-
transaction: factories['io.flow.v0.models.transaction_reference'](),
|
|
9777
|
-
waiting_for: factories['io.flow.v0.enums.transaction_payout_pending_reason'](),
|
|
9778
|
-
payout: factories['io.flow.v0.models.payout_reference'](),
|
|
9779
|
-
}),
|
|
9780
|
-
|
|
9781
9731
|
'io.flow.v0.models.organization_transaction_upserted': (): io.flow.v0.models.OrganizationTransactionUpserted => ({
|
|
9782
9732
|
discriminator: 'organization_transaction_upserted',
|
|
9783
9733
|
event_id: factories.string(),
|
|
@@ -10345,6 +10295,7 @@ const factories = {
|
|
|
10345
10295
|
processor: factories.string(),
|
|
10346
10296
|
operation_identifier: factories['io.flow.v0.models.payment_processor_identifier'](),
|
|
10347
10297
|
account: factories['io.flow.v0.models.payment_processor_account'](),
|
|
10298
|
+
transaction_details: factories['io.flow.v0.unions.payment_processor_transaction_details'](),
|
|
10348
10299
|
}),
|
|
10349
10300
|
|
|
10350
10301
|
'io.flow.v0.models.payment_processor_account': (): io.flow.v0.models.PaymentProcessorAccount => ({
|
|
@@ -10369,6 +10320,17 @@ const factories = {
|
|
|
10369
10320
|
processor: factories.string(),
|
|
10370
10321
|
}),
|
|
10371
10322
|
|
|
10323
|
+
'io.flow.v0.models.payment_processor_transaction_details_card': (): io.flow.v0.models.PaymentProcessorTransactionDetailsCard => ({
|
|
10324
|
+
discriminator: 'card',
|
|
10325
|
+
transaction_identifier: factories.string(),
|
|
10326
|
+
method_type: factories.string(),
|
|
10327
|
+
result_status: factories.string(),
|
|
10328
|
+
reason_code: factories.string(),
|
|
10329
|
+
avs_result_code: factories.string(),
|
|
10330
|
+
cvv_result_code: factories.string(),
|
|
10331
|
+
threeds_result_code: factories.string(),
|
|
10332
|
+
}),
|
|
10333
|
+
|
|
10372
10334
|
'io.flow.v0.models.payment_reference': (): io.flow.v0.models.PaymentReference => ({
|
|
10373
10335
|
id: factories.string(),
|
|
10374
10336
|
}),
|
|
@@ -10608,10 +10570,13 @@ const factories = {
|
|
|
10608
10570
|
ends_at: factories.date_time_iso_8601(),
|
|
10609
10571
|
}),
|
|
10610
10572
|
|
|
10611
|
-
'io.flow.v0.models.
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10573
|
+
'io.flow.v0.models.pending_payout_transaction_reason': (): io.flow.v0.models.PendingPayoutTransactionReason => ({
|
|
10574
|
+
code: factories['io.flow.v0.enums.pending_payout_transaction_reason_code'](),
|
|
10575
|
+
created_at: factories.date_time_iso_8601(),
|
|
10576
|
+
}),
|
|
10577
|
+
|
|
10578
|
+
'io.flow.v0.models.pending_payout_transaction_timeout': (): io.flow.v0.models.PendingPayoutTransactionTimeout => ({
|
|
10579
|
+
created_at: factories.date_time_iso_8601(),
|
|
10615
10580
|
}),
|
|
10616
10581
|
|
|
10617
10582
|
'io.flow.v0.models.percent_margin': (): io.flow.v0.models.PercentMargin => ({
|
|
@@ -12192,9 +12157,9 @@ const factories = {
|
|
|
12192
12157
|
}),
|
|
12193
12158
|
|
|
12194
12159
|
'io.flow.v0.models.shipping_label_hop_cost_itemized_estimate': (): io.flow.v0.models.ShippingLabelHopCostItemizedEstimate => ({
|
|
12195
|
-
units: factories['io.flow.
|
|
12196
|
-
base: factories['io.flow.
|
|
12197
|
-
surcharges: arrayOf(() => factories['io.flow.
|
|
12160
|
+
units: factories['io.flow.v0.models.label_units'](),
|
|
12161
|
+
base: factories['io.flow.v0.models.label_base'](),
|
|
12162
|
+
surcharges: arrayOf(() => factories['io.flow.v0.models.label_surcharge']()),
|
|
12198
12163
|
}),
|
|
12199
12164
|
|
|
12200
12165
|
'io.flow.v0.models.shipping_label_hop_summary': (): io.flow.v0.models.ShippingLabelHopSummary => ({
|
|
@@ -12206,6 +12171,7 @@ const factories = {
|
|
|
12206
12171
|
'io.flow.v0.models.shipping_label_lane_summary': (): io.flow.v0.models.ShippingLabelLaneSummary => ({
|
|
12207
12172
|
id: factories.string(),
|
|
12208
12173
|
ratecard: factories['io.flow.v0.models.shipping_label_ratecard_summary'](),
|
|
12174
|
+
weight_break: factories.decimal(),
|
|
12209
12175
|
}),
|
|
12210
12176
|
|
|
12211
12177
|
'io.flow.v0.models.shipping_label_package': (): io.flow.v0.models.ShippingLabelPackage => ({
|
|
@@ -13457,13 +13423,29 @@ const factories = {
|
|
|
13457
13423
|
country: factories.string(),
|
|
13458
13424
|
}),
|
|
13459
13425
|
|
|
13426
|
+
'io.flow.v0.models.transaction_metadata_manual': (): io.flow.v0.models.TransactionMetadataManual => ({
|
|
13427
|
+
discriminator: 'manual',
|
|
13428
|
+
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
13429
|
+
}),
|
|
13430
|
+
|
|
13431
|
+
'io.flow.v0.models.transaction_metadata_original_transaction': (): io.flow.v0.models.TransactionMetadataOriginalTransaction => ({
|
|
13432
|
+
id: factories.string(),
|
|
13433
|
+
}),
|
|
13434
|
+
|
|
13460
13435
|
'io.flow.v0.models.transaction_metadata_shipping_label': (): io.flow.v0.models.TransactionMetadataShippingLabel => ({
|
|
13461
13436
|
discriminator: 'shipping_label',
|
|
13462
13437
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
13438
|
+
carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
|
|
13439
|
+
}),
|
|
13440
|
+
|
|
13441
|
+
'io.flow.v0.models.transaction_metadata_shipping_label_carrier': (): io.flow.v0.models.TransactionMetadataShippingLabelCarrier => ({
|
|
13442
|
+
id: factories.string(),
|
|
13443
|
+
tracking_number: factories.string(),
|
|
13463
13444
|
}),
|
|
13464
13445
|
|
|
13465
13446
|
'io.flow.v0.models.transaction_metadata_trueup': (): io.flow.v0.models.TransactionMetadataTrueup => ({
|
|
13466
13447
|
discriminator: 'trueup',
|
|
13448
|
+
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
13467
13449
|
estimate: factories['io.flow.v0.models.transaction_metadata_trueup_data'](),
|
|
13468
13450
|
actual: factories['io.flow.v0.models.transaction_metadata_trueup_data'](),
|
|
13469
13451
|
}),
|
|
@@ -13474,6 +13456,8 @@ const factories = {
|
|
|
13474
13456
|
base: factories['io.flow.v0.models.trueup_label_base'](),
|
|
13475
13457
|
surcharges: arrayOf(() => factories['io.flow.v0.models.trueup_label_surcharge']()),
|
|
13476
13458
|
total: factories.decimal(),
|
|
13459
|
+
dead: factories['io.flow.v0.models.dead_weight'](),
|
|
13460
|
+
dimensional: factories['io.flow.v0.models.dimensional_weight'](),
|
|
13477
13461
|
}),
|
|
13478
13462
|
|
|
13479
13463
|
'io.flow.v0.models.transaction_network_details_card': (): io.flow.v0.models.TransactionNetworkDetailsCard => ({
|
|
@@ -14041,6 +14025,10 @@ const factories = {
|
|
|
14041
14025
|
() => factories['io.flow.v0.models.channel_payout_deleted'](),
|
|
14042
14026
|
() => factories['io.flow.v0.models.organization_payout_upserted'](),
|
|
14043
14027
|
() => factories['io.flow.v0.models.organization_payout_deleted'](),
|
|
14028
|
+
() => factories['io.flow.v0.models.channel_pending_payout_transaction_upserted'](),
|
|
14029
|
+
() => factories['io.flow.v0.models.channel_pending_payout_transaction_deleted'](),
|
|
14030
|
+
() => factories['io.flow.v0.models.organization_pending_payout_transaction_upserted'](),
|
|
14031
|
+
() => factories['io.flow.v0.models.organization_pending_payout_transaction_deleted'](),
|
|
14044
14032
|
() => factories['io.flow.v0.models.attribute_upserted'](),
|
|
14045
14033
|
() => factories['io.flow.v0.models.attribute_deleted'](),
|
|
14046
14034
|
() => factories['io.flow.v0.models.attribute_upserted_v2'](),
|
|
@@ -14351,6 +14339,15 @@ const factories = {
|
|
|
14351
14339
|
return f();
|
|
14352
14340
|
},
|
|
14353
14341
|
|
|
14342
|
+
'io.flow.v0.unions.fuel_surcharge_rate': (): io.flow.v0.unions.FuelSurchargeRate => {
|
|
14343
|
+
const f = faker.helpers.arrayElement([
|
|
14344
|
+
() => factories['io.flow.v0.models.fuel_surcharge_percent'](),
|
|
14345
|
+
() => factories['io.flow.v0.models.fuel_surcharge_by_weight'](),
|
|
14346
|
+
]);
|
|
14347
|
+
|
|
14348
|
+
return f();
|
|
14349
|
+
},
|
|
14350
|
+
|
|
14354
14351
|
'io.flow.v0.unions.gateway_authentication_data': (): io.flow.v0.unions.GatewayAuthenticationData => {
|
|
14355
14352
|
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data']()]);
|
|
14356
14353
|
return f();
|
|
@@ -14398,6 +14395,16 @@ const factories = {
|
|
|
14398
14395
|
return f();
|
|
14399
14396
|
},
|
|
14400
14397
|
|
|
14398
|
+
'io.flow.v0.unions.label_surcharge_detail': (): io.flow.v0.unions.LabelSurchargeDetail => {
|
|
14399
|
+
const f = faker.helpers.arrayElement([
|
|
14400
|
+
() => factories['io.flow.v0.models.label_surcharge_detail_flat'](),
|
|
14401
|
+
() => factories['io.flow.v0.models.label_surcharge_detail_percentage'](),
|
|
14402
|
+
() => factories['io.flow.v0.models.label_surcharge_detail_per_weight_unit'](),
|
|
14403
|
+
]);
|
|
14404
|
+
|
|
14405
|
+
return f();
|
|
14406
|
+
},
|
|
14407
|
+
|
|
14401
14408
|
'io.flow.v0.unions.localized_price': (): io.flow.v0.unions.LocalizedPrice => {
|
|
14402
14409
|
const f = faker.helpers.arrayElement([
|
|
14403
14410
|
() => factories['io.flow.v0.models.localized_item_price'](),
|
|
@@ -14659,6 +14666,14 @@ const factories = {
|
|
|
14659
14666
|
return f();
|
|
14660
14667
|
},
|
|
14661
14668
|
|
|
14669
|
+
'io.flow.v0.unions.payment_processor_transaction_details': (): io.flow.v0.unions.PaymentProcessorTransactionDetails => {
|
|
14670
|
+
const f = faker.helpers.arrayElement([
|
|
14671
|
+
() => factories['io.flow.v0.models.payment_processor_transaction_details_card'](),
|
|
14672
|
+
]);
|
|
14673
|
+
|
|
14674
|
+
return f();
|
|
14675
|
+
},
|
|
14676
|
+
|
|
14662
14677
|
'io.flow.v0.unions.payment_source': (): io.flow.v0.unions.PaymentSource => {
|
|
14663
14678
|
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_payment_source']()]);
|
|
14664
14679
|
return f();
|
|
@@ -14949,6 +14964,7 @@ const factories = {
|
|
|
14949
14964
|
() => factories['io.flow.v0.models.transaction_metadata_shipping_label'](),
|
|
14950
14965
|
() => factories['io.flow.v0.models.transaction_metadata_channel'](),
|
|
14951
14966
|
() => factories['io.flow.v0.models.transaction_metadata_trueup'](),
|
|
14967
|
+
() => factories['io.flow.v0.models.transaction_metadata_manual'](),
|
|
14952
14968
|
]);
|
|
14953
14969
|
|
|
14954
14970
|
return f();
|
|
@@ -15193,6 +15209,8 @@ export const makeChannelBankAccount = () => factories['io.flow.v0.models.channel
|
|
|
15193
15209
|
export const makeChannelCurrency = () => factories['io.flow.v0.models.channel_currency']();
|
|
15194
15210
|
export const makeChannelCurrencyCapability = () => factories['io.flow.v0.enums.channel_currency_capability']();
|
|
15195
15211
|
export const makeChannelCurrencyDeleted = () => factories['io.flow.v0.models.channel_currency_deleted']();
|
|
15212
|
+
export const makeChannelCurrencyPair = () => factories['io.flow.v0.models.channel_currency_pair']();
|
|
15213
|
+
export const makeChannelCurrencyRate = () => factories['io.flow.v0.models.channel_currency_rate']();
|
|
15196
15214
|
export const makeChannelCurrencyUpserted = () => factories['io.flow.v0.models.channel_currency_upserted']();
|
|
15197
15215
|
export const makeChannelDefaultBankAccount = () => factories['io.flow.v0.models.channel_default_bank_account']();
|
|
15198
15216
|
export const makeChannelDeleted = () => factories['io.flow.v0.models.channel_deleted']();
|
|
@@ -15206,6 +15224,9 @@ export const makeChannelOrganizationUpserted = () => factories['io.flow.v0.model
|
|
|
15206
15224
|
export const makeChannelPayout = () => factories['io.flow.v0.models.channel_payout']();
|
|
15207
15225
|
export const makeChannelPayoutDeleted = () => factories['io.flow.v0.models.channel_payout_deleted']();
|
|
15208
15226
|
export const makeChannelPayoutUpserted = () => factories['io.flow.v0.models.channel_payout_upserted']();
|
|
15227
|
+
export const makeChannelPendingPayoutTransaction = () => factories['io.flow.v0.models.channel_pending_payout_transaction']();
|
|
15228
|
+
export const makeChannelPendingPayoutTransactionDeleted = () => factories['io.flow.v0.models.channel_pending_payout_transaction_deleted']();
|
|
15229
|
+
export const makeChannelPendingPayoutTransactionUpserted = () => factories['io.flow.v0.models.channel_pending_payout_transaction_upserted']();
|
|
15209
15230
|
export const makeChannelRate = () => factories['io.flow.v0.models.channel_rate']();
|
|
15210
15231
|
export const makeChannelReference = () => factories['io.flow.v0.models.channel_reference']();
|
|
15211
15232
|
export const makeChannelStatement = () => factories['io.flow.v0.models.channel_statement']();
|
|
@@ -15217,7 +15238,6 @@ export const makeChannelTokenReference = () => factories['io.flow.v0.models.chan
|
|
|
15217
15238
|
export const makeChannelTransaction = () => factories['io.flow.v0.models.channel_transaction']();
|
|
15218
15239
|
export const makeChannelTransactionDeleted = () => factories['io.flow.v0.models.channel_transaction_deleted']();
|
|
15219
15240
|
export const makeChannelTransactionDeletedV2 = () => factories['io.flow.v0.models.channel_transaction_deleted_v2']();
|
|
15220
|
-
export const makeChannelTransactionPayout = () => factories['io.flow.v0.models.channel_transaction_payout']();
|
|
15221
15241
|
export const makeChannelTransactionUpserted = () => factories['io.flow.v0.models.channel_transaction_upserted']();
|
|
15222
15242
|
export const makeChannelUpserted = () => factories['io.flow.v0.models.channel_upserted']();
|
|
15223
15243
|
export const makeChannelViesRegistration = () => factories['io.flow.v0.models.channel_vies_registration']();
|
|
@@ -15335,6 +15355,7 @@ export const makeDatetimeWithTimezone = () => factories['io.flow.v0.models.datet
|
|
|
15335
15355
|
export const makeDayOfWeek = () => factories['io.flow.v0.enums.day_of_week']();
|
|
15336
15356
|
export const makeDdpRatecardFee = () => factories['io.flow.v0.models.ddp_ratecard_fee']();
|
|
15337
15357
|
export const makeDeactivationPutForm = () => factories['io.flow.v0.models.deactivation_put_form']();
|
|
15358
|
+
export const makeDeadWeight = () => factories['io.flow.v0.models.dead_weight']();
|
|
15338
15359
|
export const makeDefaultBankAccountForm = () => factories['io.flow.v0.models.default_bank_account_form']();
|
|
15339
15360
|
export const makeDeliveredDuty = () => factories['io.flow.v0.enums.delivered_duty']();
|
|
15340
15361
|
export const makeDeliveredDutyDisplayType = () => factories['io.flow.v0.enums.delivered_duty_display_type']();
|
|
@@ -15374,6 +15395,7 @@ export const makeDimension = () => factories['io.flow.v0.models.dimension']();
|
|
|
15374
15395
|
export const makeDimensionEstimate = () => factories['io.flow.v0.models.dimension_estimate']();
|
|
15375
15396
|
export const makeDimensionEstimateForm = () => factories['io.flow.v0.models.dimension_estimate_form']();
|
|
15376
15397
|
export const makeDimensionEstimateVersion = () => factories['io.flow.v0.models.dimension_estimate_version']();
|
|
15398
|
+
export const makeDimensionalWeight = () => factories['io.flow.v0.models.dimensional_weight']();
|
|
15377
15399
|
export const makeDimensions = () => factories['io.flow.v0.models.dimensions']();
|
|
15378
15400
|
export const makeDirectAuthorizationForm = () => factories['io.flow.v0.models.direct_authorization_form']();
|
|
15379
15401
|
export const makeDirectDebit = () => factories['io.flow.v0.models.direct_debit']();
|
|
@@ -15547,6 +15569,9 @@ export const makeFtpOrganizationSettingsForm = () => factories['io.flow.v0.model
|
|
|
15547
15569
|
export const makeFtpServer = () => factories['io.flow.v0.models.ftp_server']();
|
|
15548
15570
|
export const makeFtpUser = () => factories['io.flow.v0.models.ftp_user']();
|
|
15549
15571
|
export const makeFuelSurchargeAmountByWeightServiceFee = () => factories['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee']();
|
|
15572
|
+
export const makeFuelSurchargeByWeight = () => factories['io.flow.v0.models.fuel_surcharge_by_weight']();
|
|
15573
|
+
export const makeFuelSurchargePercent = () => factories['io.flow.v0.models.fuel_surcharge_percent']();
|
|
15574
|
+
export const makeFuelSurchargeRate = () => factories['io.flow.v0.unions.fuel_surcharge_rate']();
|
|
15550
15575
|
export const makeFuelSurchargeRatecardFee = () => factories['io.flow.v0.models.fuel_surcharge_ratecard_fee']();
|
|
15551
15576
|
export const makeFuelSurchargeServiceFee = () => factories['io.flow.v0.models.fuel_surcharge_service_fee']();
|
|
15552
15577
|
export const makeFulfillment = () => factories['io.flow.v0.models.fulfillment']();
|
|
@@ -15700,16 +15725,23 @@ export const makeKnowYourBusinessForm = () => factories['io.flow.v0.unions.know_
|
|
|
15700
15725
|
export const makeKnowYourBusinessUsa = () => factories['io.flow.v0.models.know_your_business_usa']();
|
|
15701
15726
|
export const makeKnowYourBusinessUsaForm = () => factories['io.flow.v0.models.know_your_business_usa_form']();
|
|
15702
15727
|
export const makeKubeHealthcheck = () => factories['io.flow.v0.models.kube-healthcheck']();
|
|
15728
|
+
export const makeLabelBase = () => factories['io.flow.v0.models.label_base']();
|
|
15703
15729
|
export const makeLabelDeletedV2 = () => factories['io.flow.v0.models.label_deleted_v2']();
|
|
15704
15730
|
export const makeLabelFormatDeleted = () => factories['io.flow.v0.models.label_format_deleted']();
|
|
15705
15731
|
export const makeLabelFormatUpserted = () => factories['io.flow.v0.models.label_format_upserted']();
|
|
15706
15732
|
export const makeLabelOrderSummary = () => factories['io.flow.v0.models.label_order_summary']();
|
|
15707
15733
|
export const makeLabelReference = () => factories['io.flow.v0.models.label_reference']();
|
|
15708
15734
|
export const makeLabelRequestMethod = () => factories['io.flow.v0.enums.label_request_method']();
|
|
15735
|
+
export const makeLabelSurcharge = () => factories['io.flow.v0.models.label_surcharge']();
|
|
15736
|
+
export const makeLabelSurchargeDetail = () => factories['io.flow.v0.unions.label_surcharge_detail']();
|
|
15737
|
+
export const makeLabelSurchargeDetailFlat = () => factories['io.flow.v0.models.label_surcharge_detail_flat']();
|
|
15738
|
+
export const makeLabelSurchargeDetailPerWeightUnit = () => factories['io.flow.v0.models.label_surcharge_detail_per_weight_unit']();
|
|
15739
|
+
export const makeLabelSurchargeDetailPercentage = () => factories['io.flow.v0.models.label_surcharge_detail_percentage']();
|
|
15709
15740
|
export const makeLabelTrackingCarrierService = () => factories['io.flow.v0.models.label_tracking_carrier_service']();
|
|
15710
15741
|
export const makeLabelTrackingSummary = () => factories['io.flow.v0.models.label_tracking_summary']();
|
|
15711
15742
|
export const makeLabelTrackingSummaryUpdate = () => factories['io.flow.v0.models.label_tracking_summary_update']();
|
|
15712
15743
|
export const makeLabelTriggerMethod = () => factories['io.flow.v0.enums.label_trigger_method']();
|
|
15744
|
+
export const makeLabelUnits = () => factories['io.flow.v0.models.label_units']();
|
|
15713
15745
|
export const makeLabelUpserted = () => factories['io.flow.v0.models.label_upserted']();
|
|
15714
15746
|
export const makeLabelUpsertedV2 = () => factories['io.flow.v0.models.label_upserted_v2']();
|
|
15715
15747
|
export const makeLandedCostItem = () => factories['io.flow.v0.models.landed_cost_item']();
|
|
@@ -15973,6 +16005,9 @@ export const makeOrganizationPaymentMethodTag = () => factories['io.flow.v0.enum
|
|
|
15973
16005
|
export const makeOrganizationPayout = () => factories['io.flow.v0.models.organization_payout']();
|
|
15974
16006
|
export const makeOrganizationPayoutDeleted = () => factories['io.flow.v0.models.organization_payout_deleted']();
|
|
15975
16007
|
export const makeOrganizationPayoutUpserted = () => factories['io.flow.v0.models.organization_payout_upserted']();
|
|
16008
|
+
export const makeOrganizationPendingPayoutTransaction = () => factories['io.flow.v0.models.organization_pending_payout_transaction']();
|
|
16009
|
+
export const makeOrganizationPendingPayoutTransactionDeleted = () => factories['io.flow.v0.models.organization_pending_payout_transaction_deleted']();
|
|
16010
|
+
export const makeOrganizationPendingPayoutTransactionUpserted = () => factories['io.flow.v0.models.organization_pending_payout_transaction_upserted']();
|
|
15976
16011
|
export const makeOrganizationPutForm = () => factories['io.flow.v0.models.organization_put_form']();
|
|
15977
16012
|
export const makeOrganizationRatesData = () => factories['io.flow.v0.models.organization_rates_data']();
|
|
15978
16013
|
export const makeOrganizationRatesPublished = () => factories['io.flow.v0.models.organization_rates_published']();
|
|
@@ -15988,7 +16023,6 @@ export const makeOrganizationTokenReference = () => factories['io.flow.v0.models
|
|
|
15988
16023
|
export const makeOrganizationTokenV2 = () => factories['io.flow.v0.models.organization_token_v2']();
|
|
15989
16024
|
export const makeOrganizationTokenV2Reference = () => factories['io.flow.v0.models.organization_token_v2_reference']();
|
|
15990
16025
|
export const makeOrganizationTransactionDeleted = () => factories['io.flow.v0.models.organization_transaction_deleted']();
|
|
15991
|
-
export const makeOrganizationTransactionPayout = () => factories['io.flow.v0.models.organization_transaction_payout']();
|
|
15992
16026
|
export const makeOrganizationTransactionUpserted = () => factories['io.flow.v0.models.organization_transaction_upserted']();
|
|
15993
16027
|
export const makeOrganizationType = () => factories['io.flow.v0.enums.organization_type']();
|
|
15994
16028
|
export const makeOrganizationUpserted = () => factories['io.flow.v0.models.organization_upserted']();
|
|
@@ -16105,6 +16139,8 @@ export const makePaymentProcessorAccount = () => factories['io.flow.v0.models.pa
|
|
|
16105
16139
|
export const makePaymentProcessorAccountReference = () => factories['io.flow.v0.models.payment_processor_account_reference']();
|
|
16106
16140
|
export const makePaymentProcessorIdentifier = () => factories['io.flow.v0.models.payment_processor_identifier']();
|
|
16107
16141
|
export const makePaymentProcessorReference = () => factories['io.flow.v0.models.payment_processor_reference']();
|
|
16142
|
+
export const makePaymentProcessorTransactionDetails = () => factories['io.flow.v0.unions.payment_processor_transaction_details']();
|
|
16143
|
+
export const makePaymentProcessorTransactionDetailsCard = () => factories['io.flow.v0.models.payment_processor_transaction_details_card']();
|
|
16108
16144
|
export const makePaymentReference = () => factories['io.flow.v0.models.payment_reference']();
|
|
16109
16145
|
export const makePaymentRefund = () => factories['io.flow.v0.models.payment_refund']();
|
|
16110
16146
|
export const makePaymentRefundForm = () => factories['io.flow.v0.models.payment_refund_form']();
|
|
@@ -16149,7 +16185,9 @@ export const makePaypalAuthorizationForm = () => factories['io.flow.v0.models.pa
|
|
|
16149
16185
|
export const makePeakSurchargeByWeightServiceFee = () => factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee']();
|
|
16150
16186
|
export const makePeakSurchargeRatecardFee = () => factories['io.flow.v0.models.peak_surcharge_ratecard_fee']();
|
|
16151
16187
|
export const makePeakSurchargeServiceFee = () => factories['io.flow.v0.models.peak_surcharge_service_fee']();
|
|
16152
|
-
export const
|
|
16188
|
+
export const makePendingPayoutTransactionReason = () => factories['io.flow.v0.models.pending_payout_transaction_reason']();
|
|
16189
|
+
export const makePendingPayoutTransactionReasonCode = () => factories['io.flow.v0.enums.pending_payout_transaction_reason_code']();
|
|
16190
|
+
export const makePendingPayoutTransactionTimeout = () => factories['io.flow.v0.models.pending_payout_transaction_timeout']();
|
|
16153
16191
|
export const makePercentMargin = () => factories['io.flow.v0.models.percent_margin']();
|
|
16154
16192
|
export const makePermissionAudit = () => factories['io.flow.v0.models.permission_audit']();
|
|
16155
16193
|
export const makePermissionCheck = () => factories['io.flow.v0.models.permission_check']();
|
|
@@ -16616,11 +16654,13 @@ export const makeTransactionMetadata = () => factories['io.flow.v0.unions.transa
|
|
|
16616
16654
|
export const makeTransactionMetadataChannel = () => factories['io.flow.v0.models.transaction_metadata_channel']();
|
|
16617
16655
|
export const makeTransactionMetadataChannelCardMetadata = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata']();
|
|
16618
16656
|
export const makeTransactionMetadataChannelCardMetadataIssuerSummary = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary']();
|
|
16657
|
+
export const makeTransactionMetadataManual = () => factories['io.flow.v0.models.transaction_metadata_manual']();
|
|
16658
|
+
export const makeTransactionMetadataOriginalTransaction = () => factories['io.flow.v0.models.transaction_metadata_original_transaction']();
|
|
16619
16659
|
export const makeTransactionMetadataShippingLabel = () => factories['io.flow.v0.models.transaction_metadata_shipping_label']();
|
|
16660
|
+
export const makeTransactionMetadataShippingLabelCarrier = () => factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier']();
|
|
16620
16661
|
export const makeTransactionMetadataTrueup = () => factories['io.flow.v0.models.transaction_metadata_trueup']();
|
|
16621
16662
|
export const makeTransactionMetadataTrueupData = () => factories['io.flow.v0.models.transaction_metadata_trueup_data']();
|
|
16622
16663
|
export const makeTransactionNetworkDetailsCard = () => factories['io.flow.v0.models.transaction_network_details_card']();
|
|
16623
|
-
export const makeTransactionPayoutPendingReason = () => factories['io.flow.v0.enums.transaction_payout_pending_reason']();
|
|
16624
16664
|
export const makeTransactionReference = () => factories['io.flow.v0.models.transaction_reference']();
|
|
16625
16665
|
export const makeTransactionSource = () => factories['io.flow.v0.enums.transaction_source']();
|
|
16626
16666
|
export const makeTransactionUpserted = () => factories['io.flow.v0.models.transaction_upserted']();
|