@flowio/api-mock-generator 6.17.50 → 6.17.51

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 +465 -7
  2. package/package.json +2 -2
  3. package/src/api.json +465 -7
package/dist/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.17.27",
13
+ "version": "0.17.35",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -31,7 +31,7 @@
31
31
  "application": {
32
32
  "key": "apple-pay"
33
33
  },
34
- "version": "0.3.14",
34
+ "version": "0.3.17",
35
35
  "enums": ["apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks"],
36
36
  "interfaces": [],
37
37
  "unions": [],
@@ -46,7 +46,7 @@
46
46
  "application": {
47
47
  "key": "google-pay"
48
48
  },
49
- "version": "0.3.14",
49
+ "version": "0.3.17",
50
50
  "enums": ["auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status"],
51
51
  "interfaces": [],
52
52
  "unions": ["payment_method_token"],
@@ -61,7 +61,7 @@
61
61
  "application": {
62
62
  "key": "shopify-external"
63
63
  },
64
- "version": "0.3.14",
64
+ "version": "0.3.17",
65
65
  "enums": ["cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
66
66
  "interfaces": [],
67
67
  "unions": [],
@@ -3669,6 +3669,9 @@
3669
3669
  "values": [{
3670
3670
  "name": "invalid_account_number",
3671
3671
  "attributes": []
3672
+ }, {
3673
+ "name": "account_closed",
3674
+ "attributes": []
3672
3675
  }, {
3673
3676
  "name": "could_not_process",
3674
3677
  "attributes": []
@@ -5348,6 +5351,40 @@
5348
5351
  "annotations": []
5349
5352
  }],
5350
5353
  "attributes": []
5354
+ }, {
5355
+ "name": "bank_account_iban",
5356
+ "plural": "bank_account_ibans",
5357
+ "fields": [{
5358
+ "name": "swift_code",
5359
+ "type": "string",
5360
+ "required": true,
5361
+ "attributes": [],
5362
+ "annotations": []
5363
+ }, {
5364
+ "name": "iban",
5365
+ "type": "string",
5366
+ "required": true,
5367
+ "attributes": [],
5368
+ "annotations": []
5369
+ }],
5370
+ "attributes": []
5371
+ }, {
5372
+ "name": "bank_account_simple",
5373
+ "plural": "bank_account_simples",
5374
+ "fields": [{
5375
+ "name": "routing_number",
5376
+ "type": "string",
5377
+ "required": true,
5378
+ "attributes": [],
5379
+ "annotations": []
5380
+ }, {
5381
+ "name": "account_number",
5382
+ "type": "string",
5383
+ "required": true,
5384
+ "attributes": [],
5385
+ "annotations": []
5386
+ }],
5387
+ "attributes": []
5351
5388
  }, {
5352
5389
  "name": "common_hop_estimate",
5353
5390
  "plural": "common_hop_estimates",
@@ -6338,13 +6375,51 @@
6338
6375
  "attributes": [],
6339
6376
  "interfaces": [],
6340
6377
  "discriminator": "discriminator"
6378
+ }, {
6379
+ "name": "bank_account_form",
6380
+ "plural": "bank_account_forms",
6381
+ "types": [{
6382
+ "type": "bank_account_form_info",
6383
+ "attributes": [],
6384
+ "default": true,
6385
+ "discriminator_value": "info"
6386
+ }, {
6387
+ "type": "bank_account_form_simple",
6388
+ "attributes": [],
6389
+ "default": false,
6390
+ "discriminator_value": "simple"
6391
+ }],
6392
+ "attributes": [],
6393
+ "interfaces": [],
6394
+ "discriminator": "discriminator"
6341
6395
  }, {
6342
6396
  "name": "bank_account_info",
6343
6397
  "plural": "bank_account_infoes",
6344
6398
  "types": [{
6345
6399
  "type": "bank_account_info_usa",
6346
6400
  "attributes": [],
6401
+ "default": false,
6347
6402
  "discriminator_value": "usa"
6403
+ }, {
6404
+ "type": "bank_account_info_can",
6405
+ "attributes": [],
6406
+ "default": false,
6407
+ "discriminator_value": "can"
6408
+ }, {
6409
+ "type": "bank_account_info_gbr",
6410
+ "attributes": [],
6411
+ "default": false,
6412
+ "discriminator_value": "gbr"
6413
+ }, {
6414
+ "type": "bank_account_info_fra",
6415
+ "attributes": [],
6416
+ "default": false,
6417
+ "discriminator_value": "fra"
6418
+ }, {
6419
+ "type": "bank_account_info_ita",
6420
+ "attributes": [],
6421
+ "default": false,
6422
+ "discriminator_value": "ita"
6348
6423
  }],
6349
6424
  "attributes": [],
6350
6425
  "interfaces": [],
@@ -6573,6 +6648,21 @@
6573
6648
  "attributes": [],
6574
6649
  "interfaces": [],
6575
6650
  "discriminator": "discriminator"
6651
+ }, {
6652
+ "name": "entity",
6653
+ "plural": "entities",
6654
+ "types": [{
6655
+ "type": "company",
6656
+ "attributes": [],
6657
+ "discriminator_value": "company"
6658
+ }, {
6659
+ "type": "individual",
6660
+ "attributes": [],
6661
+ "discriminator_value": "individual"
6662
+ }],
6663
+ "attributes": [],
6664
+ "interfaces": [],
6665
+ "discriminator": "discriminator"
6576
6666
  }, {
6577
6667
  "name": "event",
6578
6668
  "plural": "events",
@@ -7705,6 +7795,28 @@
7705
7795
  "interfaces": [],
7706
7796
  "discriminator": "discriminator",
7707
7797
  "description": "Types of rules used to apply on inventory to calculate available quantity"
7798
+ }, {
7799
+ "name": "know_your_business",
7800
+ "plural": "know_your_businesses",
7801
+ "types": [{
7802
+ "type": "know_your_business_usa",
7803
+ "attributes": [],
7804
+ "discriminator_value": "know_your_business_usa"
7805
+ }],
7806
+ "attributes": [],
7807
+ "interfaces": [],
7808
+ "discriminator": "discriminator"
7809
+ }, {
7810
+ "name": "know_your_business_form",
7811
+ "plural": "know_your_business_forms",
7812
+ "types": [{
7813
+ "type": "know_your_business_usa_form",
7814
+ "attributes": [],
7815
+ "discriminator_value": "know_your_business_usa_form"
7816
+ }],
7817
+ "attributes": [],
7818
+ "interfaces": [],
7819
+ "discriminator": "discriminator"
7708
7820
  }, {
7709
7821
  "name": "localized_price",
7710
7822
  "plural": "localized_prices",
@@ -12143,8 +12255,8 @@
12143
12255
  "attributes": [],
12144
12256
  "interfaces": []
12145
12257
  }, {
12146
- "name": "bank_account_form",
12147
- "plural": "bank_account_forms",
12258
+ "name": "bank_account_form_info",
12259
+ "plural": "bank_account_form_infoes",
12148
12260
  "fields": [{
12149
12261
  "name": "info",
12150
12262
  "type": "bank_account_info",
@@ -12154,6 +12266,97 @@
12154
12266
  }],
12155
12267
  "attributes": [],
12156
12268
  "interfaces": []
12269
+ }, {
12270
+ "name": "bank_account_form_simple",
12271
+ "plural": "bank_account_form_simples",
12272
+ "fields": [{
12273
+ "name": "routing_number",
12274
+ "type": "string",
12275
+ "required": true,
12276
+ "attributes": [],
12277
+ "annotations": []
12278
+ }, {
12279
+ "name": "account_number",
12280
+ "type": "string",
12281
+ "required": true,
12282
+ "attributes": [],
12283
+ "annotations": []
12284
+ }],
12285
+ "attributes": [],
12286
+ "interfaces": [],
12287
+ "description": "A form to setup a bank account for any country - we'll automatically identify the country from the routing/account number provided"
12288
+ }, {
12289
+ "name": "bank_account_info_can",
12290
+ "plural": "bank_account_info_cans",
12291
+ "fields": [{
12292
+ "name": "routing_number",
12293
+ "type": "string",
12294
+ "required": true,
12295
+ "attributes": [],
12296
+ "annotations": []
12297
+ }, {
12298
+ "name": "account_number",
12299
+ "type": "string",
12300
+ "required": true,
12301
+ "attributes": [],
12302
+ "annotations": []
12303
+ }],
12304
+ "attributes": [],
12305
+ "interfaces": ["bank_account_simple"]
12306
+ }, {
12307
+ "name": "bank_account_info_fra",
12308
+ "plural": "bank_account_info_fras",
12309
+ "fields": [{
12310
+ "name": "swift_code",
12311
+ "type": "string",
12312
+ "required": true,
12313
+ "attributes": [],
12314
+ "annotations": []
12315
+ }, {
12316
+ "name": "iban",
12317
+ "type": "string",
12318
+ "required": true,
12319
+ "attributes": [],
12320
+ "annotations": []
12321
+ }],
12322
+ "attributes": [],
12323
+ "interfaces": ["bank_account_iban"]
12324
+ }, {
12325
+ "name": "bank_account_info_gbr",
12326
+ "plural": "bank_account_info_gbrs",
12327
+ "fields": [{
12328
+ "name": "swift_code",
12329
+ "type": "string",
12330
+ "required": true,
12331
+ "attributes": [],
12332
+ "annotations": []
12333
+ }, {
12334
+ "name": "iban",
12335
+ "type": "string",
12336
+ "required": true,
12337
+ "attributes": [],
12338
+ "annotations": []
12339
+ }],
12340
+ "attributes": [],
12341
+ "interfaces": ["bank_account_iban"]
12342
+ }, {
12343
+ "name": "bank_account_info_ita",
12344
+ "plural": "bank_account_info_itas",
12345
+ "fields": [{
12346
+ "name": "swift_code",
12347
+ "type": "string",
12348
+ "required": true,
12349
+ "attributes": [],
12350
+ "annotations": []
12351
+ }, {
12352
+ "name": "iban",
12353
+ "type": "string",
12354
+ "required": true,
12355
+ "attributes": [],
12356
+ "annotations": []
12357
+ }],
12358
+ "attributes": [],
12359
+ "interfaces": ["bank_account_iban"]
12157
12360
  }, {
12158
12361
  "name": "bank_account_info_usa",
12159
12362
  "plural": "bank_account_info_usas",
@@ -12171,7 +12374,7 @@
12171
12374
  "annotations": []
12172
12375
  }],
