@flowio/api-internal-prop-types 9.23.6 → 9.23.7
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 +44 -3
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +44 -3
- package/src/api-internal.js +55 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.23.
|
|
3
|
+
"version": "9.23.7",
|
|
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": "3b122354aae32b4fc585191f2eb6810259ae8787"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -3749,7 +3749,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3749
3749
|
readonly 'created': number;
|
|
3750
3750
|
readonly 'currency': string;
|
|
3751
3751
|
readonly 'customer'?: string;
|
|
3752
|
-
readonly 'outcome'
|
|
3752
|
+
readonly 'outcome'?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
3753
3753
|
readonly 'paid': boolean;
|
|
3754
3754
|
readonly 'refunded': boolean;
|
|
3755
3755
|
readonly 'refunds'?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -3799,7 +3799,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3799
3799
|
readonly 'created': number;
|
|
3800
3800
|
readonly 'currency': string;
|
|
3801
3801
|
readonly 'customer'?: string;
|
|
3802
|
-
readonly 'outcome'
|
|
3802
|
+
readonly 'outcome'?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
3803
3803
|
readonly 'paid': boolean;
|
|
3804
3804
|
readonly 'refunded': boolean;
|
|
3805
3805
|
readonly 'refunds'?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -7956,7 +7956,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7956
7956
|
interface PaymentMethodSummaryIdeal {
|
|
7957
7957
|
readonly 'type': 'ideal';
|
|
7958
7958
|
readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
|
|
7959
|
-
readonly 'issuer'
|
|
7959
|
+
readonly 'issuer'?: string;
|
|
7960
7960
|
}
|
|
7961
7961
|
|
|
7962
7962
|
interface PaymentMethodSummaryKlarna {
|
|
@@ -11273,6 +11273,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11273
11273
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
|
11274
11274
|
type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
|
|
11275
11275
|
type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
|
|
11276
|
+
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
11276
11277
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
11277
11278
|
type Owner = 'flow' | 'organization';
|
|
11278
11279
|
type PaymentSummaryStatus = 'authorized' | 'canceled' | 'declined' | 'expired' | 'failed' | 'pending' | 'processed' | 'reversed' | 'review' | 'succeeded';
|
|
@@ -16296,6 +16297,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16296
16297
|
readonly 'order_service'?: io.flow.internal.v0.models.Fee;
|
|
16297
16298
|
}
|
|
16298
16299
|
|
|
16300
|
+
interface FinancialMerchantCategory {
|
|
16301
|
+
readonly 'id': string;
|
|
16302
|
+
readonly 'iso_18245_4': string;
|
|
16303
|
+
readonly 'title': string;
|
|
16304
|
+
readonly 'category_group': string;
|
|
16305
|
+
readonly 'description'?: string;
|
|
16306
|
+
}
|
|
16307
|
+
|
|
16299
16308
|
interface FinancialReportingStatement {
|
|
16300
16309
|
readonly 'id': string;
|
|
16301
16310
|
readonly 'statement_number': string;
|
|
@@ -19148,6 +19157,33 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19148
19157
|
readonly 'to': string;
|
|
19149
19158
|
}
|
|
19150
19159
|
|
|
19160
|
+
interface OrganizationPaymentSetting {
|
|
19161
|
+
readonly 'organization_id': string;
|
|
19162
|
+
readonly 'default_capture_option': io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
19163
|
+
readonly 'status': io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
19164
|
+
readonly 'checkout_domain'?: string;
|
|
19165
|
+
readonly 'merchant_category_code'?: string;
|
|
19166
|
+
readonly 'payment_statement_suffix'?: string;
|
|
19167
|
+
readonly 'payment_statement_condensed'?: string;
|
|
19168
|
+
readonly 'created_at': string;
|
|
19169
|
+
readonly 'updated_at': string;
|
|
19170
|
+
}
|
|
19171
|
+
|
|
19172
|
+
interface OrganizationPaymentSettingForm {
|
|
19173
|
+
readonly 'default_capture_option': io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
19174
|
+
readonly 'status': io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
19175
|
+
readonly 'checkout_domain'?: string;
|
|
19176
|
+
readonly 'merchant_category_code'?: string;
|
|
19177
|
+
readonly 'payment_statement_suffix'?: string;
|
|
19178
|
+
}
|
|
19179
|
+
|
|
19180
|
+
interface OrganizationPaymentSettingVersion {
|
|
19181
|
+
readonly 'id': string;
|
|
19182
|
+
readonly 'timestamp': string;
|
|
19183
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
19184
|
+
readonly 'organization_payment_setting': io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
19185
|
+
}
|
|
19186
|
+
|
|
19151
19187
|
interface OrganizationSettings {
|
|
19152
19188
|
readonly 'default_currency_format_symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
|
|
19153
19189
|
readonly 'default_currency_label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
|
|
@@ -22042,6 +22078,7 @@ export const orderAttributeIntent: PropTypes.Requireable<io.flow.internal.v0.enu
|
|
|
22042
22078
|
export const orderChargeTrigger: PropTypes.Requireable<io.flow.internal.v0.enums.OrderChargeTrigger>;
|
|
22043
22079
|
export const orderLifecycleEvent: PropTypes.Requireable<io.flow.internal.v0.enums.OrderLifecycleEvent>;
|
|
22044
22080
|
export const organizationCapability: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationCapability>;
|
|
22081
|
+
export const organizationPaymentStatus: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationPaymentStatus>;
|
|
22045
22082
|
export const outputStyle: PropTypes.Requireable<io.flow.internal.v0.enums.OutputStyle>;
|
|
22046
22083
|
export const owner: PropTypes.Requireable<io.flow.internal.v0.enums.Owner>;
|
|
22047
22084
|
export const paymentSummaryStatus: PropTypes.Requireable<io.flow.internal.v0.enums.PaymentSummaryStatus>;
|
|
@@ -22869,6 +22906,7 @@ export const feedDeleted: PropTypes.Requireable<io.flow.internal.v0.models.FeedD
|
|
|
22869
22906
|
export const feedUpserted: PropTypes.Requireable<io.flow.internal.v0.models.FeedUpserted>;
|
|
22870
22907
|
export const feedsExport: PropTypes.Requireable<io.flow.internal.v0.models.FeedsExport>;
|
|
22871
22908
|
export const fees: PropTypes.Requireable<io.flow.internal.v0.models.Fees>;
|
|
22909
|
+
export const financialMerchantCategory: PropTypes.Requireable<io.flow.internal.v0.models.FinancialMerchantCategory>;
|
|
22872
22910
|
export const financialReportingStatement: PropTypes.Requireable<io.flow.internal.v0.models.FinancialReportingStatement>;
|
|
22873
22911
|
export const financialReportingStatementForm: PropTypes.Requireable<io.flow.internal.v0.models.FinancialReportingStatementForm>;
|
|
22874
22912
|
export const fiservAccount: PropTypes.Requireable<io.flow.internal.v0.models.FiservAccount>;
|
|
@@ -23218,6 +23256,9 @@ export const organizationCurrencySettingVersion: PropTypes.Requireable<io.flow.i
|
|
|
23218
23256
|
export const organizationInvitationAcceptForm: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationInvitationAcceptForm>;
|
|
23219
23257
|
export const organizationMembershipCopy: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationMembershipCopy>;
|
|
23220
23258
|
export const organizationMembershipCopyForm: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationMembershipCopyForm>;
|
|
23259
|
+
export const organizationPaymentSetting: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationPaymentSetting>;
|
|
23260
|
+
export const organizationPaymentSettingForm: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationPaymentSettingForm>;
|
|
23261
|
+
export const organizationPaymentSettingVersion: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationPaymentSettingVersion>;
|
|
23221
23262
|
export const organizationSettings: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationSettings>;
|
|
23222
23263
|
export const organizationSettingsForm: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationSettingsForm>;
|
|
23223
23264
|
export const partner: PropTypes.Requireable<io.flow.internal.v0.models.Partner>;
|
package/src/api-internal.js
CHANGED
|
@@ -882,16 +882,6 @@ T['io.flow.payment.gateway.v0.models.payment_method_data_init_klarna'] = PropTyp
|
|
|
882
882
|
placeholder: PropTypes.string,
|
|
883
883
|
});
|
|
884
884
|
|
|
885
|
-
T['io.flow.payment.gateway.v0.models.payment_capture_option_manual'] = PropTypes.exact({
|
|
886
|
-
type: PropTypes.oneOf(['manual']).isRequired,
|
|
887
|
-
placeholder: PropTypes.string,
|
|
888
|
-
});
|
|
889
|
-
|
|
890
|
-
T['io.flow.payment.gateway.v0.models.payment_capture_option_automatic_immediate'] = PropTypes.exact({
|
|
891
|
-
type: PropTypes.oneOf(['automatic_immediate']).isRequired,
|
|
892
|
-
placeholder: PropTypes.string,
|
|
893
|
-
});
|
|
894
|
-
|
|
895
885
|
T['io.flow.payment.gateway.v0.models.device_details_browser'] = PropTypes.exact({
|
|
896
886
|
type: PropTypes.oneOf(['browser']).isRequired,
|
|
897
887
|
user_agent: PropTypes.string.isRequired,
|
|
@@ -4600,7 +4590,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
|
|
|
4600
4590
|
created: PropTypes.number.isRequired,
|
|
4601
4591
|
currency: PropTypes.string.isRequired,
|
|
4602
4592
|
customer: PropTypes.string,
|
|
4603
|
-
outcome: T['io.flow.stripe.v0.models.payment_outcome']
|
|
4593
|
+
outcome: T['io.flow.stripe.v0.models.payment_outcome'],
|
|
4604
4594
|
paid: PropTypes.bool.isRequired,
|
|
4605
4595
|
refunded: PropTypes.bool.isRequired,
|
|
4606
4596
|
refunds: T['io.flow.stripe.v0.models.refunds'],
|
|
@@ -4689,7 +4679,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
|
4689
4679
|
created: PropTypes.number.isRequired,
|
|
4690
4680
|
currency: PropTypes.string.isRequired,
|
|
4691
4681
|
customer: PropTypes.string,
|
|
4692
|
-
outcome: T['io.flow.stripe.v0.models.payment_outcome']
|
|
4682
|
+
outcome: T['io.flow.stripe.v0.models.payment_outcome'],
|
|
4693
4683
|
paid: PropTypes.bool.isRequired,
|
|
4694
4684
|
refunded: PropTypes.bool.isRequired,
|
|
4695
4685
|
refunds: T['io.flow.stripe.v0.models.refunds'],
|
|
@@ -8973,6 +8963,18 @@ T['io.flow.experience.v0.models.experience_currency_format'] = PropTypes.exact({
|
|
|
8973
8963
|
label_formatters: PropTypes.arrayOf(T['io.flow.common.v0.enums.currency_label_formatter']).isRequired,
|
|
8974
8964
|
});
|
|
8975
8965
|
|
|
8966
|
+
T['io.flow.payment.gateway.v0.models.payment_capture_option_manual'] = PropTypes.exact({
|
|
8967
|
+
type: PropTypes.oneOf(['manual']).isRequired,
|
|
8968
|
+
placeholder: PropTypes.string,
|
|
8969
|
+
});
|
|
8970
|
+
|
|
8971
|
+
T['io.flow.payment.gateway.v0.models.payment_capture_option_automatic_immediate'] = PropTypes.exact({
|
|
8972
|
+
type: PropTypes.oneOf(['automatic_immediate']).isRequired,
|
|
8973
|
+
placeholder: PropTypes.string,
|
|
8974
|
+
});
|
|
8975
|
+
|
|
8976
|
+
T['io.flow.internal.v0.enums.organization_payment_status'] = PropTypes.oneOf(['active', 'archived']);
|
|
8977
|
+
|
|
8976
8978
|
T['io.flow.internal.v0.models.feature_id_reference'] = PropTypes.exact({
|
|
8977
8979
|
id: PropTypes.string.isRequired,
|
|
8978
8980
|
});
|
|
@@ -10336,6 +10338,26 @@ T['io.flow.payment.gateway.v0.unions.payment_capture_option'] = PropTypes.oneOfT
|
|
|
10336
10338
|
T['io.flow.payment.gateway.v0.models.payment_capture_option_manual'],
|
|
10337
10339
|
]);
|
|
10338
10340
|
|
|
10341
|
+
T['io.flow.internal.v0.models.organization_payment_setting_form'] = PropTypes.exact({
|
|
10342
|
+
default_capture_option: T['io.flow.payment.gateway.v0.unions.payment_capture_option'].isRequired,
|
|
10343
|
+
status: T['io.flow.internal.v0.enums.organization_payment_status'].isRequired,
|
|
10344
|
+
checkout_domain: PropTypes.string,
|
|
10345
|
+
merchant_category_code: PropTypes.string,
|
|
10346
|
+
payment_statement_suffix: PropTypes.string,
|
|
10347
|
+
});
|
|
10348
|
+
|
|
10349
|
+
T['io.flow.internal.v0.models.organization_payment_setting'] = PropTypes.exact({
|
|
10350
|
+
organization_id: PropTypes.string.isRequired,
|
|
10351
|
+
default_capture_option: T['io.flow.payment.gateway.v0.unions.payment_capture_option'].isRequired,
|
|
10352
|
+
status: T['io.flow.internal.v0.enums.organization_payment_status'].isRequired,
|
|
10353
|
+
checkout_domain: PropTypes.string,
|
|
10354
|
+
merchant_category_code: PropTypes.string,
|
|
10355
|
+
payment_statement_suffix: PropTypes.string,
|
|
10356
|
+
payment_statement_condensed: PropTypes.string,
|
|
10357
|
+
created_at: PropTypes.string.isRequired,
|
|
10358
|
+
updated_at: PropTypes.string.isRequired,
|
|
10359
|
+
});
|
|
10360
|
+
|
|
10339
10361
|
T['io.flow.payment.gateway.v0.enums.payment_action_type'] = PropTypes.oneOf([
|
|
10340
10362
|
'redirect',
|
|
10341
10363
|
'redirect_get',
|
|
@@ -10608,7 +10630,7 @@ T['io.flow.payment.gateway.v0.models.payment_method_summary_klarna'] = PropTypes
|
|
|
10608
10630
|
T['io.flow.payment.gateway.v0.models.payment_method_summary_ideal'] = PropTypes.exact({
|
|
10609
10631
|
type: PropTypes.oneOf(['ideal']).isRequired,
|
|
10610
10632
|
merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'].isRequired,
|
|
10611
|
-
issuer: PropTypes.string
|
|
10633
|
+
issuer: PropTypes.string,
|
|
10612
10634
|
});
|
|
10613
10635
|
|
|
10614
10636
|
T['io.flow.payment.gateway.v0.models.payment_method_summary_googlepay'] = PropTypes.exact({
|
|
@@ -15821,6 +15843,13 @@ T['io.flow.internal.v0.models.spot_rate_version'] = PropTypes.exact({
|
|
|
15821
15843
|
spot_rate: T['io.flow.internal.v0.models.spot_rate'].isRequired,
|
|
15822
15844
|
});
|
|
15823
15845
|
|
|
15846
|
+
T['io.flow.internal.v0.models.organization_payment_setting_version'] = PropTypes.exact({
|
|
15847
|
+
id: PropTypes.string.isRequired,
|
|
15848
|
+
timestamp: PropTypes.string.isRequired,
|
|
15849
|
+
type: T['io.flow.common.v0.enums.change_type'].isRequired,
|
|
15850
|
+
organization_payment_setting: T['io.flow.internal.v0.models.organization_payment_setting'].isRequired,
|
|
15851
|
+
});
|
|
15852
|
+
|
|
15824
15853
|
T['io.flow.internal.v0.models.item_sales_margin_version'] = PropTypes.exact({
|
|
15825
15854
|
id: PropTypes.string.isRequired,
|
|
15826
15855
|
timestamp: PropTypes.string.isRequired,
|
|
@@ -23815,6 +23844,14 @@ T['io.flow.internal.v0.models.feature_release_form'] = PropTypes.exact({
|
|
|
23815
23844
|
released_at: PropTypes.string,
|
|
23816
23845
|
});
|
|
23817
23846
|
|
|
23847
|
+
T['io.flow.internal.v0.models.financial_merchant_category'] = PropTypes.exact({
|
|
23848
|
+
id: PropTypes.string.isRequired,
|
|
23849
|
+
iso_18245_4: PropTypes.string.isRequired,
|
|
23850
|
+
title: PropTypes.string.isRequired,
|
|
23851
|
+
category_group: PropTypes.string.isRequired,
|
|
23852
|
+
description: PropTypes.string,
|
|
23853
|
+
});
|
|
23854
|
+
|
|
23818
23855
|
T['io.flow.internal.v0.models.financial_reporting_statement_form'] = PropTypes.exact({
|
|
23819
23856
|
transactions_start_date: PropTypes.string.isRequired,
|
|
23820
23857
|
transactions_end_date: PropTypes.string.isRequired,
|
|
@@ -26214,6 +26251,7 @@ export const feedDeleted = T['io.flow.internal.v0.models.feed_deleted'];
|
|
|
26214
26251
|
export const feedUpserted = T['io.flow.internal.v0.models.feed_upserted'];
|
|
26215
26252
|
export const feedsExport = T['io.flow.internal.v0.models.feeds_export'];
|
|
26216
26253
|
export const fees = T['io.flow.internal.v0.models.fees'];
|
|
26254
|
+
export const financialMerchantCategory = T['io.flow.internal.v0.models.financial_merchant_category'];
|
|
26217
26255
|
export const financialReportingResponsibleParty = T['io.flow.internal.v0.enums.financial_reporting_responsible_party'];
|
|
26218
26256
|
export const financialReportingStatement = T['io.flow.internal.v0.models.financial_reporting_statement'];
|
|
26219
26257
|
export const financialReportingStatementForm = T['io.flow.internal.v0.models.financial_reporting_statement_form'];
|
|
@@ -26619,6 +26657,10 @@ export const organizationCurrencySettingVersion = T['io.flow.internal.v0.models.
|
|
|
26619
26657
|
export const organizationInvitationAcceptForm = T['io.flow.internal.v0.models.organization_invitation_accept_form'];
|
|
26620
26658
|
export const organizationMembershipCopy = T['io.flow.internal.v0.models.organization_membership_copy'];
|
|
26621
26659
|
export const organizationMembershipCopyForm = T['io.flow.internal.v0.models.organization_membership_copy_form'];
|
|
26660
|
+
export const organizationPaymentSetting = T['io.flow.internal.v0.models.organization_payment_setting'];
|
|
26661
|
+
export const organizationPaymentSettingForm = T['io.flow.internal.v0.models.organization_payment_setting_form'];
|
|
26662
|
+
export const organizationPaymentSettingVersion = T['io.flow.internal.v0.models.organization_payment_setting_version'];
|
|
26663
|
+
export const organizationPaymentStatus = T['io.flow.internal.v0.enums.organization_payment_status'];
|
|
26622
26664
|
export const organizationSettings = T['io.flow.internal.v0.models.organization_settings'];
|
|
26623
26665
|
export const organizationSettingsForm = T['io.flow.internal.v0.models.organization_settings_form'];
|
|
26624
26666
|
export const outputStyle = T['io.flow.internal.v0.enums.output_style'];
|