@flowio/types 11.7.0 → 11.7.2

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/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'
@@ -4163,10 +4165,11 @@ declare namespace io.flow.v0.models {
4163
4165
 
4164
4166
  interface ExportLocalizedItemPrices {
4165
4167
  readonly organization: io.flow.v0.models.OrganizationReference;
4166
- readonly experience: io.flow.v0.models.ExperienceReference;
4168
+ readonly experience: io.flow.v0.models.ExperienceSummary;
4167
4169
  readonly item: io.flow.v0.models.CatalogItemReference;
4168
4170
  readonly prices: io.flow.v0.models.ExportLocalizedItemPricesDetail;
4169
4171
  readonly status?: io.flow.v0.enums.SubcatalogItemStatus;
4172
+ readonly rates?: io.flow.v0.models.Rate[];
4170
4173
  }
4171
4174
 
4172
4175
  interface ExportLocalizedItemPricesDetail {
@@ -4965,6 +4968,7 @@ declare namespace io.flow.v0.models {
4965
4968
  readonly fixed: number;
4966
4969
  readonly percent: number;
4967
4970
  readonly position: number;
4971
+ readonly experience?: io.flow.v0.models.ExperienceReference;
4968
4972
  }
4969
4973
 
4970
4974
  interface ItemMarginDeleted {
@@ -4976,6 +4980,14 @@ declare namespace io.flow.v0.models {
4976
4980
  readonly experience_key: string;
4977
4981
  }
4978
4982
 
4983
+ interface ItemMarginDeletedV2 {
4984
+ readonly discriminator: 'item_margin_deleted_v2';
4985
+ readonly event_id: string;
4986
+ readonly timestamp: string;
4987
+ readonly organization: string;
4988
+ readonly item_margin: io.flow.v0.models.ItemMargin;
4989
+ }
4990
+
4979
4991
  interface ItemMarginPostForm {
4980
4992
  readonly name: string;
4981
4993
  readonly q: string;
@@ -5008,6 +5020,14 @@ declare namespace io.flow.v0.models {
5008
5020
  readonly key?: string;
5009
5021
  }
5010
5022
 
5023
+ interface ItemMarginUpsertedV2 {
5024
+ readonly discriminator: 'item_margin_upserted_v2';
5025
+ readonly event_id: string;
5026
+ readonly timestamp: string;
5027
+ readonly organization: string;
5028
+ readonly item_margin: io.flow.v0.models.ItemMargin;
5029
+ }
5030
+
5011
5031
  interface ItemMarginVersion {
5012
5032
  readonly id: string;
5013
5033
  readonly timestamp: string;
@@ -9376,6 +9396,8 @@ declare namespace io.flow.v0.unions {
9376
9396
  | io.flow.v0.models.ExperiencePriceBookMappingUpserted
9377
9397
  | io.flow.v0.models.ExperienceLogisticsSettingsUpserted
9378
9398
  | io.flow.v0.models.ExperienceLogisticsSettingsDeleted
9399
+ | io.flow.v0.models.ItemMarginDeletedV2
9400
+ | io.flow.v0.models.ItemMarginUpsertedV2
9379
9401
  | io.flow.v0.models.ItemMarginDeleted
9380
9402
  | io.flow.v0.models.ItemMarginUpserted
9381
9403
  | io.flow.v0.models.ItemSalesMarginDeleted
@@ -10239,9 +10261,11 @@ export type ItemFormOverlayForm = io.flow.v0.models.ItemFormOverlayForm;
10239
10261
  export type ItemIdentifier = io.flow.v0.enums.ItemIdentifier;
10240
10262
  export type ItemMargin = io.flow.v0.models.ItemMargin;
10241
10263
  export type ItemMarginDeleted = io.flow.v0.models.ItemMarginDeleted;
10264
+ export type ItemMarginDeletedV2 = io.flow.v0.models.ItemMarginDeletedV2;
10242
10265
  export type ItemMarginPostForm = io.flow.v0.models.ItemMarginPostForm;
10243
10266
  export type ItemMarginPutForm = io.flow.v0.models.ItemMarginPutForm;
10244
10267
  export type ItemMarginUpserted = io.flow.v0.models.ItemMarginUpserted;
10268
+ export type ItemMarginUpsertedV2 = io.flow.v0.models.ItemMarginUpsertedV2;
10245
10269
  export type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion;
10246
10270
  export type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted;
10247
10271
  export type ItemOriginUpserted = io.flow.v0.models.ItemOriginUpserted;