@flowio/types 9.1.6 → 9.1.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/dist/api-internal.d.ts +53 -51
- package/dist/api.d.ts +27 -27
- package/package.json +2 -2
- package/src/api-internal.ts +54 -51
- package/src/api.ts +27 -27
package/dist/api-internal.d.ts
CHANGED
|
@@ -306,7 +306,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
306
306
|
readonly rate: number;
|
|
307
307
|
readonly name: string;
|
|
308
308
|
readonly price?: io.flow.common.v0.models.PriceWithBase;
|
|
309
|
-
readonly accuracy
|
|
309
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
310
310
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
311
311
|
}
|
|
312
312
|
interface AllocationLineDetail {
|
|
@@ -800,7 +800,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
800
800
|
}
|
|
801
801
|
interface OrderNumberGeneratorUuid {
|
|
802
802
|
readonly discriminator: 'uuid';
|
|
803
|
-
readonly prefix
|
|
803
|
+
readonly prefix?: string;
|
|
804
804
|
}
|
|
805
805
|
interface OrderNumberReference {
|
|
806
806
|
readonly number: string;
|
|
@@ -811,13 +811,13 @@ declare namespace io.flow.experience.v0.models {
|
|
|
811
811
|
interface OrderPayment {
|
|
812
812
|
readonly id: string;
|
|
813
813
|
readonly type: io.flow.experience.v0.enums.OrderPaymentType;
|
|
814
|
-
readonly merchant_of_record
|
|
814
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
815
815
|
readonly reference: string;
|
|
816
816
|
readonly description: string;
|
|
817
817
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
818
818
|
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
819
819
|
readonly date?: string;
|
|
820
|
-
readonly attributes
|
|
820
|
+
readonly attributes?: Record<string, string>;
|
|
821
821
|
}
|
|
822
822
|
interface OrderPromotionTrigger {
|
|
823
823
|
readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
|
|
@@ -862,7 +862,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
862
862
|
readonly filename?: string;
|
|
863
863
|
}
|
|
864
864
|
interface OrderSubmissionForm {
|
|
865
|
-
readonly identifiers
|
|
865
|
+
readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
866
866
|
}
|
|
867
867
|
interface OrderSubmissionIdentifierForm {
|
|
868
868
|
readonly identifier: string;
|
|
@@ -1632,7 +1632,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1632
1632
|
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
1633
1633
|
readonly service: string;
|
|
1634
1634
|
readonly number?: string;
|
|
1635
|
-
readonly ratecard_owner
|
|
1635
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
1636
1636
|
}
|
|
1637
1637
|
interface RatecardLane {
|
|
1638
1638
|
readonly id: string;
|
|
@@ -2268,7 +2268,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2268
2268
|
readonly requires_shipping: boolean;
|
|
2269
2269
|
readonly currency?: string;
|
|
2270
2270
|
readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
2271
|
-
readonly cart_level_discount_applications
|
|
2271
|
+
readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
2272
2272
|
}
|
|
2273
2273
|
interface ShopifyCartItem {
|
|
2274
2274
|
readonly id: number;
|
|
@@ -2282,7 +2282,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2282
2282
|
readonly original_line_price: number;
|
|
2283
2283
|
readonly total_discount: number;
|
|
2284
2284
|
readonly discounted_price: number;
|
|
2285
|
-
readonly discounts
|
|
2285
|
+
readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
2286
2286
|
readonly taxable: boolean;
|
|
2287
2287
|
readonly quantity: number;
|
|
2288
2288
|
readonly sku?: string;
|
|
@@ -2300,8 +2300,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2300
2300
|
readonly product_description?: string;
|
|
2301
2301
|
readonly product_type: string;
|
|
2302
2302
|
readonly variant_title?: string;
|
|
2303
|
-
readonly variant_options
|
|
2304
|
-
readonly line_level_discount_allocations
|
|
2303
|
+
readonly variant_options?: string[];
|
|
2304
|
+
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
2305
2305
|
}
|
|
2306
2306
|
interface ShopifyCartItemDiscount {
|
|
2307
2307
|
readonly amount: number;
|
|
@@ -2323,7 +2323,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2323
2323
|
readonly tax_exempt: boolean;
|
|
2324
2324
|
readonly verified_email: boolean;
|
|
2325
2325
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
2326
|
-
readonly accepts_marketing
|
|
2326
|
+
readonly accepts_marketing?: boolean;
|
|
2327
2327
|
readonly default_address?: any;
|
|
2328
2328
|
readonly email?: string;
|
|
2329
2329
|
readonly first_name?: string;
|
|
@@ -2595,11 +2595,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2595
2595
|
readonly updated_at?: string;
|
|
2596
2596
|
readonly user_id?: number;
|
|
2597
2597
|
readonly order_status_url?: string;
|
|
2598
|
-
readonly inventory_behaviour
|
|
2598
|
+
readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
2599
2599
|
readonly gateway?: string;
|
|
2600
2600
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
2601
2601
|
readonly send_receipt?: boolean;
|
|
2602
|
-
readonly metafields
|
|
2602
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
2603
2603
|
}
|
|
2604
2604
|
interface ShopifyOrderCount {
|
|
2605
2605
|
readonly count: number;
|
|
@@ -2716,7 +2716,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2716
2716
|
}
|
|
2717
2717
|
interface ShopifyWebhookOrder {
|
|
2718
2718
|
readonly id?: number;
|
|
2719
|
-
readonly line_items
|
|
2719
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
2720
2720
|
}
|
|
2721
2721
|
interface ShopifyWebhookOrderCancelled {
|
|
2722
2722
|
readonly id: number;
|
|
@@ -2760,7 +2760,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2760
2760
|
}
|
|
2761
2761
|
}
|
|
2762
2762
|
declare namespace io.flow.order.price.v0.enums {
|
|
2763
|
-
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge';
|
|
2763
|
+
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge';
|
|
2764
2764
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
2765
2765
|
}
|
|
2766
2766
|
declare namespace io.flow.order.price.v0.models {
|
|
@@ -2773,7 +2773,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
2773
2773
|
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
2774
2774
|
readonly name?: string;
|
|
2775
2775
|
readonly rate?: number;
|
|
2776
|
-
readonly accuracy
|
|
2776
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
2777
2777
|
readonly rate_label?: string;
|
|
2778
2778
|
}
|
|
2779
2779
|
interface OrderPriceDetailComponent {
|
|
@@ -3292,7 +3292,7 @@ declare namespace io.flow.feature.v0.models {
|
|
|
3292
3292
|
interface FeatureForm {
|
|
3293
3293
|
readonly name: string;
|
|
3294
3294
|
readonly description?: string;
|
|
3295
|
-
readonly status
|
|
3295
|
+
readonly status?: io.flow.feature.v0.enums.FeatureStatus;
|
|
3296
3296
|
readonly type: io.flow.feature.v0.enums.FeatureType;
|
|
3297
3297
|
readonly rules: io.flow.feature.v0.unions.FeatureRuleForm[];
|
|
3298
3298
|
readonly default?: io.flow.feature.v0.unions.FeatureDefaultValue;
|
|
@@ -3574,7 +3574,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
3574
3574
|
interface LeviesItem {
|
|
3575
3575
|
readonly number: string;
|
|
3576
3576
|
readonly name: string;
|
|
3577
|
-
readonly categories
|
|
3577
|
+
readonly categories?: string[];
|
|
3578
3578
|
readonly attributes: Record<string, string>;
|
|
3579
3579
|
readonly description: string;
|
|
3580
3580
|
}
|
|
@@ -4262,7 +4262,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
4262
4262
|
readonly organization: string;
|
|
4263
4263
|
readonly email: string;
|
|
4264
4264
|
readonly name?: io.flow.common.v0.models.Name;
|
|
4265
|
-
readonly role
|
|
4265
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4266
4266
|
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
4267
4267
|
}
|
|
4268
4268
|
interface InvitationVersion {
|
|
@@ -4281,12 +4281,12 @@ declare namespace io.flow.organization.v0.models {
|
|
|
4281
4281
|
interface MembershipForm {
|
|
4282
4282
|
readonly organization: string;
|
|
4283
4283
|
readonly user: string;
|
|
4284
|
-
readonly role
|
|
4285
|
-
readonly roles
|
|
4284
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4285
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
4286
4286
|
}
|
|
4287
4287
|
interface MembershipPutForm {
|
|
4288
|
-
readonly role
|
|
4289
|
-
readonly roles
|
|
4288
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4289
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
4290
4290
|
}
|
|
4291
4291
|
interface MembershipVersion {
|
|
4292
4292
|
readonly id: string;
|
|
@@ -4361,14 +4361,14 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
4361
4361
|
readonly currency: string;
|
|
4362
4362
|
readonly posData?: string;
|
|
4363
4363
|
readonly notificationURL?: string;
|
|
4364
|
-
readonly transactionSpeed
|
|
4364
|
+
readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
|
|
4365
4365
|
readonly fullNotifications?: boolean;
|
|
4366
4366
|
readonly notificationEmail?: string;
|
|
4367
4367
|
readonly redirectURL?: string;
|
|
4368
4368
|
readonly orderId?: string;
|
|
4369
4369
|
readonly itemDesc?: string;
|
|
4370
4370
|
readonly itemCode?: string;
|
|
4371
|
-
readonly physical
|
|
4371
|
+
readonly physical?: boolean;
|
|
4372
4372
|
readonly buyerName?: string;
|
|
4373
4373
|
readonly buyerAddress1?: string;
|
|
4374
4374
|
readonly buyerAddress2?: string;
|
|
@@ -4419,12 +4419,12 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
4419
4419
|
readonly currency: string;
|
|
4420
4420
|
readonly posData?: string;
|
|
4421
4421
|
readonly notificationURL?: string;
|
|
4422
|
-
readonly transactionSpeed
|
|
4422
|
+
readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
|
|
4423
4423
|
readonly fullNotifications?: boolean;
|
|
4424
4424
|
readonly extendedNotifications?: boolean;
|
|
4425
4425
|
readonly redirectURL?: string;
|
|
4426
4426
|
readonly orderId?: string;
|
|
4427
|
-
readonly physical
|
|
4427
|
+
readonly physical?: boolean;
|
|
4428
4428
|
readonly buyerName?: string;
|
|
4429
4429
|
readonly buyerAddress1?: string;
|
|
4430
4430
|
readonly buyerAddress2?: string;
|
|
@@ -5473,7 +5473,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
5473
5473
|
readonly base: io.flow.common.v0.models.Price;
|
|
5474
5474
|
readonly name: string;
|
|
5475
5475
|
readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
5476
|
-
readonly accuracy
|
|
5476
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
5477
5477
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
5478
5478
|
}
|
|
5479
5479
|
interface LocalizedTotal {
|
|
@@ -5632,7 +5632,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
5632
5632
|
}
|
|
5633
5633
|
interface DiscountForm {
|
|
5634
5634
|
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
5635
|
-
readonly target
|
|
5635
|
+
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
5636
5636
|
readonly label?: string;
|
|
5637
5637
|
}
|
|
5638
5638
|
interface DiscountOfferFixed {
|
|
@@ -6074,9 +6074,9 @@ declare namespace io.flow.fraud.internal.v0.models {
|
|
|
6074
6074
|
readonly responsible_party: io.flow.fraud.internal.v0.enums.FraudReviewResponsibleParty;
|
|
6075
6075
|
readonly description?: string;
|
|
6076
6076
|
readonly risk_evaluation?: io.flow.fraud.internal.v0.enums.RiskEvaluation;
|
|
6077
|
-
readonly liability
|
|
6077
|
+
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
6078
6078
|
readonly status_updated_at?: string;
|
|
6079
|
-
readonly attributes
|
|
6079
|
+
readonly attributes?: Record<string, string>;
|
|
6080
6080
|
readonly provider?: io.flow.fraud.internal.v0.enums.FraudProvider;
|
|
6081
6081
|
}
|
|
6082
6082
|
interface FraudReviewDecision {
|
|
@@ -7956,7 +7956,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7956
7956
|
readonly requested?: io.flow.common.v0.models.Money;
|
|
7957
7957
|
readonly created_at: string;
|
|
7958
7958
|
readonly attributes?: Record<string, string>;
|
|
7959
|
-
readonly status
|
|
7959
|
+
readonly status?: io.flow.payment.v0.enums.CaptureStatus;
|
|
7960
7960
|
readonly base?: io.flow.common.v0.models.Money;
|
|
7961
7961
|
}
|
|
7962
7962
|
interface CaptureError {
|
|
@@ -8004,7 +8004,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
8004
8004
|
readonly discriminator: 'card_authorization';
|
|
8005
8005
|
readonly id: string;
|
|
8006
8006
|
readonly key: string;
|
|
8007
|
-
readonly merchant_of_record
|
|
8007
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
8008
8008
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
8009
8009
|
readonly card: io.flow.payment.v0.unions.ExpandableCard;
|
|
8010
8010
|
readonly amount: number;
|
|
@@ -8193,7 +8193,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
8193
8193
|
readonly id: string;
|
|
8194
8194
|
readonly key: string;
|
|
8195
8195
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
8196
|
-
readonly merchant_of_record
|
|
8196
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
8197
8197
|
readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
8198
8198
|
readonly payment?: any;
|
|
8199
8199
|
readonly amount: number;
|
|
@@ -8295,7 +8295,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
8295
8295
|
readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
|
|
8296
8296
|
readonly created_at: string;
|
|
8297
8297
|
readonly attributes?: Record<string, string>;
|
|
8298
|
-
readonly status
|
|
8298
|
+
readonly status?: io.flow.payment.v0.enums.RefundStatus;
|
|
8299
8299
|
readonly base?: io.flow.common.v0.models.Money;
|
|
8300
8300
|
}
|
|
8301
8301
|
interface RefundCapture {
|
|
@@ -8305,7 +8305,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
8305
8305
|
readonly amount: number;
|
|
8306
8306
|
readonly currency: string;
|
|
8307
8307
|
readonly base: io.flow.common.v0.models.Money;
|
|
8308
|
-
readonly status
|
|
8308
|
+
readonly status?: io.flow.payment.v0.enums.RefundStatus;
|
|
8309
8309
|
}
|
|
8310
8310
|
interface RefundCaptureSummary {
|
|
8311
8311
|
readonly capture: io.flow.payment.v0.models.Capture;
|
|
@@ -8532,7 +8532,7 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
8532
8532
|
declare namespace io.flow.experiment.internal.v0.enums {
|
|
8533
8533
|
type ExperimentDiscriminatorKey = 'experience' | 'feature';
|
|
8534
8534
|
type Scope = 'organization' | 'global';
|
|
8535
|
-
type Status = 'draft' | 'live' | 'ended' | 'archived';
|
|
8535
|
+
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
8536
8536
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
8537
8537
|
}
|
|
8538
8538
|
declare namespace io.flow.experiment.internal.v0.models {
|
|
@@ -8546,6 +8546,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
8546
8546
|
readonly started_at?: string;
|
|
8547
8547
|
readonly ended_at?: string;
|
|
8548
8548
|
readonly variants: io.flow.experiment.internal.v0.models.ExperienceVariant[];
|
|
8549
|
+
readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
|
|
8549
8550
|
}
|
|
8550
8551
|
interface ExperienceVariant {
|
|
8551
8552
|
readonly discriminator: 'experience_variant';
|
|
@@ -8616,6 +8617,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
8616
8617
|
readonly started_at?: string;
|
|
8617
8618
|
readonly ended_at?: string;
|
|
8618
8619
|
readonly variants: io.flow.experiment.internal.v0.models.FeatureVariant[];
|
|
8620
|
+
readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
|
|
8619
8621
|
}
|
|
8620
8622
|
interface FeatureVariant {
|
|
8621
8623
|
readonly discriminator: 'feature_variant';
|
|
@@ -8948,19 +8950,19 @@ declare namespace io.flow.content.internal.v0.models {
|
|
|
8948
8950
|
readonly key: string;
|
|
8949
8951
|
readonly description?: string;
|
|
8950
8952
|
readonly elements: Record<string, io.flow.content.internal.v0.models.ContentSchemaElement>;
|
|
8951
|
-
readonly allow_multiple
|
|
8953
|
+
readonly allow_multiple?: boolean;
|
|
8952
8954
|
}
|
|
8953
8955
|
interface ContentSchemaElement {
|
|
8954
8956
|
readonly type: io.flow.content.internal.v0.enums.ContentElementType;
|
|
8955
8957
|
readonly description?: string;
|
|
8956
8958
|
readonly example?: string;
|
|
8957
|
-
readonly required
|
|
8958
|
-
readonly validation
|
|
8959
|
+
readonly required?: boolean;
|
|
8960
|
+
readonly validation?: io.flow.content.internal.v0.unions.ValidationRule[];
|
|
8959
8961
|
}
|
|
8960
8962
|
interface ContentSchemaForm {
|
|
8961
8963
|
readonly description?: string;
|
|
8962
8964
|
readonly elements: Record<string, io.flow.content.internal.v0.models.ContentSchemaElement>;
|
|
8963
|
-
readonly allow_multiple
|
|
8965
|
+
readonly allow_multiple?: boolean;
|
|
8964
8966
|
}
|
|
8965
8967
|
interface ContentSchemaSummary {
|
|
8966
8968
|
readonly key: string;
|
|
@@ -9720,7 +9722,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
9720
9722
|
readonly currency: string;
|
|
9721
9723
|
readonly name: string;
|
|
9722
9724
|
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
9723
|
-
readonly status
|
|
9725
|
+
readonly status?: io.flow.common.v0.enums.PriceBookStatus;
|
|
9724
9726
|
}
|
|
9725
9727
|
interface PriceBookItem {
|
|
9726
9728
|
readonly id: string;
|
|
@@ -11443,19 +11445,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11443
11445
|
readonly key: string;
|
|
11444
11446
|
readonly description?: string;
|
|
11445
11447
|
readonly elements: Record<string, io.flow.internal.v0.models.ContentSchemaElement>;
|
|
11446
|
-
readonly allow_multiple
|
|
11448
|
+
readonly allow_multiple?: boolean;
|
|
11447
11449
|
}
|
|
11448
11450
|
interface ContentSchemaElement {
|
|
11449
11451
|
readonly type: io.flow.internal.v0.enums.ContentElementType;
|
|
11450
11452
|
readonly description?: string;
|
|
11451
11453
|
readonly example?: string;
|
|
11452
|
-
readonly required
|
|
11453
|
-
readonly validation
|
|
11454
|
+
readonly required?: boolean;
|
|
11455
|
+
readonly validation?: io.flow.internal.v0.unions.ValidationRule[];
|
|
11454
11456
|
}
|
|
11455
11457
|
interface ContentSchemaForm {
|
|
11456
11458
|
readonly description?: string;
|
|
11457
11459
|
readonly elements: Record<string, io.flow.internal.v0.models.ContentSchemaElement>;
|
|
11458
|
-
readonly allow_multiple
|
|
11460
|
+
readonly allow_multiple?: boolean;
|
|
11459
11461
|
}
|
|
11460
11462
|
interface ContentSchemaSummary {
|
|
11461
11463
|
readonly key: string;
|
|
@@ -11877,7 +11879,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11877
11879
|
readonly event_id: string;
|
|
11878
11880
|
readonly timestamp: string;
|
|
11879
11881
|
readonly organization_id: string;
|
|
11880
|
-
readonly experiment:
|
|
11882
|
+
readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
|
|
11881
11883
|
}
|
|
11882
11884
|
interface ExperimentVariantSummary {
|
|
11883
11885
|
readonly key: string;
|
|
@@ -11986,7 +11988,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11986
11988
|
interface FeatureForm {
|
|
11987
11989
|
readonly name: string;
|
|
11988
11990
|
readonly description?: string;
|
|
11989
|
-
readonly status
|
|
11991
|
+
readonly status?: io.flow.internal.v0.enums.FeatureStatus;
|
|
11990
11992
|
readonly type: io.flow.internal.v0.enums.FeatureType;
|
|
11991
11993
|
readonly rules: io.flow.internal.v0.unions.FeatureRuleForm[];
|
|
11992
11994
|
readonly default?: io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
@@ -12130,9 +12132,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12130
12132
|
readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
|
|
12131
12133
|
readonly description?: string;
|
|
12132
12134
|
readonly risk_evaluation?: io.flow.internal.v0.enums.RiskEvaluation;
|
|
12133
|
-
readonly liability
|
|
12135
|
+
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
12134
12136
|
readonly status_updated_at?: string;
|
|
12135
|
-
readonly attributes
|
|
12137
|
+
readonly attributes?: Record<string, string>;
|
|
12136
12138
|
readonly provider?: io.flow.internal.v0.enums.FraudProvider;
|
|
12137
12139
|
}
|
|
12138
12140
|
interface FraudReviewDecision {
|
|
@@ -12751,7 +12753,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12751
12753
|
interface LeviesItem {
|
|
12752
12754
|
readonly number: string;
|
|
12753
12755
|
readonly name: string;
|
|
12754
|
-
readonly categories
|
|
12756
|
+
readonly categories?: string[];
|
|
12755
12757
|
readonly attributes: Record<string, string>;
|
|
12756
12758
|
readonly description: string;
|
|
12757
12759
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
317
317
|
readonly requires_shipping: boolean;
|
|
318
318
|
readonly currency?: string;
|
|
319
319
|
readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
320
|
-
readonly cart_level_discount_applications
|
|
320
|
+
readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
321
321
|
}
|
|
322
322
|
interface ShopifyCartItem {
|
|
323
323
|
readonly id: number;
|
|
@@ -331,7 +331,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
331
331
|
readonly original_line_price: number;
|
|
332
332
|
readonly total_discount: number;
|
|
333
333
|
readonly discounted_price: number;
|
|
334
|
-
readonly discounts
|
|
334
|
+
readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
335
335
|
readonly taxable: boolean;
|
|
336
336
|
readonly quantity: number;
|
|
337
337
|
readonly sku?: string;
|
|
@@ -349,8 +349,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
349
349
|
readonly product_description?: string;
|
|
350
350
|
readonly product_type: string;
|
|
351
351
|
readonly variant_title?: string;
|
|
352
|
-
readonly variant_options
|
|
353
|
-
readonly line_level_discount_allocations
|
|
352
|
+
readonly variant_options?: string[];
|
|
353
|
+
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
354
354
|
}
|
|
355
355
|
interface ShopifyCartItemDiscount {
|
|
356
356
|
readonly amount: number;
|
|
@@ -372,7 +372,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
372
372
|
readonly tax_exempt: boolean;
|
|
373
373
|
readonly verified_email: boolean;
|
|
374
374
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
375
|
-
readonly accepts_marketing
|
|
375
|
+
readonly accepts_marketing?: boolean;
|
|
376
376
|
readonly default_address?: any;
|
|
377
377
|
readonly email?: string;
|
|
378
378
|
readonly first_name?: string;
|
|
@@ -644,11 +644,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
644
644
|
readonly updated_at?: string;
|
|
645
645
|
readonly user_id?: number;
|
|
646
646
|
readonly order_status_url?: string;
|
|
647
|
-
readonly inventory_behaviour
|
|
647
|
+
readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
648
648
|
readonly gateway?: string;
|
|
649
649
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
650
650
|
readonly send_receipt?: boolean;
|
|
651
|
-
readonly metafields
|
|
651
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
652
652
|
}
|
|
653
653
|
interface ShopifyOrderCount {
|
|
654
654
|
readonly count: number;
|
|
@@ -765,7 +765,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
765
765
|
}
|
|
766
766
|
interface ShopifyWebhookOrder {
|
|
767
767
|
readonly id?: number;
|
|
768
|
-
readonly line_items
|
|
768
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
769
769
|
}
|
|
770
770
|
interface ShopifyWebhookOrderCancelled {
|
|
771
771
|
readonly id: number;
|
|
@@ -1099,7 +1099,7 @@ declare namespace io.flow.v0.models {
|
|
|
1099
1099
|
readonly rate: number;
|
|
1100
1100
|
readonly name: string;
|
|
1101
1101
|
readonly price?: io.flow.v0.models.PriceWithBase;
|
|
1102
|
-
readonly accuracy
|
|
1102
|
+
readonly accuracy?: io.flow.v0.enums.PriceAccuracy;
|
|
1103
1103
|
readonly basis?: io.flow.v0.models.MoneyWithBase;
|
|
1104
1104
|
}
|
|
1105
1105
|
interface AllocationLineDetail {
|
|
@@ -1486,7 +1486,7 @@ declare namespace io.flow.v0.models {
|
|
|
1486
1486
|
readonly requested?: io.flow.v0.models.Money;
|
|
1487
1487
|
readonly created_at: string;
|
|
1488
1488
|
readonly attributes?: Record<string, string>;
|
|
1489
|
-
readonly status
|
|
1489
|
+
readonly status?: io.flow.v0.enums.CaptureStatus;
|
|
1490
1490
|
readonly base?: io.flow.v0.models.Money;
|
|
1491
1491
|
}
|
|
1492
1492
|
interface CaptureDeleted {
|
|
@@ -1563,7 +1563,7 @@ declare namespace io.flow.v0.models {
|
|
|
1563
1563
|
readonly discriminator: 'card_authorization';
|
|
1564
1564
|
readonly id: string;
|
|
1565
1565
|
readonly key: string;
|
|
1566
|
-
readonly merchant_of_record
|
|
1566
|
+
readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
|
|
1567
1567
|
readonly method?: io.flow.v0.models.PaymentMethod;
|
|
1568
1568
|
readonly card: io.flow.v0.unions.ExpandableCard;
|
|
1569
1569
|
readonly amount: number;
|
|
@@ -2568,7 +2568,7 @@ declare namespace io.flow.v0.models {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
interface DiscountForm {
|
|
2570
2570
|
readonly offer: io.flow.v0.unions.DiscountOffer;
|
|
2571
|
-
readonly target
|
|
2571
|
+
readonly target?: io.flow.v0.enums.DiscountTarget;
|
|
2572
2572
|
readonly label?: string;
|
|
2573
2573
|
}
|
|
2574
2574
|
interface DiscountOfferFixed {
|
|
@@ -3570,7 +3570,7 @@ declare namespace io.flow.v0.models {
|
|
|
3570
3570
|
readonly organization: string;
|
|
3571
3571
|
readonly email: string;
|
|
3572
3572
|
readonly name?: io.flow.v0.models.Name;
|
|
3573
|
-
readonly role
|
|
3573
|
+
readonly role?: io.flow.v0.enums.Role;
|
|
3574
3574
|
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
3575
3575
|
}
|
|
3576
3576
|
interface InvitationVersion {
|
|
@@ -3998,7 +3998,7 @@ declare namespace io.flow.v0.models {
|
|
|
3998
3998
|
readonly base: io.flow.v0.models.Price;
|
|
3999
3999
|
readonly name: string;
|
|
4000
4000
|
readonly adjustment?: io.flow.v0.models.LocalizedAdjustment;
|
|
4001
|
-
readonly accuracy
|
|
4001
|
+
readonly accuracy?: io.flow.v0.enums.PriceAccuracy;
|
|
4002
4002
|
readonly basis?: io.flow.v0.models.MoneyWithBase;
|
|
4003
4003
|
}
|
|
4004
4004
|
interface LocalizedLineItem {
|
|
@@ -4099,12 +4099,12 @@ declare namespace io.flow.v0.models {
|
|
|
4099
4099
|
interface MembershipForm {
|
|
4100
4100
|
readonly organization: string;
|
|
4101
4101
|
readonly user: string;
|
|
4102
|
-
readonly role
|
|
4103
|
-
readonly roles
|
|
4102
|
+
readonly role?: io.flow.v0.enums.Role;
|
|
4103
|
+
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
4104
4104
|
}
|
|
4105
4105
|
interface MembershipPutForm {
|
|
4106
|
-
readonly role
|
|
4107
|
-
readonly roles
|
|
4106
|
+
readonly role?: io.flow.v0.enums.Role;
|
|
4107
|
+
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
4108
4108
|
}
|
|
4109
4109
|
interface MembershipUpsertedV2 {
|
|
4110
4110
|
readonly discriminator: 'membership_upserted_v2';
|
|
@@ -4255,7 +4255,7 @@ declare namespace io.flow.v0.models {
|
|
|
4255
4255
|
readonly id: string;
|
|
4256
4256
|
readonly key: string;
|
|
4257
4257
|
readonly method?: io.flow.v0.models.PaymentMethod;
|
|
4258
|
-
readonly merchant_of_record
|
|
4258
|
+
readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
|
|
4259
4259
|
readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
4260
4260
|
readonly payment?: any;
|
|
4261
4261
|
readonly amount: number;
|
|
@@ -4536,7 +4536,7 @@ declare namespace io.flow.v0.models {
|
|
|
4536
4536
|
}
|
|
4537
4537
|
interface OrderNumberGeneratorUuid {
|
|
4538
4538
|
readonly discriminator: 'uuid';
|
|
4539
|
-
readonly prefix
|
|
4539
|
+
readonly prefix?: string;
|
|
4540
4540
|
}
|
|
4541
4541
|
interface OrderNumberReference {
|
|
4542
4542
|
readonly number: string;
|
|
@@ -4547,13 +4547,13 @@ declare namespace io.flow.v0.models {
|
|
|
4547
4547
|
interface OrderPayment {
|
|
4548
4548
|
readonly id: string;
|
|
4549
4549
|
readonly type: io.flow.v0.enums.OrderPaymentType;
|
|
4550
|
-
readonly merchant_of_record
|
|
4550
|
+
readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
|
|
4551
4551
|
readonly reference: string;
|
|
4552
4552
|
readonly description: string;
|
|
4553
4553
|
readonly total: io.flow.v0.models.PriceWithBase;
|
|
4554
4554
|
readonly address?: io.flow.v0.models.BillingAddress;
|
|
4555
4555
|
readonly date?: string;
|
|
4556
|
-
readonly attributes
|
|
4556
|
+
readonly attributes?: Record<string, string>;
|
|
4557
4557
|
}
|
|
4558
4558
|
interface OrderPlaced {
|
|
4559
4559
|
readonly discriminator: 'order_placed';
|
|
@@ -4646,7 +4646,7 @@ declare namespace io.flow.v0.models {
|
|
|
4646
4646
|
readonly filename?: string;
|
|
4647
4647
|
}
|
|
4648
4648
|
interface OrderSubmissionForm {
|
|
4649
|
-
readonly identifiers
|
|
4649
|
+
readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
|
|
4650
4650
|
}
|
|
4651
4651
|
interface OrderSubmissionIdentifierForm {
|
|
4652
4652
|
readonly identifier: string;
|
|
@@ -5177,7 +5177,7 @@ declare namespace io.flow.v0.models {
|
|
|
5177
5177
|
readonly currency: string;
|
|
5178
5178
|
readonly name: string;
|
|
5179
5179
|
readonly includes: io.flow.v0.enums.IncludedLevyKey;
|
|
5180
|
-
readonly status
|
|
5180
|
+
readonly status?: io.flow.v0.enums.PriceBookStatus;
|
|
5181
5181
|
}
|
|
5182
5182
|
interface PriceBookItem {
|
|
5183
5183
|
readonly id: string;
|
|
@@ -5585,7 +5585,7 @@ declare namespace io.flow.v0.models {
|
|
|
5585
5585
|
readonly origination_zones: io.flow.v0.models.Zone[];
|
|
5586
5586
|
readonly service: string;
|
|
5587
5587
|
readonly number?: string;
|
|
5588
|
-
readonly ratecard_owner
|
|
5588
|
+
readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
|
|
5589
5589
|
}
|
|
5590
5590
|
interface RatecardLane {
|
|
5591
5591
|
readonly id: string;
|
|
@@ -5732,7 +5732,7 @@ declare namespace io.flow.v0.models {
|
|
|
5732
5732
|
readonly captures: io.flow.v0.models.RefundCaptureSummary[];
|
|
5733
5733
|
readonly created_at: string;
|
|
5734
5734
|
readonly attributes?: Record<string, string>;
|
|
5735
|
-
readonly status
|
|
5735
|
+
readonly status?: io.flow.v0.enums.RefundStatus;
|
|
5736
5736
|
readonly base?: io.flow.v0.models.Money;
|
|
5737
5737
|
}
|
|
5738
5738
|
interface RefundCapture {
|
|
@@ -5742,7 +5742,7 @@ declare namespace io.flow.v0.models {
|
|
|
5742
5742
|
readonly amount: number;
|
|
5743
5743
|
readonly currency: string;
|
|
5744
5744
|
readonly base: io.flow.v0.models.Money;
|
|
5745
|
-
readonly status
|
|
5745
|
+
readonly status?: io.flow.v0.enums.RefundStatus;
|
|
5746
5746
|
}
|
|
5747
5747
|
interface RefundCaptureSummary {
|
|
5748
5748
|
readonly capture: io.flow.v0.models.Capture;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.7",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "3.8.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "d73f6007bb63eb587eb82a5a8220bea21888bf03"
|
|
31
31
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -402,7 +402,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
402
402
|
readonly rate: number;
|
|
403
403
|
readonly name: string;
|
|
404
404
|
readonly price?: io.flow.common.v0.models.PriceWithBase;
|
|
405
|
-
readonly accuracy
|
|
405
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
406
406
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
407
407
|
}
|
|
408
408
|
|
|
@@ -977,7 +977,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
977
977
|
|
|
978
978
|
interface OrderNumberGeneratorUuid {
|
|
979
979
|
readonly discriminator: 'uuid';
|
|
980
|
-
readonly prefix
|
|
980
|
+
readonly prefix?: string;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
interface OrderNumberReference {
|
|
@@ -991,13 +991,13 @@ declare namespace io.flow.experience.v0.models {
|
|
|
991
991
|
interface OrderPayment {
|
|
992
992
|
readonly id: string;
|
|
993
993
|
readonly type: io.flow.experience.v0.enums.OrderPaymentType;
|
|
994
|
-
readonly merchant_of_record
|
|
994
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
995
995
|
readonly reference: string;
|
|
996
996
|
readonly description: string;
|
|
997
997
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
998
998
|
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
999
999
|
readonly date?: string;
|
|
1000
|
-
readonly attributes
|
|
1000
|
+
readonly attributes?: Record<string, string>;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
interface OrderPromotionTrigger {
|
|
@@ -1051,7 +1051,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
1053
|
interface OrderSubmissionForm {
|
|
1054
|
-
readonly identifiers
|
|
1054
|
+
readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
1057
|
interface OrderSubmissionIdentifierForm {
|
|
@@ -2000,7 +2000,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
2000
2000
|
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
2001
2001
|
readonly service: string;
|
|
2002
2002
|
readonly number?: string;
|
|
2003
|
-
readonly ratecard_owner
|
|
2003
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
2004
2004
|
}
|
|
2005
2005
|
|
|
2006
2006
|
interface RatecardLane {
|
|
@@ -2866,7 +2866,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2866
2866
|
readonly requires_shipping: boolean;
|
|
2867
2867
|
readonly currency?: string;
|
|
2868
2868
|
readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
2869
|
-
readonly cart_level_discount_applications
|
|
2869
|
+
readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
2870
2870
|
}
|
|
2871
2871
|
|
|
2872
2872
|
interface ShopifyCartItem {
|
|
@@ -2881,7 +2881,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2881
2881
|
readonly original_line_price: number;
|
|
2882
2882
|
readonly total_discount: number;
|
|
2883
2883
|
readonly discounted_price: number;
|
|
2884
|
-
readonly discounts
|
|
2884
|
+
readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
2885
2885
|
readonly taxable: boolean;
|
|
2886
2886
|
readonly quantity: number;
|
|
2887
2887
|
readonly sku?: string;
|
|
@@ -2899,8 +2899,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2899
2899
|
readonly product_description?: string;
|
|
2900
2900
|
readonly product_type: string;
|
|
2901
2901
|
readonly variant_title?: string;
|
|
2902
|
-
readonly variant_options
|
|
2903
|
-
readonly line_level_discount_allocations
|
|
2902
|
+
readonly variant_options?: string[];
|
|
2903
|
+
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
2904
2904
|
}
|
|
2905
2905
|
|
|
2906
2906
|
interface ShopifyCartItemDiscount {
|
|
@@ -2925,7 +2925,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2925
2925
|
readonly tax_exempt: boolean;
|
|
2926
2926
|
readonly verified_email: boolean;
|
|
2927
2927
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
2928
|
-
readonly accepts_marketing
|
|
2928
|
+
readonly accepts_marketing?: boolean;
|
|
2929
2929
|
readonly default_address?: any /*object*/;
|
|
2930
2930
|
readonly email?: string;
|
|
2931
2931
|
readonly first_name?: string;
|
|
@@ -3223,11 +3223,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
3223
3223
|
readonly updated_at?: string;
|
|
3224
3224
|
readonly user_id?: number;
|
|
3225
3225
|
readonly order_status_url?: string;
|
|
3226
|
-
readonly inventory_behaviour
|
|
3226
|
+
readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
3227
3227
|
readonly gateway?: string;
|
|
3228
3228
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
3229
3229
|
readonly send_receipt?: boolean;
|
|
3230
|
-
readonly metafields
|
|
3230
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
3231
3231
|
}
|
|
3232
3232
|
|
|
3233
3233
|
interface ShopifyOrderCount {
|
|
@@ -3360,7 +3360,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
3360
3360
|
|
|
3361
3361
|
interface ShopifyWebhookOrder {
|
|
3362
3362
|
readonly id?: number;
|
|
3363
|
-
readonly line_items
|
|
3363
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
3364
3364
|
}
|
|
3365
3365
|
|
|
3366
3366
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -3438,7 +3438,8 @@ declare namespace io.flow.order.price.v0.enums {
|
|
|
3438
3438
|
| 'vat_subsidy'
|
|
3439
3439
|
| 'duty_subsidy'
|
|
3440
3440
|
| 'remote_area_surcharge'
|
|
3441
|
-
| 'fuel_surcharge'
|
|
3441
|
+
| 'fuel_surcharge'
|
|
3442
|
+
| 'emergency_situation_surcharge';
|
|
3442
3443
|
type OrderPriceDetailKey =
|
|
3443
3444
|
| 'adjustment'
|
|
3444
3445
|
| 'subtotal'
|
|
@@ -3460,7 +3461,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
3460
3461
|
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
3461
3462
|
readonly name?: string;
|
|
3462
3463
|
readonly rate?: number;
|
|
3463
|
-
readonly accuracy
|
|
3464
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
3464
3465
|
readonly rate_label?: string;
|
|
3465
3466
|
}
|
|
3466
3467
|
|
|
@@ -4096,7 +4097,7 @@ declare namespace io.flow.feature.v0.models {
|
|
|
4096
4097
|
interface FeatureForm {
|
|
4097
4098
|
readonly name: string;
|
|
4098
4099
|
readonly description?: string;
|
|
4099
|
-
readonly status
|
|
4100
|
+
readonly status?: io.flow.feature.v0.enums.FeatureStatus;
|
|
4100
4101
|
readonly type: io.flow.feature.v0.enums.FeatureType;
|
|
4101
4102
|
readonly rules: io.flow.feature.v0.unions.FeatureRuleForm[];
|
|
4102
4103
|
readonly default?: io.flow.feature.v0.unions.FeatureDefaultValue;
|
|
@@ -4458,7 +4459,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
4458
4459
|
interface LeviesItem {
|
|
4459
4460
|
readonly number: string;
|
|
4460
4461
|
readonly name: string;
|
|
4461
|
-
readonly categories
|
|
4462
|
+
readonly categories?: string[];
|
|
4462
4463
|
readonly attributes: Record<string, string>;
|
|
4463
4464
|
readonly description: string;
|
|
4464
4465
|
}
|
|
@@ -5320,7 +5321,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
5320
5321
|
readonly organization: string;
|
|
5321
5322
|
readonly email: string;
|
|
5322
5323
|
readonly name?: io.flow.common.v0.models.Name;
|
|
5323
|
-
readonly role
|
|
5324
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
5324
5325
|
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
5325
5326
|
}
|
|
5326
5327
|
|
|
@@ -5342,13 +5343,13 @@ declare namespace io.flow.organization.v0.models {
|
|
|
5342
5343
|
interface MembershipForm {
|
|
5343
5344
|
readonly organization: string;
|
|
5344
5345
|
readonly user: string;
|
|
5345
|
-
readonly role
|
|
5346
|
-
readonly roles
|
|
5346
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
5347
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
5347
5348
|
}
|
|
5348
5349
|
|
|
5349
5350
|
interface MembershipPutForm {
|
|
5350
|
-
readonly role
|
|
5351
|
-
readonly roles
|
|
5351
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
5352
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
5352
5353
|
}
|
|
5353
5354
|
|
|
5354
5355
|
interface MembershipVersion {
|
|
@@ -5464,14 +5465,14 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
5464
5465
|
readonly currency: string;
|
|
5465
5466
|
readonly posData?: string;
|
|
5466
5467
|
readonly notificationURL?: string;
|
|
5467
|
-
readonly transactionSpeed
|
|
5468
|
+
readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
|
|
5468
5469
|
readonly fullNotifications?: boolean;
|
|
5469
5470
|
readonly notificationEmail?: string;
|
|
5470
5471
|
readonly redirectURL?: string;
|
|
5471
5472
|
readonly orderId?: string;
|
|
5472
5473
|
readonly itemDesc?: string;
|
|
5473
5474
|
readonly itemCode?: string;
|
|
5474
|
-
readonly physical
|
|
5475
|
+
readonly physical?: boolean;
|
|
5475
5476
|
readonly buyerName?: string;
|
|
5476
5477
|
readonly buyerAddress1?: string;
|
|
5477
5478
|
readonly buyerAddress2?: string;
|
|
@@ -5528,12 +5529,12 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
5528
5529
|
readonly currency: string;
|
|
5529
5530
|
readonly posData?: string;
|
|
5530
5531
|
readonly notificationURL?: string;
|
|
5531
|
-
readonly transactionSpeed
|
|
5532
|
+
readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
|
|
5532
5533
|
readonly fullNotifications?: boolean;
|
|
5533
5534
|
readonly extendedNotifications?: boolean;
|
|
5534
5535
|
readonly redirectURL?: string;
|
|
5535
5536
|
readonly orderId?: string;
|
|
5536
|
-
readonly physical
|
|
5537
|
+
readonly physical?: boolean;
|
|
5537
5538
|
readonly buyerName?: string;
|
|
5538
5539
|
readonly buyerAddress1?: string;
|
|
5539
5540
|
readonly buyerAddress2?: string;
|
|
@@ -6796,7 +6797,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
6796
6797
|
readonly base: io.flow.common.v0.models.Price;
|
|
6797
6798
|
readonly name: string;
|
|
6798
6799
|
readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
6799
|
-
readonly accuracy
|
|
6800
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
6800
6801
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
6801
6802
|
}
|
|
6802
6803
|
|
|
@@ -7019,7 +7020,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
7019
7020
|
|
|
7020
7021
|
interface DiscountForm {
|
|
7021
7022
|
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
7022
|
-
readonly target
|
|
7023
|
+
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
7023
7024
|
readonly label?: string;
|
|
7024
7025
|
}
|
|
7025
7026
|
|
|
@@ -7571,9 +7572,9 @@ declare namespace io.flow.fraud.internal.v0.models {
|
|
|
7571
7572
|
readonly responsible_party: io.flow.fraud.internal.v0.enums.FraudReviewResponsibleParty;
|
|
7572
7573
|
readonly description?: string;
|
|
7573
7574
|
readonly risk_evaluation?: io.flow.fraud.internal.v0.enums.RiskEvaluation;
|
|
7574
|
-
readonly liability
|
|
7575
|
+
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
7575
7576
|
readonly status_updated_at?: string;
|
|
7576
|
-
readonly attributes
|
|
7577
|
+
readonly attributes?: Record<string, string>;
|
|
7577
7578
|
readonly provider?: io.flow.fraud.internal.v0.enums.FraudProvider;
|
|
7578
7579
|
}
|
|
7579
7580
|
|
|
@@ -9988,7 +9989,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
9988
9989
|
readonly requested?: io.flow.common.v0.models.Money;
|
|
9989
9990
|
readonly created_at: string;
|
|
9990
9991
|
readonly attributes?: Record<string, string>;
|
|
9991
|
-
readonly status
|
|
9992
|
+
readonly status?: io.flow.payment.v0.enums.CaptureStatus;
|
|
9992
9993
|
readonly base?: io.flow.common.v0.models.Money;
|
|
9993
9994
|
}
|
|
9994
9995
|
|
|
@@ -10043,7 +10044,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
10043
10044
|
readonly discriminator: 'card_authorization';
|
|
10044
10045
|
readonly id: string;
|
|
10045
10046
|
readonly key: string;
|
|
10046
|
-
readonly merchant_of_record
|
|
10047
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
10047
10048
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
10048
10049
|
readonly card: io.flow.payment.v0.unions.ExpandableCard;
|
|
10049
10050
|
readonly amount: number;
|
|
@@ -10258,7 +10259,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
10258
10259
|
readonly id: string;
|
|
10259
10260
|
readonly key: string;
|
|
10260
10261
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
10261
|
-
readonly merchant_of_record
|
|
10262
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
10262
10263
|
readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
10263
10264
|
readonly payment?: any /*object*/;
|
|
10264
10265
|
readonly amount: number;
|
|
@@ -10374,7 +10375,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
10374
10375
|
readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
|
|
10375
10376
|
readonly created_at: string;
|
|
10376
10377
|
readonly attributes?: Record<string, string>;
|
|
10377
|
-
readonly status
|
|
10378
|
+
readonly status?: io.flow.payment.v0.enums.RefundStatus;
|
|
10378
10379
|
readonly base?: io.flow.common.v0.models.Money;
|
|
10379
10380
|
}
|
|
10380
10381
|
|
|
@@ -10385,7 +10386,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
10385
10386
|
readonly amount: number;
|
|
10386
10387
|
readonly currency: string;
|
|
10387
10388
|
readonly base: io.flow.common.v0.models.Money;
|
|
10388
|
-
readonly status
|
|
10389
|
+
readonly status?: io.flow.payment.v0.enums.RefundStatus;
|
|
10389
10390
|
}
|
|
10390
10391
|
|
|
10391
10392
|
interface RefundCaptureSummary {
|
|
@@ -10677,7 +10678,7 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
10677
10678
|
declare namespace io.flow.experiment.internal.v0.enums {
|
|
10678
10679
|
type ExperimentDiscriminatorKey = 'experience' | 'feature';
|
|
10679
10680
|
type Scope = 'organization' | 'global';
|
|
10680
|
-
type Status = 'draft' | 'live' | 'ended' | 'archived';
|
|
10681
|
+
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
10681
10682
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
10682
10683
|
}
|
|
10683
10684
|
|
|
@@ -10692,6 +10693,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
10692
10693
|
readonly started_at?: string;
|
|
10693
10694
|
readonly ended_at?: string;
|
|
10694
10695
|
readonly variants: io.flow.experiment.internal.v0.models.ExperienceVariant[];
|
|
10696
|
+
readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
|
|
10695
10697
|
}
|
|
10696
10698
|
|
|
10697
10699
|
interface ExperienceVariant {
|
|
@@ -10774,6 +10776,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
10774
10776
|
readonly started_at?: string;
|
|
10775
10777
|
readonly ended_at?: string;
|
|
10776
10778
|
readonly variants: io.flow.experiment.internal.v0.models.FeatureVariant[];
|
|
10779
|
+
readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
|
|
10777
10780
|
}
|
|
10778
10781
|
|
|
10779
10782
|
interface FeatureVariant {
|
|
@@ -11157,15 +11160,15 @@ declare namespace io.flow.content.internal.v0.models {
|
|
|
11157
11160
|
string,
|
|
11158
11161
|
io.flow.content.internal.v0.models.ContentSchemaElement
|
|
11159
11162
|
>;
|
|
11160
|
-
readonly allow_multiple
|
|
11163
|
+
readonly allow_multiple?: boolean;
|
|
11161
11164
|
}
|
|
11162
11165
|
|
|
11163
11166
|
interface ContentSchemaElement {
|
|
11164
11167
|
readonly type: io.flow.content.internal.v0.enums.ContentElementType;
|
|
11165
11168
|
readonly description?: string;
|
|
11166
11169
|
readonly example?: string;
|
|
11167
|
-
readonly required
|
|
11168
|
-
readonly validation
|
|
11170
|
+
readonly required?: boolean;
|
|
11171
|
+
readonly validation?: io.flow.content.internal.v0.unions.ValidationRule[];
|
|
11169
11172
|
}
|
|
11170
11173
|
|
|
11171
11174
|
interface ContentSchemaForm {
|
|
@@ -11174,7 +11177,7 @@ declare namespace io.flow.content.internal.v0.models {
|
|
|
11174
11177
|
string,
|
|
11175
11178
|
io.flow.content.internal.v0.models.ContentSchemaElement
|
|
11176
11179
|
>;
|
|
11177
|
-
readonly allow_multiple
|
|
11180
|
+
readonly allow_multiple?: boolean;
|
|
11178
11181
|
}
|
|
11179
11182
|
|
|
11180
11183
|
interface ContentSchemaSummary {
|
|
@@ -12210,7 +12213,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
12210
12213
|
readonly currency: string;
|
|
12211
12214
|
readonly name: string;
|
|
12212
12215
|
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
12213
|
-
readonly status
|
|
12216
|
+
readonly status?: io.flow.common.v0.enums.PriceBookStatus;
|
|
12214
12217
|
}
|
|
12215
12218
|
|
|
12216
12219
|
interface PriceBookItem {
|
|
@@ -14559,15 +14562,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14559
14562
|
string,
|
|
14560
14563
|
io.flow.internal.v0.models.ContentSchemaElement
|
|
14561
14564
|
>;
|
|
14562
|
-
readonly allow_multiple
|
|
14565
|
+
readonly allow_multiple?: boolean;
|
|
14563
14566
|
}
|
|
14564
14567
|
|
|
14565
14568
|
interface ContentSchemaElement {
|
|
14566
14569
|
readonly type: io.flow.internal.v0.enums.ContentElementType;
|
|
14567
14570
|
readonly description?: string;
|
|
14568
14571
|
readonly example?: string;
|
|
14569
|
-
readonly required
|
|
14570
|
-
readonly validation
|
|
14572
|
+
readonly required?: boolean;
|
|
14573
|
+
readonly validation?: io.flow.internal.v0.unions.ValidationRule[];
|
|
14571
14574
|
}
|
|
14572
14575
|
|
|
14573
14576
|
interface ContentSchemaForm {
|
|
@@ -14576,7 +14579,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14576
14579
|
string,
|
|
14577
14580
|
io.flow.internal.v0.models.ContentSchemaElement
|
|
14578
14581
|
>;
|
|
14579
|
-
readonly allow_multiple
|
|
14582
|
+
readonly allow_multiple?: boolean;
|
|
14580
14583
|
}
|
|
14581
14584
|
|
|
14582
14585
|
interface ContentSchemaSummary {
|
|
@@ -15072,7 +15075,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15072
15075
|
readonly event_id: string;
|
|
15073
15076
|
readonly timestamp: string;
|
|
15074
15077
|
readonly organization_id: string;
|
|
15075
|
-
readonly experiment:
|
|
15078
|
+
readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
|
|
15076
15079
|
}
|
|
15077
15080
|
|
|
15078
15081
|
interface ExperimentVariantSummary {
|
|
@@ -15197,7 +15200,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15197
15200
|
interface FeatureForm {
|
|
15198
15201
|
readonly name: string;
|
|
15199
15202
|
readonly description?: string;
|
|
15200
|
-
readonly status
|
|
15203
|
+
readonly status?: io.flow.internal.v0.enums.FeatureStatus;
|
|
15201
15204
|
readonly type: io.flow.internal.v0.enums.FeatureType;
|
|
15202
15205
|
readonly rules: io.flow.internal.v0.unions.FeatureRuleForm[];
|
|
15203
15206
|
readonly default?: io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
@@ -15367,9 +15370,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15367
15370
|
readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
|
|
15368
15371
|
readonly description?: string;
|
|
15369
15372
|
readonly risk_evaluation?: io.flow.internal.v0.enums.RiskEvaluation;
|
|
15370
|
-
readonly liability
|
|
15373
|
+
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
15371
15374
|
readonly status_updated_at?: string;
|
|
15372
|
-
readonly attributes
|
|
15375
|
+
readonly attributes?: Record<string, string>;
|
|
15373
15376
|
readonly provider?: io.flow.internal.v0.enums.FraudProvider;
|
|
15374
15377
|
}
|
|
15375
15378
|
|
|
@@ -16091,7 +16094,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16091
16094
|
interface LeviesItem {
|
|
16092
16095
|
readonly number: string;
|
|
16093
16096
|
readonly name: string;
|
|
16094
|
-
readonly categories
|
|
16097
|
+
readonly categories?: string[];
|
|
16095
16098
|
readonly attributes: Record<string, string>;
|
|
16096
16099
|
readonly description: string;
|
|
16097
16100
|
}
|
package/src/api.ts
CHANGED
|
@@ -455,7 +455,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
455
455
|
readonly requires_shipping: boolean;
|
|
456
456
|
readonly currency?: string;
|
|
457
457
|
readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
458
|
-
readonly cart_level_discount_applications
|
|
458
|
+
readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
interface ShopifyCartItem {
|
|
@@ -470,7 +470,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
470
470
|
readonly original_line_price: number;
|
|
471
471
|
readonly total_discount: number;
|
|
472
472
|
readonly discounted_price: number;
|
|
473
|
-
readonly discounts
|
|
473
|
+
readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
474
474
|
readonly taxable: boolean;
|
|
475
475
|
readonly quantity: number;
|
|
476
476
|
readonly sku?: string;
|
|
@@ -488,8 +488,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
488
488
|
readonly product_description?: string;
|
|
489
489
|
readonly product_type: string;
|
|
490
490
|
readonly variant_title?: string;
|
|
491
|
-
readonly variant_options
|
|
492
|
-
readonly line_level_discount_allocations
|
|
491
|
+
readonly variant_options?: string[];
|
|
492
|
+
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
interface ShopifyCartItemDiscount {
|
|
@@ -514,7 +514,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
514
514
|
readonly tax_exempt: boolean;
|
|
515
515
|
readonly verified_email: boolean;
|
|
516
516
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
517
|
-
readonly accepts_marketing
|
|
517
|
+
readonly accepts_marketing?: boolean;
|
|
518
518
|
readonly default_address?: any /*object*/;
|
|
519
519
|
readonly email?: string;
|
|
520
520
|
readonly first_name?: string;
|
|
@@ -812,11 +812,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
812
812
|
readonly updated_at?: string;
|
|
813
813
|
readonly user_id?: number;
|
|
814
814
|
readonly order_status_url?: string;
|
|
815
|
-
readonly inventory_behaviour
|
|
815
|
+
readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
816
816
|
readonly gateway?: string;
|
|
817
817
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
818
818
|
readonly send_receipt?: boolean;
|
|
819
|
-
readonly metafields
|
|
819
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
820
820
|
}
|
|
821
821
|
|
|
822
822
|
interface ShopifyOrderCount {
|
|
@@ -949,7 +949,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
949
949
|
|
|
950
950
|
interface ShopifyWebhookOrder {
|
|
951
951
|
readonly id?: number;
|
|
952
|
-
readonly line_items
|
|
952
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -1772,7 +1772,7 @@ declare namespace io.flow.v0.models {
|
|
|
1772
1772
|
readonly rate: number;
|
|
1773
1773
|
readonly name: string;
|
|
1774
1774
|
readonly price?: io.flow.v0.models.PriceWithBase;
|
|
1775
|
-
readonly accuracy
|
|
1775
|
+
readonly accuracy?: io.flow.v0.enums.PriceAccuracy;
|
|
1776
1776
|
readonly basis?: io.flow.v0.models.MoneyWithBase;
|
|
1777
1777
|
}
|
|
1778
1778
|
|
|
@@ -2216,7 +2216,7 @@ declare namespace io.flow.v0.models {
|
|
|
2216
2216
|
readonly requested?: io.flow.v0.models.Money;
|
|
2217
2217
|
readonly created_at: string;
|
|
2218
2218
|
readonly attributes?: Record<string, string>;
|
|
2219
|
-
readonly status
|
|
2219
|
+
readonly status?: io.flow.v0.enums.CaptureStatus;
|
|
2220
2220
|
readonly base?: io.flow.v0.models.Money;
|
|
2221
2221
|
}
|
|
2222
2222
|
|
|
@@ -2304,7 +2304,7 @@ declare namespace io.flow.v0.models {
|
|
|
2304
2304
|
readonly discriminator: 'card_authorization';
|
|
2305
2305
|
readonly id: string;
|
|
2306
2306
|
readonly key: string;
|
|
2307
|
-
readonly merchant_of_record
|
|
2307
|
+
readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
|
|
2308
2308
|
readonly method?: io.flow.v0.models.PaymentMethod;
|
|
2309
2309
|
readonly card: io.flow.v0.unions.ExpandableCard;
|
|
2310
2310
|
readonly amount: number;
|
|
@@ -3469,7 +3469,7 @@ declare namespace io.flow.v0.models {
|
|
|
3469
3469
|
|
|
3470
3470
|
interface DiscountForm {
|
|
3471
3471
|
readonly offer: io.flow.v0.unions.DiscountOffer;
|
|
3472
|
-
readonly target
|
|
3472
|
+
readonly target?: io.flow.v0.enums.DiscountTarget;
|
|
3473
3473
|
readonly label?: string;
|
|
3474
3474
|
}
|
|
3475
3475
|
|
|
@@ -4654,7 +4654,7 @@ declare namespace io.flow.v0.models {
|
|
|
4654
4654
|
readonly organization: string;
|
|
4655
4655
|
readonly email: string;
|
|
4656
4656
|
readonly name?: io.flow.v0.models.Name;
|
|
4657
|
-
readonly role
|
|
4657
|
+
readonly role?: io.flow.v0.enums.Role;
|
|
4658
4658
|
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
4659
4659
|
}
|
|
4660
4660
|
|
|
@@ -5141,7 +5141,7 @@ declare namespace io.flow.v0.models {
|
|
|
5141
5141
|
readonly base: io.flow.v0.models.Price;
|
|
5142
5142
|
readonly name: string;
|
|
5143
5143
|
readonly adjustment?: io.flow.v0.models.LocalizedAdjustment;
|
|
5144
|
-
readonly accuracy
|
|
5144
|
+
readonly accuracy?: io.flow.v0.enums.PriceAccuracy;
|
|
5145
5145
|
readonly basis?: io.flow.v0.models.MoneyWithBase;
|
|
5146
5146
|
}
|
|
5147
5147
|
|
|
@@ -5258,13 +5258,13 @@ declare namespace io.flow.v0.models {
|
|
|
5258
5258
|
interface MembershipForm {
|
|
5259
5259
|
readonly organization: string;
|
|
5260
5260
|
readonly user: string;
|
|
5261
|
-
readonly role
|
|
5262
|
-
readonly roles
|
|
5261
|
+
readonly role?: io.flow.v0.enums.Role;
|
|
5262
|
+
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
5263
5263
|
}
|
|
5264
5264
|
|
|
5265
5265
|
interface MembershipPutForm {
|
|
5266
|
-
readonly role
|
|
5267
|
-
readonly roles
|
|
5266
|
+
readonly role?: io.flow.v0.enums.Role;
|
|
5267
|
+
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
5268
5268
|
}
|
|
5269
5269
|
|
|
5270
5270
|
interface MembershipUpsertedV2 {
|
|
@@ -5439,7 +5439,7 @@ declare namespace io.flow.v0.models {
|
|
|
5439
5439
|
readonly id: string;
|
|
5440
5440
|
readonly key: string;
|
|
5441
5441
|
readonly method?: io.flow.v0.models.PaymentMethod;
|
|
5442
|
-
readonly merchant_of_record
|
|
5442
|
+
readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
|
|
5443
5443
|
readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
5444
5444
|
readonly payment?: any /*object*/;
|
|
5445
5445
|
readonly amount: number;
|
|
@@ -5760,7 +5760,7 @@ declare namespace io.flow.v0.models {
|
|
|
5760
5760
|
|
|
5761
5761
|
interface OrderNumberGeneratorUuid {
|
|
5762
5762
|
readonly discriminator: 'uuid';
|
|
5763
|
-
readonly prefix
|
|
5763
|
+
readonly prefix?: string;
|
|
5764
5764
|
}
|
|
5765
5765
|
|
|
5766
5766
|
interface OrderNumberReference {
|
|
@@ -5774,13 +5774,13 @@ declare namespace io.flow.v0.models {
|
|
|
5774
5774
|
interface OrderPayment {
|
|
5775
5775
|
readonly id: string;
|
|
5776
5776
|
readonly type: io.flow.v0.enums.OrderPaymentType;
|
|
5777
|
-
readonly merchant_of_record
|
|
5777
|
+
readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
|
|
5778
5778
|
readonly reference: string;
|
|
5779
5779
|
readonly description: string;
|
|
5780
5780
|
readonly total: io.flow.v0.models.PriceWithBase;
|
|
5781
5781
|
readonly address?: io.flow.v0.models.BillingAddress;
|
|
5782
5782
|
readonly date?: string;
|
|
5783
|
-
readonly attributes
|
|
5783
|
+
readonly attributes?: Record<string, string>;
|
|
5784
5784
|
}
|
|
5785
5785
|
|
|
5786
5786
|
interface OrderPlaced {
|
|
@@ -5888,7 +5888,7 @@ declare namespace io.flow.v0.models {
|
|
|
5888
5888
|
}
|
|
5889
5889
|
|
|
5890
5890
|
interface OrderSubmissionForm {
|
|
5891
|
-
readonly identifiers
|
|
5891
|
+
readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
|
|
5892
5892
|
}
|
|
5893
5893
|
|
|
5894
5894
|
interface OrderSubmissionIdentifierForm {
|
|
@@ -6507,7 +6507,7 @@ declare namespace io.flow.v0.models {
|
|
|
6507
6507
|
readonly currency: string;
|
|
6508
6508
|
readonly name: string;
|
|
6509
6509
|
readonly includes: io.flow.v0.enums.IncludedLevyKey;
|
|
6510
|
-
readonly status
|
|
6510
|
+
readonly status?: io.flow.v0.enums.PriceBookStatus;
|
|
6511
6511
|
}
|
|
6512
6512
|
|
|
6513
6513
|
interface PriceBookItem {
|
|
@@ -6976,7 +6976,7 @@ declare namespace io.flow.v0.models {
|
|
|
6976
6976
|
readonly origination_zones: io.flow.v0.models.Zone[];
|
|
6977
6977
|
readonly service: string;
|
|
6978
6978
|
readonly number?: string;
|
|
6979
|
-
readonly ratecard_owner
|
|
6979
|
+
readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
|
|
6980
6980
|
}
|
|
6981
6981
|
|
|
6982
6982
|
interface RatecardLane {
|
|
@@ -7142,7 +7142,7 @@ declare namespace io.flow.v0.models {
|
|
|
7142
7142
|
readonly captures: io.flow.v0.models.RefundCaptureSummary[];
|
|
7143
7143
|
readonly created_at: string;
|
|
7144
7144
|
readonly attributes?: Record<string, string>;
|
|
7145
|
-
readonly status
|
|
7145
|
+
readonly status?: io.flow.v0.enums.RefundStatus;
|
|
7146
7146
|
readonly base?: io.flow.v0.models.Money;
|
|
7147
7147
|
}
|
|
7148
7148
|
|
|
@@ -7153,7 +7153,7 @@ declare namespace io.flow.v0.models {
|
|
|
7153
7153
|
readonly amount: number;
|
|
7154
7154
|
readonly currency: string;
|
|
7155
7155
|
readonly base: io.flow.v0.models.Money;
|
|
7156
|
-
readonly status
|
|
7156
|
+
readonly status?: io.flow.v0.enums.RefundStatus;
|
|
7157
7157
|
}
|
|
7158
7158
|
|
|
7159
7159
|
interface RefundCaptureSummary {
|