@flowio/types 11.19.6 → 11.19.8
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 +117 -54
- package/dist/api.d.ts +68 -9
- package/package.json +2 -2
- package/src/api-internal.ts +150 -59
- package/src/api.ts +83 -4
package/src/api.ts
CHANGED
|
@@ -2287,6 +2287,10 @@ declare namespace io.flow.v0.enums {
|
|
|
2287
2287
|
| 'catalog_item_deleted_v2'
|
|
2288
2288
|
| 'subcatalog_item_upserted'
|
|
2289
2289
|
| 'subcatalog_item_deleted'
|
|
2290
|
+
| 'channel_upserted'
|
|
2291
|
+
| 'channel_deleted'
|
|
2292
|
+
| 'channel_organization_upserted'
|
|
2293
|
+
| 'channel_organization_deleted'
|
|
2290
2294
|
| 'b2b_invoice_upserted'
|
|
2291
2295
|
| 'b2b_invoice_deleted'
|
|
2292
2296
|
| 'b2b_credit_memo_upserted'
|
|
@@ -2551,6 +2555,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2551
2555
|
| 'card'
|
|
2552
2556
|
| 'online'
|
|
2553
2557
|
| 'credit'
|
|
2558
|
+
| 'subsidized'
|
|
2554
2559
|
| 'installment_plan'
|
|
2555
2560
|
| 'cash_on_delivery';
|
|
2556
2561
|
type OrderPriceDetailComponentKey =
|
|
@@ -4067,10 +4072,16 @@ declare namespace io.flow.v0.models {
|
|
|
4067
4072
|
|
|
4068
4073
|
interface Channel {
|
|
4069
4074
|
readonly id: string;
|
|
4070
|
-
readonly key: string;
|
|
4071
4075
|
readonly name: string;
|
|
4072
4076
|
}
|
|
4073
4077
|
|
|
4078
|
+
interface ChannelDeleted {
|
|
4079
|
+
readonly discriminator: 'channel_deleted';
|
|
4080
|
+
readonly event_id: string;
|
|
4081
|
+
readonly timestamp: string;
|
|
4082
|
+
readonly channel: io.flow.v0.models.Channel;
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4074
4085
|
interface ChannelForm {
|
|
4075
4086
|
readonly name: string;
|
|
4076
4087
|
}
|
|
@@ -4078,12 +4089,54 @@ declare namespace io.flow.v0.models {
|
|
|
4078
4089
|
interface ChannelOrganization {
|
|
4079
4090
|
readonly id: string;
|
|
4080
4091
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
4081
|
-
readonly key: string;
|
|
4082
4092
|
readonly channel: io.flow.v0.models.ChannelReference;
|
|
4083
4093
|
}
|
|
4084
4094
|
|
|
4095
|
+
interface ChannelOrganizationDeleted {
|
|
4096
|
+
readonly discriminator: 'channel_organization_deleted';
|
|
4097
|
+
readonly event_id: string;
|
|
4098
|
+
readonly timestamp: string;
|
|
4099
|
+
readonly channel_organization: io.flow.v0.models.ChannelOrganization;
|
|
4100
|
+
}
|
|
4101
|
+
|
|
4102
|
+
interface ChannelOrganizationUpserted {
|
|
4103
|
+
readonly discriminator: 'channel_organization_upserted';
|
|
4104
|
+
readonly event_id: string;
|
|
4105
|
+
readonly timestamp: string;
|
|
4106
|
+
readonly channel_organization: io.flow.v0.models.ChannelOrganization;
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4085
4109
|
interface ChannelReference {
|
|
4086
|
-
readonly
|
|
4110
|
+
readonly id: string;
|
|
4111
|
+
}
|
|
4112
|
+
|
|
4113
|
+
interface ChannelToken {
|
|
4114
|
+
readonly discriminator: 'channel_token';
|
|
4115
|
+
readonly id: string;
|
|
4116
|
+
readonly channel: io.flow.v0.models.ChannelReference;
|
|
4117
|
+
readonly user: io.flow.v0.models.UserReference;
|
|
4118
|
+
readonly partial: string;
|
|
4119
|
+
readonly created_at: string;
|
|
4120
|
+
readonly description?: string;
|
|
4121
|
+
}
|
|
4122
|
+
|
|
4123
|
+
interface ChannelTokenForm {
|
|
4124
|
+
readonly channel_id: string;
|
|
4125
|
+
readonly description?: string;
|
|
4126
|
+
}
|
|
4127
|
+
|
|
4128
|
+
interface ChannelTokenReference {
|
|
4129
|
+
readonly discriminator: 'channel_token_reference';
|
|
4130
|
+
readonly id: string;
|
|
4131
|
+
readonly channel: io.flow.v0.models.ChannelReference;
|
|
4132
|
+
readonly user: io.flow.v0.models.UserReference;
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
interface ChannelUpserted {
|
|
4136
|
+
readonly discriminator: 'channel_upserted';
|
|
4137
|
+
readonly event_id: string;
|
|
4138
|
+
readonly timestamp: string;
|
|
4139
|
+
readonly channel: io.flow.v0.models.Channel;
|
|
4087
4140
|
}
|
|
4088
4141
|
|
|
4089
4142
|
interface CheckoutAttribute {
|
|
@@ -8360,6 +8413,7 @@ declare namespace io.flow.v0.models {
|
|
|
8360
8413
|
readonly discriminator: 'payment_request_upserted';
|
|
8361
8414
|
readonly event_id: string;
|
|
8362
8415
|
readonly timestamp: string;
|
|
8416
|
+
readonly organization: string;
|
|
8363
8417
|
readonly payment_request: io.flow.v0.models.PaymentRequest;
|
|
8364
8418
|
}
|
|
8365
8419
|
|
|
@@ -10464,6 +10518,16 @@ declare namespace io.flow.v0.models {
|
|
|
10464
10518
|
readonly center_key?: string;
|
|
10465
10519
|
}
|
|
10466
10520
|
|
|
10521
|
+
interface SummaryShippingNotificationForm {
|
|
10522
|
+
readonly discriminator: 'summary_shipping_notification_form';
|
|
10523
|
+
readonly order_number: string;
|
|
10524
|
+
readonly items: io.flow.v0.models.LineItemForm[];
|
|
10525
|
+
readonly service: string;
|
|
10526
|
+
readonly carrier_tracking_number: string;
|
|
10527
|
+
readonly key?: string;
|
|
10528
|
+
readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
|
|
10529
|
+
}
|
|
10530
|
+
|
|
10467
10531
|
interface SurchargeResponsiblePartyDisplay {
|
|
10468
10532
|
readonly name: string;
|
|
10469
10533
|
readonly responsible_party: io.flow.v0.enums.SurchargeResponsibleParty;
|
|
@@ -11190,6 +11254,10 @@ declare namespace io.flow.v0.unions {
|
|
|
11190
11254
|
| io.flow.v0.models.CatalogItemDeletedV2
|
|
11191
11255
|
| io.flow.v0.models.SubcatalogItemUpserted
|
|
11192
11256
|
| io.flow.v0.models.SubcatalogItemDeleted
|
|
11257
|
+
| io.flow.v0.models.ChannelUpserted
|
|
11258
|
+
| io.flow.v0.models.ChannelDeleted
|
|
11259
|
+
| io.flow.v0.models.ChannelOrganizationUpserted
|
|
11260
|
+
| io.flow.v0.models.ChannelOrganizationDeleted
|
|
11193
11261
|
| io.flow.v0.models.B2BInvoiceUpserted
|
|
11194
11262
|
| io.flow.v0.models.B2BInvoiceDeleted
|
|
11195
11263
|
| io.flow.v0.models.B2BCreditMemoUpserted
|
|
@@ -11526,7 +11594,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11526
11594
|
| io.flow.v0.models.SummaryShippingLabelForm;
|
|
11527
11595
|
type ShippingNotificationForm =
|
|
11528
11596
|
| io.flow.v0.models.DetailedShippingNotificationForm
|
|
11529
|
-
| io.flow.v0.models.SinglePackageShippingNotificationForm
|
|
11597
|
+
| io.flow.v0.models.SinglePackageShippingNotificationForm
|
|
11598
|
+
| io.flow.v0.models.SummaryShippingNotificationForm;
|
|
11530
11599
|
type ShopifyCartAddForm =
|
|
11531
11600
|
| io.flow.v0.models.ShopifyCartAddSingleForm
|
|
11532
11601
|
| io.flow.v0.models.ShopifyCartAddMultipleForm;
|
|
@@ -11547,9 +11616,11 @@ declare namespace io.flow.v0.unions {
|
|
|
11547
11616
|
| io.flow.v0.models.AtCost
|
|
11548
11617
|
| io.flow.v0.models.PercentMargin;
|
|
11549
11618
|
type Token =
|
|
11619
|
+
| io.flow.v0.models.ChannelToken
|
|
11550
11620
|
| io.flow.v0.models.OrganizationToken
|
|
11551
11621
|
| io.flow.v0.models.PartnerToken;
|
|
11552
11622
|
type TokenReference =
|
|
11623
|
+
| io.flow.v0.models.ChannelTokenReference
|
|
11553
11624
|
| io.flow.v0.models.OrganizationTokenReference
|
|
11554
11625
|
| io.flow.v0.models.PartnerTokenReference;
|
|
11555
11626
|
}
|
|
@@ -11751,9 +11822,16 @@ export type CenterUpserted = io.flow.v0.models.CenterUpserted;
|
|
|
11751
11822
|
export type CenterVersion = io.flow.v0.models.CenterVersion;
|
|
11752
11823
|
export type ChangeType = io.flow.v0.enums.ChangeType;
|
|
11753
11824
|
export type Channel = io.flow.v0.models.Channel;
|
|
11825
|
+
export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
|
|
11754
11826
|
export type ChannelForm = io.flow.v0.models.ChannelForm;
|
|
11755
11827
|
export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
|
|
11828
|
+
export type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
|
|
11829
|
+
export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
|
|
11756
11830
|
export type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
11831
|
+
export type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
11832
|
+
export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
11833
|
+
export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
|
|
11834
|
+
export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
|
|
11757
11835
|
export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
|
|
11758
11836
|
export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
|
|
11759
11837
|
export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
|
|
@@ -12833,6 +12911,7 @@ export type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted;
|
|
|
12833
12911
|
export type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion;
|
|
12834
12912
|
export type Suggestion = io.flow.v0.models.Suggestion;
|
|
12835
12913
|
export type SummaryShippingLabelForm = io.flow.v0.models.SummaryShippingLabelForm;
|
|
12914
|
+
export type SummaryShippingNotificationForm = io.flow.v0.models.SummaryShippingNotificationForm;
|
|
12836
12915
|
export type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeResponsibleParty;
|
|
12837
12916
|
export type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay;
|
|
12838
12917
|
export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
|