@flowio/api-internal-prop-types 9.9.0 → 9.9.1
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 +52 -1
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +52 -1
- package/src/api-internal.js +71 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.9.
|
|
3
|
+
"version": "9.9.1",
|
|
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": "d790302c996c3888924adac7581326b0bd9242c3"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -6704,6 +6704,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6704
6704
|
interface CipherForm {
|
|
6705
6705
|
readonly 'text': string;
|
|
6706
6706
|
readonly 'attributes'?: Record<string, string>;
|
|
6707
|
+
readonly 'password'?: string;
|
|
6707
6708
|
}
|
|
6708
6709
|
|
|
6709
6710
|
interface CipherReference {
|
|
@@ -6752,6 +6753,17 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6752
6753
|
readonly 'signature_secret': string;
|
|
6753
6754
|
}
|
|
6754
6755
|
|
|
6756
|
+
interface DecryptCipherForm {
|
|
6757
|
+
readonly 'id': string;
|
|
6758
|
+
readonly 'password': string;
|
|
6759
|
+
}
|
|
6760
|
+
|
|
6761
|
+
interface DecryptedCipher {
|
|
6762
|
+
readonly 'id': string;
|
|
6763
|
+
readonly 'cleartext': string;
|
|
6764
|
+
readonly 'attributes': Record<string, string>;
|
|
6765
|
+
}
|
|
6766
|
+
|
|
6755
6767
|
interface Encryption {
|
|
6756
6768
|
readonly 'id': string;
|
|
6757
6769
|
readonly 'key': io.flow.payment.internal.v0.models.KeyReference;
|
|
@@ -7849,10 +7861,26 @@ declare namespace io.flow.order.management.event.v0.models {
|
|
|
7849
7861
|
readonly 'fulfillments'?: io.flow.order.management.v0.models.Fulfillment[];
|
|
7850
7862
|
readonly 'fulfillment_item_allocation_details'?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
|
|
7851
7863
|
}
|
|
7864
|
+
|
|
7865
|
+
interface ReadyToFulfillDetails {
|
|
7866
|
+
readonly 'id': string;
|
|
7867
|
+
readonly 'order_number': string;
|
|
7868
|
+
readonly 'order': io.flow.experience.v0.models.Order;
|
|
7869
|
+
readonly 'fulfillments'?: io.flow.order.management.v0.models.Fulfillment[];
|
|
7870
|
+
readonly 'fulfillment_item_allocation_details'?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
|
|
7871
|
+
}
|
|
7872
|
+
|
|
7873
|
+
interface ReadyToFulfillV2 {
|
|
7874
|
+
readonly 'discriminator': 'ready_to_fulfill_v2';
|
|
7875
|
+
readonly 'event_id': string;
|
|
7876
|
+
readonly 'timestamp': string;
|
|
7877
|
+
readonly 'organization': string;
|
|
7878
|
+
readonly 'ready_to_fulfill': io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
|
|
7879
|
+
}
|
|
7852
7880
|
}
|
|
7853
7881
|
|
|
7854
7882
|
declare namespace io.flow.order.management.event.v0.unions {
|
|
7855
|
-
type OrderManagementEvent = (io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill);
|
|
7883
|
+
type OrderManagementEvent = (io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill | io.flow.order.management.event.v0.models.ReadyToFulfillV2);
|
|
7856
7884
|
}
|
|
7857
7885
|
|
|
7858
7886
|
declare namespace io.flow.ftp.v0.enums {
|
|
@@ -10525,6 +10553,10 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
10525
10553
|
readonly 'fraud': number;
|
|
10526
10554
|
}
|
|
10527
10555
|
|
|
10556
|
+
interface BillingOrganizationProcessingRatesForm {
|
|
10557
|
+
readonly 'processing_rates': io.flow.billing.internal.v0.models.BillingOrganizationProcessingRates[];
|
|
10558
|
+
}
|
|
10559
|
+
|
|
10528
10560
|
interface BillingOrganizationSettings {
|
|
10529
10561
|
readonly 'days_until_posted': number;
|
|
10530
10562
|
readonly 'logistics': io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
@@ -15928,6 +15960,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15928
15960
|
readonly 'fraud': number;
|
|
15929
15961
|
}
|
|
15930
15962
|
|
|
15963
|
+
interface BillingOrganizationProcessingRatesForm {
|
|
15964
|
+
readonly 'processing_rates': io.flow.internal.v0.models.BillingOrganizationProcessingRates[];
|
|
15965
|
+
}
|
|
15966
|
+
|
|
15931
15967
|
interface BillingOrganizationSettings {
|
|
15932
15968
|
readonly 'days_until_posted': number;
|
|
15933
15969
|
readonly 'logistics': io.flow.internal.v0.enums.ResponsibleParty;
|
|
@@ -18025,6 +18061,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18025
18061
|
interface CipherForm {
|
|
18026
18062
|
readonly 'text': string;
|
|
18027
18063
|
readonly 'attributes'?: Record<string, string>;
|
|
18064
|
+
readonly 'password'?: string;
|
|
18028
18065
|
}
|
|
18029
18066
|
|
|
18030
18067
|
interface CipherReference {
|
|
@@ -18400,6 +18437,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18400
18437
|
readonly 'shop_url'?: string;
|
|
18401
18438
|
}
|
|
18402
18439
|
|
|
18440
|
+
interface DecryptCipherForm {
|
|
18441
|
+
readonly 'id': string;
|
|
18442
|
+
readonly 'password': string;
|
|
18443
|
+
}
|
|
18444
|
+
|
|
18445
|
+
interface DecryptedCipher {
|
|
18446
|
+
readonly 'id': string;
|
|
18447
|
+
readonly 'cleartext': string;
|
|
18448
|
+
readonly 'attributes': Record<string, string>;
|
|
18449
|
+
}
|
|
18450
|
+
|
|
18403
18451
|
interface DeleteIndexTask {
|
|
18404
18452
|
readonly 'discriminator': 'delete_index_task';
|
|
18405
18453
|
readonly 'name': string;
|
|
@@ -23926,6 +23974,7 @@ export const billingInvoiceSummary: PropTypes.Requireable<io.flow.internal.v0.mo
|
|
|
23926
23974
|
export const billingOrderDestination: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrderDestination>;
|
|
23927
23975
|
export const billingOrderSummary: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrderSummary>;
|
|
23928
23976
|
export const billingOrganizationProcessingRates: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationProcessingRates>;
|
|
23977
|
+
export const billingOrganizationProcessingRatesForm: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm>;
|
|
23929
23978
|
export const billingOrganizationSettings: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationSettings>;
|
|
23930
23979
|
export const billingStatement: PropTypes.Requireable<io.flow.internal.v0.models.BillingStatement>;
|
|
23931
23980
|
export const billingStatementAttachment: PropTypes.Requireable<io.flow.internal.v0.models.BillingStatementAttachment>;
|
|
@@ -24338,6 +24387,8 @@ export const dailyExperimentResults: PropTypes.Requireable<io.flow.internal.v0.m
|
|
|
24338
24387
|
export const dailyExperimentResultsDeleted: PropTypes.Requireable<io.flow.internal.v0.models.DailyExperimentResultsDeleted>;
|
|
24339
24388
|
export const dailyExperimentResultsUpserted: PropTypes.Requireable<io.flow.internal.v0.models.DailyExperimentResultsUpserted>;
|
|
24340
24389
|
export const decision: PropTypes.Requireable<io.flow.internal.v0.models.Decision>;
|
|
24390
|
+
export const decryptCipherForm: PropTypes.Requireable<io.flow.internal.v0.models.DecryptCipherForm>;
|
|
24391
|
+
export const decryptedCipher: PropTypes.Requireable<io.flow.internal.v0.models.DecryptedCipher>;
|
|
24341
24392
|
export const deleteIndexTask: PropTypes.Requireable<io.flow.internal.v0.models.DeleteIndexTask>;
|
|
24342
24393
|
export const deliveredDutyOption: PropTypes.Requireable<io.flow.internal.v0.models.DeliveredDutyOption>;
|
|
24343
24394
|
export const deliveredDutyOptionMessage: PropTypes.Requireable<io.flow.internal.v0.models.DeliveredDutyOptionMessage>;
|
package/src/api-internal.js
CHANGED
|
@@ -1646,6 +1646,19 @@ T['io.flow.billing.internal.v0.models.transaction_reference'] = PropTypes.exact(
|
|
|
1646
1646
|
|
|
1647
1647
|
T['io.flow.billing.internal.v0.enums.responsible_party'] = PropTypes.oneOf(['flow', 'organization']);
|
|
1648
1648
|
|
|
1649
|
+
T['io.flow.billing.internal.v0.models.billing_organization_processing_rates'] = PropTypes.exact({
|
|
1650
|
+
query: PropTypes.string.isRequired,
|
|
1651
|
+
capture: PropTypes.number.isRequired,
|
|
1652
|
+
refund: PropTypes.number.isRequired,
|
|
1653
|
+
fraud: PropTypes.number.isRequired,
|
|
1654
|
+
});
|
|
1655
|
+
|
|
1656
|
+
T['io.flow.billing.internal.v0.models.billing_organization_processing_rates_form'] = PropTypes.exact({
|
|
1657
|
+
processing_rates: PropTypes.arrayOf(
|
|
1658
|
+
T['io.flow.billing.internal.v0.models.billing_organization_processing_rates'],
|
|
1659
|
+
).isRequired,
|
|
1660
|
+
});
|
|
1661
|
+
|
|
1649
1662
|
T['io.flow.billing.internal.v0.models.billing_order_destination'] = PropTypes.exact({
|
|
1650
1663
|
city: PropTypes.string,
|
|
1651
1664
|
province: PropTypes.string,
|
|
@@ -20236,6 +20249,17 @@ T['io.flow.internal.v0.models.billing_organization_settings'] = PropTypes.exact(
|
|
|
20236
20249
|
b2b_tax_remittance_days: PropTypes.number,
|
|
20237
20250
|
});
|
|
20238
20251
|
|
|
20252
|
+
T['io.flow.internal.v0.models.billing_organization_processing_rates'] = PropTypes.exact({
|
|
20253
|
+
query: PropTypes.string.isRequired,
|
|
20254
|
+
capture: PropTypes.number.isRequired,
|
|
20255
|
+
refund: PropTypes.number.isRequired,
|
|
20256
|
+
fraud: PropTypes.number.isRequired,
|
|
20257
|
+
});
|
|
20258
|
+
|
|
20259
|
+
T['io.flow.internal.v0.models.billing_organization_processing_rates_form'] = PropTypes.exact({
|
|
20260
|
+
processing_rates: PropTypes.arrayOf(T['io.flow.internal.v0.models.billing_organization_processing_rates']).isRequired,
|
|
20261
|
+
});
|
|
20262
|
+
|
|
20239
20263
|
T['io.flow.internal.v0.models.billing_order_destination'] = PropTypes.exact({
|
|
20240
20264
|
city: PropTypes.string,
|
|
20241
20265
|
province: PropTypes.string,
|
|
@@ -24246,6 +24270,25 @@ T['io.flow.order.management.event.v0.models.fulfillment_item_allocation_details'
|
|
|
24246
24270
|
total: T['io.flow.common.v0.models.price_with_base'].isRequired,
|
|
24247
24271
|
});
|
|
24248
24272
|
|
|
24273
|
+
T['io.flow.order.management.event.v0.models.ready_to_fulfill_details'] = PropTypes.exact({
|
|
24274
|
+
id: PropTypes.string.isRequired,
|
|
24275
|
+
order_number: PropTypes.string.isRequired,
|
|
24276
|
+
order: T['io.flow.experience.v0.models.order'].isRequired,
|
|
24277
|
+
fulfillments: PropTypes.arrayOf(T['io.flow.order.management.v0.models.fulfillment']),
|
|
24278
|
+
|
|
24279
|
+
fulfillment_item_allocation_details: PropTypes.arrayOf(
|
|
24280
|
+
T['io.flow.order.management.event.v0.models.fulfillment_item_allocation_details'],
|
|
24281
|
+
),
|
|
24282
|
+
});
|
|
24283
|
+
|
|
24284
|
+
T['io.flow.order.management.event.v0.models.ready_to_fulfill_v2'] = PropTypes.exact({
|
|
24285
|
+
discriminator: PropTypes.oneOf(['ready_to_fulfill_v2']).isRequired,
|
|
24286
|
+
event_id: PropTypes.string.isRequired,
|
|
24287
|
+
timestamp: PropTypes.string.isRequired,
|
|
24288
|
+
organization: PropTypes.string.isRequired,
|
|
24289
|
+
ready_to_fulfill: T['io.flow.order.management.event.v0.models.ready_to_fulfill_details'].isRequired,
|
|
24290
|
+
});
|
|
24291
|
+
|
|
24249
24292
|
T['io.flow.order.management.event.v0.models.ready_to_fulfill'] = PropTypes.exact({
|
|
24250
24293
|
discriminator: PropTypes.oneOf(['ready_to_fulfill']).isRequired,
|
|
24251
24294
|
event_id: PropTypes.string.isRequired,
|
|
@@ -24264,6 +24307,7 @@ T['io.flow.order.management.event.v0.unions.order_management_event'] = PropTypes
|
|
|
24264
24307
|
T['io.flow.order.management.event.v0.models.order_placed'],
|
|
24265
24308
|
T['io.flow.order.management.event.v0.models.order_placed_v2'],
|
|
24266
24309
|
T['io.flow.order.management.event.v0.models.ready_to_fulfill'],
|
|
24310
|
+
T['io.flow.order.management.event.v0.models.ready_to_fulfill_v2'],
|
|
24267
24311
|
]);
|
|
24268
24312
|
|
|
24269
24313
|
T['io.flow.internal.v0.models.ready_to_fulfill'] = PropTypes.exact({
|
|
@@ -25126,13 +25170,6 @@ T['io.flow.internal.v0.models.billing_authorization_reference'] = PropTypes.exac
|
|
|
25126
25170
|
id: PropTypes.string.isRequired,
|
|
25127
25171
|
});
|
|
25128
25172
|
|
|
25129
|
-
T['io.flow.internal.v0.models.billing_organization_processing_rates'] = PropTypes.exact({
|
|
25130
|
-
query: PropTypes.string.isRequired,
|
|
25131
|
-
capture: PropTypes.number.isRequired,
|
|
25132
|
-
refund: PropTypes.number.isRequired,
|
|
25133
|
-
fraud: PropTypes.number.isRequired,
|
|
25134
|
-
});
|
|
25135
|
-
|
|
25136
25173
|
T['io.flow.internal.v0.models.billing_statement_review_form'] = PropTypes.exact({
|
|
25137
25174
|
reviewed_by_id: PropTypes.string.isRequired,
|
|
25138
25175
|
reviewed_at: PropTypes.string.isRequired,
|
|
@@ -25181,6 +25218,7 @@ T['io.flow.internal.v0.models.cipher'] = PropTypes.exact({
|
|
|
25181
25218
|
T['io.flow.internal.v0.models.cipher_form'] = PropTypes.exact({
|
|
25182
25219
|
text: PropTypes.string.isRequired,
|
|
25183
25220
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
25221
|
+
password: PropTypes.string,
|
|
25184
25222
|
});
|
|
25185
25223
|
|
|
25186
25224
|
T['io.flow.internal.v0.models.classic_payment_redirect_form'] = PropTypes.exact({
|
|
@@ -25286,6 +25324,17 @@ T['io.flow.internal.v0.models.daily_experiment_results'] = PropTypes.exact({
|
|
|
25286
25324
|
revenue_generated_uplift: PropTypes.number,
|
|
25287
25325
|
});
|
|
25288
25326
|
|
|
25327
|
+
T['io.flow.internal.v0.models.decrypt_cipher_form'] = PropTypes.exact({
|
|
25328
|
+
id: PropTypes.string.isRequired,
|
|
25329
|
+
password: PropTypes.string.isRequired,
|
|
25330
|
+
});
|
|
25331
|
+
|
|
25332
|
+
T['io.flow.internal.v0.models.decrypted_cipher'] = PropTypes.exact({
|
|
25333
|
+
id: PropTypes.string.isRequired,
|
|
25334
|
+
cleartext: PropTypes.string.isRequired,
|
|
25335
|
+
attributes: PropTypes.objectOf(PropTypes.string).isRequired,
|
|
25336
|
+
});
|
|
25337
|
+
|
|
25289
25338
|
T['io.flow.internal.v0.models.discount_code'] = PropTypes.exact({
|
|
25290
25339
|
code: PropTypes.string.isRequired,
|
|
25291
25340
|
});
|
|
@@ -26340,6 +26389,7 @@ T['io.flow.payment.internal.v0.models.cipher'] = PropTypes.exact({
|
|
|
26340
26389
|
T['io.flow.payment.internal.v0.models.cipher_form'] = PropTypes.exact({
|
|
26341
26390
|
text: PropTypes.string.isRequired,
|
|
26342
26391
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
26392
|
+
password: PropTypes.string,
|
|
26343
26393
|
});
|
|
26344
26394
|
|
|
26345
26395
|
T['io.flow.payment.internal.v0.models.classic_payment_redirect_form'] = PropTypes.exact({
|
|
@@ -26347,6 +26397,17 @@ T['io.flow.payment.internal.v0.models.classic_payment_redirect_form'] = PropType
|
|
|
26347
26397
|
PaRes: PropTypes.string.isRequired,
|
|
26348
26398
|
});
|
|
26349
26399
|
|
|
26400
|
+
T['io.flow.payment.internal.v0.models.decrypt_cipher_form'] = PropTypes.exact({
|
|
26401
|
+
id: PropTypes.string.isRequired,
|
|
26402
|
+
password: PropTypes.string.isRequired,
|
|
26403
|
+
});
|
|
26404
|
+
|
|
26405
|
+
T['io.flow.payment.internal.v0.models.decrypted_cipher'] = PropTypes.exact({
|
|
26406
|
+
id: PropTypes.string.isRequired,
|
|
26407
|
+
cleartext: PropTypes.string.isRequired,
|
|
26408
|
+
attributes: PropTypes.objectOf(PropTypes.string).isRequired,
|
|
26409
|
+
});
|
|
26410
|
+
|
|
26350
26411
|
T['io.flow.payment.internal.v0.models.key'] = PropTypes.exact({
|
|
26351
26412
|
id: PropTypes.string.isRequired,
|
|
26352
26413
|
created_at: PropTypes.string.isRequired,
|
|
@@ -26773,13 +26834,6 @@ T['io.flow.billing.internal.v0.models.billing_authorization_reference'] = PropTy
|
|
|
26773
26834
|
id: PropTypes.string.isRequired,
|
|
26774
26835
|
});
|
|
26775
26836
|
|
|
26776
|
-
T['io.flow.billing.internal.v0.models.billing_organization_processing_rates'] = PropTypes.exact({
|
|
26777
|
-
query: PropTypes.string.isRequired,
|
|
26778
|
-
capture: PropTypes.number.isRequired,
|
|
26779
|
-
refund: PropTypes.number.isRequired,
|
|
26780
|
-
fraud: PropTypes.number.isRequired,
|
|
26781
|
-
});
|
|
26782
|
-
|
|
26783
26837
|
T['io.flow.billing.internal.v0.models.billing_statement_review_form'] = PropTypes.exact({
|
|
26784
26838
|
reviewed_by_id: PropTypes.string.isRequired,
|
|
26785
26839
|
reviewed_at: PropTypes.string.isRequired,
|
|
@@ -27268,6 +27322,7 @@ export const billingInvoiceSummary = T['io.flow.internal.v0.models.billing_invoi
|
|
|
27268
27322
|
export const billingOrderDestination = T['io.flow.internal.v0.models.billing_order_destination'];
|
|
27269
27323
|
export const billingOrderSummary = T['io.flow.internal.v0.models.billing_order_summary'];
|
|
27270
27324
|
export const billingOrganizationProcessingRates = T['io.flow.internal.v0.models.billing_organization_processing_rates'];
|
|
27325
|
+
export const billingOrganizationProcessingRatesForm = T['io.flow.internal.v0.models.billing_organization_processing_rates_form'];
|
|
27271
27326
|
export const billingOrganizationSettings = T['io.flow.internal.v0.models.billing_organization_settings'];
|
|
27272
27327
|
export const billingStatement = T['io.flow.internal.v0.models.billing_statement'];
|
|
27273
27328
|
export const billingStatementAttachment = T['io.flow.internal.v0.models.billing_statement_attachment'];
|
|
@@ -27818,6 +27873,8 @@ export const dailyExperimentResults = T['io.flow.internal.v0.models.daily_experi
|
|
|
27818
27873
|
export const dailyExperimentResultsDeleted = T['io.flow.internal.v0.models.daily_experiment_results_deleted'];
|
|
27819
27874
|
export const dailyExperimentResultsUpserted = T['io.flow.internal.v0.models.daily_experiment_results_upserted'];
|
|
27820
27875
|
export const decision = T['io.flow.internal.v0.models.decision'];
|
|
27876
|
+
export const decryptCipherForm = T['io.flow.internal.v0.models.decrypt_cipher_form'];
|
|
27877
|
+
export const decryptedCipher = T['io.flow.internal.v0.models.decrypted_cipher'];
|
|
27821
27878
|
export const deleteIndexTask = T['io.flow.internal.v0.models.delete_index_task'];
|
|
27822
27879
|
export const deliveredDutyOption = T['io.flow.internal.v0.models.delivered_duty_option'];
|
|
27823
27880
|
export const deliveredDutyOptionMessage = T['io.flow.internal.v0.models.delivered_duty_option_message'];
|