12173
12376
  "attributes": [],
12174
- "interfaces": []
12377
+ "interfaces": ["bank_account_simple"]
12175
12378
  }, {
12176
12379
  "name": "bank_account_reference",
12177
12380
  "plural": "bank_account_references",
@@ -16375,6 +16578,36 @@
16375
16578
  }],
16376
16579
  "attributes": [],
16377
16580
  "interfaces": []
16581
+ }, {
16582
+ "name": "company",
16583
+ "plural": "companies",
16584
+ "fields": [{
16585
+ "name": "legal_name",
16586
+ "type": "string",
16587
+ "required": true,
16588
+ "attributes": [],
16589
+ "annotations": []
16590
+ }, {
16591
+ "name": "incorporation_country",
16592
+ "type": "string",
16593
+ "required": true,
16594
+ "attributes": [],
16595
+ "annotations": []
16596
+ }, {
16597
+ "name": "incorporation_jurisdiction",
16598
+ "type": "string",
16599
+ "required": true,
16600
+ "attributes": [],
16601
+ "annotations": []
16602
+ }, {
16603
+ "name": "tax_registration_number",
16604
+ "type": "string",
16605
+ "required": true,
16606
+ "attributes": [],
16607
+ "annotations": []
16608
+ }],
16609
+ "attributes": [],
16610
+ "interfaces": []
16378
16611
  }, {
16379
16612
  "name": "consumer_invoice",
16380
16613
  "plural": "consumer_invoices",
@@ -25207,6 +25440,30 @@
25207
25440
  }],
