@flowio/api-mock-generator 6.17.74 → 6.17.76

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.
Files changed (3) hide show
  1. package/dist/api.json +51 -919
  2. package/package.json +2 -2
  3. package/src/api.json +51 -919
package/dist/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.18.33",
13
+ "version": "0.18.36",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -76,7 +76,7 @@
76
76
  "application": {
77
77
  "key": "ben-test-internal"
78
78
  },
79
- "version": "0.21.80",
79
+ "version": "0.21.86",
80
80
  "enums": [],
81
81
  "interfaces": ["generate_load"],
82
82
  "unions": ["generate_load"],
@@ -3183,102 +3183,6 @@
3183
3183
  "description": "The details of tip associated with an order"
3184
3184
  }],
3185
3185
  "attributes": []
3186
- }, {
3187
- "name": "order_quote_address_type",
3188
- "plural": "order_quote_address_types",
3189
- "values": [{
3190
- "name": "shipping",
3191
- "attributes": []
3192
- }],
3193
- "attributes": []
3194
- }, {
3195
- "name": "order_quote_error_code",
3196
- "plural": "order_quote_error_codes",
3197
- "values": [{
3198
- "name": "contact_email_invalid",
3199
- "attributes": []
3200
- }, {
3201
- "name": "contact_email_required",
3202
- "attributes": []
3203
- }, {
3204
- "name": "contact_phone_invalid",
3205
- "attributes": []
3206
- }, {
3207
- "name": "contact_phone_required",
3208
- "attributes": []
3209
- }, {
3210
- "name": "country_not_supported",
3211
- "attributes": []
3212
- }, {
3213
- "name": "currency_invalid",
3214
- "attributes": []
3215
- }, {
3216
- "name": "first_name_invalid",
3217
- "attributes": []
3218
- }, {
3219
- "name": "first_name_required",
3220
- "attributes": []
3221
- }, {
3222
- "name": "geo_required_when_no_session",
3223
- "attributes": []
3224
- }, {
3225
- "name": "language_invalid",
3226
- "attributes": []
3227
- }, {
3228
- "name": "last_name_invalid",
3229
- "attributes": []
3230
- }, {
3231
- "name": "last_name_required",
3232
- "attributes": []
3233
- }, {
3234
- "name": "line_item_number_invalid",
3235
- "attributes": []
3236
- }, {
3237
- "name": "line_item_number_not_available",
3238
- "attributes": []
3239
- }, {
3240
- "name": "line_not_found",
3241
- "attributes": []
3242
- }, {
3243
- "name": "line_quantity_invalid",
3244
- "attributes": []
3245
- }, {
3246
- "name": "line_value_threshold_exceeded",
3247
- "attributes": []
3248
- }, {
3249
- "name": "name_missing_first_or_last",
3250
- "attributes": []
3251
- }, {
3252
- "name": "name_required",
3253
- "attributes": []
3254
- }, {
3255
- "name": "order_quote_requires_at_least_one_line",
3256
- "attributes": []
3257
- }, {
3258
- "name": "session_not_found",
3259
- "attributes": []
3260
- }, {
3261
- "name": "session_organization_mismatch",
3262
- "attributes": []
3263
- }],
3264
- "attributes": []
3265
- }, {
3266
- "name": "order_quote_line_error_code",
3267
- "plural": "order_quote_line_error_codes",
3268
- "values": [{
3269
- "name": "line_item_number_invalid",
3270
- "attributes": []
3271
- }, {
3272
- "name": "line_item_number_not_available",
3273
- "attributes": []
3274
- }, {
3275
- "name": "line_quantity_invalid",
3276
- "attributes": []
3277
- }, {
3278
- "name": "line_value_threshold_exceeded",
3279
- "attributes": []
3280
- }],
3281
- "attributes": []
3282
3186
  }, {
3283
3187
  "name": "order_refund_summary_includes",
3284
3188
  "plural": "order_refund_summary_includes",
@@ -4364,6 +4268,20 @@
4364
4268
  "attributes": []
4365
4269
  }],
4366
4270
  "attributes": []
