@flowio/types 11.7.1 → 11.7.3
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 +7991 -8037
- package/dist/api.d.ts +20 -25
- package/package.json +2 -2
- package/src/api-internal.ts +9695 -9741
- package/src/api.ts +24 -26
package/src/api.ts
CHANGED
|
@@ -1229,6 +1229,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1229
1229
|
| 'experience_price_book_mapping_upserted'
|
|
1230
1230
|
| 'experience_logistics_settings_upserted'
|
|
1231
1231
|
| 'experience_logistics_settings_deleted'
|
|
1232
|
+
| 'item_margin_deleted_v2'
|
|
1233
|
+
| 'item_margin_upserted_v2'
|
|
1232
1234
|
| 'item_margin_deleted'
|
|
1233
1235
|
| 'item_margin_upserted'
|
|
1234
1236
|
| 'item_sales_margin_deleted'
|
|
@@ -1565,7 +1567,6 @@ declare namespace io.flow.v0.enums {
|
|
|
1565
1567
|
| 'generic_error'
|
|
1566
1568
|
| 'items_not_available'
|
|
1567
1569
|
| 'shipping_unavailable';
|
|
1568
|
-
type RateType = 'flow' | 'organization';
|
|
1569
1570
|
type RatecardOwner = 'flow' | 'organization';
|
|
1570
1571
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
1571
1572
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
@@ -4163,10 +4164,11 @@ declare namespace io.flow.v0.models {
|
|
|
4163
4164
|
|
|
4164
4165
|
interface ExportLocalizedItemPrices {
|
|
4165
4166
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
4166
|
-
readonly experience: io.flow.v0.models.
|
|
4167
|
+
readonly experience: io.flow.v0.models.ExperienceSummary;
|
|
4167
4168
|
readonly item: io.flow.v0.models.CatalogItemReference;
|
|
4168
4169
|
readonly prices: io.flow.v0.models.ExportLocalizedItemPricesDetail;
|
|
4169
4170
|
readonly status?: io.flow.v0.enums.SubcatalogItemStatus;
|
|
4171
|
+
readonly rates?: io.flow.v0.models.Rate[];
|
|
4170
4172
|
}
|
|
4171
4173
|
|
|
4172
4174
|
interface ExportLocalizedItemPricesDetail {
|
|
@@ -4977,6 +4979,14 @@ declare namespace io.flow.v0.models {
|
|
|
4977
4979
|
readonly experience_key: string;
|
|
4978
4980
|
}
|
|
4979
4981
|
|
|
4982
|
+
interface ItemMarginDeletedV2 {
|
|
4983
|
+
readonly discriminator: 'item_margin_deleted_v2';
|
|
4984
|
+
readonly event_id: string;
|
|
4985
|
+
readonly timestamp: string;
|
|
4986
|
+
readonly organization: string;
|
|
4987
|
+
readonly item_margin: io.flow.v0.models.ItemMargin;
|
|
4988
|
+
}
|
|
4989
|
+
|
|
4980
4990
|
interface ItemMarginPostForm {
|
|
4981
4991
|
readonly name: string;
|
|
4982
4992
|
readonly q: string;
|
|
@@ -5009,6 +5019,14 @@ declare namespace io.flow.v0.models {
|
|
|
5009
5019
|
readonly key?: string;
|
|
5010
5020
|
}
|
|
5011
5021
|
|
|
5022
|
+
interface ItemMarginUpsertedV2 {
|
|
5023
|
+
readonly discriminator: 'item_margin_upserted_v2';
|
|
5024
|
+
readonly event_id: string;
|
|
5025
|
+
readonly timestamp: string;
|
|
5026
|
+
readonly organization: string;
|
|
5027
|
+
readonly item_margin: io.flow.v0.models.ItemMargin;
|
|
5028
|
+
}
|
|
5029
|
+
|
|
5012
5030
|
interface ItemMarginVersion {
|
|
5013
5031
|
readonly id: string;
|
|
5014
5032
|
readonly timestamp: string;
|
|
@@ -6267,26 +6285,6 @@ declare namespace io.flow.v0.models {
|
|
|
6267
6285
|
readonly id: string;
|
|
6268
6286
|
}
|
|
6269
6287
|
|
|
6270
|
-
interface OrganizationCurrencySetting {
|
|
6271
|
-
readonly id: string;
|
|
6272
|
-
readonly base: string;
|
|
6273
|
-
readonly target: string;
|
|
6274
|
-
readonly margin: number;
|
|
6275
|
-
}
|
|
6276
|
-
|
|
6277
|
-
interface OrganizationCurrencySettingForm {
|
|
6278
|
-
readonly base: string;
|
|
6279
|
-
readonly target: string;
|
|
6280
|
-
readonly margin: number;
|
|
6281
|
-
}
|
|
6282
|
-
|
|
6283
|
-
interface OrganizationCurrencySettingVersion {
|
|
6284
|
-
readonly id: string;
|
|
6285
|
-
readonly timestamp: string;
|
|
6286
|
-
readonly type: io.flow.v0.enums.ChangeType;
|
|
6287
|
-
readonly organization_currency_setting: io.flow.v0.models.OrganizationCurrencySetting;
|
|
6288
|
-
}
|
|
6289
|
-
|
|
6290
6288
|
interface OrganizationDefaultConfigurations {
|
|
6291
6289
|
readonly id: string;
|
|
6292
6290
|
readonly checkout_configuration: io.flow.v0.models.OrganizationConfigurationReference;
|
|
@@ -9377,6 +9375,8 @@ declare namespace io.flow.v0.unions {
|
|
|
9377
9375
|
| io.flow.v0.models.ExperiencePriceBookMappingUpserted
|
|
9378
9376
|
| io.flow.v0.models.ExperienceLogisticsSettingsUpserted
|
|
9379
9377
|
| io.flow.v0.models.ExperienceLogisticsSettingsDeleted
|
|
9378
|
+
| io.flow.v0.models.ItemMarginDeletedV2
|
|
9379
|
+
| io.flow.v0.models.ItemMarginUpsertedV2
|
|
9380
9380
|
| io.flow.v0.models.ItemMarginDeleted
|
|
9381
9381
|
| io.flow.v0.models.ItemMarginUpserted
|
|
9382
9382
|
| io.flow.v0.models.ItemSalesMarginDeleted
|
|
@@ -10240,9 +10240,11 @@ export type ItemFormOverlayForm = io.flow.v0.models.ItemFormOverlayForm;
|
|
|
10240
10240
|
export type ItemIdentifier = io.flow.v0.enums.ItemIdentifier;
|
|
10241
10241
|
export type ItemMargin = io.flow.v0.models.ItemMargin;
|
|
10242
10242
|
export type ItemMarginDeleted = io.flow.v0.models.ItemMarginDeleted;
|
|
10243
|
+
export type ItemMarginDeletedV2 = io.flow.v0.models.ItemMarginDeletedV2;
|
|
10243
10244
|
export type ItemMarginPostForm = io.flow.v0.models.ItemMarginPostForm;
|
|
10244
10245
|
export type ItemMarginPutForm = io.flow.v0.models.ItemMarginPutForm;
|
|
10245
10246
|
export type ItemMarginUpserted = io.flow.v0.models.ItemMarginUpserted;
|
|
10247
|
+
export type ItemMarginUpsertedV2 = io.flow.v0.models.ItemMarginUpsertedV2;
|
|
10246
10248
|
export type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion;
|
|
10247
10249
|
export type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted;
|
|
10248
10250
|
export type ItemOriginUpserted = io.flow.v0.models.ItemOriginUpserted;
|
|
@@ -10429,9 +10431,6 @@ export type Organization = io.flow.v0.models.Organization;
|
|
|
10429
10431
|
export type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization;
|
|
10430
10432
|
export type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm;
|
|
10431
10433
|
export type OrganizationConfigurationReference = io.flow.v0.models.OrganizationConfigurationReference;
|
|
10432
|
-
export type OrganizationCurrencySetting = io.flow.v0.models.OrganizationCurrencySetting;
|
|
10433
|
-
export type OrganizationCurrencySettingForm = io.flow.v0.models.OrganizationCurrencySettingForm;
|
|
10434
|
-
export type OrganizationCurrencySettingVersion = io.flow.v0.models.OrganizationCurrencySettingVersion;
|
|
10435
10434
|
export type OrganizationDefaultConfigurations = io.flow.v0.models.OrganizationDefaultConfigurations;
|
|
10436
10435
|
export type OrganizationDefaultConfigurationsDeleted = io.flow.v0.models.OrganizationDefaultConfigurationsDeleted;
|
|
10437
10436
|
export type OrganizationDefaultConfigurationsForm = io.flow.v0.models.OrganizationDefaultConfigurationsForm;
|
|
@@ -10583,7 +10582,6 @@ export type Rate = io.flow.v0.models.Rate;
|
|
|
10583
10582
|
export type RateDeleted = io.flow.v0.models.RateDeleted;
|
|
10584
10583
|
export type RateDeletedV3 = io.flow.v0.models.RateDeletedV3;
|
|
10585
10584
|
export type RateForm = io.flow.v0.models.RateForm;
|
|
10586
|
-
export type RateType = io.flow.v0.enums.RateType;
|
|
10587
10585
|
export type RateUpserted = io.flow.v0.models.RateUpserted;
|
|
10588
10586
|
export type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3;
|
|
10589
10587
|
export type RateVersion = io.flow.v0.models.RateVersion;
|