25208
25441
  "attributes": [],
25209
25442
  "interfaces": []
25443
+ }, {
25444
+ "name": "individual",
25445
+ "plural": "individuals",
25446
+ "fields": [{
25447
+ "name": "legal_name",
25448
+ "type": "string",
25449
+ "required": true,
25450
+ "attributes": [],
25451
+ "annotations": []
25452
+ }, {
25453
+ "name": "tax_registration_number",
25454
+ "type": "string",
25455
+ "required": false,
25456
+ "attributes": [],
25457
+ "annotations": []
25458
+ }, {
25459
+ "name": "date_of_birth",
25460
+ "type": "date-iso8601",
25461
+ "required": true,
25462
+ "attributes": [],
25463
+ "annotations": []
25464
+ }],
25465
+ "attributes": [],
25466
+ "interfaces": []
25210
25467
  }, {
25211
25468
  "name": "inline_authorization_details",
25212
25469
  "plural": "inline_authorization_detailses",
@@ -27274,6 +27531,97 @@
27274
27531
  "attributes": [],
27275
27532
  "interfaces": [],
27276
27533
  "description": "Contains cart related data."
27534
+ }, {
27535
+ "name": "know_your_business_usa",
27536
+ "plural": "know_your_business_usas",
27537
+ "fields": [{
27538
+ "name": "id",
27539
+ "type": "string",
27540
+ "required": true,
27541
+ "attributes": [],
27542
+ "annotations": [],
27543
+ "description": "Globally unique identifier"
27544
+ }, {
27545
+ "name": "primary_entity",
27546
+ "type": "entity",
27547
+ "required": true,
27548
+ "attributes": [],
27549
+ "annotations": []
27550
+ }, {
27551
+ "name": "parent_company",
27552
+ "type": "company",
27553
+ "required": false,
27554
+ "attributes": [],
27555
+ "annotations": []
27556
+ }, {
27557
+ "name": "ultimate_parent_company",
27558
+ "type": "company",
27559
+ "required": false,
27560
+ "attributes": [],
27561
+ "annotations": []
27562
+ }, {
27563
+ "name": "ultimate_beneficiary_owner",
27564
+ "type": "individual",
27565
+ "required": true,
27566
+ "attributes": [],
27567
+ "annotations": []
27568
+ }, {
27569
+ "name": "business_url",
27570
+ "type": "string",
27571
+ "required": true,
27572
+ "attributes": [],
27573
+ "annotations": []
27574
+ }, {
27575
+ "name": "business_address",
27576
+ "type": "address",
27577
+ "required": true,
27578
+ "attributes": [],
27579
+ "annotations": []
27580
+ }],
27581
+ "attributes": [],
27582
+ "interfaces": []
27583
+ }, {
27584
+ "name": "know_your_business_usa_form",
27585
+ "plural": "know_your_business_usa_forms",
27586
+ "fields": [{
27587
+ "name": "primary_entity",
27588
+ "type": "entity",
27589
+ "required": true,
27590
+ "attributes": [],
27591
+ "annotations": []
27592
+ }, {
27593
+ "name": "parent_company",
27594
+ "type": "company",
27595
+ "required": false,
27596
+ "attributes": [],
27597
+ "annotations": []
27598
+ }, {
27599
+ "name": "ultimate_parent_company",
27600
+ "type": "company",
27601
+ "required": false,
27602
+ "attributes": [],
27603
+ "annotations": []
27604
+ }, {
27605
+ "name": "ultimate_beneficiary_owner",
27606
+ "type": "individual",
27607
+ "required": true,
27608
+ "attributes": [],
27609
+ "annotations": []
27610
+ }, {
27611
+ "name": "business_url",
27612
+ "type": "string",
27613
+ "required": true,
27614
+ "attributes": [],
27615
+ "annotations": []
27616
+ }, {
27617
+ "name": "business_address",
27618
+ "type": "address",
27619
+ "required": true,
27620
+ "attributes": [],
27621
+ "annotations": []
27622
+ }],
27623
+ "attributes": [],
27624
+ "interfaces": []
27277
27625
  }, {
27278
27626
  "name": "kube-healthcheck",
27279
27627
  "plural": "kube-healthchecks",
@@ -30220,6 +30568,13 @@
30220
30568
  "name": "onboarding_state_transition",
30221
30569
  "plural": "onboarding_state_transitions",
30222
30570
  "fields": [{
30571
+ "name": "id",
30572
+ "type": "string",
30573
+ "required": true,
30574
+ "attributes": [],
30575
+ "annotations": [],
30576
+ "description": "Globally unique identifier"
30577
+ }, {
30223
30578
  "name": "state",
30224
30579
  "type": "onboarding_state",
30225
30580
  "required": true,
@@ -30756,6 +31111,13 @@
30756
31111
  "attributes": [],
30757
31112
  "annotations": ["personal_data", "consumer"],
30758
31113
  "description": "If present, provides the geo ip related information for this order"
31114
+ }, {
31115
+ "name": "device_details",
31116
+ "type": "device_details",
31117
+ "required": false,
31118
+ "attributes": [],
31119
+ "annotations": ["personal_data", "consumer"],
31120
+ "description": "The technical details of the customer's device."
30759
31121
  }],
30760
31122
  "attributes": [],
30761
31123
  "interfaces": [],
@@ -34474,6 +34836,30 @@
34474
34836
  "required": true,
34475
34837
  "attributes": [],
34476
34838
  "annotations": []
34839
+ }, {
34840
+ "name": "started_at",
34841
+ "type": "date-time-iso8601",
34842
+ "required": false,
34843
+ "attributes": [],
34844
+ "annotations": []
34845
+ }, {
34846
+ "name": "time_blocked",
34847
+ "type": "long",
34848
+ "required": false,
34849
+ "attributes": [],
34850
+ "annotations": []
34851
+ }, {
34852
+ "name": "blocked_since",
34853
+ "type": "date-time-iso8601",
34854
+ "required": false,
34855
+ "attributes": [],
34856
+ "annotations": []
34857
+ }, {
34858
+ "name": "completed_at",
34859
+ "type": "date-time-iso8601",
34860
+ "required": false,
34861
+ "attributes": [],
34862
+ "annotations": []
34477
34863
  }],