4271
+ }, {
4272
+ "name": "restricted_review_status",
4273
+ "plural": "restricted_review_statuses",
4274
+ "values": [{
4275
+ "name": "in_review",
4276
+ "attributes": [],
4277
+ "description": "Product is restricted but has yet to be reviewed."
4278
+ }, {
4279
+ "name": "reviewed",
4280
+ "attributes": [],
4281
+ "description": "Product is restricted and has been reviewed."
4282
+ }],
4283
+ "attributes": [],
4284
+ "description": "review status of a restricted product."
4367
4285
  }, {
4368
4286
  "name": "return_item_status",
4369
4287
  "plural": "return_item_statuses",
@@ -6270,49 +6188,6 @@
6270
6188
  "annotations": []
6271
6189
  }],
6272
6190
  "attributes": []
6273
- }, {
6274
- "name": "order_quote_line_interface",
6275
- "plural": "order_quote_line_interfaces",
6276
- "fields": [{
6277
- "name": "item",
6278
- "type": "order_summary_item",
6279
- "required": true,
6280
- "attributes": [],
6281
- "annotations": []
6282
- }, {
6283
- "name": "quantity",
6284
- "type": "long",
6285
- "required": true,
6286
- "attributes": [],
6287
- "annotations": [],
6288
- "minimum": 1
6289
- }, {
6290
- "name": "discount",
6291
- "type": "order_quote_line_discount",
6292
- "required": false,
6293
- "attributes": [],
6294
- "annotations": []
6295
- }, {
6296
- "name": "tax",
6297
- "type": "order_quote_summary_tax",
6298
- "required": false,
6299
- "attributes": [],
6300
- "annotations": []
6301
- }, {
6302
- "name": "duty",
6303
- "type": "order_quote_summary_duty",
6304
- "required": false,
6305
- "attributes": [],
6306
- "annotations": []
6307
- }, {
6308
- "name": "unit_price",
6309
- "type": "order_quote_price",
6310
- "required": true,
6311
- "attributes": [],
6312
- "annotations": [],
6313
- "description": "The total price of quantity 1 of the item in this line. Computed as price - discount + tax + duty"
6314
- }],
6315
- "attributes": []
6316
6191
  }, {
6317
6192
  "name": "payment",
6318
6193
  "plural": "payments",
@@ -8648,33 +8523,6 @@
8648
8523
  "attributes": [],
8649
8524
  "interfaces": [],
8650
8525
  "discriminator": "discriminator"
8651
- }, {
8652
- "name": "order_quote_price",
8653
- "plural": "order_quote_prices",
8654
- "types": [{
8655
- "type": "order_quote_price_free",
8656
- "attributes": [],
8657
- "discriminator_value": "free"
8658
- }, {
8659
- "type": "order_quote_price_not_yet_known",
8660
- "attributes": [],
8661
- "discriminator_value": "not_yet_known"
8662
- }, {
8663
- "type": "order_quote_price_included",
8664
- "attributes": [],
8665
- "discriminator_value": "included"
8666
- }, {
8667
- "type": "order_quote_price_standard",
8668
- "attributes": [],
8669
- "discriminator_value": "price"
8670
- }, {
8671
- "type": "order_quote_price_estimated",
8672
- "attributes": [],
8673
- "discriminator_value": "estimated"
8674
- }],
8675
- "attributes": [],
8676
- "interfaces": [],
8677
- "discriminator": "discriminator"
8678
8526
  }, {
8679
8527
  "name": "order_refund_summary_form",
8680
8528
  "plural": "order_refund_summary_forms",
@@ -34396,591 +34244,6 @@
34396
34244
  "attributes": [],
34397
34245
  "interfaces": [],
34398
34246
  "description": "The order put form is used to upsert an order, providing the details on pricing and delivery options for destination and items/quantities specified."
34399
- }, {
34400
- "name": "order_quote",
34401
- "plural": "order_quotes",
34402
- "fields": [{
34403
- "name": "id",
34404
- "type": "string",
34405
- "required": true,
34406
- "attributes": [],
34407
- "annotations": [],
34408
- "description": "Globally unique identifier"
34409
- }, {
34410
- "name": "form",
34411
- "type": "order_quote_put_form",
34412
- "required": true,
34413
- "attributes": [],
34414
- "annotations": [],
34415
- "description": "The current data in the order_quote. Typically the value of the last POST/PUT request."
34416
- }, {
34417
- "name": "summary",
34418
- "type": "order_quote_summary",
34419
- "required": false,
34420
- "attributes": [],
34421
- "annotations": [],
34422
- "description": "Available when there are no errors associated with the order_quote"
34423
- }],
34424
- "attributes": [],
34425
- "interfaces": []
34426
- }, {
34427
- "name": "order_quote_address",
34428
- "plural": "order_quote_addresses",
34429
- "fields": [{
34430
- "name": "name",
34431
- "type": "string",
34432
- "required": false,
34433
- "attributes": [],
34434
- "annotations": ["personal_data"]
34435
- }, {
34436
- "name": "first_name",
34437
- "type": "string",
34438
- "required": false,
34439
- "attributes": [],
34440
- "annotations": ["personal_data"]
34441
- }, {
34442
- "name": "last_name",
34443
- "type": "string",
34444
- "required": false,
34445
- "attributes": [],
34446
- "annotations": ["personal_data"]
34447
- }, {
34448
- "name": "country",
34449
- "type": "string",
34450
- "required": false,
34451
- "attributes": [],
34452
- "annotations": [],
34453
- "description": "The ISO 3166-3 country code. Case insensitive. See https://api.flow.io/reference/countries",
34454
- "example": "CAN"
34455
- }, {
34456
- "name": "streets",
34457
- "type": "[string]",
34458
- "required": false,
34459
- "attributes": [],
34460
- "annotations": ["personal_data"],
34461
- "description": "Array for street line 1, street line 2, etc., in order"
34462
- }, {
34463
- "name": "city",
34464
- "type": "string",
34465
- "required": false,
34466
- "attributes": [],
34467
- "annotations": []
34468
- }, {
34469
- "name": "province",
34470
- "type": "string",
34471
- "required": false,
34472
- "attributes": [],
34473
- "annotations": []
34474
- }, {
34475
- "name": "postal",
34476
- "type": "string",
34477
- "required": false,
34478
- "attributes": [],
34479
- "annotations": []
34480
- }, {
34481
- "name": "company",
34482
- "type": "string",
34483
- "required": false,
34484
- "attributes": [],
34485
- "annotations": ["personal_data"],
34486
- "description": "Business entity or organization name of this contact"
34487
- }],
34488
- "attributes": [],
34489
- "interfaces": []
34490
- }, {
34491
- "name": "order_quote_contact",
34492
- "plural": "order_quote_contacts",
34493
- "fields": [{
34494
- "name": "email",
34495
- "type": "string",
34496
- "required": false,
34497
- "attributes": [],
34498
- "annotations": ["personal_data"]
34499
- }, {
34500
- "name": "phone",
34501
- "type": "string",
34502
- "required": false,
34503
- "attributes": [],
34504
- "annotations": ["personal_data"]
34505
- }],
34506
- "attributes": [],
34507
- "interfaces": []
34508
- }, {
34509
- "name": "order_quote_error",
34510
- "plural": "order_quote_errors",
34511
- "fields": [{
34512
- "name": "errors",
34513
- "type": "[order_quote_error_details]",
34514
- "required": true,
34515
- "attributes": [],
34516
- "annotations": []
34517
- }],
34518
- "attributes": [],
34519
- "interfaces": []
34520
- }, {
34521
- "name": "order_quote_error_details",
34522
- "plural": "order_quote_error_detailses",
34523
- "fields": [{
34524
- "name": "code",
34525
- "type": "order_quote_error_code",
34526
- "required": true,
34527
- "attributes": [],
34528
- "annotations": []
34529
- }, {
34530
- "name": "message",
34531
- "type": "string",
34532
- "required": true,
34533
- "attributes": [],
34534
- "annotations": []
34535
- }],
34536
- "attributes": [],
34537
- "interfaces": []
34538
- }, {
34539
- "name": "order_quote_geo_put_form",
34540
- "plural": "order_quote_geo_put_forms",
34541
- "fields": [{
34542
- "name": "country",
34543
- "type": "string",
34544
- "required": false,
34545
- "attributes": [],
34546
- "annotations": [],
34547
- "description": "If specified, we will select the experience matching this country. ISO 3166 3 currency code as defined in https://api.flow.io/reference/countries",
34548
- "example": "CAN"
34549
- }, {
34550
- "name": "ip",
34551
- "type": "string",
34552
- "required": false,
34553
- "attributes": [],
34554
- "annotations": [],
34555
- "description": "If specified, we will geolocate the user by this IP address, and if successful, select the experience matching the country of the IP address."
34556
- }, {
34557
- "name": "currency",
34558
- "type": "string",
34559
- "required": false,
34560
- "attributes": [],
34561
- "annotations": [],
34562
- "description": "Iso 4217 3 currency code as defined in https://api.flow.io/reference/currencies If specified, translate the pricing to this currency. Translation occurs using the current spot rate for this currency from the base currency in the experience."
34563
- }, {
34564
- "name": "language",
34565
- "type": "string",
34566
- "required": false,
34567
- "attributes": [],
34568
- "annotations": [],
34569
- "description": "ISO 639 2 language code as defined in https://api.flow.io/reference/languages If specified, translate content to this language (where available)",
34570
- "example": "en"
34571
- }],
34572
- "attributes": [],
34573
- "interfaces": [],
34574
- "description": "Provides options that may be used to configure how a order_quote is rendered for a customer, such as currency and language."
34575
- }, {
34576
- "name": "order_quote_line",
34577
- "plural": "order_quote_lines",
34578
- "fields": [{
34579
- "name": "id",
34580
- "type": "string",
34581
- "required": true,
34582
- "attributes": [],
34583
- "annotations": [],
34584
- "description": "Globally unique identifier"
34585
- }, {
34586
- "name": "item",
34587
- "type": "order_summary_item",
34588
- "required": true,
34589
- "attributes": [],
34590
- "annotations": []
34591
- }, {
34592
- "name": "errors",
34593
- "type": "[order_quote_line_error]",
34594
- "required": false,
34595
- "attributes": [],
34596
- "annotations": []
34597
- }, {
34598
- "name": "quantity",
34599
- "type": "long",
34600
- "required": true,
34601
- "attributes": [],
34602
- "annotations": [],
34603
- "minimum": 1
34604
- }, {
34605
- "name": "discount",
34606
- "type": "order_quote_line_discount",
34607
- "required": false,
34608
- "attributes": [],
34609
- "annotations": []
34610
- }, {
34611
- "name": "tax",
34612
- "type": "order_quote_summary_tax",
34613
- "required": false,
34614
- "attributes": [],
34615
- "annotations": []
34616
- }, {
34617
- "name": "duty",
34618
- "type": "order_quote_summary_duty",
34619
- "required": false,
34620
- "attributes": [],
34621
- "annotations": []
34622
- }, {
34623
- "name": "unit_price",
34624
- "type": "order_quote_price",
34625
- "required": true,
34626
- "attributes": [],
34627
- "annotations": [],
34628
- "description": "The total price of quantity 1 of the item in this line. Computed as price - discount + tax + duty"
34629
- }, {
34630
- "name": "total",
34631
- "type": "order_quote_price",
34632
- "required": true,
34633
- "attributes": [],
34634
- "annotations": [],
34635
- "description": "The total price of the specified quantity of the items in this line. Note that due to rounding, it is not guaranteed that total exactly equals quantity * unit_price"
34636
- }, {
34637
- "name": "price_attributes",
34638
- "type": "map[order_quote_price_standard]",
34639
- "required": true,
34640
- "attributes": [],
34641
- "annotations": []
34642
- }, {
34643
- "name": "attributes",
34644
- "type": "map[string]",
34645
- "required": true,
34646
- "attributes": [],
34647
- "annotations": []
34648
- }],
34649
- "attributes": [],
34650
- "interfaces": ["order_quote_line_interface"],
34651
- "description": "Same interface as experience order_summary_line_item with additional attributes needed by order_quote"
34652
- }, {
34653
- "name": "order_quote_line_discount",
34654
- "plural": "order_quote_line_discounts",
34655
- "fields": [{
34656
- "name": "applied",
34657
- "type": "order_quote_price_standard",
34658
- "required": true,
34659
- "attributes": [],
34660
- "annotations": []
34661
- }, {
34662
- "name": "label",
34663
- "type": "string",
34664
- "required": false,
34665
- "attributes": [],
34666
- "annotations": [],
34667
- "description": "The discount pretty label (e.g. SPRING10) that is displayed to the customer."
34668
- }],
34669
- "attributes": [],
34670
- "interfaces": [],
34671
- "description": "Represents the discount on a given line item. It applies to the entire line regardless of quantity."
34672
- }, {
34673
- "name": "order_quote_line_error",
34674
- "plural": "order_quote_line_errors",
34675
- "fields": [{
34676
- "name": "code",
34677
- "type": "order_quote_line_error_code",
34678
- "required": true,
34679
- "attributes": [],
34680
- "annotations": []
34681
- }, {
34682
- "name": "message",
34683
- "type": "string",
34684
- "required": true,
34685
- "attributes": [],
34686
- "annotations": []
34687
- }],
34688
- "attributes": [],
34689
- "interfaces": []
34690
- }, {
34691
- "name": "order_quote_price_estimated",
34692
- "plural": "order_quote_price_estimateds",
34693
- "fields": [{
34694
- "name": "amount",
34695
- "type": "double",
34696
- "required": true,
34697
- "attributes": [],
34698
- "annotations": [],
34699
- "example": "100"
34700
- }, {
34701
- "name": "currency",
34702
- "type": "string",
34703
- "required": true,
34704
- "attributes": [],
34705
- "annotations": [],
34706
- "description": "ISO 4217 3 currency code as defined in https://api.flow.io/reference/currencies",
34707
- "example": "CAD"
34708
- }, {
34709
- "name": "label",
34710
- "type": "string",
34711
- "required": true,
34712
- "attributes": [],
34713
- "annotations": [],
34714
- "example": "CA$100.00"
34715
- }],
34716
- "attributes": [],
34717
- "interfaces": []
34718
- }, {
34719
- "name": "order_quote_price_free",
34720
- "plural": "order_quote_price_frees",
34721
- "fields": [{
34722
- "name": "placeholder",
34723
- "type": "string",
34724
- "required": false,
34725
- "attributes": [],
34726
- "annotations": []
34727
- }],
34728
- "attributes": [],
34729
- "interfaces": []
34730
- }, {
34731
- "name": "order_quote_price_included",
34732
- "plural": "order_quote_price_includeds",
34733
- "fields": [{
34734
- "name": "placeholder",
34735
- "type": "string",
34736
- "required": false,
34737
- "attributes": [],
34738
- "annotations": []
34739
- }],
34740
- "attributes": [],
34741
- "interfaces": []
34742
- }, {
34743
- "name": "order_quote_price_not_yet_known",
34744
- "plural": "order_quote_price_not_yet_knowns",
34745
- "fields": [{
34746
- "name": "placeholder",
34747
- "type": "string",
34748
- "required": false,
34749
- "attributes": [],
34750
- "annotations": []
34751
- }],
34752
- "attributes": [],
34753
- "interfaces": []
34754
- }, {
34755
- "name": "order_quote_price_standard",
34756
- "plural": "order_quote_price_standards",
34757
- "fields": [{
34758
- "name": "amount",
34759
- "type": "double",
34760
- "required": true,
34761
- "attributes": [],
34762
- "annotations": [],
34763
- "example": "100"
34764
- }, {
34765
- "name": "currency",
34766
- "type": "string",
34767
- "required": true,
34768
- "attributes": [],
34769
- "annotations": [],
34770
- "description": "ISO 4217 3 currency code as defined in https://api.flow.io/reference/currencies",
34771
- "example": "CAD"
34772
- }, {
34773
- "name": "label",
34774
- "type": "string",
34775
- "required": true,
34776
- "attributes": [],
34777
- "annotations": [],
34778
- "example": "CA$100.00"
34779
- }],
34780
- "attributes": [],
34781
- "interfaces": []
34782
- }, {
34783
- "name": "order_quote_put_form",
34784
- "plural": "order_quote_put_forms",
34785
- "fields": [{
34786
- "name": "line_items",
34787
- "type": "[line_item_form]",
34788
- "required": false,
34789
- "attributes": [],
34790
- "annotations": [],
34791
- "minimum": 1
34792
- }, {
34793
- "name": "session",
34794
- "type": "session_reference",
34795
- "required": false,
34796
- "attributes": [],
34797
- "annotations": []
34798
- }, {
34799
- "name": "geo",
34800
- "type": "order_quote_geo_put_form",
34801
- "required": false,
34802
- "attributes": [],
34803
- "annotations": [],
34804
- "description": "Required when a session is not supplied."
34805
- }],
34806
- "attributes": [],
34807
- "interfaces": []
34808
- }, {
34809
- "name": "order_quote_reference",
34810
- "plural": "order_quote_references",
34811
- "fields": [{
34812
- "name": "id",
34813
- "type": "string",
34814
- "required": true,
34815
- "attributes": [],
34816
- "annotations": [],
34817
- "description": "Globally unique identifier"
34818
- }],
34819
- "attributes": [],
34820
- "interfaces": []
34821
- }, {
34822
- "name": "order_quote_summary",
34823
- "plural": "order_quote_summaries",
34824
- "fields": [{
34825
- "name": "items",
34826
- "type": "order_quote_summary_items",
34827
- "required": true,
34828
- "attributes": [],
34829
- "annotations": []
34830
- }, {
34831
- "name": "shipping",
34832
- "type": "order_quote_summary_shipping",
34833
- "required": false,
34834
- "attributes": [],
34835
- "annotations": []
34836
- }, {
34837
- "name": "tax",
34838
- "type": "order_quote_summary_tax",
34839
- "required": false,
34840
- "attributes": [],
34841
- "annotations": []
34842
- }, {
34843
- "name": "duty",
34844
- "type": "order_quote_summary_duty",
34845
- "required": false,
34846
- "attributes": [],
34847
- "annotations": []
34848
- }, {
34849
- "name": "total",
34850
- "type": "order_quote_summary_total",
34851
- "required": true,
34852
- "attributes": [],
34853
- "annotations": [],
34854
- "description": "total = items.total + shipping.total + tax.total + duty.total - discount.total"
34855
- }, {
34856
- "name": "balance",
34857
- "type": "order_quote_price",
34858
- "required": true,
34859
- "attributes": [],
34860
- "annotations": [],
34861
- "description": "balance = total - payments.total and never < 0"
34862
- }],
34863
- "attributes": [],
34864
- "interfaces": []
34865
- }, {
34866
- "name": "order_quote_summary_duty",
34867
- "plural": "order_quote_summary_duties",
34868
- "fields": [{
34869
- "name": "name",
34870
- "type": "string",
34871
- "required": true,
34872
- "attributes": [],
34873
- "annotations": [],
34874
- "description": "The local duties name",
34875
- "example": "Duties"
34876
- }, {
34877
- "name": "total",
34878
- "type": "order_quote_price",
34879
- "required": true,
34880
- "attributes": [],
34881
- "annotations": []
34882
- }],
34883
- "attributes": [],
34884
- "interfaces": []
34885
- }, {
34886
- "name": "order_quote_summary_items",
34887
- "plural": "order_quote_summary_items",
34888
- "fields": [{
34889
- "name": "lines",
34890
- "type": "[order_quote_line]",
34891
- "required": true,
34892
- "attributes": [],
34893
- "annotations": []
34894
- }, {
34895
- "name": "total",
34896
- "type": "order_quote_price",
34897
- "required": true,
34898
- "attributes": [],
34899
- "annotations": [],
34900
- "description": "The total price of all lines"
34901
- }],
34902
- "attributes": [],
34903
- "interfaces": []
34904
- }, {
34905
- "name": "order_quote_summary_shipping",
34906
- "plural": "order_quote_summary_shippings",
34907
- "fields": [{
34908
- "name": "total",
34909
- "type": "order_quote_price",
34910
- "required": true,
34911
- "attributes": [],
34912
- "annotations": []
34913
- }, {
34914
- "name": "freight",
34915
- "type": "order_quote_summary_shipping_freight",
34916
- "required": false,
34917
- "attributes": [],
34918
- "annotations": []
34919
- }, {
34920
- "name": "surcharges",
34921
- "type": "order_quote_summary_shipping_surcharges",
34922
- "required": false,
34923
- "attributes": [],
34924
- "annotations": []
34925
- }],
34926
- "attributes": [],
34927
- "interfaces": []
34928
- }, {
34929
- "name": "order_quote_summary_shipping_freight",
34930
- "plural": "order_quote_summary_shipping_freight",
34931
- "fields": [{
34932
- "name": "total",
34933
- "type": "order_quote_price",
34934
- "required": true,
34935
- "attributes": [],
34936
- "annotations": []
34937
- }],
34938
- "attributes": [],
34939
- "interfaces": []
34940
- }, {
34941
- "name": "order_quote_summary_shipping_surcharges",
34942
- "plural": "order_quote_summary_shipping_surcharges",
34943
- "fields": [{
34944
- "name": "total",
34945
- "type": "order_quote_price",
34946
- "required": true,
34947
- "attributes": [],
34948
- "annotations": []
34949
- }],
34950
- "attributes": [],
34951
- "interfaces": []
34952
- }, {
34953
- "name": "order_quote_summary_tax",
34954
- "plural": "order_quote_summary_taxes",
34955
- "fields": [{
34956
- "name": "name",
34957
- "type": "string",
34958
- "required": true,
34959
- "attributes": [],
34960
- "annotations": [],
34961
- "description": "The local tax name",
34962
- "example": "GST"
34963
- }, {
34964
- "name": "total",
34965
- "type": "order_quote_price",
34966
- "required": true,
34967
- "attributes": [],
34968
- "annotations": []
34969
- }],
34970
- "attributes": [],
34971
- "interfaces": []
34972
- }, {
34973
- "name": "order_quote_summary_total",
34974
- "plural": "order_quote_summary_totals",
34975
- "fields": [{
34976
- "name": "total",
34977
- "type": "order_quote_price",
34978
- "required": true,
34979
- "attributes": [],
34980
- "annotations": []
34981
- }],
34982
- "attributes": [],
34983
- "interfaces": []
34984
34247
  }, {
34985
34248
  "name": "order_reference",
34986
34249
  "plural": "order_references",
@@ -42312,6 +41575,13 @@
42312
41575
  "attributes": [],
42313
41576
  "annotations": [],
42314
41577
  "description": "IDs of regions in which this product is prohibited, as defined in https://api.flow.io/reference/regions."
41578
+ }, {
41579
+ "name": "reasons_per_region",
41580
+ "type": "[reasons_per_region]",
41581
+ "required": false,
41582
+ "attributes": [],
41583
+ "annotations": [],
41584
+ "description": "List of reasons for restriction per region including review status."
42315
41585
  }, {
42316
41586
  "name": "review_status",
42317
41587
  "type": "review_status",
@@ -44517,6 +43787,34 @@
44517
43787
  "attributes": [],
44518
43788
  "interfaces": [],
44519
43789
  "description": "Sent when an order is assigned to a fulfillment center in whole or in part. All assigned fulfillments for all centers will be included on the message."
43790
+ }, {
43791
+ "name": "reasons_per_region",
43792
+ "plural": "reasons_per_regions",
43793
+ "fields": [{
43794
+ "name": "region",
43795
+ "type": "string",
43796
+ "required": true,
43797
+ "attributes": [],
43798
+ "annotations": [],
43799
+ "description": "Region in which the product is restricted, as defined in https://api.flow.io/reference/regions."
43800
+ }, {
43801
+ "name": "reasons",
43802
+ "type": "[string]",
43803
+ "required": true,
43804
+ "attributes": [],
43805
+ "annotations": [],
43806
+ "description": "List of reasons for restriction within the region."
43807
+ }, {
43808
+ "name": "review_status",
43809
+ "type": "restricted_review_status",
43810
+ "required": true,
43811
+ "attributes": [],
43812
+ "annotations": [],
43813
+ "description": "Status of review of applicable restrictions."
43814
+ }],
43815
+ "attributes": [],
43816
+ "interfaces": [],
43817
+ "description": "Reasons for restriction per region including review status"
44520
43818
  }, {
44521
43819
  "name": "redirect_authorization_details",
44522
43820
  "plural": "redirect_authorization_detailses",
@@ -91786,172 +91084,6 @@
91786
91084
  }
