@flowio/api-internal-prop-types 9.24.36 → 9.24.37
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/lib/api-internal.d.ts +14 -13
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +14 -13
- package/src/api-internal.js +19 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.24.
|
|
3
|
+
"version": "9.24.37",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "8da9deb769d2ef8206130a68406e58109e9e5635"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -9100,6 +9100,7 @@ declare namespace io.flow.tracking.v0.models {
|
|
|
9100
9100
|
}
|
|
9101
9101
|
|
|
9102
9102
|
declare namespace io.flow.merchant.onboarding.v0.enums {
|
|
9103
|
+
type LogisticsFormatPreference = 'shopify_console' | 'existing_3pl_integration' | 'byo_integration';
|
|
9103
9104
|
type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
|
|
9104
9105
|
type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
|
|
9105
9106
|
type RegionType = 'state' | 'province' | 'jurisdiction';
|
|
@@ -9112,7 +9113,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
9112
9113
|
}
|
|
9113
9114
|
|
|
9114
9115
|
interface LogisticsFormat {
|
|
9115
|
-
readonly 'preference'
|
|
9116
|
+
readonly 'preference': io.flow.merchant.onboarding.v0.enums.LogisticsFormatPreference;
|
|
9116
9117
|
readonly 'description'?: string;
|
|
9117
9118
|
}
|
|
9118
9119
|
|
|
@@ -9210,10 +9211,9 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
9210
9211
|
readonly 'status_updated_at'?: string;
|
|
9211
9212
|
readonly 'logistics_format'?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
|
|
9212
9213
|
readonly 'shop'?: io.flow.merchant.onboarding.v0.models.Shop;
|
|
9213
|
-
readonly '
|
|
9214
|
-
readonly '
|
|
9214
|
+
readonly 'last_year_xborder_gmv'?: io.flow.common.v0.models.Money;
|
|
9215
|
+
readonly 'last_month_xborder_gmv'?: io.flow.common.v0.models.Money;
|
|
9215
9216
|
readonly 'average_order_value'?: io.flow.common.v0.models.Money;
|
|
9216
|
-
readonly 'total_order'?: io.flow.merchant.onboarding.v0.models.TotalOrder;
|
|
9217
9217
|
}
|
|
9218
9218
|
|
|
9219
9219
|
interface ShopifyMerchantApplicationForm {
|
|
@@ -9244,10 +9244,9 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
9244
9244
|
readonly 'rate_card': string;
|
|
9245
9245
|
readonly 'logistics_format'?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
|
|
9246
9246
|
readonly 'shop'?: io.flow.merchant.onboarding.v0.models.Shop;
|
|
9247
|
-
readonly '
|
|
9248
|
-
readonly '
|
|
9247
|
+
readonly 'last_year_xborder_gmv'?: io.flow.common.v0.models.Money;
|
|
9248
|
+
readonly 'last_month_xborder_gmv'?: io.flow.common.v0.models.Money;
|
|
9249
9249
|
readonly 'average_order_value'?: io.flow.common.v0.models.Money;
|
|
9250
|
-
readonly 'total_order'?: io.flow.merchant.onboarding.v0.models.TotalOrder;
|
|
9251
9250
|
}
|
|
9252
9251
|
|
|
9253
9252
|
interface ShopifyMerchantApplicationPutForm {
|
|
@@ -9269,11 +9268,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
9269
9268
|
readonly 'center_id'?: string;
|
|
9270
9269
|
}
|
|
9271
9270
|
|
|
9272
|
-
interface TotalOrder {
|
|
9273
|
-
readonly 'value'?: io.flow.common.v0.models.Money;
|
|
9274
|
-
readonly 'count'?: number;
|
|
9275
|
-
}
|
|
9276
|
-
|
|
9277
9271
|
interface UltimateBeneficiaryOwner {
|
|
9278
9272
|
readonly 'name': string;
|
|
9279
9273
|
readonly 'dob': string;
|
|
@@ -9978,6 +9972,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
9978
9972
|
readonly 'withholdings': io.flow.billing.v0.models.WithholdingDeduction[];
|
|
9979
9973
|
readonly 'discounts': io.flow.billing.v0.models.BillingDiscount[];
|
|
9980
9974
|
readonly 'net': number;
|
|
9975
|
+
readonly 'identifiers': Record<string, string>;
|
|
9981
9976
|
readonly 'created_at': string;
|
|
9982
9977
|
}
|
|
9983
9978
|
|
|
@@ -10030,6 +10025,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
10030
10025
|
readonly 'withholdings': io.flow.billing.v0.models.WithholdingDeduction[];
|
|
10031
10026
|
readonly 'discounts': io.flow.billing.v0.models.BillingDiscount[];
|
|
10032
10027
|
readonly 'net': number;
|
|
10028
|
+
readonly 'identifiers': Record<string, string>;
|
|
10033
10029
|
readonly 'created_at': string;
|
|
10034
10030
|
}
|
|
10035
10031
|
|
|
@@ -20131,6 +20127,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20131
20127
|
readonly 'organization_restriction_approval': io.flow.internal.v0.models.OrganizationRestrictionApproval;
|
|
20132
20128
|
}
|
|
20133
20129
|
|
|
20130
|
+
interface OrganizationRestrictionNoteForm {
|
|
20131
|
+
readonly 'note': string;
|
|
20132
|
+
}
|
|
20133
|
+
|
|
20134
20134
|
interface OrganizationRestrictionScreeningDecisionForm {
|
|
20135
20135
|
readonly 'organization_id': string;
|
|
20136
20136
|
readonly 'screening_status': io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
@@ -21739,7 +21739,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21739
21739
|
}
|
|
21740
21740
|
|
|
21741
21741
|
interface ShopifyMarketsSync {
|
|
21742
|
-
readonly '
|
|
21742
|
+
readonly 'force_resync'?: boolean;
|
|
21743
21743
|
}
|
|
21744
21744
|
|
|
21745
21745
|
interface ShopifyMarketsWebhookRegistration {
|
|
@@ -24540,6 +24540,7 @@ export const organizationPaymentSettingVersion: PropTypes.Requireable<io.flow.in
|
|
|
24540
24540
|
export const organizationRestrictionApproval: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationRestrictionApproval>;
|
|
24541
24541
|
export const organizationRestrictionApprovalDeleted: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationRestrictionApprovalDeleted>;
|
|
24542
24542
|
export const organizationRestrictionApprovalUpserted: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted>;
|
|
24543
|
+
export const organizationRestrictionNoteForm: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationRestrictionNoteForm>;
|
|
24543
24544
|
export const organizationRestrictionScreeningDecisionForm: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationRestrictionScreeningDecisionForm>;
|
|
24544
24545
|
export const organizationRestrictionSnapshot: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationRestrictionSnapshot>;
|
|
24545
24546
|
export const organizationRestrictionSnapshotDeleted: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted>;
|
package/src/api-internal.js
CHANGED
|
@@ -720,11 +720,6 @@ T['io.flow.merchant.onboarding.v0.models.shop'] = PropTypes.exact({
|
|
|
720
720
|
id: PropTypes.string.isRequired,
|
|
721
721
|
});
|
|
722
722
|
|
|
723
|
-
T['io.flow.merchant.onboarding.v0.models.logistics_format'] = PropTypes.exact({
|
|
724
|
-
preference: PropTypes.string,
|
|
725
|
-
description: PropTypes.string,
|
|
726
|
-
});
|
|
727
|
-
|
|
728
723
|
T['io.flow.merchant.onboarding.v0.enums.onboarding_trade_sector'] = PropTypes.oneOf([
|
|
729
724
|
'accessories',
|
|
730
725
|
'animals_and_pet_supplies',
|
|
@@ -809,6 +804,13 @@ T['io.flow.merchant.onboarding.v0.models.merchant_info'] = PropTypes.exact({
|
|
|
809
804
|
category_code: PropTypes.string,
|
|
810
805
|
});
|
|
811
806
|
|
|
807
|
+
T['io.flow.merchant.onboarding.v0.enums.logistics_format_preference'] = PropTypes.oneOf(['shopify_console', 'existing_3pl_integration', 'byo_integration']);
|
|
808
|
+
|
|
809
|
+
T['io.flow.merchant.onboarding.v0.models.logistics_format'] = PropTypes.exact({
|
|
810
|
+
preference: T['io.flow.merchant.onboarding.v0.enums.logistics_format_preference'].isRequired,
|
|
811
|
+
description: PropTypes.string,
|
|
812
|
+
});
|
|
813
|
+
|
|
812
814
|
T['io.flow.crypto.v0.enums.reason_type'] = PropTypes.oneOf(['duplicate', 'fraudulent', 'requested_by_customer']);
|
|
813
815
|
|
|
814
816
|
T['io.flow.crypto.v0.models.refund_request'] = PropTypes.exact({
|
|
@@ -12293,6 +12295,7 @@ T['io.flow.billing.v0.models.channel_transaction'] = PropTypes.exact({
|
|
|
12293
12295
|
withholdings: PropTypes.arrayOf(T['io.flow.billing.v0.models.withholding_deduction']).isRequired,
|
|
12294
12296
|
discounts: PropTypes.arrayOf(T['io.flow.billing.v0.models.billing_discount']).isRequired,
|
|
12295
12297
|
net: PropTypes.number.isRequired,
|
|
12298
|
+
identifiers: PropTypes.objectOf(PropTypes.string).isRequired,
|
|
12296
12299
|
created_at: PropTypes.string.isRequired,
|
|
12297
12300
|
});
|
|
12298
12301
|
|
|
@@ -12308,6 +12311,7 @@ T['io.flow.billing.v0.models.transaction'] = PropTypes.exact({
|
|
|
12308
12311
|
withholdings: PropTypes.arrayOf(T['io.flow.billing.v0.models.withholding_deduction']).isRequired,
|
|
12309
12312
|
discounts: PropTypes.arrayOf(T['io.flow.billing.v0.models.billing_discount']).isRequired,
|
|
12310
12313
|
net: PropTypes.number.isRequired,
|
|
12314
|
+
identifiers: PropTypes.objectOf(PropTypes.string).isRequired,
|
|
12311
12315
|
created_at: PropTypes.string.isRequired,
|
|
12312
12316
|
});
|
|
12313
12317
|
|
|
@@ -20345,11 +20349,6 @@ T['io.flow.fulfillment.v0.models.tier_form'] = PropTypes.exact({
|
|
|
20345
20349
|
settings: T['io.flow.fulfillment.v0.models.tier_settings'],
|
|
20346
20350
|
});
|
|
20347
20351
|
|
|
20348
|
-
T['io.flow.merchant.onboarding.v0.models.total_order'] = PropTypes.exact({
|
|
20349
|
-
value: T['io.flow.common.v0.models.money'],
|
|
20350
|
-
count: PropTypes.number,
|
|
20351
|
-
});
|
|
20352
|
-
|
|
20353
20352
|
T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_form'] = PropTypes.exact({
|
|
20354
20353
|
discriminator: PropTypes.oneOf(['shopify_merchant_application_form']).isRequired,
|
|
20355
20354
|
company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
|
|
@@ -20378,10 +20377,9 @@ T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_form'] = P
|
|
|
20378
20377
|
rate_card: PropTypes.string.isRequired,
|
|
20379
20378
|
logistics_format: T['io.flow.merchant.onboarding.v0.models.logistics_format'],
|
|
20380
20379
|
shop: T['io.flow.merchant.onboarding.v0.models.shop'],
|
|
20381
|
-
|
|
20382
|
-
|
|
20380
|
+
last_year_xborder_gmv: T['io.flow.common.v0.models.money'],
|
|
20381
|
+
last_month_xborder_gmv: T['io.flow.common.v0.models.money'],
|
|
20383
20382
|
average_order_value: T['io.flow.common.v0.models.money'],
|
|
20384
|
-
total_order: T['io.flow.merchant.onboarding.v0.models.total_order'],
|
|
20385
20383
|
});
|
|
20386
20384
|
|
|
20387
20385
|
T['io.flow.merchant.onboarding.v0.unions.merchant_application_form'] = PropTypes.oneOfType([
|
|
@@ -20421,10 +20419,9 @@ T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'] = PropTy
|
|
|
20421
20419
|
status_updated_at: PropTypes.string,
|
|
20422
20420
|
logistics_format: T['io.flow.merchant.onboarding.v0.models.logistics_format'],
|
|
20423
20421
|
shop: T['io.flow.merchant.onboarding.v0.models.shop'],
|
|
20424
|
-
|
|
20425
|
-
|
|
20422
|
+
last_year_xborder_gmv: T['io.flow.common.v0.models.money'],
|
|
20423
|
+
last_month_xborder_gmv: T['io.flow.common.v0.models.money'],
|
|
20426
20424
|
average_order_value: T['io.flow.common.v0.models.money'],
|
|
20427
|
-
total_order: T['io.flow.merchant.onboarding.v0.models.total_order'],
|
|
20428
20425
|
});
|
|
20429
20426
|
|
|
20430
20427
|
T['io.flow.merchant.onboarding.v0.unions.merchant_application'] = PropTypes.oneOfType([T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application']]);
|
|
@@ -25436,6 +25433,10 @@ T['io.flow.internal.v0.models.organization_membership_copy_form'] = PropTypes.ex
|
|
|
25436
25433
|
to: PropTypes.string.isRequired,
|
|
25437
25434
|
});
|
|
25438
25435
|
|
|
25436
|
+
T['io.flow.internal.v0.models.organization_restriction_note_form'] = PropTypes.exact({
|
|
25437
|
+
note: PropTypes.string.isRequired,
|
|
25438
|
+
});
|
|
25439
|
+
|
|
25439
25440
|
T['io.flow.internal.v0.models.partner_organization_authorization_form'] = PropTypes.exact({
|
|
25440
25441
|
partner: PropTypes.string.isRequired,
|
|
25441
25442
|
});
|
|
@@ -25623,7 +25624,7 @@ T['io.flow.internal.v0.models.shopify_markets_shop_form'] = PropTypes.exact({
|
|
|
25623
25624
|
});
|
|
25624
25625
|
|
|
25625
25626
|
T['io.flow.internal.v0.models.shopify_markets_sync'] = PropTypes.exact({
|
|
25626
|
-
|
|
25627
|
+
force_resync: PropTypes.bool,
|
|
25627
25628
|
});
|
|
25628
25629
|
|
|
25629
25630
|
T['io.flow.internal.v0.models.shopify_order_cancel_form'] = PropTypes.exact({
|
|
@@ -28117,6 +28118,7 @@ export const organizationRestrictionApproval = T['io.flow.internal.v0.models.org
|
|
|
28117
28118
|
export const organizationRestrictionApprovalDeleted = T['io.flow.internal.v0.models.organization_restriction_approval_deleted'];
|
|
28118
28119
|
export const organizationRestrictionApprovalStatus = T['io.flow.internal.v0.enums.organization_restriction_approval_status'];
|
|
28119
28120
|
export const organizationRestrictionApprovalUpserted = T['io.flow.internal.v0.models.organization_restriction_approval_upserted'];
|
|
28121
|
+
export const organizationRestrictionNoteForm = T['io.flow.internal.v0.models.organization_restriction_note_form'];
|
|
28120
28122
|
export const organizationRestrictionNoteType = T['io.flow.internal.v0.enums.organization_restriction_note_type'];
|
|
28121
28123
|
export const organizationRestrictionRiskLevel = T['io.flow.internal.v0.enums.organization_restriction_risk_level'];
|
|
28122
28124
|
export const organizationRestrictionScreeningDecisionForm = T['io.flow.internal.v0.models.organization_restriction_screening_decision_form'];
|