34478
34864
  "attributes": [],
34479
34865
  "interfaces": []
@@ -86736,6 +87122,78 @@
86736
87122
  }
86737
87123
  }],
86738
87124
  "path": "/:organization/search/item/query/suggestions"
87125
+ }, {
87126
+ "type": "know_your_business",
87127
+ "plural": "know_your_businesses",
87128
+ "operations": [{
87129
+ "method": "PUT",
87130
+ "path": "/:organization/shopify/merchant/config/know/your/business",
87131
+ "parameters": [{
87132
+ "name": "organization",
87133
+ "type": "string",
87134
+ "location": "Path",
87135
+ "required": true,
87136
+ "description": "Refers to your organization's account identifier"
87137
+ }],
87138
+ "responses": [{
87139
+ "code": {
87140
+ "integer": {
87141
+ "value": 200
87142
+ }
87143
+ },
87144
+ "type": "know_your_business",
87145
+ "description": "Successful response",
87146
+ "attributes": []
87147
+ }, {
87148
+ "code": {
87149
+ "integer": {
87150
+ "value": 201
87151
+ }
87152
+ },
87153
+ "type": "know_your_business",
87154
+ "description": "Operation succeeded and the resource was created",
87155
+ "attributes": []
87156
+ }, {
87157
+ "code": {
87158
+ "integer": {
87159
+ "value": 401
87160
+ }
87161
+ },
87162
+ "type": "unit",
87163
+ "description": "Authorization failed",
87164
+ "attributes": []
87165
+ }, {
87166
+ "code": {
87167
+ "integer": {
87168
+ "value": 404
87169
+ }
87170
+ },
87171
+ "type": "unit",
87172
+ "description": "Resource was not found",
87173
+ "attributes": []
87174
+ }, {
87175
+ "code": {
87176
+ "integer": {
87177
+ "value": 422
87178
+ }
87179
+ },
87180
+ "type": "generic_error",
87181
+ "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.",
87182
+ "attributes": []
87183
+ }],
87184
+ "attributes": [],
87185
+ "body": {
87186
+ "type": "know_your_business_form",
87187
+ "attributes": []
87188
+ }
87189
+ }],
87190
+ "attributes": [{
87191
+ "name": "docs",
87192
+ "value": {
87193
+ "module": "general"
87194
+ }
87195
+ }],
87196
+ "path": "/:organization/shopify/merchant/config/know/your/business"
86739
87197
  }, {
86740
87198
  "type": "kube-healthcheck",
86741
87199
  "plural": "kube-healthchecks",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.50",
3
+ "version": "6.17.51",
4
4
  "description": "A mock data generator based on our API specifications for JavaScript",
5
5
  "keywords": [
6
6
  "flowcommerce",
@@ -28,5 +28,5 @@
28
28
  "apibuilder-js": "0.0.13",
29
29
  "apibuilder-mock-generator": "0.0.13"
30
30
  },
31
- "gitHead": "bc548be3553cff4232e1a8c5d37e7a2baeab2c73"
31
+ "gitHead": "da7211cba1d8423ba244292d986d596a1a431354"
32
32
  }
package/src/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key" : "api"
11
11
  },
12
12
  "namespace" : "io.flow.v0",
13
- "version" : "0.17.27",
13
+ "version" : "0.17.35",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -31,7 +31,7 @@
31
31
  "application" : {
32
32
  "key" : "apple-pay"
33
33
  },
34
- "version" : "0.3.14",
34
+ "version" : "0.3.17",
35
35
  "enums" : [ "apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks" ],
36
36
  "interfaces" : [ ],
37
37
  "unions" : [ ],
@@ -46,7 +46,7 @@
46
46
  "application" : {
47
47
  "key" : "google-pay"
48
48
  },
49
- "version" : "0.3.14",
49
+ "version" : "0.3.17",
50
50
  "enums" : [ "auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status" ],
51
51
  "interfaces" : [ ],
52
52
  "unions" : [ "payment_method_token" ],