91787
91085
  }],
91788
91086
  "path": "/reverse"
91789
- }, {
91790
- "type": "order_quote",
91791
- "plural": "order_quotes",
91792
- "operations": [{
91793
- "method": "POST",
91794
- "path": "/:organization/order/quotes",
91795
- "parameters": [{
91796
- "name": "organization",
91797
- "type": "string",
91798
- "location": "Path",
91799
- "required": true,
91800
- "description": "Refers to your organization's account identifier"
91801
- }],
91802
- "responses": [{
91803
- "code": {
91804
- "integer": {
91805
- "value": 201
91806
- }
91807
- },
91808
- "type": "order_quote",
91809
- "description": "Operation succeeded and the resource was created",
91810
- "attributes": []
91811
- }, {
91812
- "code": {
91813
- "integer": {
91814
- "value": 401
91815
- }
91816
- },
91817
- "type": "unit",
91818
- "description": "Authorization failed",
91819
- "attributes": []
91820
- }, {
91821
- "code": {
91822
- "integer": {
91823
- "value": 404
91824
- }
91825
- },
91826
- "type": "unit",
91827
- "description": "Resource was not found",
91828
- "attributes": []
91829
- }, {
91830
- "code": {
91831
- "integer": {
91832
- "value": 422
91833
- }
91834
- },
91835
- "type": "order_quote_error",
91836
- "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
91837
- "attributes": []
91838
- }],
91839
- "attributes": [],
91840
- "body": {
91841
- "type": "order_quote_put_form",
91842
- "attributes": []
91843
- }
91844
- }, {
91845
- "method": "GET",
91846
- "path": "/:organization/order/quotes/:id",
91847
- "parameters": [{
91848
- "name": "organization",
91849
- "type": "string",
91850
- "location": "Path",
91851
- "required": true,
91852
- "description": "Refers to your organization's account identifier"
91853
- }, {
91854
- "name": "id",
91855
- "type": "string",
91856
- "location": "Path",
91857
- "required": true,
91858
- "description": "Filter by one or more IDs of this resource"
91859
- }],
91860
- "responses": [{
91861
- "code": {
91862
- "integer": {
91863
- "value": 200
91864
- }
91865
- },
91866
- "type": "order_quote",
91867
- "description": "Successful response",
91868
- "attributes": []
91869
- }, {
91870
- "code": {
91871
- "integer": {
91872
- "value": 401
91873
- }
91874
- },
91875
- "type": "unit",
91876
- "description": "Authorization failed",
91877
- "attributes": []
91878
- }, {
91879
- "code": {
91880
- "integer": {
91881
- "value": 404
91882
- }
91883
- },
91884
- "type": "unit",
91885
- "description": "Resource was not found",
91886
- "attributes": []
91887
- }],
91888
- "attributes": []
91889
- }, {
91890
- "method": "PUT",
91891
- "path": "/:organization/order/quotes/:id",
91892
- "parameters": [{
91893
- "name": "organization",
91894
- "type": "string",
91895
- "location": "Path",
91896
- "required": true,
91897
- "description": "Refers to your organization's account identifier"
91898
- }, {
91899
- "name": "id",
91900
- "type": "string",
91901
- "location": "Path",
91902
- "required": true,
91903
- "description": "Filter by one or more IDs of this resource"
91904
- }],
91905
- "responses": [{
91906
- "code": {
91907
- "integer": {
91908
- "value": 200
91909
- }
91910
- },
91911
- "type": "order_quote",
91912
- "description": "Successful response",
91913
- "attributes": []
91914
- }, {
91915
- "code": {
91916
- "integer": {
91917
- "value": 401
91918
- }
91919
- },
91920
- "type": "unit",
91921
- "description": "Authorization failed",
91922
- "attributes": []
91923
- }, {
91924
- "code": {
91925
- "integer": {
91926
- "value": 404
91927
- }
91928
- },
91929
- "type": "unit",
91930
- "description": "Resource was not found",
91931
- "attributes": []
91932
- }, {
91933
- "code": {
91934
- "integer": {
91935
- "value": 422
91936
- }
91937
- },
91938
- "type": "order_quote_error",
91939
- "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
91940
- "attributes": []
91941
- }],
91942
- "attributes": [],
91943
- "body": {
91944
- "type": "order_quote_put_form",
91945
- "attributes": []
91946
- }
91947
- }],
91948
- "attributes": [{
91949
- "name": "docs",
91950
- "value": {
91951
- "module": "general"
91952
- }
91953
- }],
91954
- "path": "/:organization/order/quotes"
91955
91087
  }, {
91956
91088
  "type": "organization_authorization",
91957
91089
  "plural": "organization_authorizations",