@flowio/types 11.24.46 → 11.24.48
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/api-internal.d.ts +196 -103
- package/dist/api.d.ts +19 -10
- package/package.json +2 -2
- package/src/api-internal.ts +274 -119
- package/src/api.ts +25 -9
package/src/api.ts
CHANGED
|
@@ -1176,7 +1176,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1176
1176
|
readonly product_id: number;
|
|
1177
1177
|
readonly name: string;
|
|
1178
1178
|
readonly position: number;
|
|
1179
|
-
readonly values?: string[];
|
|
1180
1179
|
}
|
|
1181
1180
|
|
|
1182
1181
|
interface PriceRule {
|
|
@@ -2447,6 +2446,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2447
2446
|
| 'organization_default_configurations_deleted'
|
|
2448
2447
|
| 'ecommerce_platform_upserted'
|
|
2449
2448
|
| 'ecommerce_platform_deleted'
|
|
2449
|
+
| 'organization_onboarding_state_upserted'
|
|
2450
|
+
| 'organization_onboarding_state_deleted'
|
|
2450
2451
|
| 'authorization_deleted_v2'
|
|
2451
2452
|
| 'authorization_status_changed'
|
|
2452
2453
|
| 'card_authorization_upserted_v2'
|
|
@@ -3021,12 +3022,13 @@ declare namespace io.flow.v0.enums {
|
|
|
3021
3022
|
| 'refund'
|
|
3022
3023
|
| 'dispute'
|
|
3023
3024
|
| 'adjustment'
|
|
3025
|
+
| 'reversal'
|
|
3024
3026
|
| 'shipping_label'
|
|
3025
3027
|
| 'shipping_label_service'
|
|
3026
3028
|
| 'shipping_label_revenue_share'
|
|
3027
3029
|
| 'platform_fee'
|
|
3028
3030
|
| 'tax'
|
|
3029
|
-
| '
|
|
3031
|
+
| 'duty'
|
|
3030
3032
|
| 'other_adjustment'
|
|
3031
3033
|
| 'tax_adjustment'
|
|
3032
3034
|
| 'channel'
|
|
@@ -3490,11 +3492,6 @@ declare namespace io.flow.v0.models {
|
|
|
3490
3492
|
readonly display_name?: string;
|
|
3491
3493
|
}
|
|
3492
3494
|
|
|
3493
|
-
interface ApplicationReceived {
|
|
3494
|
-
readonly discriminator: 'application_received';
|
|
3495
|
-
readonly placeholder?: boolean;
|
|
3496
|
-
}
|
|
3497
|
-
|
|
3498
3495
|
interface AtCost {
|
|
3499
3496
|
readonly discriminator: 'at_cost';
|
|
3500
3497
|
readonly ignore?: string;
|
|
@@ -5289,6 +5286,7 @@ declare namespace io.flow.v0.models {
|
|
|
5289
5286
|
|
|
5290
5287
|
interface DeliveryOptionCostDetail {
|
|
5291
5288
|
readonly source: io.flow.v0.enums.DeliveryOptionCostDetailSource;
|
|
5289
|
+
readonly ratecard_id?: string;
|
|
5292
5290
|
readonly currency: string;
|
|
5293
5291
|
readonly amount: number;
|
|
5294
5292
|
readonly label: string;
|
|
@@ -8781,6 +8779,20 @@ declare namespace io.flow.v0.models {
|
|
|
8781
8779
|
readonly current_state: io.flow.v0.unions.OnboardingState;
|
|
8782
8780
|
}
|
|
8783
8781
|
|
|
8782
|
+
interface OrganizationOnboardingStateDeleted {
|
|
8783
|
+
readonly discriminator: 'organization_onboarding_state_deleted';
|
|
8784
|
+
readonly event_id: string;
|
|
8785
|
+
readonly timestamp: string;
|
|
8786
|
+
readonly organization_onboarding_state: io.flow.v0.models.OrganizationOnboardingState;
|
|
8787
|
+
}
|
|
8788
|
+
|
|
8789
|
+
interface OrganizationOnboardingStateUpserted {
|
|
8790
|
+
readonly discriminator: 'organization_onboarding_state_upserted';
|
|
8791
|
+
readonly event_id: string;
|
|
8792
|
+
readonly timestamp: string;
|
|
8793
|
+
readonly organization_onboarding_state: io.flow.v0.models.OrganizationOnboardingState;
|
|
8794
|
+
}
|
|
8795
|
+
|
|
8784
8796
|
interface OrganizationPutForm {
|
|
8785
8797
|
readonly name?: string;
|
|
8786
8798
|
readonly environment?: io.flow.v0.enums.Environment;
|
|
@@ -12873,6 +12885,8 @@ declare namespace io.flow.v0.unions {
|
|
|
12873
12885
|
| io.flow.v0.models.OrganizationDefaultConfigurationsDeleted
|
|
12874
12886
|
| io.flow.v0.models.EcommercePlatformUpserted
|
|
12875
12887
|
| io.flow.v0.models.EcommercePlatformDeleted
|
|
12888
|
+
| io.flow.v0.models.OrganizationOnboardingStateUpserted
|
|
12889
|
+
| io.flow.v0.models.OrganizationOnboardingStateDeleted
|
|
12876
12890
|
| io.flow.v0.models.AuthorizationDeletedV2
|
|
12877
12891
|
| io.flow.v0.models.AuthorizationStatusChanged
|
|
12878
12892
|
| io.flow.v0.models.CardAuthorizationUpsertedV2
|
|
@@ -12998,7 +13012,6 @@ declare namespace io.flow.v0.unions {
|
|
|
12998
13012
|
type MerchantApplicationsSummary =
|
|
12999
13013
|
io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
13000
13014
|
type OnboardingState =
|
|
13001
|
-
| io.flow.v0.models.ApplicationReceived
|
|
13002
13015
|
| io.flow.v0.models.InComplianceReview
|
|
13003
13016
|
| io.flow.v0.models.SetupInProgress
|
|
13004
13017
|
| io.flow.v0.models.MerchantRejected
|
|
@@ -13280,7 +13293,6 @@ export type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
|
|
|
13280
13293
|
export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
|
|
13281
13294
|
export type ApplePayMerchantValidationPayload =
|
|
13282
13295
|
io.flow.v0.models.ApplePayMerchantValidationPayload;
|
|
13283
|
-
export type ApplicationReceived = io.flow.v0.models.ApplicationReceived;
|
|
13284
13296
|
export type AtCost = io.flow.v0.models.AtCost;
|
|
13285
13297
|
export type Attachment = io.flow.v0.models.Attachment;
|
|
13286
13298
|
export type AttachmentType = io.flow.v0.enums.AttachmentType;
|
|
@@ -14442,6 +14454,10 @@ export type OrganizationDeletedV2 = io.flow.v0.models.OrganizationDeletedV2;
|
|
|
14442
14454
|
export type OrganizationForm = io.flow.v0.models.OrganizationForm;
|
|
14443
14455
|
export type OrganizationOnboardingState =
|
|
14444
14456
|
io.flow.v0.models.OrganizationOnboardingState;
|
|
14457
|
+
export type OrganizationOnboardingStateDeleted =
|
|
14458
|
+
io.flow.v0.models.OrganizationOnboardingStateDeleted;
|
|
14459
|
+
export type OrganizationOnboardingStateUpserted =
|
|
14460
|
+
io.flow.v0.models.OrganizationOnboardingStateUpserted;
|
|
14445
14461
|
export type OrganizationPaymentMethodTag =
|
|
14446
14462
|
io.flow.v0.enums.OrganizationPaymentMethodTag;
|
|
14447
14463
|
export type OrganizationPutForm = io.flow.v0.models.OrganizationPutForm;
|