@@ -61,7 +61,7 @@
61
61
  "application" : {
62
62
  "key" : "shopify-external"
63
63
  },
64
- "version" : "0.3.14",
64
+ "version" : "0.3.17",
65
65
  "enums" : [ "cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
66
66
  "interfaces" : [ ],
67
67
  "unions" : [ ],
@@ -3669,6 +3669,9 @@
3669
3669
  "values" : [ {
3670
3670
  "name" : "invalid_account_number",
3671
3671
  "attributes" : [ ]
3672
+ }, {
3673
+ "name" : "account_closed",
3674
+ "attributes" : [ ]
3672
3675
  }, {
3673
3676
  "name" : "could_not_process",
3674
3677
  "attributes" : [ ]
@@ -5348,6 +5351,40 @@
5348
5351
  "annotations" : [ ]
5349
5352
  } ],
5350
5353
  "attributes" : [ ]
5354
+ }, {
5355
+ "name" : "bank_account_iban",
5356
+ "plural" : "bank_account_ibans",
5357
+ "fields" : [ {
5358
+ "name" : "swift_code",
5359
+ "type" : "string",
5360
+ "required" : true,
5361
+ "attributes" : [ ],
5362
+ "annotations" : [ ]
5363
+ }, {
5364
+ "name" : "iban",
5365
+ "type" : "string",
5366
+ "required" : true,
5367
+ "attributes" : [ ],
5368
+ "annotations" : [ ]
5369
+ } ],
5370
+ "attributes" : [ ]
5371
+ }, {
5372
+ "name" : "bank_account_simple",
5373
+ "plural" : "bank_account_simples",
5374
+ "fields" : [ {
5375
+ "name" : "routing_number",
5376
+ "type" : "string",
5377
+ "required" : true,
5378
+ "attributes" : [ ],
5379
+ "annotations" : [ ]
5380
+ }, {
5381
+ "name" : "account_number",
5382
+ "type" : "string",
5383
+ "required" : true,
5384
+ "attributes" : [ ],
5385
+ "annotations" : [ ]
5386
+ } ],
5387
+ "attributes" : [ ]
5351
5388
  }, {
5352
5389
  "name" : "common_hop_estimate",
5353
5390
  "plural" : "common_hop_estimates",
@@ -6338,13 +6375,51 @@
6338
6375
  "attributes" : [ ],
6339
6376
  "interfaces" : [ ],
6340
6377
  "discriminator" : "discriminator"
6378
+ }, {
6379
+ "name" : "bank_account_form",
6380
+ "plural" : "bank_account_forms",
6381
+ "types" : [ {
6382
+ "type" : "bank_account_form_info",
6383
+ "attributes" : [ ],
6384
+ "default" : true,
6385
+ "discriminator_value" : "info"
6386
+ }, {
6387
+ "type" : "bank_account_form_simple",
6388
+ "attributes" : [ ],
6389
+ "default" : false,
6390
+ "discriminator_value" : "simple"
6391
+ } ],
6392
+ "attributes" : [ ],
6393
+ "interfaces" : [ ],
6394
+ "discriminator" : "discriminator"
6341
6395
  }, {
6342
6396
  "name" : "bank_account_info",
6343
6397
  "plural" : "bank_account_infoes",
6344
6398
  "types" : [ {
6345
6399
  "type" : "bank_account_info_usa",
6346
6400
  "attributes" : [ ],
6401
+ "default" : false,
6347
6402
  "discriminator_value" : "usa"
6403
+ }, {
6404
+ "type" : "bank_account_info_can",
6405
+ "attributes" : [ ],
6406
+ "default" : false,
6407
+ "discriminator_value" : "can"
6408
+ }, {
6409
+ "type" : "bank_account_info_gbr",
6410
+ "attributes" : [ ],
6411
+ "default" : false,
6412
+ "discriminator_value" : "gbr"
6413
+ }, {
6414
+ "type" : "bank_account_info_fra",
6415
+ "attributes" : [ ],
6416
+ "default" : false,
6417
+ "discriminator_value" : "fra"
6418
+ }, {
6419
+ "type" : "bank_account_info_ita",
6420
+ "attributes" : [ ],
6421
+ "default" : false,
6422
+ "discriminator_value" : "ita"
6348
6423
  } ],
6349
6424
  "attributes" : [ ],
6350
6425
  "interfaces" : [ ],
@@ -6573,6 +6648,21 @@
6573
6648
  "attributes" : [ ],
6574
6649
  "interfaces" : [ ],
6575
6650
  "discriminator" : "discriminator"
6651
+ }, {
6652
+ "name" : "entity",
6653
+ "plural" : "entities",
6654
+ "types" : [ {
6655
+ "type" : "company",
6656
+ "attributes" : [ ],
6657
+ "discriminator_value" : "company"
6658
+ }, {
6659
+ "type" : "individual",
6660
+ "attributes" : [ ],
6661
+ "discriminator_value" : "individual"
6662
+ } ],
6663
+ "attributes" : [ ],
6664
+ "interfaces" : [ ],
6665
+ "discriminator" : "discriminator"
6576
6666
  }, {
6577
6667
  "name" : "event",
6578
6668
  "plural" : "events",
@@ -7705,6 +7795,28 @@
7705
7795
  "interfaces" : [ ],
7706
7796
  "discriminator" : "discriminator",
7707
7797
  "description" : "Types of rules used to apply on inventory to calculate available quantity"
7798
+ }, {
7799
+ "name" : "know_your_business",
7800
+ "plural" : "know_your_businesses",
7801
+ "types" : [ {
7802
+ "type" : "know_your_business_usa",
7803
+ "attributes" : [ ],
7804
+ "discriminator_value" : "know_your_business_usa"
7805
+ } ],
7806
+ "attributes" : [ ],
7807
+ "interfaces" : [ ],
7808
+ "discriminator" : "discriminator"
7809
+ }, {
7810
+ "name" : "know_your_business_form",
7811
+ "plural" : "know_your_business_forms",
7812
+ "types" : [ {
7813
+ "type" : "know_your_business_usa_form",
7814
+ "attributes" : [ ],
7815
+ "discriminator_value" : "know_your_business_usa_form"
7816
+ } ],
7817
+ "attributes" : [ ],
7818
+ "interfaces" : [ ],
7819
+ "discriminator" : "discriminator"
7708
7820
  }, {
7709
7821
  "name" : "localized_price",
7710
7822
  "plural" : "localized_prices",
@@ -12143,8 +12255,8 @@
12143
12255
  "attributes" : [ ],
12144
12256
  "interfaces" : [ ]
12145
12257
  }, {
12146
- "name" : "bank_account_form",
12147
- "plural" : "bank_account_forms",
12258
+ "name" : "bank_account_form_info",
12259
+ "plural" : "bank_account_form_infoes",
12148
12260
  "fields" : [ {
12149
12261
  "name" : "info",
12150
12262
  "type" : "bank_account_info",
@@ -12154,6 +12266,97 @@
12154
12266
  } ],
12155
12267
  "attributes" : [ ],
12156
12268
  "interfaces" : [ ]
12269
+ }, {
12270
+ "name" : "bank_account_form_simple",
12271
+ "plural" : "bank_account_form_simples",
12272
+ "fields" : [ {
12273
+ "name" : "routing_number",
12274
+ "type" : "string",
12275
+ "required" : true,
12276
+ "attributes" : [ ],
12277
+ "annotations" : [ ]
12278
+ }, {
12279
+ "name" : "account_number",
12280
+ "type" : "string",
12281
+ "required" : true,
12282
+ "attributes" : [ ],
12283
+ "annotations" : [ ]
12284
+ } ],
12285
+ "attributes" : [ ],
12286
+ "interfaces" : [ ],
12287
+ "description" : "A form to setup a bank account for any country - we'll automatically identify the country from the routing/account number provided"
12288
+ }, {
12289
+ "name" : "bank_account_info_can",
12290
+ "plural" : "bank_account_info_cans",
12291
+ "fields" : [ {
12292
+ "name" : "routing_number",
12293
+ "type" : "string",
12294
+ "required" : true,
12295
+ "attributes" : [ ],
12296
+ "annotations" : [ ]
12297
+ }, {
12298
+ "name" : "account_number",
12299
+ "type" : "string",
12300
+ "required" : true,
12301
+ "attributes" : [ ],
12302
+ "annotations" : [ ]
12303
+ } ],
12304
+ "attributes" : [ ],
12305
+ "interfaces" : [ "bank_account_simple" ]
12306
+ }, {
12307
+ "name" : "bank_account_info_fra",
12308
+ "plural" : "bank_account_info_fras",
12309
+ "fields" : [ {
12310
+ "name" : "swift_code",
12311
+ "type" : "string",
12312
+ "required" : true,
12313
+ "attributes" : [ ],
12314
+ "annotations" : [ ]
12315
+ }, {
12316
+ "name" : "iban",
12317
+ "type" : "string",
12318
+ "required" : true,
12319
+ "attributes" : [ ],
12320
+ "annotations" : [ ]
12321
+ } ],
12322
+ "attributes" : [ ],
12323
+ "interfaces" : [ "bank_account_iban" ]
12324
+ }, {
12325
+ "name" : "bank_account_info_gbr",
12326
+ "plural" : "bank_account_info_gbrs",
12327
+ "fields" : [ {
12328
+ "name" : "swift_code",
12329
+ "type" : "string",
12330
+ "required" : true,
12331
+ "attributes" : [ ],
12332
+ "annotations" : [ ]
12333
+ }, {
12334
+ "name" : "iban",
12335
+ "type" : "string",
12336
+ "required" : true,
12337
+ "attributes" : [ ],
12338
+ "annotations" : [ ]
12339
+ } ],
12340
+ "attributes" : [ ],
12341
+ "interfaces" : [ "bank_account_iban" ]
12342
+ }, {
12343
+ "name" : "bank_account_info_ita",
12344
+ "plural" : "bank_account_info_itas",
12345
+ "fields" : [ {
12346
+ "name" : "swift_code",
12347
+ "type" : "string",
12348
+ "required" : true,
12349
+ "attributes" : [ ],
12350
+ "annotations" : [ ]
12351
+ }, {
12352
+ "name" : "iban",
12353
+ "type" : "string",
12354
+ "required" : true,
12355
+ "attributes" : [ ],
12356
+ "annotations" : [ ]
12357
+ } ],
12358
+ "attributes" : [ ],
12359
+ "interfaces" : [ "bank_account_iban" ]
12157
12360
  }, {
12158
12361
  "name" : "bank_account_info_usa",
12159
12362
  "plural" : "bank_account_info_usas",
@@ -12171,7 +12374,7 @@
12171
12374
  "annotations" : [ ]
12172
12375
  } ],
