@flowio/types 11.19.1 → 11.19.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.19.1",
3
+ "version": "11.19.2",
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",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "7f3b35e98e80ec68ec0427a77de7b9ee91d1c31b"
28
+ "gitHead": "d7c639793bf21ba38df71e7083fc935ccb2d487c"
29
29
  }
@@ -7285,6 +7285,19 @@ declare namespace io.flow.payment.gateway.v0.models {
7285
7285
  readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
7286
7286
  }
7287
7287
 
7288
+ interface OrderInformationDetails {
7289
+ readonly type: 'details';
7290
+ readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
7291
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7292
+ readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7293
+ }
7294
+
7295
+ interface OrderInformationFlow {
7296
+ readonly type: 'flow';
7297
+ readonly order_number: string;
7298
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7299
+ }
7300
+
7288
7301
  interface PaymentAddress {
7289
7302
  readonly contact: io.flow.common.v0.models.Contact;
7290
7303
  readonly location: io.flow.common.v0.models.Address;
@@ -7492,9 +7505,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7492
7505
  readonly amount: number;
7493
7506
  readonly amount_refundable?: number;
7494
7507
  readonly currency: string;
7495
- readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
7496
- readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7497
- readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7508
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7498
7509
  readonly ip?: string;
7499
7510
  readonly return_url: string;
7500
7511
  readonly attributes?: Record<string, string>;
@@ -7506,9 +7517,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7506
7517
  interface PaymentRequestForm {
7507
7518
  readonly amount: number;
7508
7519
  readonly currency: string;
7509
- readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
7510
- readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7511
- readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7520
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7512
7521
  readonly ip?: string;
7513
7522
  readonly return_url: string;
7514
7523
  readonly attributes?: Record<string, string>;
@@ -7557,6 +7566,9 @@ declare namespace io.flow.payment.gateway.v0.unions {
7557
7566
  | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3
7558
7567
  | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
7559
7568
  type DeviceDetails = io.flow.payment.gateway.v0.models.BrowserDetails;
7569
+ type OrderInformation =
7570
+ | io.flow.payment.gateway.v0.models.OrderInformationFlow
7571
+ | io.flow.payment.gateway.v0.models.OrderInformationDetails;
7560
7572
  type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
7561
7573
  type PaymentMethodData =
7562
7574
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna
@@ -12689,6 +12701,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
12689
12701
  }
12690
12702
 
12691
12703
  interface ItemHarmonization {
12704
+ readonly id?: string;
12692
12705
  readonly organization_id: string;
12693
12706
  readonly item_number: string;
12694
12707
  readonly phrase_id?: string;
@@ -17679,6 +17692,7 @@ declare namespace io.flow.item.classification.api.v0.enums {
17679
17692
 
17680
17693
  declare namespace io.flow.item.classification.api.v0.models {
17681
17694
  interface ItemClassification {
17695
+ readonly id?: string;
17682
17696
  readonly organization: string;
17683
17697
  readonly uid: string;
17684
17698
  readonly action: io.flow.item.classification.api.v0.enums.SuggestionAction;
@@ -19494,6 +19508,10 @@ declare namespace io.flow.internal.v0.enums {
19494
19508
  | 'rate_source_summary_deleted'
19495
19509
  | 'rate_freshness_summary_upserted'
19496
19510
  | 'rate_freshness_summary_deleted'
19511
+ | 'item_harmonization_upserted'
19512
+ | 'item_harmonization_deleted'
19513
+ | 'item_classification_upserted'
19514
+ | 'item_classification_deleted'
19497
19515
  | 'issuer_upserted'
19498
19516
  | 'issuer_deleted'
19499
19517
  | 'item_form_import_request'
@@ -25265,6 +25283,7 @@ declare namespace io.flow.internal.v0.models {
25265
25283
  }
25266
25284
 
25267
25285
  interface ItemClassification {
25286
+ readonly id?: string;
25268
25287
  readonly organization: string;
25269
25288
  readonly uid: string;
25270
25289
  readonly action: io.flow.internal.v0.enums.SuggestionAction;
@@ -25286,6 +25305,13 @@ declare namespace io.flow.internal.v0.models {
25286
25305
  readonly action: io.flow.item.classification.api.v0.enums.SuggestionAction;
25287
25306
  }
25288
25307
 
25308
+ interface ItemClassificationDeleted {
25309
+ readonly discriminator: 'item_classification_deleted';
25310
+ readonly event_id: string;
25311
+ readonly timestamp: string;
25312
+ readonly item_classification: io.flow.item.classification.api.v0.models.ItemClassification;
25313
+ }
25314
+
25289
25315
  interface ItemClassificationForm {
25290
25316
  readonly organization: string;
25291
25317
  readonly uid: string;
@@ -25303,6 +25329,13 @@ declare namespace io.flow.internal.v0.models {
25303
25329
  readonly customs_description?: string;
25304
25330
  }
25305
25331
 
25332
+ interface ItemClassificationUpserted {
25333
+ readonly discriminator: 'item_classification_upserted';
25334
+ readonly event_id: string;
25335
+ readonly timestamp: string;
25336
+ readonly item_classification: io.flow.item.classification.api.v0.models.ItemClassification;
25337
+ }
25338
+
25306
25339
  interface ItemClassificationV2 {
25307
25340
  readonly uid: string;
25308
25341
  readonly prediction: io.flow.internal.v0.models.Prediction;
@@ -25372,6 +25405,7 @@ declare namespace io.flow.internal.v0.models {
25372
25405
  }
25373
25406
 
25374
25407
  interface ItemHarmonization {
25408
+ readonly id?: string;
25375
25409
  readonly organization_id: string;
25376
25410
  readonly item_number: string;
25377
25411
  readonly phrase_id?: string;
@@ -25385,6 +25419,20 @@ declare namespace io.flow.internal.v0.models {
25385
25419
  >;
25386
25420
  }
25387
25421
 
25422
+ interface ItemHarmonizationDeleted {
25423
+ readonly discriminator: 'item_harmonization_deleted';
25424
+ readonly event_id: string;
25425
+ readonly timestamp: string;
25426
+ readonly item_harmonization: io.flow.harmonization.internal.v0.models.ItemHarmonization;
25427
+ }
25428
+
25429
+ interface ItemHarmonizationUpserted {
25430
+ readonly discriminator: 'item_harmonization_upserted';
25431
+ readonly event_id: string;
25432
+ readonly timestamp: string;
25433
+ readonly item_harmonization: io.flow.harmonization.internal.v0.models.ItemHarmonization;
25434
+ }
25435
+
25388
25436
  interface ItemQueryResponse {
25389
25437
  readonly q: string;
25390
25438
  readonly items: io.flow.catalog.v0.models.Item[];
@@ -29171,6 +29219,10 @@ declare namespace io.flow.internal.v0.unions {
29171
29219
  | io.flow.internal.v0.models.RateSourceSummaryDeleted
29172
29220
  | io.flow.internal.v0.models.RateFreshnessSummaryUpserted
29173
29221
  | io.flow.internal.v0.models.RateFreshnessSummaryDeleted
29222
+ | io.flow.internal.v0.models.ItemHarmonizationUpserted
29223
+ | io.flow.internal.v0.models.ItemHarmonizationDeleted
29224
+ | io.flow.internal.v0.models.ItemClassificationUpserted
29225
+ | io.flow.internal.v0.models.ItemClassificationDeleted
29174
29226
  | io.flow.internal.v0.models.IssuerUpserted
29175
29227
  | io.flow.internal.v0.models.IssuerDeleted
29176
29228
  | io.flow.internal.v0.models.ItemFormImportRequest
@@ -30481,9 +30533,11 @@ export type IssuerUpserted = io.flow.internal.v0.models.IssuerUpserted;
30481
30533
  export type ItemClassification = io.flow.internal.v0.models.ItemClassification;
30482
30534
  export type ItemClassificationAction = io.flow.internal.v0.enums.ItemClassificationAction;
30483
30535
  export type ItemClassificationCreated = io.flow.internal.v0.models.ItemClassificationCreated;
30536
+ export type ItemClassificationDeleted = io.flow.internal.v0.models.ItemClassificationDeleted;
30484
30537
  export type ItemClassificationForm = io.flow.internal.v0.models.ItemClassificationForm;
30485
30538
  export type ItemClassificationStatus = io.flow.internal.v0.enums.ItemClassificationStatus;
30486
30539
  export type ItemClassificationSummary = io.flow.internal.v0.models.ItemClassificationSummary;
30540
+ export type ItemClassificationUpserted = io.flow.internal.v0.models.ItemClassificationUpserted;
30487
30541
  export type ItemClassificationV2 = io.flow.internal.v0.models.ItemClassificationV2;
30488
30542
  export type ItemCustomsDetails = io.flow.internal.v0.models.ItemCustomsDetails;
30489
30543
  export type ItemDimensionEstimate = io.flow.internal.v0.models.ItemDimensionEstimate;
@@ -30494,7 +30548,9 @@ export type ItemFilterValueResponse = io.flow.internal.v0.models.ItemFilterValue
30494
30548
  export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesForm;
30495
30549
  export type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportRequest;
30496
30550
  export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
30551
+ export type ItemHarmonizationDeleted = io.flow.internal.v0.models.ItemHarmonizationDeleted;
30497
30552
  export type ItemHarmonizationStatus = io.flow.internal.v0.enums.ItemHarmonizationStatus;
30553
+ export type ItemHarmonizationUpserted = io.flow.internal.v0.models.ItemHarmonizationUpserted;
30498
30554
  export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
30499
30555
  export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
30500
30556
  export type ItemRestriction = io.flow.internal.v0.models.ItemRestriction;