@flowio/api-factories 0.0.76 → 0.0.78

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/cjs/api.js CHANGED
@@ -142,6 +142,9 @@ var factories = {
142
142
  organization_id: factories.string(),
143
143
  num_events: factories.long(),
144
144
  }); },
145
+ 'io.flow.ben.test.internal.v0.models.svitlana_test': function () { return ({
146
+ name: factories.string(),
147
+ }); },
145
148
  'io.flow.ben.test.internal.v0.models.test': function () { return ({
146
149
  id: factories.string(),
147
150
  name: factories.string(),
@@ -2695,6 +2698,7 @@ var factories = {
2695
2698
  'processing',
2696
2699
  'rate_lock',
2697
2700
  'transfer',
2701
+ 'negative_balance_guarantee',
2698
2702
  ]); },
2699
2703
  'io.flow.v0.enums.flow_behavior': function () { return faker_1.default.helpers.arrayElement(['view_consumer_data']); },
2700
2704
  'io.flow.v0.enums.flow_entity': function () { return faker_1.default.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
@@ -2892,6 +2896,7 @@ var factories = {
2892
2896
  'emergency_situation_surcharge',
2893
2897
  'peak_surcharge',
2894
2898
  'duties_taxes_paid_surcharge',
2899
+ 'tip',
2895
2900
  ]); },