12173
12376
  "attributes" : [ ],
12174
- "interfaces" : [ ]
12377
+ "interfaces" : [ "bank_account_simple" ]
12175
12378
  }, {
12176
12379
  "name" : "bank_account_reference",
12177
12380
  "plural" : "bank_account_references",
@@ -16375,6 +16578,36 @@
16375
16578
  } ],
16376
16579
  "attributes" : [ ],
16377
16580
  "interfaces" : [ ]
16581
+ }, {
16582
+ "name" : "company",
16583
+ "plural" : "companies",
16584
+ "fields" : [ {
16585
+ "name" : "legal_name",
16586
+ "type" : "string",
16587
+ "required" : true,
16588
+ "attributes" : [ ],
16589
+ "annotations" : [ ]
16590
+ }, {
16591
+ "name" : "incorporation_country",
16592
+ "type" : "string",
16593
+ "required" : true,
16594
+ "attributes" : [ ],
16595
+ "annotations" : [ ]
16596
+ }, {
16597
+ "name" : "incorporation_jurisdiction",
16598
+ "type" : "string",
16599
+ "required" : true,
16600
+ "attributes" : [ ],
16601
+ "annotations" : [ ]
16602
+ }, {
16603
+ "name" : "tax_registration_number",
16604
+ "type" : "string",
16605
+ "required" : true,
16606
+ "attributes" : [ ],
16607
+ "annotations" : [ ]
16608
+ } ],
16609
+ "attributes" : [ ],
16610
+ "interfaces" : [ ]
16378
16611
  }, {
16379
16612
  "name" : "consumer_invoice",
16380
16613
  "plural" : "consumer_invoices",
@@ -25207,6 +25440,30 @@
25207
25440
  } ],
