@flowio/types 10.5.2 → 10.6.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/dist/api-internal.d.ts +198 -15
- package/dist/api.d.ts +13 -0
- package/package.json +2 -2
- package/src/api-internal.ts +246 -2
- package/src/api.ts +17 -0
package/src/api.ts
CHANGED
|
@@ -1072,6 +1072,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1072
1072
|
| 'unit_of_length'
|
|
1073
1073
|
| 'unit_of_mass';
|
|
1074
1074
|
type AvsCode = 'match' | 'partial' | 'unsupported' | 'no_match';
|
|
1075
|
+
type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
|
|
1075
1076
|
type Calendar = 'weekdays' | 'everyday';
|
|
1076
1077
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
1077
1078
|
type Capability = 'crossdock';
|
|
@@ -2149,6 +2150,7 @@ declare namespace io.flow.v0.models {
|
|
|
2149
2150
|
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
2150
2151
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
2151
2152
|
readonly attributes: Record<string, string>;
|
|
2153
|
+
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
2152
2154
|
}
|
|
2153
2155
|
|
|
2154
2156
|
interface B2BCreditMemoDeleted {
|
|
@@ -2184,6 +2186,7 @@ declare namespace io.flow.v0.models {
|
|
|
2184
2186
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
2185
2187
|
readonly attributes: Record<string, string>;
|
|
2186
2188
|
readonly estimated_delivery_date?: string;
|
|
2189
|
+
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
2187
2190
|
}
|
|
2188
2191
|
|
|
2189
2192
|
interface B2BInvoiceDeleted {
|
|
@@ -5206,6 +5209,13 @@ declare namespace io.flow.v0.models {
|
|
|
5206
5209
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
5207
5210
|
}
|
|
5208
5211
|
|
|
5212
|
+
interface LocalItemAttributePricing {
|
|
5213
|
+
readonly pretax_price: io.flow.v0.models.PriceWithBase;
|
|
5214
|
+
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
5215
|
+
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
5216
|
+
readonly price: io.flow.v0.models.LocalizedItemPrice;
|
|
5217
|
+
}
|
|
5218
|
+
|
|
5209
5219
|
interface LocalItemDeleted {
|
|
5210
5220
|
readonly discriminator: 'local_item_deleted';
|
|
5211
5221
|
readonly event_id: string;
|
|
@@ -5219,6 +5229,10 @@ declare namespace io.flow.v0.models {
|
|
|
5219
5229
|
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
5220
5230
|
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
5221
5231
|
readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
|
|
5232
|
+
readonly price_attributes?: Record<
|
|
5233
|
+
string,
|
|
5234
|
+
io.flow.v0.models.LocalItemAttributePricing
|
|
5235
|
+
>;
|
|
5222
5236
|
}
|
|
5223
5237
|
|
|
5224
5238
|
interface LocalItemUpserted {
|
|
@@ -6340,6 +6354,7 @@ declare namespace io.flow.v0.models {
|
|
|
6340
6354
|
interface OrganizationSummary {
|
|
6341
6355
|
readonly id: string;
|
|
6342
6356
|
readonly name: string;
|
|
6357
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
6343
6358
|
}
|
|
6344
6359
|
|
|
6345
6360
|
interface OrganizationToken {
|
|
@@ -9595,6 +9610,7 @@ export type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpserted;
|
|
|
9595
9610
|
export type B2BInvoice = io.flow.v0.models.B2BInvoice;
|
|
9596
9611
|
export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
9597
9612
|
export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
9613
|
+
export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
9598
9614
|
export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
9599
9615
|
export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
9600
9616
|
export type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
@@ -10113,6 +10129,7 @@ export type LineItemQuantityForm = io.flow.v0.models.LineItemQuantityForm;
|
|
|
10113
10129
|
export type Link = io.flow.v0.models.Link;
|
|
10114
10130
|
export type Local = io.flow.v0.models.Local;
|
|
10115
10131
|
export type LocalItem = io.flow.v0.models.LocalItem;
|
|
10132
|
+
export type LocalItemAttributePricing = io.flow.v0.models.LocalItemAttributePricing;
|
|
10116
10133
|
export type LocalItemDeleted = io.flow.v0.models.LocalItemDeleted;
|
|
10117
10134
|
export type LocalItemPricing = io.flow.v0.models.LocalItemPricing;
|
|
10118
10135
|
export type LocalItemUpserted = io.flow.v0.models.LocalItemUpserted;
|