@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/dist/esm/api.js
CHANGED
|
@@ -25,10 +25,10 @@ var factories = {
|
|
|
25
25
|
string: function () { return faker.datatype.string(); },
|
|
26
26
|
unit: function () { return undefined; },
|
|
27
27
|
uuid: function () { return faker.datatype.uuid(); },
|
|
28
|
-
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.helpers.arrayElement(['email', 'name', 'phone', '
|
|
28
|
+
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.helpers.arrayElement(['email', 'name', 'phone', 'postalAddress', 'phoneticName']); },
|
|
29
29
|
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': function () { return faker.helpers.arrayElement(['final', 'pending']); },
|
|
30
30
|
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': function () { return faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']); },
|
|
31
|
-
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker.helpers.arrayElement(['shipping', 'delivery', '
|
|
31
|
+
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker.helpers.arrayElement(['shipping', 'delivery', 'storePickup', 'servicePickup']); },
|
|
32
32
|
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': function () { return faker.helpers.arrayElement([
|
|
33
33
|
'amex',
|
|
34
34
|
'chinaUnionPay',
|
|
@@ -41,7 +41,7 @@ var factories = {
|
|
|
41
41
|
'io.flow.apple.pay.v0.models.apple_pay_line_item': function () { return ({
|
|
42
42
|
label: factories.string(),
|
|
43
43
|
type: factories['io.flow.apple.pay.v0.enums.apple_pay_line_item_type'](),
|
|
44
|
-
amount: factories.
|
|
44
|
+
amount: factories.string(),
|
|
45
45
|
}); },
|
|
46
46
|
'io.flow.apple.pay.v0.models.apple_pay_payment_contact': function () { return ({
|
|
47
47
|
email_address: factories.string(),
|
|
@@ -88,7 +88,7 @@ var factories = {
|
|
|
88
88
|
'io.flow.apple.pay.v0.models.apple_pay_shipping_method': function () { return ({
|
|
89
89
|
label: factories.string(),
|
|
90
90
|
detail: factories.string(),
|
|
91
|
-
amount: factories.
|
|
91
|
+
amount: factories.string(),
|
|
92
92
|
identifier: factories.string(),
|
|
93
93
|
}); },
|
|
94
94
|
'io.flow.ben.test.internal.v0.models.generate_load_multiple_orgs': function () { return ({
|
|
@@ -115,139 +115,6 @@ var factories = {
|
|
|
115
115
|
]);
|
|
116
116
|
return f();
|
|
117
117
|
},
|
|
118
|
-
'io.flow.billing.true.up.v0.enums.true_up_surcharge_type': function () { return faker.helpers.arrayElement([
|
|
119
|
-
'fuel',
|
|
120
|
-
'remote_area',
|
|
121
|
-
'oversize',
|
|
122
|
-
'duties_paid',
|
|
123
|
-
'emergency',
|
|
124
|
-
'peak',
|
|
125
|
-
'address_correction',
|
|
126
|
-
]); },
|
|
127
|
-
'io.flow.billing.true.up.v0.models.label_base': function () { return ({
|
|
128
|
-
amount: factories.decimal(),
|
|
129
|
-
weight: factories.decimal(),
|
|
130
|
-
}); },
|
|
131
|
-
'io.flow.billing.true.up.v0.models.label_destination': function () { return ({
|
|
132
|
-
country: factories.string(),
|
|
133
|
-
}); },
|
|
134
|
-
'io.flow.billing.true.up.v0.models.label_invoice_request': function () { return ({
|
|
135
|
-
id: factories.string(),
|
|
136
|
-
label: factories['io.flow.billing.true.up.v0.models.true_up_label_summary'](),
|
|
137
|
-
units: factories['io.flow.billing.true.up.v0.models.label_units'](),
|
|
138
|
-
base: factories['io.flow.billing.true.up.v0.models.label_base'](),
|
|
139
|
-
surcharges: arrayOf(function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge'](); }),
|
|
140
|
-
total: factories.decimal(),
|
|
141
|
-
destination: factories['io.flow.billing.true.up.v0.models.label_destination'](),
|
|
142
|
-
metadata: factories['io.flow.billing.true.up.v0.models.label_metadata'](),
|
|
143
|
-
}); },
|
|
144
|
-
'io.flow.billing.true.up.v0.models.label_invoice_response_file': function () { return ({
|
|
145
|
-
id: factories.string(),
|
|
146
|
-
url: factories.string(),
|
|
147
|
-
created_at: factories.date_time_iso_8601(),
|
|
148
|
-
result: factories['io.flow.billing.true.up.v0.models.label_invoice_response_file_result'](),
|
|
149
|
-
}); },
|
|
150
|
-
'io.flow.billing.true.up.v0.models.label_invoice_response_file_form': function () { return ({
|
|
151
|
-
url: factories.string(),
|
|
152
|
-
}); },
|
|
153
|
-
'io.flow.billing.true.up.v0.models.label_invoice_response_file_result': function () { return ({
|
|
154
|
-
processed_at: factories.date_time_iso_8601(),
|
|
155
|
-
number_lines_successful: factories.long(),
|
|
156
|
-
number_lines_with_errors: factories.long(),
|
|
157
|
-
errors_url: factories.string(),
|
|
158
|
-
}); },
|
|
159
|
-
'io.flow.billing.true.up.v0.models.label_invoice_response_form': function () { return ({
|
|
160
|
-
id: factories.string(),
|
|
161
|
-
label_invoice_request_id: factories.string(),
|
|
162
|
-
units: factories['io.flow.billing.true.up.v0.models.label_response_units'](),
|
|
163
|
-
base: factories['io.flow.billing.true.up.v0.models.label_base'](),
|
|
164
|
-
surcharges: factories['io.flow.billing.true.up.v0.models.label_surcharge_form'](),
|
|
165
|
-
total: factories.decimal(),
|
|
166
|
-
}); },
|
|
167
|
-
'io.flow.billing.true.up.v0.models.label_metadata': function () { return ({
|
|
168
|
-
ratecard: factories['io.flow.billing.true.up.v0.models.metadata_ratecard'](),
|
|
169
|
-
weights: factories['io.flow.billing.true.up.v0.models.metadata_weights'](),
|
|
170
|
-
}); },
|
|
171
|
-
'io.flow.billing.true.up.v0.models.label_response_units': function () { return ({
|
|
172
|
-
currency: factories.string(),
|
|
173
|
-
weight: factories['io.flow.units.v0.enums.unit_of_weight'](),
|
|
174
|
-
length: factories['io.flow.units.v0.enums.unit_of_length'](),
|
|
175
|
-
}); },
|
|
176
|
-
'io.flow.billing.true.up.v0.models.label_surcharge': function () { return ({
|
|
177
|
-
amount: factories.decimal(),
|
|
178
|
-
type: factories['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'](),
|
|
179
|
-
detail: factories['io.flow.billing.true.up.v0.unions.label_surcharge_detail'](),
|
|
180
|
-
}); },
|
|
181
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_detail_flat': function () { return ({
|
|
182
|
-
discriminator: 'flat',
|
|
183
|
-
placeholder: factories.string(),
|
|
184
|
-
}); },
|
|
185
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit': function () { return ({
|
|
186
|
-
discriminator: 'per_weight_unit',
|
|
187
|
-
fee: factories.decimal(),
|
|
188
|
-
}); },
|
|
189
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_detail_percentage': function () { return ({
|
|
190
|
-
discriminator: 'percentage',
|
|
191
|
-
percentage: factories.decimal(),
|
|
192
|
-
}); },
|
|
193
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_form': function () { return ({
|
|
194
|
-
fuel: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
195
|
-
remote_area: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
196
|
-
oversize: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
197
|
-
duties_paid: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
198
|
-
emergency: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
199
|
-
peak: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
200
|
-
address_correction: factories['io.flow.billing.true.up.v0.models.label_surcharge_single_form'](),
|
|
201
|
-
}); },
|
|
202
|
-
'io.flow.billing.true.up.v0.models.label_surcharge_single_form': function () { return ({
|
|
203
|
-
amount: factories.decimal(),
|
|
204
|
-
percentage: factories.decimal(),
|
|
205
|
-
fee_per_weight_unit: factories.decimal(),
|
|
206
|
-
}); },
|
|
207
|
-
'io.flow.billing.true.up.v0.models.label_units': function () { return ({
|
|
208
|
-
currency: factories.string(),
|
|
209
|
-
weight: factories['io.flow.units.v0.enums.unit_of_weight'](),
|
|
210
|
-
length: factories['io.flow.units.v0.enums.unit_of_length'](),
|
|
211
|
-
}); },
|
|
212
|
-
'io.flow.billing.true.up.v0.models.metadata_proposition': function () { return ({
|
|
213
|
-
shipping_method: factories['io.flow.billing.true.up.v0.models.shipping_method_reference'](),
|
|
214
|
-
name: factories.string(),
|
|
215
|
-
}); },
|
|
216
|
-
'io.flow.billing.true.up.v0.models.metadata_ratecard': function () { return ({
|
|
217
|
-
id: factories.string(),
|
|
218
|
-
proposition: factories['io.flow.billing.true.up.v0.models.metadata_proposition'](),
|
|
219
|
-
}); },
|
|
220
|
-
'io.flow.billing.true.up.v0.models.metadata_weights': function () { return ({
|
|
221
|
-
dead: factories['io.flow.billing.true.up.v0.models.weights_dead'](),
|
|
222
|
-
dimensional: factories['io.flow.billing.true.up.v0.models.weights_dimensional'](),
|
|
223
|
-
}); },
|
|
224
|
-
'io.flow.billing.true.up.v0.models.shipping_method_reference': function () { return ({
|
|
225
|
-
id: factories.string(),
|
|
226
|
-
}); },
|
|
227
|
-
'io.flow.billing.true.up.v0.models.true_up_label_summary': function () { return ({
|
|
228
|
-
id: factories.string(),
|
|
229
|
-
carrier_service_id: factories.string(),
|
|
230
|
-
carrier_tracking_number: factories.string(),
|
|
231
|
-
flow_tracking_number: factories.string(),
|
|
232
|
-
created_at: factories.date_time_iso_8601(),
|
|
233
|
-
}); },
|
|
234
|
-
'io.flow.billing.true.up.v0.models.weights_dead': function () { return ({
|
|
235
|
-
weight: factories.decimal(),
|
|
236
|
-
}); },
|
|
237
|
-
'io.flow.billing.true.up.v0.models.weights_dimensional': function () { return ({
|
|
238
|
-
weight: factories.decimal(),
|
|
239
|
-
length: factories.decimal(),
|
|
240
|
-
width: factories.decimal(),
|
|
241
|
-
height: factories.decimal(),
|
|
242
|
-
}); },
|
|
243
|
-
'io.flow.billing.true.up.v0.unions.label_surcharge_detail': function () {
|
|
244
|
-
var f = faker.helpers.arrayElement([
|
|
245
|
-
function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_flat'](); },
|
|
246
|
-
function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_percentage'](); },
|
|
247
|
-
function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit'](); },
|
|
248
|
-
]);
|
|
249
|
-
return f();
|
|
250
|
-
},
|
|
251
118
|
'io.flow.error.v0.enums.generic_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']); },
|
|
252
119
|
'io.flow.error.v0.models.generic_error': function () { return ({
|
|
253
120
|
code: factories['io.flow.error.v0.enums.generic_error_code'](),
|
|
@@ -2004,6 +1871,7 @@ var factories = {
|
|
|
2004
1871
|
network: factories.string(),
|
|
2005
1872
|
request_three_d_secure: factories['io.flow.stripe.v0.enums.request_three_d_secure_type'](),
|
|
2006
1873
|
stored_credential_transaction_type: factories['io.flow.stripe.v0.enums.stored_credential_transaction_type'](),
|
|
1874
|
+
mcc: factories.string(),
|
|
2007
1875
|
}); },
|
|
2008
1876
|
'io.flow.stripe.v0.models.payment_outcome': function () { return ({
|
|
2009
1877
|
network_status: factories['io.flow.stripe.v0.enums.network_status'](),
|
|
@@ -2285,9 +2153,6 @@ var factories = {
|
|
|
2285
2153
|
var f = faker.helpers.arrayElement([function () { return factories['io.flow.stripe.v0.models.payment_method_form_card'](); }]);
|
|
2286
2154
|
return f();
|
|
2287
2155
|
},
|
|
2288
|
-
'io.flow.units.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
2289
|
-
'io.flow.units.v0.enums.unit_of_volume': function () { return faker.helpers.arrayElement(['cubic_inch', 'cubic_meter']); },
|
|
2290
|
-
'io.flow.units.v0.enums.unit_of_weight': function () { return faker.helpers.arrayElement(['gram', 'kilogram', 'ounce', 'pound']); },
|
|
2291
2156
|
'io.flow.v0.enums.abandoned_order_promotion_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
2292
2157
|
'io.flow.v0.enums.abandoned_order_setting_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
2293
2158
|
'io.flow.v0.enums.address_field_name': function () { return faker.helpers.arrayElement([
|
|
@@ -2487,6 +2352,10 @@ var factories = {
|
|
|
2487
2352
|
'channel_payout_deleted',
|
|
2488
2353
|
'organization_payout_upserted',
|
|
2489
2354
|
'organization_payout_deleted',
|
|
2355
|
+
'channel_pending_payout_transaction_upserted',
|
|
2356
|
+
'channel_pending_payout_transaction_deleted',
|
|
2357
|
+
'organization_pending_payout_transaction_upserted',
|
|
2358
|
+
'organization_pending_payout_transaction_deleted',
|
|
2490
2359
|
'attribute_upserted',
|
|
2491
2360
|
'attribute_deleted',
|
|
2492
2361
|
'attribute_upserted_v2',
|
|
@@ -3012,6 +2881,14 @@ var factories = {
|
|
|
3012
2881
|
]); },
|
|
3013
2882
|
'io.flow.v0.enums.payout_attachment_type': function () { return faker.helpers.arrayElement(['transactions']); },
|
|
3014
2883
|
'io.flow.v0.enums.payout_status_failure_code': function () { return faker.helpers.arrayElement(['invalid_account_number', 'account_closed', 'could_not_process']); },
|
|
2884
|
+
'io.flow.v0.enums.pending_payout_transaction_reason_code': function () { return faker.helpers.arrayElement([
|
|
2885
|
+
'waiting_for_full_refund',
|
|
2886
|
+
'waiting_for_fulfillment',
|
|
2887
|
+
'waiting_for_in_transit',
|
|
2888
|
+
'waiting_for_next_payout_date',
|
|
2889
|
+
'waiting_for_tracking_info',
|
|
2890
|
+
'waiting_for_positive_account_balance',
|
|
2891
|
+
]); },
|
|
3015
2892
|
'io.flow.v0.enums.permitted_http_method': function () { return faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
3016
2893
|
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
3017
2894
|
'io.flow.v0.enums.postal_type': function () { return faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']); },
|
|
@@ -3177,14 +3054,6 @@ var factories = {
|
|
|
3177
3054
|
]); },
|
|
3178
3055
|
'io.flow.v0.enums.trade_agreement_name': function () { return faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
|
|
3179
3056
|
'io.flow.v0.enums.trade_agreement_status': function () { return faker.helpers.arrayElement(['supported', 'not_supported']); },
|
|
3180
|
-
'io.flow.v0.enums.transaction_payout_pending_reason': function () { return faker.helpers.arrayElement([
|
|
3181
|
-
'waiting_for_full_refund',
|
|
3182
|
-
'waiting_for_fulfillment',
|
|
3183
|
-
'waiting_for_in_transit',
|
|
3184
|
-
'waiting_for_next_payout_date',
|
|
3185
|
-
'external_fulfillment_missing_tracking_info',
|
|
3186
|
-
'waiting_for_positive_account_balance',
|
|
3187
|
-
]); },
|
|
3188
3057
|
'io.flow.v0.enums.transaction_source': function () { return faker.helpers.arrayElement([
|
|
3189
3058
|
'capture',
|
|
3190
3059
|
'refund',
|
|
@@ -4501,6 +4370,16 @@ var factories = {
|
|
|
4501
4370
|
timestamp: factories.date_time_iso_8601(),
|
|
4502
4371
|
id: factories.string(),
|
|
4503
4372
|
}); },
|
|
4373
|
+
'io.flow.v0.models.channel_currency_pair': function () { return ({
|
|
4374
|
+
id: factories.string(),
|
|
4375
|
+
base: factories.string(),
|
|
4376
|
+
target: factories.string(),
|
|
4377
|
+
rate: factories['io.flow.v0.models.channel_currency_rate'](),
|
|
4378
|
+
}); },
|
|
4379
|
+
'io.flow.v0.models.channel_currency_rate': function () { return ({
|
|
4380
|
+
id: factories.string(),
|
|
4381
|
+
value: factories.decimal(),
|
|
4382
|
+
}); },
|
|
4504
4383
|
'io.flow.v0.models.channel_currency_upserted': function () { return ({
|
|
4505
4384
|
discriminator: 'channel_currency_upserted',
|
|
4506
4385
|
event_id: factories.string(),
|
|
@@ -4583,6 +4462,28 @@ var factories = {
|
|
|
4583
4462
|
channel_id: factories.string(),
|
|
4584
4463
|
payout: factories['io.flow.v0.models.channel_payout'](),
|
|
4585
4464
|
}); },
|
|
4465
|
+
'io.flow.v0.models.channel_pending_payout_transaction': function () { return ({
|
|
4466
|
+
id: factories.string(),
|
|
4467
|
+
reason: factories['io.flow.v0.models.pending_payout_transaction_reason'](),
|
|
4468
|
+
timeout: factories['io.flow.v0.models.pending_payout_transaction_timeout'](),
|
|
4469
|
+
created_at: factories.date_time_iso_8601(),
|
|
4470
|
+
updated_at: factories.date_time_iso_8601(),
|
|
4471
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
4472
|
+
}); },
|
|
4473
|
+
'io.flow.v0.models.channel_pending_payout_transaction_deleted': function () { return ({
|
|
4474
|
+
discriminator: 'channel_pending_payout_transaction_deleted',
|
|
4475
|
+
event_id: factories.string(),
|
|
4476
|
+
timestamp: factories.date_time_iso_8601(),
|
|
4477
|
+
channel_id: factories.string(),
|
|
4478
|
+
id: factories.string(),
|
|
4479
|
+
}); },
|
|
4480
|
+
'io.flow.v0.models.channel_pending_payout_transaction_upserted': function () { return ({
|
|
4481
|
+
discriminator: 'channel_pending_payout_transaction_upserted',
|
|
4482
|
+
event_id: factories.string(),
|
|
4483
|
+
timestamp: factories.date_time_iso_8601(),
|
|
4484
|
+
channel_id: factories.string(),
|
|
4485
|
+
channel_pending_payout_transaction: factories['io.flow.v0.models.channel_pending_payout_transaction'](),
|
|
4486
|
+
}); },
|
|
4586
4487
|
'io.flow.v0.models.channel_rate': function () { return ({
|
|
4587
4488
|
placeholder: factories.string(),
|
|
4588
4489
|
}); },
|
|
@@ -4663,11 +4564,6 @@ var factories = {
|
|
|
4663
4564
|
channel_id: factories.string(),
|
|
4664
4565
|
id: factories.string(),
|
|
4665
4566
|
}); },
|
|
4666
|
-
'io.flow.v0.models.channel_transaction_payout': function () { return ({
|
|
4667
|
-
transaction: factories['io.flow.v0.models.transaction_reference'](),
|
|
4668
|
-
waiting_for: factories['io.flow.v0.enums.transaction_payout_pending_reason'](),
|
|
4669
|
-
payout: factories['io.flow.v0.models.payout_reference'](),
|
|
4670
|
-
}); },
|
|
4671
4567
|
'io.flow.v0.models.channel_transaction_upserted': function () { return ({
|
|
4672
4568
|
discriminator: 'channel_transaction_upserted',
|
|
4673
4569
|
event_id: factories.string(),
|
|
@@ -5251,6 +5147,9 @@ var factories = {
|
|
|
5251
5147
|
'io.flow.v0.models.deactivation_put_form': function () { return ({
|
|
5252
5148
|
reason: factories.string(),
|
|
5253
5149
|
}); },
|
|
5150
|
+
'io.flow.v0.models.dead_weight': function () { return ({
|
|
5151
|
+
weight: factories.decimal(),
|
|
5152
|
+
}); },
|
|
5254
5153
|
'io.flow.v0.models.default_bank_account_form': function () { return ({
|
|
5255
5154
|
bank_account_id: factories.string(),
|
|
5256
5155
|
}); },
|
|
@@ -5466,6 +5365,12 @@ var factories = {
|
|
|
5466
5365
|
type: factories['io.flow.v0.enums.change_type'](),
|
|
5467
5366
|
dimension_estimate: factories['io.flow.v0.models.dimension_estimate'](),
|
|
5468
5367
|
}); },
|
|
5368
|
+
'io.flow.v0.models.dimensional_weight': function () { return ({
|
|
5369
|
+
weight: factories.decimal(),
|
|
5370
|
+
length: factories.decimal(),
|
|
5371
|
+
width: factories.decimal(),
|
|
5372
|
+
height: factories.decimal(),
|
|
5373
|
+
}); },
|
|
5469
5374
|
'io.flow.v0.models.dimensions': function () { return ({
|
|
5470
5375
|
product: factories['io.flow.v0.models.dimension'](),
|
|
5471
5376
|
packaging: factories['io.flow.v0.models.dimension'](),
|
|
@@ -6184,9 +6089,19 @@ var factories = {
|
|
|
6184
6089
|
starts_at: factories.date_time_iso_8601(),
|
|
6185
6090
|
ends_at: factories.date_time_iso_8601(),
|
|
6186
6091
|
}); },
|
|
6092
|
+
'io.flow.v0.models.fuel_surcharge_by_weight': function () { return ({
|
|
6093
|
+
discriminator: 'fuel_surcharge_by_weight',
|
|
6094
|
+
amount: factories.decimal(),
|
|
6095
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
6096
|
+
}); },
|
|
6097
|
+
'io.flow.v0.models.fuel_surcharge_percent': function () { return ({
|
|
6098
|
+
discriminator: 'fuel_surcharge_percent',
|
|
6099
|
+
percent: factories.decimal(),
|
|
6100
|
+
}); },
|
|
6187
6101
|
'io.flow.v0.models.fuel_surcharge_ratecard_fee': function () { return ({
|
|
6188
6102
|
discriminator: 'fuel_surcharge_ratecard_fee',
|
|
6189
6103
|
amount: factories['io.flow.v0.models.money'](),
|
|
6104
|
+
fuel_surcharge_rate: factories['io.flow.v0.unions.fuel_surcharge_rate'](),
|
|
6190
6105
|
}); },
|
|
6191
6106
|
'io.flow.v0.models.fuel_surcharge_service_fee': function () { return ({
|
|
6192
6107
|
discriminator: 'fuel_surcharge_service_fee',
|
|
@@ -6404,6 +6319,7 @@ var factories = {
|
|
|
6404
6319
|
currency: factories.string(),
|
|
6405
6320
|
amount: factories.double(),
|
|
6406
6321
|
fees: arrayOf(function () { return factories['io.flow.v0.unions.ratecard_fee'](); }),
|
|
6322
|
+
weight_break: factories.decimal(),
|
|
6407
6323
|
total: factories.double(),
|
|
6408
6324
|
lane: factories['io.flow.v0.models.lane_summary'](),
|
|
6409
6325
|
}); },
|
|
@@ -6964,6 +6880,10 @@ var factories = {
|
|
|
6964
6880
|
'io.flow.v0.models.kube-healthcheck': function () { return ({
|
|
6965
6881
|
status: factories.string(),
|
|
6966
6882
|
}); },
|
|
6883
|
+
'io.flow.v0.models.label_base': function () { return ({
|
|
6884
|
+
amount: factories.decimal(),
|
|
6885
|
+
weight: factories.decimal(),
|
|
6886
|
+
}); },
|
|
6967
6887
|
'io.flow.v0.models.label_deleted_v2': function () { return ({
|
|
6968
6888
|
discriminator: 'label_deleted_v2',
|
|
6969
6889
|
event_id: factories.string(),
|
|
@@ -6993,6 +6913,23 @@ var factories = {
|
|
|
6993
6913
|
'io.flow.v0.models.label_reference': function () { return ({
|
|
6994
6914
|
id: factories.string(),
|
|
6995
6915
|
}); },
|
|
6916
|
+
'io.flow.v0.models.label_surcharge': function () { return ({
|
|
6917
|
+
amount: factories.decimal(),
|
|
6918
|
+
type: factories['io.flow.v0.enums.trueup_surcharge_type'](),
|
|
6919
|
+
detail: factories['io.flow.v0.unions.label_surcharge_detail'](),
|
|
6920
|
+
}); },
|
|
6921
|
+
'io.flow.v0.models.label_surcharge_detail_flat': function () { return ({
|
|
6922
|
+
discriminator: 'flat',
|
|
6923
|
+
placeholder: factories.string(),
|
|
6924
|
+
}); },
|
|
6925
|
+
'io.flow.v0.models.label_surcharge_detail_per_weight_unit': function () { return ({
|
|
6926
|
+
discriminator: 'per_weight_unit',
|
|
6927
|
+
fee: factories.decimal(),
|
|
6928
|
+
}); },
|
|
6929
|
+
'io.flow.v0.models.label_surcharge_detail_percentage': function () { return ({
|
|
6930
|
+
discriminator: 'percentage',
|
|
6931
|
+
percentage: factories.decimal(),
|
|
6932
|
+
}); },
|
|
6996
6933
|
'io.flow.v0.models.label_tracking_carrier_service': function () { return ({
|
|
6997
6934
|
carrier_id: factories.string(),
|
|
6998
6935
|
service_id: factories.string(),
|
|
@@ -7011,6 +6948,11 @@ var factories = {
|
|
|
7011
6948
|
timestamp: factories.date_time_iso_8601(),
|
|
7012
6949
|
created_at: factories.date_time_iso_8601(),
|
|
7013
6950
|
}); },
|
|
6951
|
+
'io.flow.v0.models.label_units': function () { return ({
|
|
6952
|
+
currency: factories.string(),
|
|
6953
|
+
weight: factories['io.flow.v0.enums.unit_of_weight'](),
|
|
6954
|
+
length: factories['io.flow.v0.enums.unit_of_length'](),
|
|
6955
|
+
}); },
|
|
7014
6956
|
'io.flow.v0.models.label_upserted': function () { return ({
|
|
7015
6957
|
discriminator: 'label_upserted',
|
|
7016
6958
|
event_id: factories.string(),
|
|
@@ -8379,6 +8321,28 @@ var factories = {
|
|
|
8379
8321
|
organization: factories.string(),
|
|
8380
8322
|
payout: factories['io.flow.v0.models.organization_payout'](),
|
|
8381
8323
|
}); },
|
|
8324
|
+
'io.flow.v0.models.organization_pending_payout_transaction': function () { return ({
|
|
8325
|
+
id: factories.string(),
|
|
8326
|
+
reason: factories['io.flow.v0.models.pending_payout_transaction_reason'](),
|
|
8327
|
+
timeout: factories['io.flow.v0.models.pending_payout_transaction_timeout'](),
|
|
8328
|
+
created_at: factories.date_time_iso_8601(),
|
|
8329
|
+
updated_at: factories.date_time_iso_8601(),
|
|
8330
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
8331
|
+
}); },
|
|
8332
|
+
'io.flow.v0.models.organization_pending_payout_transaction_deleted': function () { return ({
|
|
8333
|
+
discriminator: 'organization_pending_payout_transaction_deleted',
|
|
8334
|
+
event_id: factories.string(),
|
|
8335
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8336
|
+
organization: factories.string(),
|
|
8337
|
+
id: factories.string(),
|
|
8338
|
+
}); },
|
|
8339
|
+
'io.flow.v0.models.organization_pending_payout_transaction_upserted': function () { return ({
|
|
8340
|
+
discriminator: 'organization_pending_payout_transaction_upserted',
|
|
8341
|
+
event_id: factories.string(),
|
|
8342
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8343
|
+
organization: factories.string(),
|
|
8344
|
+
organization_pending_payout_transaction: factories['io.flow.v0.models.organization_pending_payout_transaction'](),
|
|
8345
|
+
}); },
|
|
8382
8346
|
'io.flow.v0.models.organization_put_form': function () { return ({
|
|
8383
8347
|
name: factories.string(),
|
|
8384
8348
|
environment: factories['io.flow.v0.enums.environment'](),
|
|
@@ -8473,11 +8437,6 @@ var factories = {
|
|
|
8473
8437
|
organization: factories.string(),
|
|
8474
8438
|
id: factories.string(),
|
|
8475
8439
|
}); },
|
|
8476
|
-
'io.flow.v0.models.organization_transaction_payout': function () { return ({
|
|
8477
|
-
transaction: factories['io.flow.v0.models.transaction_reference'](),
|
|
8478
|
-
waiting_for: factories['io.flow.v0.enums.transaction_payout_pending_reason'](),
|
|
8479
|
-
payout: factories['io.flow.v0.models.payout_reference'](),
|
|
8480
|
-
}); },
|
|
8481
8440
|
'io.flow.v0.models.organization_transaction_upserted': function () { return ({
|
|
8482
8441
|
discriminator: 'organization_transaction_upserted',
|
|
8483
8442
|
event_id: factories.string(),
|
|
@@ -8956,6 +8915,7 @@ var factories = {
|
|
|
8956
8915
|
processor: factories.string(),
|
|
8957
8916
|
operation_identifier: factories['io.flow.v0.models.payment_processor_identifier'](),
|
|
8958
8917
|
account: factories['io.flow.v0.models.payment_processor_account'](),
|
|
8918
|
+
transaction_details: factories['io.flow.v0.unions.payment_processor_transaction_details'](),
|
|
8959
8919
|
}); },
|
|
8960
8920
|
'io.flow.v0.models.payment_processor_account': function () { return ({
|
|
8961
8921
|
organization: factories.string(),
|
|
@@ -8975,6 +8935,16 @@ var factories = {
|
|
|
8975
8935
|
discriminator: 'payment_processor_reference',
|
|
8976
8936
|
processor: factories.string(),
|
|
8977
8937
|
}); },
|
|
8938
|
+
'io.flow.v0.models.payment_processor_transaction_details_card': function () { return ({
|
|
8939
|
+
discriminator: 'card',
|
|
8940
|
+
transaction_identifier: factories.string(),
|
|
8941
|
+
method_type: factories.string(),
|
|
8942
|
+
result_status: factories.string(),
|
|
8943
|
+
reason_code: factories.string(),
|
|
8944
|
+
avs_result_code: factories.string(),
|
|
8945
|
+
cvv_result_code: factories.string(),
|
|
8946
|
+
threeds_result_code: factories.string(),
|
|
8947
|
+
}); },
|
|
8978
8948
|
'io.flow.v0.models.payment_reference': function () { return ({
|
|
8979
8949
|
id: factories.string(),
|
|
8980
8950
|
}); },
|
|
@@ -9181,10 +9151,12 @@ var factories = {
|
|
|
9181
9151
|
starts_at: factories.date_time_iso_8601(),
|
|
9182
9152
|
ends_at: factories.date_time_iso_8601(),
|
|
9183
9153
|
}); },
|
|
9184
|
-
'io.flow.v0.models.
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9154
|
+
'io.flow.v0.models.pending_payout_transaction_reason': function () { return ({
|
|
9155
|
+
code: factories['io.flow.v0.enums.pending_payout_transaction_reason_code'](),
|
|
9156
|
+
created_at: factories.date_time_iso_8601(),
|
|
9157
|
+
}); },
|
|
9158
|
+
'io.flow.v0.models.pending_payout_transaction_timeout': function () { return ({
|
|
9159
|
+
created_at: factories.date_time_iso_8601(),
|
|
9188
9160
|
}); },
|
|
9189
9161
|
'io.flow.v0.models.percent_margin': function () { return ({
|
|
9190
9162
|
discriminator: 'percent_margin',
|
|
@@ -10549,9 +10521,9 @@ var factories = {
|
|
|
10549
10521
|
required: factories.boolean(),
|
|
10550
10522
|
}); },
|
|
10551
10523
|
'io.flow.v0.models.shipping_label_hop_cost_itemized_estimate': function () { return ({
|
|
10552
|
-
units: factories['io.flow.
|
|
10553
|
-
base: factories['io.flow.
|
|
10554
|
-
surcharges: arrayOf(function () { return factories['io.flow.
|
|
10524
|
+
units: factories['io.flow.v0.models.label_units'](),
|
|
10525
|
+
base: factories['io.flow.v0.models.label_base'](),
|
|
10526
|
+
surcharges: arrayOf(function () { return factories['io.flow.v0.models.label_surcharge'](); }),
|
|
10555
10527
|
}); },
|
|
10556
10528
|
'io.flow.v0.models.shipping_label_hop_summary': function () { return ({
|
|
10557
10529
|
lane: factories['io.flow.v0.models.shipping_label_lane_summary'](),
|
|
@@ -10561,6 +10533,7 @@ var factories = {
|
|
|
10561
10533
|
'io.flow.v0.models.shipping_label_lane_summary': function () { return ({
|
|
10562
10534
|
id: factories.string(),
|
|
10563
10535
|
ratecard: factories['io.flow.v0.models.shipping_label_ratecard_summary'](),
|
|
10536
|
+
weight_break: factories.decimal(),
|
|
10564
10537
|
}); },
|
|
10565
10538
|
'io.flow.v0.models.shipping_label_package': function () { return ({
|
|
10566
10539
|
dimensions: factories['io.flow.v0.models.dimension'](),
|
|
@@ -11643,12 +11616,25 @@ var factories = {
|
|
|
11643
11616
|
iin: factories.string(),
|
|
11644
11617
|
country: factories.string(),
|
|
11645
11618
|
}); },
|
|
11619
|
+
'io.flow.v0.models.transaction_metadata_manual': function () { return ({
|
|
11620
|
+
discriminator: 'manual',
|
|
11621
|
+
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
11622
|
+
}); },
|
|
11623
|
+
'io.flow.v0.models.transaction_metadata_original_transaction': function () { return ({
|
|
11624
|
+
id: factories.string(),
|
|
11625
|
+
}); },
|
|
11646
11626
|
'io.flow.v0.models.transaction_metadata_shipping_label': function () { return ({
|
|
11647
11627
|
discriminator: 'shipping_label',
|
|
11648
11628
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
11629
|
+
carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
|
|
11630
|
+
}); },
|
|
11631
|
+
'io.flow.v0.models.transaction_metadata_shipping_label_carrier': function () { return ({
|
|
11632
|
+
id: factories.string(),
|
|
11633
|
+
tracking_number: factories.string(),
|
|
11649
11634
|
}); },
|
|
11650
11635
|
'io.flow.v0.models.transaction_metadata_trueup': function () { return ({
|
|
11651
11636
|
discriminator: 'trueup',
|
|
11637
|
+
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
11652
11638
|
estimate: factories['io.flow.v0.models.transaction_metadata_trueup_data'](),
|
|
11653
11639
|
actual: factories['io.flow.v0.models.transaction_metadata_trueup_data'](),
|
|
11654
11640
|
}); },
|
|
@@ -11658,6 +11644,8 @@ var factories = {
|
|
|
11658
11644
|
base: factories['io.flow.v0.models.trueup_label_base'](),
|
|
11659
11645
|
surcharges: arrayOf(function () { return factories['io.flow.v0.models.trueup_label_surcharge'](); }),
|
|
11660
11646
|
total: factories.decimal(),
|
|
11647
|
+
dead: factories['io.flow.v0.models.dead_weight'](),
|
|
11648
|
+
dimensional: factories['io.flow.v0.models.dimensional_weight'](),
|
|
11661
11649
|
}); },
|
|
11662
11650
|
'io.flow.v0.models.transaction_network_details_card': function () { return ({
|
|
11663
11651
|
network_transaction_id: factories.string(),
|
|
@@ -12128,6 +12116,10 @@ var factories = {
|
|
|
12128
12116
|
function () { return factories['io.flow.v0.models.channel_payout_deleted'](); },
|
|
12129
12117
|
function () { return factories['io.flow.v0.models.organization_payout_upserted'](); },
|
|
12130
12118
|
function () { return factories['io.flow.v0.models.organization_payout_deleted'](); },
|
|
12119
|
+
function () { return factories['io.flow.v0.models.channel_pending_payout_transaction_upserted'](); },
|
|
12120
|
+
function () { return factories['io.flow.v0.models.channel_pending_payout_transaction_deleted'](); },
|
|
12121
|
+
function () { return factories['io.flow.v0.models.organization_pending_payout_transaction_upserted'](); },
|
|
12122
|
+
function () { return factories['io.flow.v0.models.organization_pending_payout_transaction_deleted'](); },
|
|
12131
12123
|
function () { return factories['io.flow.v0.models.attribute_upserted'](); },
|
|
12132
12124
|
function () { return factories['io.flow.v0.models.attribute_deleted'](); },
|
|
12133
12125
|
function () { return factories['io.flow.v0.models.attribute_upserted_v2'](); },
|
|
@@ -12413,6 +12405,13 @@ var factories = {
|
|
|
12413
12405
|
]);
|
|
12414
12406
|
return f();
|
|
12415
12407
|
},
|
|
12408
|
+
'io.flow.v0.unions.fuel_surcharge_rate': function () {
|
|
12409
|
+
var f = faker.helpers.arrayElement([
|
|
12410
|
+
function () { return factories['io.flow.v0.models.fuel_surcharge_percent'](); },
|
|
12411
|
+
function () { return factories['io.flow.v0.models.fuel_surcharge_by_weight'](); },
|
|
12412
|
+
]);
|
|
12413
|
+
return f();
|
|
12414
|
+
},
|
|
12416
12415
|
'io.flow.v0.unions.gateway_authentication_data': function () {
|
|
12417
12416
|
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.stripe_authentication_data'](); }]);
|
|
12418
12417
|
return f();
|
|
@@ -12446,6 +12445,14 @@ var factories = {
|
|
|
12446
12445
|
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.know_your_business_usa_form'](); }]);
|
|
12447
12446
|
return f();
|
|
12448
12447
|
},
|
|
12448
|
+
'io.flow.v0.unions.label_surcharge_detail': function () {
|
|
12449
|
+
var f = faker.helpers.arrayElement([
|
|
12450
|
+
function () { return factories['io.flow.v0.models.label_surcharge_detail_flat'](); },
|
|
12451
|
+
function () { return factories['io.flow.v0.models.label_surcharge_detail_percentage'](); },
|
|
12452
|
+
function () { return factories['io.flow.v0.models.label_surcharge_detail_per_weight_unit'](); },
|
|
12453
|
+
]);
|
|
12454
|
+
return f();
|
|
12455
|
+
},
|
|
12449
12456
|
'io.flow.v0.unions.localized_price': function () {
|
|
12450
12457
|
var f = faker.helpers.arrayElement([
|
|
12451
12458
|
function () { return factories['io.flow.v0.models.localized_item_price'](); },
|
|
@@ -12653,6 +12660,12 @@ var factories = {
|
|
|
12653
12660
|
]);
|
|
12654
12661
|
return f();
|
|
12655
12662
|
},
|
|
12663
|
+
'io.flow.v0.unions.payment_processor_transaction_details': function () {
|
|
12664
|
+
var f = faker.helpers.arrayElement([
|
|
12665
|
+
function () { return factories['io.flow.v0.models.payment_processor_transaction_details_card'](); },
|
|
12666
|
+
]);
|
|
12667
|
+
return f();
|
|
12668
|
+
},
|
|
12656
12669
|
'io.flow.v0.unions.payment_source': function () {
|
|
12657
12670
|
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.card_payment_source'](); }]);
|
|
12658
12671
|
return f();
|
|
@@ -12885,6 +12898,7 @@ var factories = {
|
|
|
12885
12898
|
function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label'](); },
|
|
12886
12899
|
function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); },
|
|
12887
12900
|
function () { return factories['io.flow.v0.models.transaction_metadata_trueup'](); },
|
|
12901
|
+
function () { return factories['io.flow.v0.models.transaction_metadata_manual'](); },
|
|
12888
12902
|
]);
|
|
12889
12903
|
return f();
|
|
12890
12904
|
},
|
|
@@ -13127,6 +13141,8 @@ export var makeChannelBankAccount = function () { return factories['io.flow.v0.m
|
|
|
13127
13141
|
export var makeChannelCurrency = function () { return factories['io.flow.v0.models.channel_currency'](); };
|
|
13128
13142
|
export var makeChannelCurrencyCapability = function () { return factories['io.flow.v0.enums.channel_currency_capability'](); };
|
|
13129
13143
|
export var makeChannelCurrencyDeleted = function () { return factories['io.flow.v0.models.channel_currency_deleted'](); };
|
|
13144
|
+
export var makeChannelCurrencyPair = function () { return factories['io.flow.v0.models.channel_currency_pair'](); };
|
|
13145
|
+
export var makeChannelCurrencyRate = function () { return factories['io.flow.v0.models.channel_currency_rate'](); };
|
|
13130
13146
|
export var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
|
|
13131
13147
|
export var makeChannelDefaultBankAccount = function () { return factories['io.flow.v0.models.channel_default_bank_account'](); };
|
|
13132
13148
|
export var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
|
|
@@ -13140,6 +13156,9 @@ export var makeChannelOrganizationUpserted = function () { return factories['io.
|
|
|
13140
13156
|
export var makeChannelPayout = function () { return factories['io.flow.v0.models.channel_payout'](); };
|
|
13141
13157
|
export var makeChannelPayoutDeleted = function () { return factories['io.flow.v0.models.channel_payout_deleted'](); };
|
|
13142
13158
|
export var makeChannelPayoutUpserted = function () { return factories['io.flow.v0.models.channel_payout_upserted'](); };
|
|
13159
|
+
export var makeChannelPendingPayoutTransaction = function () { return factories['io.flow.v0.models.channel_pending_payout_transaction'](); };
|
|
13160
|
+
export var makeChannelPendingPayoutTransactionDeleted = function () { return factories['io.flow.v0.models.channel_pending_payout_transaction_deleted'](); };
|
|
13161
|
+
export var makeChannelPendingPayoutTransactionUpserted = function () { return factories['io.flow.v0.models.channel_pending_payout_transaction_upserted'](); };
|
|
13143
13162
|
export var makeChannelRate = function () { return factories['io.flow.v0.models.channel_rate'](); };
|
|
13144
13163
|
export var makeChannelReference = function () { return factories['io.flow.v0.models.channel_reference'](); };
|
|
13145
13164
|
export var makeChannelStatement = function () { return factories['io.flow.v0.models.channel_statement'](); };
|
|
@@ -13151,7 +13170,6 @@ export var makeChannelTokenReference = function () { return factories['io.flow.v
|
|
|
13151
13170
|
export var makeChannelTransaction = function () { return factories['io.flow.v0.models.channel_transaction'](); };
|
|
13152
13171
|
export var makeChannelTransactionDeleted = function () { return factories['io.flow.v0.models.channel_transaction_deleted'](); };
|
|
13153
13172
|
export var makeChannelTransactionDeletedV2 = function () { return factories['io.flow.v0.models.channel_transaction_deleted_v2'](); };
|
|
13154
|
-
export var makeChannelTransactionPayout = function () { return factories['io.flow.v0.models.channel_transaction_payout'](); };
|
|
13155
13173
|
export var makeChannelTransactionUpserted = function () { return factories['io.flow.v0.models.channel_transaction_upserted'](); };
|
|
13156
13174
|
export var makeChannelUpserted = function () { return factories['io.flow.v0.models.channel_upserted'](); };
|
|
13157
13175
|
export var makeChannelViesRegistration = function () { return factories['io.flow.v0.models.channel_vies_registration'](); };
|
|
@@ -13269,6 +13287,7 @@ export var makeDatetimeWithTimezone = function () { return factories['io.flow.v0
|
|
|
13269
13287
|
export var makeDayOfWeek = function () { return factories['io.flow.v0.enums.day_of_week'](); };
|
|
13270
13288
|
export var makeDdpRatecardFee = function () { return factories['io.flow.v0.models.ddp_ratecard_fee'](); };
|
|
13271
13289
|
export var makeDeactivationPutForm = function () { return factories['io.flow.v0.models.deactivation_put_form'](); };
|
|
13290
|
+
export var makeDeadWeight = function () { return factories['io.flow.v0.models.dead_weight'](); };
|
|
13272
13291
|
export var makeDefaultBankAccountForm = function () { return factories['io.flow.v0.models.default_bank_account_form'](); };
|
|
13273
13292
|
export var makeDeliveredDuty = function () { return factories['io.flow.v0.enums.delivered_duty'](); };
|
|
13274
13293
|
export var makeDeliveredDutyDisplayType = function () { return factories['io.flow.v0.enums.delivered_duty_display_type'](); };
|
|
@@ -13308,6 +13327,7 @@ export var makeDimension = function () { return factories['io.flow.v0.models.dim
|
|
|
13308
13327
|
export var makeDimensionEstimate = function () { return factories['io.flow.v0.models.dimension_estimate'](); };
|
|
13309
13328
|
export var makeDimensionEstimateForm = function () { return factories['io.flow.v0.models.dimension_estimate_form'](); };
|
|
13310
13329
|
export var makeDimensionEstimateVersion = function () { return factories['io.flow.v0.models.dimension_estimate_version'](); };
|
|
13330
|
+
export var makeDimensionalWeight = function () { return factories['io.flow.v0.models.dimensional_weight'](); };
|
|
13311
13331
|
export var makeDimensions = function () { return factories['io.flow.v0.models.dimensions'](); };
|
|
13312
13332
|
export var makeDirectAuthorizationForm = function () { return factories['io.flow.v0.models.direct_authorization_form'](); };
|
|
13313
13333
|
export var makeDirectDebit = function () { return factories['io.flow.v0.models.direct_debit'](); };
|
|
@@ -13481,6 +13501,9 @@ export var makeFtpOrganizationSettingsForm = function () { return factories['io.
|
|
|
13481
13501
|
export var makeFtpServer = function () { return factories['io.flow.v0.models.ftp_server'](); };
|
|
13482
13502
|
export var makeFtpUser = function () { return factories['io.flow.v0.models.ftp_user'](); };
|
|
13483
13503
|
export var makeFuelSurchargeAmountByWeightServiceFee = function () { return factories['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'](); };
|
|
13504
|
+
export var makeFuelSurchargeByWeight = function () { return factories['io.flow.v0.models.fuel_surcharge_by_weight'](); };
|
|
13505
|
+
export var makeFuelSurchargePercent = function () { return factories['io.flow.v0.models.fuel_surcharge_percent'](); };
|
|
13506
|
+
export var makeFuelSurchargeRate = function () { return factories['io.flow.v0.unions.fuel_surcharge_rate'](); };
|
|
13484
13507
|
export var makeFuelSurchargeRatecardFee = function () { return factories['io.flow.v0.models.fuel_surcharge_ratecard_fee'](); };
|
|
13485
13508
|
export var makeFuelSurchargeServiceFee = function () { return factories['io.flow.v0.models.fuel_surcharge_service_fee'](); };
|
|
13486
13509
|
export var makeFulfillment = function () { return factories['io.flow.v0.models.fulfillment'](); };
|
|
@@ -13634,16 +13657,23 @@ export var makeKnowYourBusinessForm = function () { return factories['io.flow.v0
|
|
|
13634
13657
|
export var makeKnowYourBusinessUsa = function () { return factories['io.flow.v0.models.know_your_business_usa'](); };
|
|
13635
13658
|
export var makeKnowYourBusinessUsaForm = function () { return factories['io.flow.v0.models.know_your_business_usa_form'](); };
|
|
13636
13659
|
export var makeKubeHealthcheck = function () { return factories['io.flow.v0.models.kube-healthcheck'](); };
|
|
13660
|
+
export var makeLabelBase = function () { return factories['io.flow.v0.models.label_base'](); };
|
|
13637
13661
|
export var makeLabelDeletedV2 = function () { return factories['io.flow.v0.models.label_deleted_v2'](); };
|
|
13638
13662
|
export var makeLabelFormatDeleted = function () { return factories['io.flow.v0.models.label_format_deleted'](); };
|
|
13639
13663
|
export var makeLabelFormatUpserted = function () { return factories['io.flow.v0.models.label_format_upserted'](); };
|
|
13640
13664
|
export var makeLabelOrderSummary = function () { return factories['io.flow.v0.models.label_order_summary'](); };
|
|
13641
13665
|
export var makeLabelReference = function () { return factories['io.flow.v0.models.label_reference'](); };
|
|
13642
13666
|
export var makeLabelRequestMethod = function () { return factories['io.flow.v0.enums.label_request_method'](); };
|
|
13667
|
+
export var makeLabelSurcharge = function () { return factories['io.flow.v0.models.label_surcharge'](); };
|
|
13668
|
+
export var makeLabelSurchargeDetail = function () { return factories['io.flow.v0.unions.label_surcharge_detail'](); };
|
|
13669
|
+
export var makeLabelSurchargeDetailFlat = function () { return factories['io.flow.v0.models.label_surcharge_detail_flat'](); };
|
|
13670
|
+
export var makeLabelSurchargeDetailPerWeightUnit = function () { return factories['io.flow.v0.models.label_surcharge_detail_per_weight_unit'](); };
|
|
13671
|
+
export var makeLabelSurchargeDetailPercentage = function () { return factories['io.flow.v0.models.label_surcharge_detail_percentage'](); };
|
|
13643
13672
|
export var makeLabelTrackingCarrierService = function () { return factories['io.flow.v0.models.label_tracking_carrier_service'](); };
|
|
13644
13673
|
export var makeLabelTrackingSummary = function () { return factories['io.flow.v0.models.label_tracking_summary'](); };
|
|
13645
13674
|
export var makeLabelTrackingSummaryUpdate = function () { return factories['io.flow.v0.models.label_tracking_summary_update'](); };
|
|
13646
13675
|
export var makeLabelTriggerMethod = function () { return factories['io.flow.v0.enums.label_trigger_method'](); };
|
|
13676
|
+
export var makeLabelUnits = function () { return factories['io.flow.v0.models.label_units'](); };
|
|
13647
13677
|
export var makeLabelUpserted = function () { return factories['io.flow.v0.models.label_upserted'](); };
|
|
13648
13678
|
export var makeLabelUpsertedV2 = function () { return factories['io.flow.v0.models.label_upserted_v2'](); };
|
|
13649
13679
|
export var makeLandedCostItem = function () { return factories['io.flow.v0.models.landed_cost_item'](); };
|
|
@@ -13907,6 +13937,9 @@ export var makeOrganizationPaymentMethodTag = function () { return factories['io
|
|
|
13907
13937
|
export var makeOrganizationPayout = function () { return factories['io.flow.v0.models.organization_payout'](); };
|
|
13908
13938
|
export var makeOrganizationPayoutDeleted = function () { return factories['io.flow.v0.models.organization_payout_deleted'](); };
|
|
13909
13939
|
export var makeOrganizationPayoutUpserted = function () { return factories['io.flow.v0.models.organization_payout_upserted'](); };
|
|
13940
|
+
export var makeOrganizationPendingPayoutTransaction = function () { return factories['io.flow.v0.models.organization_pending_payout_transaction'](); };
|
|
13941
|
+
export var makeOrganizationPendingPayoutTransactionDeleted = function () { return factories['io.flow.v0.models.organization_pending_payout_transaction_deleted'](); };
|
|
13942
|
+
export var makeOrganizationPendingPayoutTransactionUpserted = function () { return factories['io.flow.v0.models.organization_pending_payout_transaction_upserted'](); };
|
|
13910
13943
|
export var makeOrganizationPutForm = function () { return factories['io.flow.v0.models.organization_put_form'](); };
|
|
13911
13944
|
export var makeOrganizationRatesData = function () { return factories['io.flow.v0.models.organization_rates_data'](); };
|
|
13912
13945
|
export var makeOrganizationRatesPublished = function () { return factories['io.flow.v0.models.organization_rates_published'](); };
|
|
@@ -13922,7 +13955,6 @@ export var makeOrganizationTokenReference = function () { return factories['io.f
|
|
|
13922
13955
|
export var makeOrganizationTokenV2 = function () { return factories['io.flow.v0.models.organization_token_v2'](); };
|
|
13923
13956
|
export var makeOrganizationTokenV2Reference = function () { return factories['io.flow.v0.models.organization_token_v2_reference'](); };
|
|
13924
13957
|
export var makeOrganizationTransactionDeleted = function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); };
|
|
13925
|
-
export var makeOrganizationTransactionPayout = function () { return factories['io.flow.v0.models.organization_transaction_payout'](); };
|
|
13926
13958
|
export var makeOrganizationTransactionUpserted = function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); };
|
|
13927
13959
|
export var makeOrganizationType = function () { return factories['io.flow.v0.enums.organization_type'](); };
|
|
13928
13960
|
export var makeOrganizationUpserted = function () { return factories['io.flow.v0.models.organization_upserted'](); };
|
|
@@ -14039,6 +14071,8 @@ export var makePaymentProcessorAccount = function () { return factories['io.flow
|
|
|
14039
14071
|
export var makePaymentProcessorAccountReference = function () { return factories['io.flow.v0.models.payment_processor_account_reference'](); };
|
|
14040
14072
|
export var makePaymentProcessorIdentifier = function () { return factories['io.flow.v0.models.payment_processor_identifier'](); };
|
|
14041
14073
|
export var makePaymentProcessorReference = function () { return factories['io.flow.v0.models.payment_processor_reference'](); };
|
|
14074
|
+
export var makePaymentProcessorTransactionDetails = function () { return factories['io.flow.v0.unions.payment_processor_transaction_details'](); };
|
|
14075
|
+
export var makePaymentProcessorTransactionDetailsCard = function () { return factories['io.flow.v0.models.payment_processor_transaction_details_card'](); };
|
|
14042
14076
|
export var makePaymentReference = function () { return factories['io.flow.v0.models.payment_reference'](); };
|
|
14043
14077
|
export var makePaymentRefund = function () { return factories['io.flow.v0.models.payment_refund'](); };
|
|
14044
14078
|
export var makePaymentRefundForm = function () { return factories['io.flow.v0.models.payment_refund_form'](); };
|
|
@@ -14083,7 +14117,9 @@ export var makePaypalAuthorizationForm = function () { return factories['io.flow
|
|
|
14083
14117
|
export var makePeakSurchargeByWeightServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); };
|
|
14084
14118
|
export var makePeakSurchargeRatecardFee = function () { return factories['io.flow.v0.models.peak_surcharge_ratecard_fee'](); };
|
|
14085
14119
|
export var makePeakSurchargeServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_service_fee'](); };
|
|
14086
|
-
export var
|
|
14120
|
+
export var makePendingPayoutTransactionReason = function () { return factories['io.flow.v0.models.pending_payout_transaction_reason'](); };
|
|
14121
|
+
export var makePendingPayoutTransactionReasonCode = function () { return factories['io.flow.v0.enums.pending_payout_transaction_reason_code'](); };
|
|
14122
|
+
export var makePendingPayoutTransactionTimeout = function () { return factories['io.flow.v0.models.pending_payout_transaction_timeout'](); };
|
|
14087
14123
|
export var makePercentMargin = function () { return factories['io.flow.v0.models.percent_margin'](); };
|
|
14088
14124
|
export var makePermissionAudit = function () { return factories['io.flow.v0.models.permission_audit'](); };
|
|
14089
14125
|
export var makePermissionCheck = function () { return factories['io.flow.v0.models.permission_check'](); };
|
|
@@ -14550,11 +14586,13 @@ export var makeTransactionMetadata = function () { return factories['io.flow.v0.
|
|
|
14550
14586
|
export var makeTransactionMetadataChannel = function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); };
|
|
14551
14587
|
export var makeTransactionMetadataChannelCardMetadata = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](); };
|
|
14552
14588
|
export var makeTransactionMetadataChannelCardMetadataIssuerSummary = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'](); };
|
|
14589
|
+
export var makeTransactionMetadataManual = function () { return factories['io.flow.v0.models.transaction_metadata_manual'](); };
|
|
14590
|
+
export var makeTransactionMetadataOriginalTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_original_transaction'](); };
|
|
14553
14591
|
export var makeTransactionMetadataShippingLabel = function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label'](); };
|
|
14592
|
+
export var makeTransactionMetadataShippingLabelCarrier = function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](); };
|
|
14554
14593
|
export var makeTransactionMetadataTrueup = function () { return factories['io.flow.v0.models.transaction_metadata_trueup'](); };
|
|
14555
14594
|
export var makeTransactionMetadataTrueupData = function () { return factories['io.flow.v0.models.transaction_metadata_trueup_data'](); };
|
|
14556
14595
|
export var makeTransactionNetworkDetailsCard = function () { return factories['io.flow.v0.models.transaction_network_details_card'](); };
|
|
14557
|
-
export var makeTransactionPayoutPendingReason = function () { return factories['io.flow.v0.enums.transaction_payout_pending_reason'](); };
|
|
14558
14596
|
export var makeTransactionReference = function () { return factories['io.flow.v0.models.transaction_reference'](); };
|
|
14559
14597
|
export var makeTransactionSource = function () { return factories['io.flow.v0.enums.transaction_source'](); };
|
|
14560
14598
|
export var makeTransactionUpserted = function () { return factories['io.flow.v0.models.transaction_upserted'](); };
|