25208
25441
  "attributes" : [ ],
25209
25442
  "interfaces" : [ ]
25443
+ }, {
25444
+ "name" : "individual",
25445
+ "plural" : "individuals",
25446
+ "fields" : [ {
25447
+ "name" : "legal_name",
25448
+ "type" : "string",
25449
+ "required" : true,
25450
+ "attributes" : [ ],
25451
+ "annotations" : [ ]
25452
+ }, {
25453
+ "name" : "tax_registration_number",
25454
+ "type" : "string",
25455
+ "required" : false,
25456
+ "attributes" : [ ],
25457
+ "annotations" : [ ]
25458
+ }, {
25459
+ "name" : "date_of_birth",
25460
+ "type" : "date-iso8601",
25461
+ "required" : true,
25462
+ "attributes" : [ ],
25463
+ "annotations" : [ ]
25464
+ } ],
25465
+ "attributes" : [ ],
25466
+ "interfaces" : [ ]
25210
25467
  }, {
25211
25468
  "name" : "inline_authorization_details",
25212
25469
  "plural" : "inline_authorization_detailses",
@@ -27274,6 +27531,97 @@
27274
27531
  "attributes" : [ ],
27275
27532
  "interfaces" : [ ],
27276
27533
  "description" : "Contains cart related data."
27534
+ }, {
27535
+ "name" : "know_your_business_usa",
27536
+ "plural" : "know_your_business_usas",
27537
+ "fields" : [ {
27538
+ "name" : "id",
27539
+ "type" : "string",
27540
+ "required" : true,
27541
+ "attributes" : [ ],
27542
+ "annotations" : [ ],
27543
+ "description" : "Globally unique identifier"
27544
+ }, {
27545
+ "name" : "primary_entity",
27546
+ "type" : "entity",
27547
+ "required" : true,
27548
+ "attributes" : [ ],
27549
+ "annotations" : [ ]
27550
+ }, {
27551
+ "name" : "parent_company",
27552
+ "type" : "company",
27553
+ "required" : false,
27554
+ "attributes" : [ ],
27555
+ "annotations" : [ ]
27556
+ }, {
27557
+ "name" : "ultimate_parent_company",
27558
+ "type" : "company",
27559
+ "required" : false,
27560
+ "attributes" : [ ],
27561
+ "annotations" : [ ]
27562
+ }, {
27563
+ "name" : "ultimate_beneficiary_owner",
27564
+ "type" : "individual",
27565
+ "required" : true,
27566
+ "attributes" : [ ],
27567
+ "annotations" : [ ]
27568
+ }, {
27569
+ "name" : "business_url",
27570
+ "type" : "string",
27571
+ "required" : true,
27572
+ "attributes" : [ ],
27573
+ "annotations" : [ ]
27574
+ }, {
27575
+ "name" : "business_address",
27576
+ "type" : "address",
27577
+ "required" : true,
27578
+ "attributes" : [ ],
27579
+ "annotations" : [ ]
27580
+ } ],
27581
+ "attributes" : [ ],
27582
+ "interfaces" : [ ]
27583
+ }, {
27584
+ "name" : "know_your_business_usa_form",
27585
+ "plural" : "know_your_business_usa_forms",
27586
+ "fields" : [ {
27587
+ "name" : "primary_entity",
27588
+ "type" : "entity",
27589
+ "required" : true,
27590
+ "attributes" : [ ],
27591
+ "annotations" : [ ]
27592
+ }, {
27593
+ "name" : "parent_company",
27594
+ "type" : "company",
27595
+ "required" : false,
27596
+ "attributes" : [ ],
27597
+ "annotations" : [ ]
27598
+ }, {
27599
+ "name" : "ultimate_parent_company",
27600
+ "type" : "company",
27601
+ "required" : false,
27602
+ "attributes" : [ ],
27603
+ "annotations" : [ ]
27604
+ }, {
27605
+ "name" : "ultimate_beneficiary_owner",
27606
+ "type" : "individual",
27607
+ "required" : true,
27608
+ "attributes" : [ ],
27609
+ "annotations" : [ ]
27610
+ }, {
27611
+ "name" : "business_url",
27612
+ "type" : "string",
27613
+ "required" : true,
27614
+ "attributes" : [ ],
27615
+ "annotations" : [ ]
27616
+ }, {
27617
+ "name" : "business_address",
27618
+ "type" : "address",
27619
+ "required" : true,
27620
+ "attributes" : [ ],
27621
+ "annotations" : [ ]
27622
+ } ],
27623
+ "attributes" : [ ],
27624
+ "interfaces" : [ ]
27277
27625
  }, {
27278
27626
  "name" : "kube-healthcheck",
27279
27627
  "plural" : "kube-healthchecks",
@@ -30220,6 +30568,13 @@
30220
30568
  "name" : "onboarding_state_transition",
30221
30569
  "plural" : "onboarding_state_transitions",
30222
30570
  "fields" : [ {
30571
+ "name" : "id",
30572
+ "type" : "string",
30573
+ "required" : true,
30574
+ "attributes" : [ ],
30575
+ "annotations" : [ ],
30576
+ "description" : "Globally unique identifier"
30577
+ }, {
30223
30578
  "name" : "state",
30224
30579
  "type" : "onboarding_state",
30225
30580
  "required" : true,
@@ -30756,6 +31111,13 @@
30756
31111
  "attributes" : [ ],
30757
31112
  "annotations" : [ "personal_data", "consumer" ],
30758
31113
  "description" : "If present, provides the geo ip related information for this order"
31114
+ }, {
31115
+ "name" : "device_details",
31116
+ "type" : "device_details",
31117
+ "required" : false,
31118
+ "attributes" : [ ],
31119
+ "annotations" : [ "personal_data", "consumer" ],
31120
+ "description" : "The technical details of the customer's device."
30759
31121
  } ],
30760
31122
  "attributes" : [ ],
30761
31123
  "interfaces" : [ ],
@@ -34474,6 +34836,30 @@
34474
34836
  "required" : true,
34475
34837
  "attributes" : [ ],
34476
34838
  "annotations" : [ ]
34839
+ }, {
34840
+ "name" : "started_at",
34841
+ "type" : "date-time-iso8601",
34842
+ "required" : false,
34843
+ "attributes" : [ ],
34844
+ "annotations" : [ ]
34845
+ }, {
34846
+ "name" : "time_blocked",
34847
+ "type" : "long",
34848
+ "required" : false,
34849
+ "attributes" : [ ],
34850
+ "annotations" : [ ]
34851
+ }, {
34852
+ "name" : "blocked_since",
34853
+ "type" : "date-time-iso8601",
34854
+ "required" : false,
34855
+ "attributes" : [ ],
34856
+ "annotations" : [ ]
34857
+ }, {
34858
+ "name" : "completed_at",
34859
+ "type" : "date-time-iso8601",
34860
+ "required" : false,
34861
+ "attributes" : [ ],
34862
+ "annotations" : [ ]
34477
34863
  } ],
