@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/dist/api.d.ts
CHANGED
|
@@ -819,6 +819,7 @@ declare namespace io.flow.v0.enums {
|
|
|
819
819
|
type AvailabilityStatus = 'enabled' | 'disabled';
|
|
820
820
|
type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
|
|
821
821
|
type AvsCode = 'match' | 'partial' | 'unsupported' | 'no_match';
|
|
822
|
+
type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
|
|
822
823
|
type Calendar = 'weekdays' | 'everyday';
|
|
823
824
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
824
825
|
type Capability = 'crossdock';
|
|
@@ -1404,6 +1405,7 @@ declare namespace io.flow.v0.models {
|
|
|
1404
1405
|
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
1405
1406
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
1406
1407
|
readonly attributes: Record<string, string>;
|
|
1408
|
+
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
1407
1409
|
}
|
|
1408
1410
|
interface B2BCreditMemoDeleted {
|
|
1409
1411
|
readonly discriminator: 'b2b_credit_memo_deleted';
|
|
@@ -1436,6 +1438,7 @@ declare namespace io.flow.v0.models {
|
|
|
1436
1438
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
1437
1439
|
readonly attributes: Record<string, string>;
|
|
1438
1440
|
readonly estimated_delivery_date?: string;
|
|
1441
|
+
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
1439
1442
|
}
|
|
1440
1443
|
interface B2BInvoiceDeleted {
|
|
1441
1444
|
readonly discriminator: 'b2b_invoice_deleted';
|
|
@@ -4030,6 +4033,12 @@ declare namespace io.flow.v0.models {
|
|
|
4030
4033
|
readonly pricing: io.flow.v0.models.LocalItemPricing;
|
|
4031
4034
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
4032
4035
|
}
|
|
4036
|
+
interface LocalItemAttributePricing {
|
|
4037
|
+
readonly pretax_price: io.flow.v0.models.PriceWithBase;
|
|
4038
|
+
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
4039
|
+
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
4040
|
+
readonly price: io.flow.v0.models.LocalizedItemPrice;
|
|
4041
|
+
}
|
|
4033
4042
|
interface LocalItemDeleted {
|
|
4034
4043
|
readonly discriminator: 'local_item_deleted';
|
|
4035
4044
|
readonly event_id: string;
|
|
@@ -4042,6 +4051,7 @@ declare namespace io.flow.v0.models {
|
|
|
4042
4051
|
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
4043
4052
|
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
4044
4053
|
readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
|
|
4054
|
+
readonly price_attributes?: Record<string, io.flow.v0.models.LocalItemAttributePricing>;
|
|
4045
4055
|
}
|
|
4046
4056
|
interface LocalItemUpserted {
|
|
4047
4057
|
readonly discriminator: 'local_item_upserted';
|
|
@@ -5017,6 +5027,7 @@ declare namespace io.flow.v0.models {
|
|
|
5017
5027
|
interface OrganizationSummary {
|
|
5018
5028
|
readonly id: string;
|
|
5019
5029
|
readonly name: string;
|
|
5030
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
5020
5031
|
}
|
|
5021
5032
|
interface OrganizationToken {
|
|
5022
5033
|
readonly discriminator: 'organization_token';
|
|
@@ -7572,6 +7583,7 @@ export declare type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpser
|
|
|
7572
7583
|
export declare type B2BInvoice = io.flow.v0.models.B2BInvoice;
|
|
7573
7584
|
export declare type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
7574
7585
|
export declare type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
7586
|
+
export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
7575
7587
|
export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
7576
7588
|
export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
7577
7589
|
export declare type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
@@ -8090,6 +8102,7 @@ export declare type LineItemQuantityForm = io.flow.v0.models.LineItemQuantityFor
|
|
|
8090
8102
|
export declare type Link = io.flow.v0.models.Link;
|
|
8091
8103
|
export declare type Local = io.flow.v0.models.Local;
|
|
8092
8104
|
export declare type LocalItem = io.flow.v0.models.LocalItem;
|
|
8105
|
+
export declare type LocalItemAttributePricing = io.flow.v0.models.LocalItemAttributePricing;
|
|
8093
8106
|
export declare type LocalItemDeleted = io.flow.v0.models.LocalItemDeleted;
|
|
8094
8107
|
export declare type LocalItemPricing = io.flow.v0.models.LocalItemPricing;
|
|
8095
8108
|
export declare type LocalItemUpserted = io.flow.v0.models.LocalItemUpserted;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.6.1",
|
|
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": "2a3833fbc25f0fa10882cffe671f4d72583e746d"
|
|
31
31
|
}
|