@flowio/types 11.9.0 → 11.9.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.
@@ -5821,6 +5821,7 @@ declare namespace io.flow.payment.internal.v0.models {
5821
5821
  interface CipherForm {
5822
5822
  readonly text: string;
5823
5823
  readonly attributes?: Record<string, string>;
5824
+ readonly password?: string;
5824
5825
  }
5825
5826
  interface CipherReference {
5826
5827
  readonly id: string;
@@ -5861,6 +5862,15 @@ declare namespace io.flow.payment.internal.v0.models {
5861
5862
  readonly secret_key: string;
5862
5863
  readonly signature_secret: string;
5863
5864
  }
5865
+ interface DecryptCipherForm {
5866
+ readonly id: string;
5867
+ readonly password: string;
5868
+ }
5869
+ interface DecryptedCipher {
5870
+ readonly id: string;
5871
+ readonly cleartext: string;
5872
+ readonly attributes: Record<string, string>;
5873
+ }
5864
5874
  interface Encryption {
5865
5875
  readonly id: string;
5866
5876
  readonly key: io.flow.payment.internal.v0.models.KeyReference;
@@ -6805,9 +6815,23 @@ declare namespace io.flow.order.management.event.v0.models {
6805
6815
  readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
6806
6816
  readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
6807
6817
  }
6818
+ interface ReadyToFulfillDetails {
6819
+ readonly id: string;
6820
+ readonly order_number: string;
6821
+ readonly order: io.flow.experience.v0.models.Order;
6822
+ readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
6823
+ readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
6824
+ }
6825
+ interface ReadyToFulfillV2 {
6826
+ readonly discriminator: 'ready_to_fulfill_v2';
6827
+ readonly event_id: string;
6828
+ readonly timestamp: string;
6829
+ readonly organization: string;
6830
+ readonly ready_to_fulfill: io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
6831
+ }
6808
6832
  }
6809
6833
  declare namespace io.flow.order.management.event.v0.unions {
6810
- type OrderManagementEvent = io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill;
6834
+ type OrderManagementEvent = io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill | io.flow.order.management.event.v0.models.ReadyToFulfillV2;
6811
6835
  }
6812
6836
  declare namespace io.flow.ftp.v0.enums {
6813
6837
  type FtpFileSource = 'flow' | 'organization';
@@ -9106,6 +9130,9 @@ declare namespace io.flow.billing.internal.v0.models {
9106
9130
  readonly refund: number;
9107
9131
  readonly fraud: number;
9108
9132
  }
9133
+ interface BillingOrganizationProcessingRatesForm {
9134
+ readonly processing_rates: io.flow.billing.internal.v0.models.BillingOrganizationProcessingRates[];
9135
+ }
9109
9136
  interface BillingOrganizationSettings {
9110
9137
  readonly days_until_posted: number;
9111
9138
  readonly logistics: io.flow.billing.internal.v0.enums.ResponsibleParty;
@@ -13774,6 +13801,9 @@ declare namespace io.flow.internal.v0.models {
13774
13801
  readonly refund: number;
13775
13802
  readonly fraud: number;
13776
13803
  }
13804
+ interface BillingOrganizationProcessingRatesForm {
13805
+ readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates[];
13806
+ }
13777
13807
  interface BillingOrganizationSettings {
13778
13808
  readonly days_until_posted: number;
13779
13809
  readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
@@ -15509,6 +15539,7 @@ declare namespace io.flow.internal.v0.models {
15509
15539
  interface CipherForm {
15510
15540
  readonly text: string;
15511
15541
  readonly attributes?: Record<string, string>;
15542
+ readonly password?: string;
15512
15543
  }
15513
15544
  interface CipherReference {
15514
15545
  readonly id: string;
@@ -15834,6 +15865,15 @@ declare namespace io.flow.internal.v0.models {
15834
15865
  readonly category?: string;
15835
15866
  readonly shop_url?: string;
15836
15867
  }
15868
+ interface DecryptCipherForm {
15869
+ readonly id: string;
15870
+ readonly password: string;
15871
+ }
15872
+ interface DecryptedCipher {
15873
+ readonly id: string;
15874
+ readonly cleartext: string;
15875
+ readonly attributes: Record<string, string>;
15876
+ }
15837
15877
  interface DeleteIndexTask {
15838
15878
  readonly discriminator: 'delete_index_task';
15839
15879
  readonly name: string;
@@ -20525,6 +20565,7 @@ export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingIn
20525
20565
  export declare type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
20526
20566
  export declare type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
20527
20567
  export declare type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
20568
+ export declare type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
20528
20569
  export declare type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
20529
20570
  export declare type BillingStatement = io.flow.internal.v0.models.BillingStatement;
20530
20571
  export declare type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
@@ -21075,6 +21116,8 @@ export declare type DailyExperimentResults = io.flow.internal.v0.models.DailyExp
21075
21116
  export declare type DailyExperimentResultsDeleted = io.flow.internal.v0.models.DailyExperimentResultsDeleted;
21076
21117
  export declare type DailyExperimentResultsUpserted = io.flow.internal.v0.models.DailyExperimentResultsUpserted;
21077
21118
  export declare type Decision = io.flow.internal.v0.models.Decision;
21119
+ export declare type DecryptCipherForm = io.flow.internal.v0.models.DecryptCipherForm;
21120
+ export declare type DecryptedCipher = io.flow.internal.v0.models.DecryptedCipher;
21078
21121
  export declare type DeleteIndexTask = io.flow.internal.v0.models.DeleteIndexTask;
21079
21122
  export declare type DeliveredDutyOption = io.flow.internal.v0.models.DeliveredDutyOption;
21080
21123
  export declare type DeliveredDutyOptionMessage = io.flow.internal.v0.models.DeliveredDutyOptionMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.9.0",
3
+ "version": "11.9.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",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "9da131fe8536ec8b18dc745de741ebe545c5bc12"
28
+ "gitHead": "d790302c996c3888924adac7581326b0bd9242c3"
29
29
  }
@@ -7893,6 +7893,7 @@ declare namespace io.flow.payment.internal.v0.models {
7893
7893
  interface CipherForm {
7894
7894
  readonly text: string;
7895
7895
  readonly attributes?: Record<string, string>;
7896
+ readonly password?: string;
7896
7897
  }
7897
7898
 
7898
7899
  interface CipherReference {
@@ -7941,6 +7942,17 @@ declare namespace io.flow.payment.internal.v0.models {
7941
7942
  readonly signature_secret: string;
7942
7943
  }
7943
7944
 
7945
+ interface DecryptCipherForm {
7946
+ readonly id: string;
7947
+ readonly password: string;
7948
+ }
7949
+
7950
+ interface DecryptedCipher {
7951
+ readonly id: string;
7952
+ readonly cleartext: string;
7953
+ readonly attributes: Record<string, string>;
7954
+ }
7955
+
7944
7956
  interface Encryption {
7945
7957
  readonly id: string;
7946
7958
  readonly key: io.flow.payment.internal.v0.models.KeyReference;
@@ -9149,13 +9161,30 @@ declare namespace io.flow.order.management.event.v0.models {
9149
9161
  readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
9150
9162
  readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
9151
9163
  }
9164
+
9165
+ interface ReadyToFulfillDetails {
9166
+ readonly id: string;
9167
+ readonly order_number: string;
9168
+ readonly order: io.flow.experience.v0.models.Order;
9169
+ readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
9170
+ readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
9171
+ }
9172
+
9173
+ interface ReadyToFulfillV2 {
9174
+ readonly discriminator: 'ready_to_fulfill_v2';
9175
+ readonly event_id: string;
9176
+ readonly timestamp: string;
9177
+ readonly organization: string;
9178
+ readonly ready_to_fulfill: io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
9179
+ }
9152
9180
  }
9153
9181
 
9154
9182
  declare namespace io.flow.order.management.event.v0.unions {
9155
9183
  type OrderManagementEvent =
9156
9184
  | io.flow.order.management.event.v0.models.OrderPlaced
9157
9185
  | io.flow.order.management.event.v0.models.OrderPlacedV2
9158
- | io.flow.order.management.event.v0.models.ReadyToFulfill;
9186
+ | io.flow.order.management.event.v0.models.ReadyToFulfill
9187
+ | io.flow.order.management.event.v0.models.ReadyToFulfillV2;
9159
9188
  }
9160
9189
 
9161
9190
  declare namespace io.flow.ftp.v0.enums {
@@ -12066,6 +12095,10 @@ declare namespace io.flow.billing.internal.v0.models {
12066
12095
  readonly fraud: number;
12067
12096
  }
12068
12097
 
12098
+ interface BillingOrganizationProcessingRatesForm {
12099
+ readonly processing_rates: io.flow.billing.internal.v0.models.BillingOrganizationProcessingRates[];
12100
+ }
12101
+
12069
12102
  interface BillingOrganizationSettings {
12070
12103
  readonly days_until_posted: number;
12071
12104
  readonly logistics: io.flow.billing.internal.v0.enums.ResponsibleParty;
@@ -18320,6 +18353,10 @@ declare namespace io.flow.internal.v0.models {
18320
18353
  readonly fraud: number;
18321
18354
  }
18322
18355
 
18356
+ interface BillingOrganizationProcessingRatesForm {
18357
+ readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates[];
18358
+ }
18359
+
18323
18360
  interface BillingOrganizationSettings {
18324
18361
  readonly days_until_posted: number;
18325
18362
  readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
@@ -20420,6 +20457,7 @@ declare namespace io.flow.internal.v0.models {
20420
20457
  interface CipherForm {
20421
20458
  readonly text: string;
20422
20459
  readonly attributes?: Record<string, string>;
20460
+ readonly password?: string;
20423
20461
  }
20424
20462
 
20425
20463
  interface CipherReference {
@@ -20807,6 +20845,17 @@ declare namespace io.flow.internal.v0.models {
20807
20845
  readonly shop_url?: string;
20808
20846
  }
20809
20847
 
20848
+ interface DecryptCipherForm {
20849
+ readonly id: string;
20850
+ readonly password: string;
20851
+ }
20852
+
20853
+ interface DecryptedCipher {
20854
+ readonly id: string;
20855
+ readonly cleartext: string;
20856
+ readonly attributes: Record<string, string>;
20857
+ }
20858
+
20810
20859
  interface DeleteIndexTask {
20811
20860
  readonly discriminator: 'delete_index_task';
20812
20861
  readonly name: string;
@@ -26722,6 +26771,7 @@ export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSum
26722
26771
  export type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
26723
26772
  export type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
26724
26773
  export type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
26774
+ export type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
26725
26775
  export type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
26726
26776
  export type BillingStatement = io.flow.internal.v0.models.BillingStatement;
26727
26777
  export type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
@@ -27272,6 +27322,8 @@ export type DailyExperimentResults = io.flow.internal.v0.models.DailyExperimentR
27272
27322
  export type DailyExperimentResultsDeleted = io.flow.internal.v0.models.DailyExperimentResultsDeleted;
27273
27323
  export type DailyExperimentResultsUpserted = io.flow.internal.v0.models.DailyExperimentResultsUpserted;
27274
27324
  export type Decision = io.flow.internal.v0.models.Decision;
27325
+ export type DecryptCipherForm = io.flow.internal.v0.models.DecryptCipherForm;
27326
+ export type DecryptedCipher = io.flow.internal.v0.models.DecryptedCipher;
27275
27327
  export type DeleteIndexTask = io.flow.internal.v0.models.DeleteIndexTask;
27276
27328
  export type DeliveredDutyOption = io.flow.internal.v0.models.DeliveredDutyOption;
27277
27329
  export type DeliveredDutyOptionMessage = io.flow.internal.v0.models.DeliveredDutyOptionMessage;