34478
34864
  "attributes" : [ ],
34479
34865
  "interfaces" : [ ]
@@ -86736,6 +87122,78 @@
86736
87122
  }
86737
87123
  } ],
86738
87124
  "path" : "/:organization/search/item/query/suggestions"
87125
+ }, {
87126
+ "type" : "know_your_business",
87127
+ "plural" : "know_your_businesses",
87128
+ "operations" : [ {
87129
+ "method" : "PUT",
87130
+ "path" : "/:organization/shopify/merchant/config/know/your/business",
87131
+ "parameters" : [ {
87132
+ "name" : "organization",
87133
+ "type" : "string",
87134
+ "location" : "Path",
87135
+ "required" : true,
87136
+ "description" : "Refers to your organization's account identifier"
87137
+ } ],
87138
+ "responses" : [ {
87139
+ "code" : {
87140
+ "integer" : {
87141
+ "value" : 200
87142
+ }
87143
+ },
87144
+ "type" : "know_your_business",
87145
+ "description" : "Successful response",
87146
+ "attributes" : [ ]
87147
+ }, {
87148
+ "code" : {
87149
+ "integer" : {
87150
+ "value" : 201
87151
+ }
87152
+ },
87153
+ "type" : "know_your_business",
87154
+ "description" : "Operation succeeded and the resource was created",
87155
+ "attributes" : [ ]
87156
+ }, {
87157
+ "code" : {
87158
+ "integer" : {
87159
+ "value" : 401
87160
+ }
87161
+ },
87162
+ "type" : "unit",
87163
+ "description" : "Authorization failed",
87164
+ "attributes" : [ ]
87165
+ }, {
87166
+ "code" : {
87167
+ "integer" : {
87168
+ "value" : 404
87169
+ }
87170
+ },
87171
+ "type" : "unit",
87172
+ "description" : "Resource was not found",
87173
+ "attributes" : [ ]
87174
+ }, {
87175
+ "code" : {
87176
+ "integer" : {
87177
+ "value" : 422
87178
+ }
87179
+ },
87180
+ "type" : "generic_error",
87181
+ "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.",
87182
+ "attributes" : [ ]
87183
+ } ],
87184
+ "attributes" : [ ],
87185
+ "body" : {
87186
+ "type" : "know_your_business_form",
87187
+ "attributes" : [ ]
87188
+ }
87189
+ } ],
87190
+ "attributes" : [ {
87191
+ "name" : "docs",
87192
+ "value" : {
87193
+ "module" : "general"
87194
+ }
87195
+ } ],
87196
+ "path" : "/:organization/shopify/merchant/config/know/your/business"
86739
87197
  }, {
86740
87198
  "type" : "kube-healthcheck",
86741
87199
  "plural" : "kube-healthchecks",