2896
2901
  'io.flow.v0.enums.order_price_detail_key': function () { return faker_1.default.helpers.arrayElement([
2897
2902
  'adjustment',
@@ -2902,6 +2907,7 @@ var factories = {
2902
2907
  'insurance',
2903
2908
  'discount',
2904
2909
  'surcharges',
2910
+ 'tip',
2905
2911
  ]); },
2906
2912
  'io.flow.v0.enums.order_quote_address_type': function () { return faker_1.default.helpers.arrayElement(['shipping']); },
2907
2913
  'io.flow.v0.enums.order_quote_error_code': function () { return faker_1.default.helpers.arrayElement([
@@ -11428,6 +11434,7 @@ var factories = {
11428
11434
  currency: factories.string(),
11429
11435
  lines: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_line_item_form'](); }),
11430
11436
  shipping: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form'](); }),
11437
+ includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
11431
11438
  }); },
11432
11439
  'io.flow.v0.models.tax_duty_quote_line_item': function () { return ({
11433
11440
  primary_identifier: factories.string(),
@@ -11841,6 +11848,7 @@ var factories = {
11841
11848
  discriminator: 'shipping_label',
11842
11849
  request_method: factories['io.flow.v0.enums.label_request_method'](),
11843
11850
  carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
11851
+ revenue_share_percentage: factories.decimal(),
11844
11852
  }); },
11845
11853
  'io.flow.v0.models.transaction_metadata_shipping_label_carrier': function () { return ({
11846
11854
  id: factories.string(),
package/dist/esm/api.js CHANGED
@@ -101,6 +101,9 @@ var factories = {
101
101
  organization_id: factories.string(),
102
102
  num_events: factories.long(),
103
103
  }); },
104
+ 'io.flow.ben.test.internal.v0.models.svitlana_test': function () { return ({
105
+ name: factories.string(),
106
+ }); },
104
107
  'io.flow.ben.test.internal.v0.models.test': function () { return ({
105
108
  id: factories.string(),
106
109
  name: factories.string(),
@@ -2654,6 +2657,7 @@ var factories = {
2654
2657
  'processing',
2655
2658
  'rate_lock',
2656
2659
  'transfer',
2660
+ 'negative_balance_guarantee',
2657
2661
  ]); },
2658
2662
  'io.flow.v0.enums.flow_behavior': function () { return faker.helpers.arrayElement(['view_consumer_data']); },
2659
2663
  'io.flow.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
@@ -2851,6 +2855,7 @@ var factories = {
2851
2855
  'emergency_situation_surcharge',
2852
2856
  'peak_surcharge',
2853
2857
  'duties_taxes_paid_surcharge',
2858
+ 'tip',
2854
2859
  ]); },
2855
2860
  'io.flow.v0.enums.order_price_detail_key': function () { return faker.helpers.arrayElement([
2856
2861
  'adjustment',
@@ -2861,6 +2866,7 @@ var factories = {
2861
2866
  'insurance',
2862
2867
  'discount',
2863
2868
  'surcharges',
2869
+ 'tip',
2864
2870
  ]); },
2865
2871
  'io.flow.v0.enums.order_quote_address_type': function () { return faker.helpers.arrayElement(['shipping']); },
2866
2872
  'io.flow.v0.enums.order_quote_error_code': function () { return faker.helpers.arrayElement([
@@ -11387,6 +11393,7 @@ var factories = {
11387
11393
  currency: factories.string(),
11388
11394
  lines: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_line_item_form'](); }),
11389
11395
  shipping: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form'](); }),
11396
+ includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
11390
11397
  }); },
11391
11398
  'io.flow.v0.models.tax_duty_quote_line_item': function () { return ({
11392
11399
  primary_identifier: factories.string(),
@@ -11800,6 +11807,7 @@ var factories = {
11800
11807
  discriminator: 'shipping_label',
11801
11808
  request_method: factories['io.flow.v0.enums.label_request_method'](),
11802
11809
  carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
11810
+ revenue_share_percentage: factories.decimal(),
11803
11811
  }); },
11804
11812
  'io.flow.v0.models.transaction_metadata_shipping_label_carrier': function () { return ({
11805
11813
  id: factories.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-factories",
3
- "version": "0.0.76",
3
+ "version": "0.0.78",
4
4
  "description": "Flow API mock data factories",
5
5
  "keywords": [
6
6
  "flow",
@@ -36,5 +36,5 @@
36
36
  "@faker-js/faker": "^6.2.0",
37
37
  "@flowio/api-types": "*"
38
38
  },
39
- "gitHead": "71ee41ffd96a582387a4d438378c1ae949b08c92"
39
+ "gitHead": "597e2435a16a5bd699023530c389a211edd61d60"
40
40
  }
package/src/api.ts CHANGED
@@ -123,6 +123,10 @@ const factories = {
123
123
  num_events: factories.long(),
124
124
  }),
125
125
 
126
+ 'io.flow.ben.test.internal.v0.models.svitlana_test': (): io.flow.ben.test.internal.v0.models.SvitlanaTest => ({
127
+ name: factories.string(),
128
+ }),
129
+
126
130
  'io.flow.ben.test.internal.v0.models.test': (): io.flow.ben.test.internal.v0.models.Test => ({
127
131
  id: factories.string(),
128
132
  name: factories.string(),
@@ -3025,6 +3029,7 @@ const factories = {
3025
3029
  'processing',
3026
3030
  'rate_lock',
3027
3031
  'transfer',
3032
+ 'negative_balance_guarantee',
3028
3033
  ]),
3029
3034
 
3030
3035
  'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
@@ -3242,6 +3247,7 @@ const factories = {
3242
3247
  'emergency_situation_surcharge',
3243
3248
  'peak_surcharge',
3244
3249
  'duties_taxes_paid_surcharge',
3250
+ 'tip',
3245
3251
  ]),
3246
3252
 
3247
3253
  'io.flow.v0.enums.order_price_detail_key': (): io.flow.v0.enums.OrderPriceDetailKey => faker.helpers.arrayElement([
@@ -3253,6 +3259,7 @@ const factories = {
3253
3259
  'insurance',
3254
3260
  'discount',
3255
3261
  'surcharges',
3262
+ 'tip',
3256
3263
  ]),
3257
3264
 
3258
3265
  'io.flow.v0.enums.order_quote_address_type': (): io.flow.v0.enums.OrderQuoteAddressType => faker.helpers.arrayElement(['shipping']),
@@ -13143,6 +13150,7 @@ const factories = {
13143
13150
  currency: factories.string(),
13144
13151
  lines: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_line_item_form']()),
13145
13152
  shipping: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form']()),
13153
+ includes: arrayOf(() => factories['io.flow.v0.enums.levy_inclusion']()),
13146
13154
  }),
13147
13155
 
13148
13156
  'io.flow.v0.models.tax_duty_quote_line_item': (): io.flow.v0.models.TaxDutyQuoteLineItem => ({
@@ -13622,6 +13630,7 @@ const factories = {
13622
13630
  discriminator: 'shipping_label',
13623
13631
  request_method: factories['io.flow.v0.enums.label_request_method'](),
13624
13632
  carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
13633
+ revenue_share_percentage: factories.decimal(),
13625
13634
  }),
13626
13635
 
13627
13636
  'io.flow.v0.models.transaction_metadata_shipping_label_carrier': (): io.flow.v0.models.TransactionMetadataShippingLabelCarrier => ({