@flowio/api-internal-mock-generator 0.0.6 → 0.0.8
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/api-internal.json +264 -159
- package/package.json +2 -8
- package/src/api-internal.json +264 -159
- package/LICENSE +0 -21
package/dist/api-internal.json
CHANGED
|
@@ -699,6 +699,20 @@
|
|
|
699
699
|
"unions": [],
|
|
700
700
|
"models": ["account", "account_request", "address", "card", "card_request", "charge", "charge_destination", "charge_request", "code_verification", "customer", "customer_request", "error", "keys", "legal_entity", "metadata", "order", "order_item", "order_item_request", "order_request", "owner", "payment_outcome", "receiver", "redirect", "refund", "refund_request", "refunds", "shipping", "source", "source_card", "source_card_request", "source_klarna", "source_klarna_request", "source_request", "stripe_error", "stripe_event", "stripe_event_data", "stripe_event_request", "three_d_secure", "token", "tos_acceptance"],
|
|
701
701
|
"annotations": []
|
|
702
|
+
}, {
|
|
703
|
+
"uri": "https://app.apibuilder.io/flow/svb/latest/service.json",
|
|
704
|
+
"namespace": "io.flow.svb.v0",
|
|
705
|
+
"organization": {
|
|
706
|
+
"key": "flow"
|
|
707
|
+
},
|
|
708
|
+
"application": {
|
|
709
|
+
"key": "svb"
|
|
710
|
+
},
|
|
711
|
+
"version": "0.2.7",
|
|
712
|
+
"enums": ["clearing_type", "transaction_type"],
|
|
713
|
+
"unions": [],
|
|
714
|
+
"models": ["authorization", "clearing", "create_body", "create_virtual_card", "email", "email_body", "email_response", "list_data", "list_links", "list_response", "mastercard_data", "svb_notification", "update_body", "update_virtual_card", "virtual_card", "virtual_card_response"],
|
|
715
|
+
"annotations": []
|
|
702
716
|
}, {
|
|
703
717
|
"uri": "https://app.apibuilder.io/flow/error/latest/service.json",
|
|
704
718
|
"namespace": "io.flow.error.v0",
|
|
@@ -6575,6 +6589,23 @@
|
|
|
6575
6589
|
"annotations": []
|
|
6576
6590
|
}],
|
|
6577
6591
|
"attributes": []
|
|
6592
|
+
}, {
|
|
6593
|
+
"name": "alert_error_summary",
|
|
6594
|
+
"plural": "alert_error_summaries",
|
|
6595
|
+
"fields": [{
|
|
6596
|
+
"name": "event_id",
|
|
6597
|
+
"type": "long",
|
|
6598
|
+
"required": true,
|
|
6599
|
+
"attributes": [],
|
|
6600
|
+
"annotations": []
|
|
6601
|
+
}, {
|
|
6602
|
+
"name": "error",
|
|
6603
|
+
"type": "string",
|
|
6604
|
+
"required": true,
|
|
6605
|
+
"attributes": [],
|
|
6606
|
+
"annotations": []
|
|
6607
|
+
}],
|
|
6608
|
+
"attributes": []
|
|
6578
6609
|
}, {
|
|
6579
6610
|
"name": "alert_failure_summary",
|
|
6580
6611
|
"plural": "alert_failure_summaries",
|
|
@@ -6609,7 +6640,7 @@
|
|
|
6609
6640
|
"annotations": []
|
|
6610
6641
|
}, {
|
|
6611
6642
|
"name": "errors",
|
|
6612
|
-
"type": "[
|
|
6643
|
+
"type": "[alert_error_summary]",
|
|
6613
6644
|
"required": true,
|
|
6614
6645
|
"attributes": [],
|
|
6615
6646
|
"annotations": []
|
|
@@ -8491,12 +8522,6 @@
|
|
|
8491
8522
|
"attributes": [],
|
|
8492
8523
|
"annotations": [],
|
|
8493
8524
|
"description": "Client's unique identifier for this object"
|
|
8494
|
-
}, {
|
|
8495
|
-
"name": "product_id",
|
|
8496
|
-
"type": "string",
|
|
8497
|
-
"required": false,
|
|
8498
|
-
"attributes": [],
|
|
8499
|
-
"annotations": []
|
|
8500
8525
|
}, {
|
|
8501
8526
|
"name": "name",
|
|
8502
8527
|
"type": "string",
|
|
@@ -8522,6 +8547,37 @@
|
|
|
8522
8547
|
"attributes": [],
|
|
8523
8548
|
"annotations": [],
|
|
8524
8549
|
"default": "[]"
|
|
8550
|
+
}],
|
|
8551
|
+
"attributes": [],
|
|
8552
|
+
"description": "An item of a product needing classification"
|
|
8553
|
+
}, {
|
|
8554
|
+
"name": "classification_product",
|
|
8555
|
+
"plural": "classification_products",
|
|
8556
|
+
"fields": [{
|
|
8557
|
+
"name": "organization_id",
|
|
8558
|
+
"type": "string",
|
|
8559
|
+
"required": true,
|
|
8560
|
+
"attributes": [],
|
|
8561
|
+
"annotations": []
|
|
8562
|
+
}, {
|
|
8563
|
+
"name": "product_id",
|
|
8564
|
+
"type": "string",
|
|
8565
|
+
"required": false,
|
|
8566
|
+
"attributes": [],
|
|
8567
|
+
"annotations": []
|
|
8568
|
+
}, {
|
|
8569
|
+
"name": "description",
|
|
8570
|
+
"type": "string",
|
|
8571
|
+
"required": true,
|
|
8572
|
+
"attributes": [],
|
|
8573
|
+
"annotations": []
|
|
8574
|
+
}, {
|
|
8575
|
+
"name": "items",
|
|
8576
|
+
"type": "[classification_item]",
|
|
8577
|
+
"required": true,
|
|
8578
|
+
"attributes": [],
|
|
8579
|
+
"annotations": [],
|
|
8580
|
+
"default": "[]"
|
|
8525
8581
|
}, {
|
|
8526
8582
|
"name": "images",
|
|
8527
8583
|
"type": "[string]",
|
|
@@ -8545,48 +8601,39 @@
|
|
|
8545
8601
|
"default": "{}"
|
|
8546
8602
|
}, {
|
|
8547
8603
|
"name": "next_id",
|
|
8548
|
-
"type": "
|
|
8604
|
+
"type": "classification_product_id",
|
|
8549
8605
|
"required": false,
|
|
8550
8606
|
"attributes": [],
|
|
8551
8607
|
"annotations": []
|
|
8552
8608
|
}],
|
|
8553
8609
|
"attributes": [],
|
|
8554
|
-
"description": "
|
|
8610
|
+
"description": "Product needing classification"
|
|
8555
8611
|
}, {
|
|
8556
|
-
"name": "
|
|
8557
|
-
"plural": "
|
|
8612
|
+
"name": "classification_product_id",
|
|
8613
|
+
"plural": "classification_product_ids",
|
|
8558
8614
|
"fields": [{
|
|
8559
|
-
"name": "id",
|
|
8560
|
-
"type": "string",
|
|
8561
|
-
"required": true,
|
|
8562
|
-
"attributes": [],
|
|
8563
|
-
"annotations": [],
|
|
8564
|
-
"description": "Globally unique identifier"
|
|
8565
|
-
}, {
|
|
8566
8615
|
"name": "organization_id",
|
|
8567
8616
|
"type": "string",
|
|
8568
8617
|
"required": true,
|
|
8569
8618
|
"attributes": [],
|
|
8570
8619
|
"annotations": []
|
|
8571
8620
|
}, {
|
|
8572
|
-
"name": "
|
|
8621
|
+
"name": "product_id",
|
|
8573
8622
|
"type": "string",
|
|
8574
8623
|
"required": true,
|
|
8575
8624
|
"attributes": [],
|
|
8576
|
-
"annotations": []
|
|
8577
|
-
"description": "Client's unique identifier for this object"
|
|
8625
|
+
"annotations": []
|
|
8578
8626
|
}],
|
|
8579
8627
|
"attributes": []
|
|
8580
8628
|
}, {
|
|
8581
|
-
"name": "
|
|
8582
|
-
"plural": "
|
|
8629
|
+
"name": "classification_product_summary",
|
|
8630
|
+
"plural": "classification_product_summaries",
|
|
8583
8631
|
"fields": [{
|
|
8584
|
-
"name": "
|
|
8632
|
+
"name": "product_id",
|
|
8585
8633
|
"type": "string",
|
|
8586
8634
|
"required": true,
|
|
8587
8635
|
"attributes": [],
|
|
8588
|
-
"annotations": []
|
|
8589
|
-
"description": "Globally unique identifier"
|
|
8636
|
+
"annotations": []
|
|
8590
8637
|
}, {
|
|
8591
8638
|
"name": "organization_id",
|
|
8592
8639
|
"type": "string",
|
|
@@ -8594,14 +8641,7 @@
|
|
|
8594
8641
|
"attributes": [],
|
|
8595
8642
|
"annotations": []
|
|
8596
8643
|
}, {
|
|
8597
|
-
"name": "
|
|
8598
|
-
"type": "string",
|
|
8599
|
-
"required": true,
|
|
8600
|
-
"attributes": [],
|
|
8601
|
-
"annotations": [],
|
|
8602
|
-
"description": "Client's unique identifier for this object"
|
|
8603
|
-
}, {
|
|
8604
|
-
"name": "name",
|
|
8644
|
+
"name": "description",
|
|
8605
8645
|
"type": "string",
|
|
8606
8646
|
"required": true,
|
|
8607
8647
|
"attributes": [],
|
|
@@ -8620,13 +8660,13 @@
|
|
|
8620
8660
|
"annotations": []
|
|
8621
8661
|
}],
|
|
8622
8662
|
"attributes": [],
|
|
8623
|
-
"description": "
|
|
8663
|
+
"description": "A summary for a product that needs classification"
|
|
8624
8664
|
}, {
|
|
8625
|
-
"name": "
|
|
8626
|
-
"plural": "
|
|
8665
|
+
"name": "classification_product_summary_page",
|
|
8666
|
+
"plural": "classification_product_summary_pages",
|
|
8627
8667
|
"fields": [{
|
|
8628
8668
|
"name": "page",
|
|
8629
|
-
"type": "[
|
|
8669
|
+
"type": "[classification_product_summary]",
|
|
8630
8670
|
"required": true,
|
|
8631
8671
|
"attributes": [],
|
|
8632
8672
|
"annotations": []
|
|
@@ -8638,48 +8678,22 @@
|
|
|
8638
8678
|
"annotations": []
|
|
8639
8679
|
}],
|
|
8640
8680
|
"attributes": [],
|
|
8641
|
-
"description": "A paginated list of
|
|
8681
|
+
"description": "A paginated list of products that need classification"
|
|
8642
8682
|
}, {
|
|
8643
|
-
"name": "
|
|
8644
|
-
"plural": "
|
|
8683
|
+
"name": "classified_product",
|
|
8684
|
+
"plural": "classified_products",
|
|
8645
8685
|
"fields": [{
|
|
8646
|
-
"name": "
|
|
8647
|
-
"type": "string",
|
|
8648
|
-
"required": true,
|
|
8649
|
-
"attributes": [],
|
|
8650
|
-
"annotations": [],
|
|
8651
|
-
"description": "Globally unique identifier"
|
|
8652
|
-
}, {
|
|
8653
|
-
"name": "organization_id",
|
|
8654
|
-
"type": "string",
|
|
8655
|
-
"required": true,
|
|
8656
|
-
"attributes": [],
|
|
8657
|
-
"annotations": []
|
|
8658
|
-
}, {
|
|
8659
|
-
"name": "number",
|
|
8660
|
-
"type": "string",
|
|
8661
|
-
"required": true,
|
|
8662
|
-
"attributes": [],
|
|
8663
|
-
"annotations": [],
|
|
8664
|
-
"description": "Client's unique identifier for this object"
|
|
8665
|
-
}, {
|
|
8666
|
-
"name": "name",
|
|
8686
|
+
"name": "product_id",
|
|
8667
8687
|
"type": "string",
|
|
8668
8688
|
"required": true,
|
|
8669
8689
|
"attributes": [],
|
|
8670
8690
|
"annotations": []
|
|
8671
8691
|
}, {
|
|
8672
|
-
"name": "
|
|
8692
|
+
"name": "organization_id",
|
|
8673
8693
|
"type": "string",
|
|
8674
8694
|
"required": true,
|
|
8675
8695
|
"attributes": [],
|
|
8676
8696
|
"annotations": []
|
|
8677
|
-
}, {
|
|
8678
|
-
"name": "status",
|
|
8679
|
-
"type": "item_classification_status",
|
|
8680
|
-
"required": true,
|
|
8681
|
-
"attributes": [],
|
|
8682
|
-
"annotations": []
|
|
8683
8697
|
}, {
|
|
8684
8698
|
"name": "classification",
|
|
8685
8699
|
"type": "string",
|
|
@@ -8692,27 +8706,6 @@
|
|
|
8692
8706
|
"required": true,
|
|
8693
8707
|
"attributes": [],
|
|
8694
8708
|
"annotations": []
|
|
8695
|
-
}, {
|
|
8696
|
-
"name": "images",
|
|
8697
|
-
"type": "[string]",
|
|
8698
|
-
"required": true,
|
|
8699
|
-
"attributes": [],
|
|
8700
|
-
"annotations": [],
|
|
8701
|
-
"default": "[]"
|
|
8702
|
-
}, {
|
|
8703
|
-
"name": "categories",
|
|
8704
|
-
"type": "[string]",
|
|
8705
|
-
"required": true,
|
|
8706
|
-
"attributes": [],
|
|
8707
|
-
"annotations": [],
|
|
8708
|
-
"default": "[]"
|
|
8709
|
-
}, {
|
|
8710
|
-
"name": "attributes",
|
|
8711
|
-
"type": "map[string]",
|
|
8712
|
-
"required": true,
|
|
8713
|
-
"attributes": [],
|
|
8714
|
-
"annotations": [],
|
|
8715
|
-
"default": "{}"
|
|
8716
8709
|
}],
|
|
8717
8710
|
"attributes": []
|
|
8718
8711
|
}, {
|
|
@@ -13622,55 +13615,6 @@
|
|
|
13622
13615
|
"annotations": []
|
|
13623
13616
|
}],
|
|
13624
13617
|
"attributes": []
|
|
13625
|
-
}, {
|
|
13626
|
-
"name": "item_classification_form",
|
|
13627
|
-
"plural": "item_classification_forms",
|
|
13628
|
-
"fields": [{
|
|
13629
|
-
"name": "organization_id",
|
|
13630
|
-
"type": "string",
|
|
13631
|
-
"required": true,
|
|
13632
|
-
"attributes": [],
|
|
13633
|
-
"annotations": []
|
|
13634
|
-
}, {
|
|
13635
|
-
"name": "number",
|
|
13636
|
-
"type": "string",
|
|
13637
|
-
"required": true,
|
|
13638
|
-
"attributes": [],
|
|
13639
|
-
"annotations": [],
|
|
13640
|
-
"description": "Client's unique identifier for this object"
|
|
13641
|
-
}, {
|
|
13642
|
-
"name": "classification_model_id",
|
|
13643
|
-
"type": "string",
|
|
13644
|
-
"required": true,
|
|
13645
|
-
"attributes": [],
|
|
13646
|
-
"annotations": []
|
|
13647
|
-
}, {
|
|
13648
|
-
"name": "classification",
|
|
13649
|
-
"type": "string",
|
|
13650
|
-
"required": true,
|
|
13651
|
-
"attributes": [],
|
|
13652
|
-
"annotations": []
|
|
13653
|
-
}],
|
|
13654
|
-
"attributes": [],
|
|
13655
|
-
"description": "A classification judgement for an item"
|
|
13656
|
-
}, {
|
|
13657
|
-
"name": "item_classification_result",
|
|
13658
|
-
"plural": "item_classification_results",
|
|
13659
|
-
"fields": [{
|
|
13660
|
-
"name": "classified_item",
|
|
13661
|
-
"type": "classified_item",
|
|
13662
|
-
"required": true,
|
|
13663
|
-
"attributes": [],
|
|
13664
|
-
"annotations": []
|
|
13665
|
-
}, {
|
|
13666
|
-
"name": "next_item",
|
|
13667
|
-
"type": "classification_item_id",
|
|
13668
|
-
"required": true,
|
|
13669
|
-
"attributes": [],
|
|
13670
|
-
"annotations": []
|
|
13671
|
-
}],
|
|
13672
|
-
"attributes": [],
|
|
13673
|
-
"description": "A classified item result, including the next item to be classified"
|
|
13674
13618
|
}, {
|
|
13675
13619
|
"name": "item_dimension_estimate_deleted",
|
|
13676
13620
|
"plural": "item_dimension_estimate_deleteds",
|
|
@@ -19242,6 +19186,54 @@
|
|
|
19242
19186
|
}],
|
|
19243
19187
|
"attributes": [],
|
|
19244
19188
|
"description": "A processing transaction represents a transaction related to payment activity - e.g. a payment capture, refund or adjustment"
|
|
19189
|
+
}, {
|
|
19190
|
+
"name": "product_classification_form",
|
|
19191
|
+
"plural": "product_classification_forms",
|
|
19192
|
+
"fields": [{
|
|
19193
|
+
"name": "organization_id",
|
|
19194
|
+
"type": "string",
|
|
19195
|
+
"required": true,
|
|
19196
|
+
"attributes": [],
|
|
19197
|
+
"annotations": []
|
|
19198
|
+
}, {
|
|
19199
|
+
"name": "product_id",
|
|
19200
|
+
"type": "string",
|
|
19201
|
+
"required": true,
|
|
19202
|
+
"attributes": [],
|
|
19203
|
+
"annotations": []
|
|
19204
|
+
}, {
|
|
19205
|
+
"name": "classification_model_id",
|
|
19206
|
+
"type": "string",
|
|
19207
|
+
"required": true,
|
|
19208
|
+
"attributes": [],
|
|
19209
|
+
"annotations": []
|
|
19210
|
+
}, {
|
|
19211
|
+
"name": "classification",
|
|
19212
|
+
"type": "string",
|
|
19213
|
+
"required": true,
|
|
19214
|
+
"attributes": [],
|
|
19215
|
+
"annotations": []
|
|
19216
|
+
}],
|
|
19217
|
+
"attributes": [],
|
|
19218
|
+
"description": "A classification judgement for a product"
|
|
19219
|
+
}, {
|
|
19220
|
+
"name": "product_classification_result",
|
|
19221
|
+
"plural": "product_classification_results",
|
|
19222
|
+
"fields": [{
|
|
19223
|
+
"name": "classified_product",
|
|
19224
|
+
"type": "classified_product",
|
|
19225
|
+
"required": true,
|
|
19226
|
+
"attributes": [],
|
|
19227
|
+
"annotations": []
|
|
19228
|
+
}, {
|
|
19229
|
+
"name": "next_product",
|
|
19230
|
+
"type": "classification_product_id",
|
|
19231
|
+
"required": true,
|
|
19232
|
+
"attributes": [],
|
|
19233
|
+
"annotations": []
|
|
19234
|
+
}],
|
|
19235
|
+
"attributes": [],
|
|
19236
|
+
"description": "A classified product result, including the next product to be classified"
|
|
19245
19237
|
}, {
|
|
19246
19238
|
"name": "product_detail_hint_form",
|
|
19247
19239
|
"plural": "product_detail_hint_forms",
|
|
@@ -25523,6 +25515,69 @@
|
|
|
25523
25515
|
}
|
|
25524
25516
|
}],
|
|
25525
25517
|
"description": "Returns the most recent 100 error summaries for a service's failed events"
|
|
25518
|
+
}, {
|
|
25519
|
+
"method": "DELETE",
|
|
25520
|
+
"path": "/internal/stats/events/failures/summaries/:db/:queue/:id",
|
|
25521
|
+
"parameters": [{
|
|
25522
|
+
"name": "db",
|
|
25523
|
+
"type": "string",
|
|
25524
|
+
"location": "Path",
|
|
25525
|
+
"required": true
|
|
25526
|
+
}, {
|
|
25527
|
+
"name": "queue",
|
|
25528
|
+
"type": "string",
|
|
25529
|
+
"location": "Path",
|
|
25530
|
+
"required": true
|
|
25531
|
+
}, {
|
|
25532
|
+
"name": "id",
|
|
25533
|
+
"type": "string",
|
|
25534
|
+
"location": "Path",
|
|
25535
|
+
"required": true,
|
|
25536
|
+
"description": "Filter by one or more IDs of this resource"
|
|
25537
|
+
}],
|
|
25538
|
+
"responses": [{
|
|
25539
|
+
"code": {
|
|
25540
|
+
"integer": {
|
|
25541
|
+
"value": 204
|
|
25542
|
+
}
|
|
25543
|
+
},
|
|
25544
|
+
"type": "unit",
|
|
25545
|
+
"description": "Operation succeeded. No content is returned",
|
|
25546
|
+
"attributes": []
|
|
25547
|
+
}, {
|
|
25548
|
+
"code": {
|
|
25549
|
+
"integer": {
|
|
25550
|
+
"value": 401
|
|
25551
|
+
}
|
|
25552
|
+
},
|
|
25553
|
+
"type": "unit",
|
|
25554
|
+
"description": "Authorization failed",
|
|
25555
|
+
"attributes": []
|
|
25556
|
+
}, {
|
|
25557
|
+
"code": {
|
|
25558
|
+
"integer": {
|
|
25559
|
+
"value": 403
|
|
25560
|
+
}
|
|
25561
|
+
},
|
|
25562
|
+
"type": "io.flow.permission.v0.models.permission_error",
|
|
25563
|
+
"attributes": []
|
|
25564
|
+
}, {
|
|
25565
|
+
"code": {
|
|
25566
|
+
"integer": {
|
|
25567
|
+
"value": 404
|
|
25568
|
+
}
|
|
25569
|
+
},
|
|
25570
|
+
"type": "unit",
|
|
25571
|
+
"description": "Resource was not found",
|
|
25572
|
+
"attributes": []
|
|
25573
|
+
}],
|
|
25574
|
+
"attributes": [{
|
|
25575
|
+
"name": "auth",
|
|
25576
|
+
"value": {
|
|
25577
|
+
"techniques": ["user", "token"],
|
|
25578
|
+
"roles": ["flow_operations"]
|
|
25579
|
+
}
|
|
25580
|
+
}]
|
|
25526
25581
|
}],
|
|
25527
25582
|
"attributes": [{
|
|
25528
25583
|
"name": "docs",
|
|
@@ -27474,11 +27529,11 @@
|
|
|
27474
27529
|
"path": "/:organization/harmonization/product/classification/default",
|
|
27475
27530
|
"description": "A default set of product features for an organization."
|
|
27476
27531
|
}, {
|
|
27477
|
-
"type": "
|
|
27478
|
-
"plural": "
|
|
27532
|
+
"type": "classification_product",
|
|
27533
|
+
"plural": "classification_products",
|
|
27479
27534
|
"operations": [{
|
|
27480
27535
|
"method": "GET",
|
|
27481
|
-
"path": "/:organization/classification/
|
|
27536
|
+
"path": "/:organization/classification/product/:id",
|
|
27482
27537
|
"parameters": [{
|
|
27483
27538
|
"name": "organization",
|
|
27484
27539
|
"type": "string",
|
|
@@ -27486,10 +27541,11 @@
|
|
|
27486
27541
|
"required": true,
|
|
27487
27542
|
"description": "Refers to your organization's account identifier"
|
|
27488
27543
|
}, {
|
|
27489
|
-
"name": "
|
|
27544
|
+
"name": "id",
|
|
27490
27545
|
"type": "string",
|
|
27491
27546
|
"location": "Path",
|
|
27492
|
-
"required": true
|
|
27547
|
+
"required": true,
|
|
27548
|
+
"description": "Filter by one or more IDs of this resource"
|
|
27493
27549
|
}],
|
|
27494
27550
|
"responses": [{
|
|
27495
27551
|
"code": {
|
|
@@ -27497,7 +27553,7 @@
|
|
|
27497
27553
|
"value": 200
|
|
27498
27554
|
}
|
|
27499
27555
|
},
|
|
27500
|
-
"type": "
|
|
27556
|
+
"type": "classification_product",
|
|
27501
27557
|
"description": "Successful response",
|
|
27502
27558
|
"attributes": []
|
|
27503
27559
|
}, {
|
|
@@ -27527,7 +27583,7 @@
|
|
|
27527
27583
|
}]
|
|
27528
27584
|
}, {
|
|
27529
27585
|
"method": "PUT",
|
|
27530
|
-
"path": "/:organization/classification/
|
|
27586
|
+
"path": "/:organization/classification/product/:id",
|
|
27531
27587
|
"parameters": [{
|
|
27532
27588
|
"name": "organization",
|
|
27533
27589
|
"type": "string",
|
|
@@ -27535,10 +27591,11 @@
|
|
|
27535
27591
|
"required": true,
|
|
27536
27592
|
"description": "Refers to your organization's account identifier"
|
|
27537
27593
|
}, {
|
|
27538
|
-
"name": "
|
|
27594
|
+
"name": "id",
|
|
27539
27595
|
"type": "string",
|
|
27540
27596
|
"location": "Path",
|
|
27541
|
-
"required": true
|
|
27597
|
+
"required": true,
|
|
27598
|
+
"description": "Filter by one or more IDs of this resource"
|
|
27542
27599
|
}],
|
|
27543
27600
|
"responses": [{
|
|
27544
27601
|
"code": {
|
|
@@ -27546,7 +27603,7 @@
|
|
|
27546
27603
|
"value": 200
|
|
27547
27604
|
}
|
|
27548
27605
|
},
|
|
27549
|
-
"type": "
|
|
27606
|
+
"type": "product_classification_result",
|
|
27550
27607
|
"description": "Successful response",
|
|
27551
27608
|
"attributes": []
|
|
27552
27609
|
}, {
|
|
@@ -27577,9 +27634,9 @@
|
|
|
27577
27634
|
"attributes": []
|
|
27578
27635
|
}],
|
|
27579
27636
|
"attributes": [],
|
|
27580
|
-
"description": "Set a classification for an
|
|
27637
|
+
"description": "Set a classification for an product. Will update any existing classifications.",
|
|
27581
27638
|
"body": {
|
|
27582
|
-
"type": "
|
|
27639
|
+
"type": "product_classification_form",
|
|
27583
27640
|
"attributes": []
|
|
27584
27641
|
}
|
|
27585
27642
|
}],
|
|
@@ -27589,14 +27646,14 @@
|
|
|
27589
27646
|
"module": "general"
|
|
27590
27647
|
}
|
|
27591
27648
|
}],
|
|
27592
|
-
"path": "/:organization/classification/
|
|
27593
|
-
"description": "Returns
|
|
27649
|
+
"path": "/:organization/classification/product/:id",
|
|
27650
|
+
"description": "Returns a product for classification."
|
|
27594
27651
|
}, {
|
|
27595
|
-
"type": "
|
|
27596
|
-
"plural": "
|
|
27652
|
+
"type": "classification_product_summary_page",
|
|
27653
|
+
"plural": "classification_product_summary_pages",
|
|
27597
27654
|
"operations": [{
|
|
27598
27655
|
"method": "GET",
|
|
27599
|
-
"path": "/classification/
|
|
27656
|
+
"path": "/classification/products",
|
|
27600
27657
|
"parameters": [{
|
|
27601
27658
|
"name": "organization",
|
|
27602
27659
|
"type": "string",
|
|
@@ -27620,7 +27677,7 @@
|
|
|
27620
27677
|
"value": 200
|
|
27621
27678
|
}
|
|
27622
27679
|
},
|
|
27623
|
-
"type": "
|
|
27680
|
+
"type": "classification_product_summary_page",
|
|
27624
27681
|
"description": "Successful response",
|
|
27625
27682
|
"attributes": []
|
|
27626
27683
|
}, {
|
|
@@ -27655,8 +27712,8 @@
|
|
|
27655
27712
|
"module": "general"
|
|
27656
27713
|
}
|
|
27657
27714
|
}],
|
|
27658
|
-
"path": "/classification/
|
|
27659
|
-
"description": "Returns a list of
|
|
27715
|
+
"path": "/classification/products",
|
|
27716
|
+
"description": "Returns a list of products for classification."
|
|
27660
27717
|
}, {
|
|
27661
27718
|
"type": "complete_price_rule",
|
|
27662
27719
|
"plural": "complete_price_rules",
|
|
@@ -35858,6 +35915,54 @@
|
|
|
35858
35915
|
}
|
|
35859
35916
|
}],
|
|
35860
35917
|
"path": "/payment/callbacks"
|
|
35918
|
+
}, {
|
|
35919
|
+
"type": "io.flow.svb.v0.models.svb_notification",
|
|
35920
|
+
"plural": "svb_notifications",
|
|
35921
|
+
"operations": [{
|
|
35922
|
+
"method": "POST",
|
|
35923
|
+
"path": "/payment/callbacks/svb",
|
|
35924
|
+
"parameters": [],
|
|
35925
|
+
"responses": [{
|
|
35926
|
+
"code": {
|
|
35927
|
+
"integer": {
|
|
35928
|
+
"value": 200
|
|
35929
|
+
}
|
|
35930
|
+
},
|
|
35931
|
+
"type": "unit",
|
|
35932
|
+
"description": "Successful response",
|
|
35933
|
+
"attributes": []
|
|
35934
|
+
}, {
|
|
35935
|
+
"code": {
|
|
35936
|
+
"integer": {
|
|
35937
|
+
"value": 401
|
|
35938
|
+
}
|
|
35939
|
+
},
|
|
35940
|
+
"type": "unit",
|
|
35941
|
+
"description": "Authorization failed",
|
|
35942
|
+
"attributes": []
|
|
35943
|
+
}, {
|
|
35944
|
+
"code": {
|
|
35945
|
+
"integer": {
|
|
35946
|
+
"value": 422
|
|
35947
|
+
}
|
|
35948
|
+
},
|
|
35949
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
35950
|
+
"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.",
|
|
35951
|
+
"attributes": []
|
|
35952
|
+
}],
|
|
35953
|
+
"attributes": [],
|
|
35954
|
+
"body": {
|
|
35955
|
+
"type": "io.flow.svb.v0.models.svb_notification",
|
|
35956
|
+
"attributes": []
|
|
35957
|
+
}
|
|
35958
|
+
}],
|
|
35959
|
+
"attributes": [{
|
|
35960
|
+
"name": "docs",
|
|
35961
|
+
"value": {
|
|
35962
|
+
"module": "general"
|
|
35963
|
+
}
|
|
35964
|
+
}],
|
|
35965
|
+
"path": "/payment/callbacks/svb"
|
|
35861
35966
|
}, {
|
|
35862
35967
|
"type": "item_harmonization",
|
|
35863
35968
|
"plural": "item_harmonizations",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-mock-generator",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "A mock data generator based on our internal API specifications for JavaScript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -27,11 +27,5 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"apibuilder-js": "0.0.3",
|
|
29
29
|
"apibuilder-mock-generator": "0.0.4"
|
|
30
|
-
}
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"tslint": "^5.11.0",
|
|
33
|
-
"tslint-config-airbnb": "^5.11.1",
|
|
34
|
-
"typescript": "^3.2.2"
|
|
35
|
-
},
|
|
36
|
-
"gitHead": "a710733040514bdda6047d99d9c479ad9fe3322f"
|
|
30
|
+
}
|
|
37
31
|
}
|
package/src/api-internal.json
CHANGED
|
@@ -699,6 +699,20 @@
|
|
|
699
699
|
"unions" : [ ],
|
|
700
700
|
"models" : [ "account", "account_request", "address", "card", "card_request", "charge", "charge_destination", "charge_request", "code_verification", "customer", "customer_request", "error", "keys", "legal_entity", "metadata", "order", "order_item", "order_item_request", "order_request", "owner", "payment_outcome", "receiver", "redirect", "refund", "refund_request", "refunds", "shipping", "source", "source_card", "source_card_request", "source_klarna", "source_klarna_request", "source_request", "stripe_error", "stripe_event", "stripe_event_data", "stripe_event_request", "three_d_secure", "token", "tos_acceptance" ],
|
|
701
701
|
"annotations" : [ ]
|
|
702
|
+
}, {
|
|
703
|
+
"uri" : "https://app.apibuilder.io/flow/svb/latest/service.json",
|
|
704
|
+
"namespace" : "io.flow.svb.v0",
|
|
705
|
+
"organization" : {
|
|
706
|
+
"key" : "flow"
|
|
707
|
+
},
|
|
708
|
+
"application" : {
|
|
709
|
+
"key" : "svb"
|
|
710
|
+
},
|
|
711
|
+
"version" : "0.2.7",
|
|
712
|
+
"enums" : [ "clearing_type", "transaction_type" ],
|
|
713
|
+
"unions" : [ ],
|
|
714
|
+
"models" : [ "authorization", "clearing", "create_body", "create_virtual_card", "email", "email_body", "email_response", "list_data", "list_links", "list_response", "mastercard_data", "svb_notification", "update_body", "update_virtual_card", "virtual_card", "virtual_card_response" ],
|
|
715
|
+
"annotations" : [ ]
|
|
702
716
|
}, {
|
|
703
717
|
"uri" : "https://app.apibuilder.io/flow/error/latest/service.json",
|
|
704
718
|
"namespace" : "io.flow.error.v0",
|
|
@@ -6575,6 +6589,23 @@
|
|
|
6575
6589
|
"annotations" : [ ]
|
|
6576
6590
|
} ],
|
|
6577
6591
|
"attributes" : [ ]
|
|
6592
|
+
}, {
|
|
6593
|
+
"name" : "alert_error_summary",
|
|
6594
|
+
"plural" : "alert_error_summaries",
|
|
6595
|
+
"fields" : [ {
|
|
6596
|
+
"name" : "event_id",
|
|
6597
|
+
"type" : "long",
|
|
6598
|
+
"required" : true,
|
|
6599
|
+
"attributes" : [ ],
|
|
6600
|
+
"annotations" : [ ]
|
|
6601
|
+
}, {
|
|
6602
|
+
"name" : "error",
|
|
6603
|
+
"type" : "string",
|
|
6604
|
+
"required" : true,
|
|
6605
|
+
"attributes" : [ ],
|
|
6606
|
+
"annotations" : [ ]
|
|
6607
|
+
} ],
|
|
6608
|
+
"attributes" : [ ]
|
|
6578
6609
|
}, {
|
|
6579
6610
|
"name" : "alert_failure_summary",
|
|
6580
6611
|
"plural" : "alert_failure_summaries",
|
|
@@ -6609,7 +6640,7 @@
|
|
|
6609
6640
|
"annotations" : [ ]
|
|
6610
6641
|
}, {
|
|
6611
6642
|
"name" : "errors",
|
|
6612
|
-
"type" : "[
|
|
6643
|
+
"type" : "[alert_error_summary]",
|
|
6613
6644
|
"required" : true,
|
|
6614
6645
|
"attributes" : [ ],
|
|
6615
6646
|
"annotations" : [ ]
|
|
@@ -8491,12 +8522,6 @@
|
|
|
8491
8522
|
"attributes" : [ ],
|
|
8492
8523
|
"annotations" : [ ],
|
|
8493
8524
|
"description" : "Client's unique identifier for this object"
|
|
8494
|
-
}, {
|
|
8495
|
-
"name" : "product_id",
|
|
8496
|
-
"type" : "string",
|
|
8497
|
-
"required" : false,
|
|
8498
|
-
"attributes" : [ ],
|
|
8499
|
-
"annotations" : [ ]
|
|
8500
8525
|
}, {
|
|
8501
8526
|
"name" : "name",
|
|
8502
8527
|
"type" : "string",
|
|
@@ -8522,6 +8547,37 @@
|
|
|
8522
8547
|
"attributes" : [ ],
|
|
8523
8548
|
"annotations" : [ ],
|
|
8524
8549
|
"default" : "[]"
|
|
8550
|
+
} ],
|
|
8551
|
+
"attributes" : [ ],
|
|
8552
|
+
"description" : "An item of a product needing classification"
|
|
8553
|
+
}, {
|
|
8554
|
+
"name" : "classification_product",
|
|
8555
|
+
"plural" : "classification_products",
|
|
8556
|
+
"fields" : [ {
|
|
8557
|
+
"name" : "organization_id",
|
|
8558
|
+
"type" : "string",
|
|
8559
|
+
"required" : true,
|
|
8560
|
+
"attributes" : [ ],
|
|
8561
|
+
"annotations" : [ ]
|
|
8562
|
+
}, {
|
|
8563
|
+
"name" : "product_id",
|
|
8564
|
+
"type" : "string",
|
|
8565
|
+
"required" : false,
|
|
8566
|
+
"attributes" : [ ],
|
|
8567
|
+
"annotations" : [ ]
|
|
8568
|
+
}, {
|
|
8569
|
+
"name" : "description",
|
|
8570
|
+
"type" : "string",
|
|
8571
|
+
"required" : true,
|
|
8572
|
+
"attributes" : [ ],
|
|
8573
|
+
"annotations" : [ ]
|
|
8574
|
+
}, {
|
|
8575
|
+
"name" : "items",
|
|
8576
|
+
"type" : "[classification_item]",
|
|
8577
|
+
"required" : true,
|
|
8578
|
+
"attributes" : [ ],
|
|
8579
|
+
"annotations" : [ ],
|
|
8580
|
+
"default" : "[]"
|
|
8525
8581
|
}, {
|
|
8526
8582
|
"name" : "images",
|
|
8527
8583
|
"type" : "[string]",
|
|
@@ -8545,48 +8601,39 @@
|
|
|
8545
8601
|
"default" : "{}"
|
|
8546
8602
|
}, {
|
|
8547
8603
|
"name" : "next_id",
|
|
8548
|
-
"type" : "
|
|
8604
|
+
"type" : "classification_product_id",
|
|
8549
8605
|
"required" : false,
|
|
8550
8606
|
"attributes" : [ ],
|
|
8551
8607
|
"annotations" : [ ]
|
|
8552
8608
|
} ],
|
|
8553
8609
|
"attributes" : [ ],
|
|
8554
|
-
"description" : "
|
|
8610
|
+
"description" : "Product needing classification"
|
|
8555
8611
|
}, {
|
|
8556
|
-
"name" : "
|
|
8557
|
-
"plural" : "
|
|
8612
|
+
"name" : "classification_product_id",
|
|
8613
|
+
"plural" : "classification_product_ids",
|
|
8558
8614
|
"fields" : [ {
|
|
8559
|
-
"name" : "id",
|
|
8560
|
-
"type" : "string",
|
|
8561
|
-
"required" : true,
|
|
8562
|
-
"attributes" : [ ],
|
|
8563
|
-
"annotations" : [ ],
|
|
8564
|
-
"description" : "Globally unique identifier"
|
|
8565
|
-
}, {
|
|
8566
8615
|
"name" : "organization_id",
|
|
8567
8616
|
"type" : "string",
|
|
8568
8617
|
"required" : true,
|
|
8569
8618
|
"attributes" : [ ],
|
|
8570
8619
|
"annotations" : [ ]
|
|
8571
8620
|
}, {
|
|
8572
|
-
"name" : "
|
|
8621
|
+
"name" : "product_id",
|
|
8573
8622
|
"type" : "string",
|
|
8574
8623
|
"required" : true,
|
|
8575
8624
|
"attributes" : [ ],
|
|
8576
|
-
"annotations" : [ ]
|
|
8577
|
-
"description" : "Client's unique identifier for this object"
|
|
8625
|
+
"annotations" : [ ]
|
|
8578
8626
|
} ],
|
|
8579
8627
|
"attributes" : [ ]
|
|
8580
8628
|
}, {
|
|
8581
|
-
"name" : "
|
|
8582
|
-
"plural" : "
|
|
8629
|
+
"name" : "classification_product_summary",
|
|
8630
|
+
"plural" : "classification_product_summaries",
|
|
8583
8631
|
"fields" : [ {
|
|
8584
|
-
"name" : "
|
|
8632
|
+
"name" : "product_id",
|
|
8585
8633
|
"type" : "string",
|
|
8586
8634
|
"required" : true,
|
|
8587
8635
|
"attributes" : [ ],
|
|
8588
|
-
"annotations" : [ ]
|
|
8589
|
-
"description" : "Globally unique identifier"
|
|
8636
|
+
"annotations" : [ ]
|
|
8590
8637
|
}, {
|
|
8591
8638
|
"name" : "organization_id",
|
|
8592
8639
|
"type" : "string",
|
|
@@ -8594,14 +8641,7 @@
|
|
|
8594
8641
|
"attributes" : [ ],
|
|
8595
8642
|
"annotations" : [ ]
|
|
8596
8643
|
}, {
|
|
8597
|
-
"name" : "
|
|
8598
|
-
"type" : "string",
|
|
8599
|
-
"required" : true,
|
|
8600
|
-
"attributes" : [ ],
|
|
8601
|
-
"annotations" : [ ],
|
|
8602
|
-
"description" : "Client's unique identifier for this object"
|
|
8603
|
-
}, {
|
|
8604
|
-
"name" : "name",
|
|
8644
|
+
"name" : "description",
|
|
8605
8645
|
"type" : "string",
|
|
8606
8646
|
"required" : true,
|
|
8607
8647
|
"attributes" : [ ],
|
|
@@ -8620,13 +8660,13 @@
|
|
|
8620
8660
|
"annotations" : [ ]
|
|
8621
8661
|
} ],
|
|
8622
8662
|
"attributes" : [ ],
|
|
8623
|
-
"description" : "
|
|
8663
|
+
"description" : "A summary for a product that needs classification"
|
|
8624
8664
|
}, {
|
|
8625
|
-
"name" : "
|
|
8626
|
-
"plural" : "
|
|
8665
|
+
"name" : "classification_product_summary_page",
|
|
8666
|
+
"plural" : "classification_product_summary_pages",
|
|
8627
8667
|
"fields" : [ {
|
|
8628
8668
|
"name" : "page",
|
|
8629
|
-
"type" : "[
|
|
8669
|
+
"type" : "[classification_product_summary]",
|
|
8630
8670
|
"required" : true,
|
|
8631
8671
|
"attributes" : [ ],
|
|
8632
8672
|
"annotations" : [ ]
|
|
@@ -8638,48 +8678,22 @@
|
|
|
8638
8678
|
"annotations" : [ ]
|
|
8639
8679
|
} ],
|
|
8640
8680
|
"attributes" : [ ],
|
|
8641
|
-
"description" : "A paginated list of
|
|
8681
|
+
"description" : "A paginated list of products that need classification"
|
|
8642
8682
|
}, {
|
|
8643
|
-
"name" : "
|
|
8644
|
-
"plural" : "
|
|
8683
|
+
"name" : "classified_product",
|
|
8684
|
+
"plural" : "classified_products",
|
|
8645
8685
|
"fields" : [ {
|
|
8646
|
-
"name" : "
|
|
8647
|
-
"type" : "string",
|
|
8648
|
-
"required" : true,
|
|
8649
|
-
"attributes" : [ ],
|
|
8650
|
-
"annotations" : [ ],
|
|
8651
|
-
"description" : "Globally unique identifier"
|
|
8652
|
-
}, {
|
|
8653
|
-
"name" : "organization_id",
|
|
8654
|
-
"type" : "string",
|
|
8655
|
-
"required" : true,
|
|
8656
|
-
"attributes" : [ ],
|
|
8657
|
-
"annotations" : [ ]
|
|
8658
|
-
}, {
|
|
8659
|
-
"name" : "number",
|
|
8660
|
-
"type" : "string",
|
|
8661
|
-
"required" : true,
|
|
8662
|
-
"attributes" : [ ],
|
|
8663
|
-
"annotations" : [ ],
|
|
8664
|
-
"description" : "Client's unique identifier for this object"
|
|
8665
|
-
}, {
|
|
8666
|
-
"name" : "name",
|
|
8686
|
+
"name" : "product_id",
|
|
8667
8687
|
"type" : "string",
|
|
8668
8688
|
"required" : true,
|
|
8669
8689
|
"attributes" : [ ],
|
|
8670
8690
|
"annotations" : [ ]
|
|
8671
8691
|
}, {
|
|
8672
|
-
"name" : "
|
|
8692
|
+
"name" : "organization_id",
|
|
8673
8693
|
"type" : "string",
|
|
8674
8694
|
"required" : true,
|
|
8675
8695
|
"attributes" : [ ],
|
|
8676
8696
|
"annotations" : [ ]
|
|
8677
|
-
}, {
|
|
8678
|
-
"name" : "status",
|
|
8679
|
-
"type" : "item_classification_status",
|
|
8680
|
-
"required" : true,
|
|
8681
|
-
"attributes" : [ ],
|
|
8682
|
-
"annotations" : [ ]
|
|
8683
8697
|
}, {
|
|
8684
8698
|
"name" : "classification",
|
|
8685
8699
|
"type" : "string",
|
|
@@ -8692,27 +8706,6 @@
|
|
|
8692
8706
|
"required" : true,
|
|
8693
8707
|
"attributes" : [ ],
|
|
8694
8708
|
"annotations" : [ ]
|
|
8695
|
-
}, {
|
|
8696
|
-
"name" : "images",
|
|
8697
|
-
"type" : "[string]",
|
|
8698
|
-
"required" : true,
|
|
8699
|
-
"attributes" : [ ],
|
|
8700
|
-
"annotations" : [ ],
|
|
8701
|
-
"default" : "[]"
|
|
8702
|
-
}, {
|
|
8703
|
-
"name" : "categories",
|
|
8704
|
-
"type" : "[string]",
|
|
8705
|
-
"required" : true,
|
|
8706
|
-
"attributes" : [ ],
|
|
8707
|
-
"annotations" : [ ],
|
|
8708
|
-
"default" : "[]"
|
|
8709
|
-
}, {
|
|
8710
|
-
"name" : "attributes",
|
|
8711
|
-
"type" : "map[string]",
|
|
8712
|
-
"required" : true,
|
|
8713
|
-
"attributes" : [ ],
|
|
8714
|
-
"annotations" : [ ],
|
|
8715
|
-
"default" : "{}"
|
|
8716
8709
|
} ],
|
|
8717
8710
|
"attributes" : [ ]
|
|
8718
8711
|
}, {
|
|
@@ -13622,55 +13615,6 @@
|
|
|
13622
13615
|
"annotations" : [ ]
|
|
13623
13616
|
} ],
|
|
13624
13617
|
"attributes" : [ ]
|
|
13625
|
-
}, {
|
|
13626
|
-
"name" : "item_classification_form",
|
|
13627
|
-
"plural" : "item_classification_forms",
|
|
13628
|
-
"fields" : [ {
|
|
13629
|
-
"name" : "organization_id",
|
|
13630
|
-
"type" : "string",
|
|
13631
|
-
"required" : true,
|
|
13632
|
-
"attributes" : [ ],
|
|
13633
|
-
"annotations" : [ ]
|
|
13634
|
-
}, {
|
|
13635
|
-
"name" : "number",
|
|
13636
|
-
"type" : "string",
|
|
13637
|
-
"required" : true,
|
|
13638
|
-
"attributes" : [ ],
|
|
13639
|
-
"annotations" : [ ],
|
|
13640
|
-
"description" : "Client's unique identifier for this object"
|
|
13641
|
-
}, {
|
|
13642
|
-
"name" : "classification_model_id",
|
|
13643
|
-
"type" : "string",
|
|
13644
|
-
"required" : true,
|
|
13645
|
-
"attributes" : [ ],
|
|
13646
|
-
"annotations" : [ ]
|
|
13647
|
-
}, {
|
|
13648
|
-
"name" : "classification",
|
|
13649
|
-
"type" : "string",
|
|
13650
|
-
"required" : true,
|
|
13651
|
-
"attributes" : [ ],
|
|
13652
|
-
"annotations" : [ ]
|
|
13653
|
-
} ],
|
|
13654
|
-
"attributes" : [ ],
|
|
13655
|
-
"description" : "A classification judgement for an item"
|
|
13656
|
-
}, {
|
|
13657
|
-
"name" : "item_classification_result",
|
|
13658
|
-
"plural" : "item_classification_results",
|
|
13659
|
-
"fields" : [ {
|
|
13660
|
-
"name" : "classified_item",
|
|
13661
|
-
"type" : "classified_item",
|
|
13662
|
-
"required" : true,
|
|
13663
|
-
"attributes" : [ ],
|
|
13664
|
-
"annotations" : [ ]
|
|
13665
|
-
}, {
|
|
13666
|
-
"name" : "next_item",
|
|
13667
|
-
"type" : "classification_item_id",
|
|
13668
|
-
"required" : true,
|
|
13669
|
-
"attributes" : [ ],
|
|
13670
|
-
"annotations" : [ ]
|
|
13671
|
-
} ],
|
|
13672
|
-
"attributes" : [ ],
|
|
13673
|
-
"description" : "A classified item result, including the next item to be classified"
|
|
13674
13618
|
}, {
|
|
13675
13619
|
"name" : "item_dimension_estimate_deleted",
|
|
13676
13620
|
"plural" : "item_dimension_estimate_deleteds",
|
|
@@ -19242,6 +19186,54 @@
|
|
|
19242
19186
|
} ],
|
|
19243
19187
|
"attributes" : [ ],
|
|
19244
19188
|
"description" : "A processing transaction represents a transaction related to payment activity - e.g. a payment capture, refund or adjustment"
|
|
19189
|
+
}, {
|
|
19190
|
+
"name" : "product_classification_form",
|
|
19191
|
+
"plural" : "product_classification_forms",
|
|
19192
|
+
"fields" : [ {
|
|
19193
|
+
"name" : "organization_id",
|
|
19194
|
+
"type" : "string",
|
|
19195
|
+
"required" : true,
|
|
19196
|
+
"attributes" : [ ],
|
|
19197
|
+
"annotations" : [ ]
|
|
19198
|
+
}, {
|
|
19199
|
+
"name" : "product_id",
|
|
19200
|
+
"type" : "string",
|
|
19201
|
+
"required" : true,
|
|
19202
|
+
"attributes" : [ ],
|
|
19203
|
+
"annotations" : [ ]
|
|
19204
|
+
}, {
|
|
19205
|
+
"name" : "classification_model_id",
|
|
19206
|
+
"type" : "string",
|
|
19207
|
+
"required" : true,
|
|
19208
|
+
"attributes" : [ ],
|
|
19209
|
+
"annotations" : [ ]
|
|
19210
|
+
}, {
|
|
19211
|
+
"name" : "classification",
|
|
19212
|
+
"type" : "string",
|
|
19213
|
+
"required" : true,
|
|
19214
|
+
"attributes" : [ ],
|
|
19215
|
+
"annotations" : [ ]
|
|
19216
|
+
} ],
|
|
19217
|
+
"attributes" : [ ],
|
|
19218
|
+
"description" : "A classification judgement for a product"
|
|
19219
|
+
}, {
|
|
19220
|
+
"name" : "product_classification_result",
|
|
19221
|
+
"plural" : "product_classification_results",
|
|
19222
|
+
"fields" : [ {
|
|
19223
|
+
"name" : "classified_product",
|
|
19224
|
+
"type" : "classified_product",
|
|
19225
|
+
"required" : true,
|
|
19226
|
+
"attributes" : [ ],
|
|
19227
|
+
"annotations" : [ ]
|
|
19228
|
+
}, {
|
|
19229
|
+
"name" : "next_product",
|
|
19230
|
+
"type" : "classification_product_id",
|
|
19231
|
+
"required" : true,
|
|
19232
|
+
"attributes" : [ ],
|
|
19233
|
+
"annotations" : [ ]
|
|
19234
|
+
} ],
|
|
19235
|
+
"attributes" : [ ],
|
|
19236
|
+
"description" : "A classified product result, including the next product to be classified"
|
|
19245
19237
|
}, {
|
|
19246
19238
|
"name" : "product_detail_hint_form",
|
|
19247
19239
|
"plural" : "product_detail_hint_forms",
|
|
@@ -25523,6 +25515,69 @@
|
|
|
25523
25515
|
}
|
|
25524
25516
|
} ],
|
|
25525
25517
|
"description" : "Returns the most recent 100 error summaries for a service's failed events"
|
|
25518
|
+
}, {
|
|
25519
|
+
"method" : "DELETE",
|
|
25520
|
+
"path" : "/internal/stats/events/failures/summaries/:db/:queue/:id",
|
|
25521
|
+
"parameters" : [ {
|
|
25522
|
+
"name" : "db",
|
|
25523
|
+
"type" : "string",
|
|
25524
|
+
"location" : "Path",
|
|
25525
|
+
"required" : true
|
|
25526
|
+
}, {
|
|
25527
|
+
"name" : "queue",
|
|
25528
|
+
"type" : "string",
|
|
25529
|
+
"location" : "Path",
|
|
25530
|
+
"required" : true
|
|
25531
|
+
}, {
|
|
25532
|
+
"name" : "id",
|
|
25533
|
+
"type" : "string",
|
|
25534
|
+
"location" : "Path",
|
|
25535
|
+
"required" : true,
|
|
25536
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
25537
|
+
} ],
|
|
25538
|
+
"responses" : [ {
|
|
25539
|
+
"code" : {
|
|
25540
|
+
"integer" : {
|
|
25541
|
+
"value" : 204
|
|
25542
|
+
}
|
|
25543
|
+
},
|
|
25544
|
+
"type" : "unit",
|
|
25545
|
+
"description" : "Operation succeeded. No content is returned",
|
|
25546
|
+
"attributes" : [ ]
|
|
25547
|
+
}, {
|
|
25548
|
+
"code" : {
|
|
25549
|
+
"integer" : {
|
|
25550
|
+
"value" : 401
|
|
25551
|
+
}
|
|
25552
|
+
},
|
|
25553
|
+
"type" : "unit",
|
|
25554
|
+
"description" : "Authorization failed",
|
|
25555
|
+
"attributes" : [ ]
|
|
25556
|
+
}, {
|
|
25557
|
+
"code" : {
|
|
25558
|
+
"integer" : {
|
|
25559
|
+
"value" : 403
|
|
25560
|
+
}
|
|
25561
|
+
},
|
|
25562
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
25563
|
+
"attributes" : [ ]
|
|
25564
|
+
}, {
|
|
25565
|
+
"code" : {
|
|
25566
|
+
"integer" : {
|
|
25567
|
+
"value" : 404
|
|
25568
|
+
}
|
|
25569
|
+
},
|
|
25570
|
+
"type" : "unit",
|
|
25571
|
+
"description" : "Resource was not found",
|
|
25572
|
+
"attributes" : [ ]
|
|
25573
|
+
} ],
|
|
25574
|
+
"attributes" : [ {
|
|
25575
|
+
"name" : "auth",
|
|
25576
|
+
"value" : {
|
|
25577
|
+
"techniques" : [ "user", "token" ],
|
|
25578
|
+
"roles" : [ "flow_operations" ]
|
|
25579
|
+
}
|
|
25580
|
+
} ]
|
|
25526
25581
|
} ],
|
|
25527
25582
|
"attributes" : [ {
|
|
25528
25583
|
"name" : "docs",
|
|
@@ -27474,11 +27529,11 @@
|
|
|
27474
27529
|
"path" : "/:organization/harmonization/product/classification/default",
|
|
27475
27530
|
"description" : "A default set of product features for an organization."
|
|
27476
27531
|
}, {
|
|
27477
|
-
"type" : "
|
|
27478
|
-
"plural" : "
|
|
27532
|
+
"type" : "classification_product",
|
|
27533
|
+
"plural" : "classification_products",
|
|
27479
27534
|
"operations" : [ {
|
|
27480
27535
|
"method" : "GET",
|
|
27481
|
-
"path" : "/:organization/classification/
|
|
27536
|
+
"path" : "/:organization/classification/product/:id",
|
|
27482
27537
|
"parameters" : [ {
|
|
27483
27538
|
"name" : "organization",
|
|
27484
27539
|
"type" : "string",
|
|
@@ -27486,10 +27541,11 @@
|
|
|
27486
27541
|
"required" : true,
|
|
27487
27542
|
"description" : "Refers to your organization's account identifier"
|
|
27488
27543
|
}, {
|
|
27489
|
-
"name" : "
|
|
27544
|
+
"name" : "id",
|
|
27490
27545
|
"type" : "string",
|
|
27491
27546
|
"location" : "Path",
|
|
27492
|
-
"required" : true
|
|
27547
|
+
"required" : true,
|
|
27548
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
27493
27549
|
} ],
|
|
27494
27550
|
"responses" : [ {
|
|
27495
27551
|
"code" : {
|
|
@@ -27497,7 +27553,7 @@
|
|
|
27497
27553
|
"value" : 200
|
|
27498
27554
|
}
|
|
27499
27555
|
},
|
|
27500
|
-
"type" : "
|
|
27556
|
+
"type" : "classification_product",
|
|
27501
27557
|
"description" : "Successful response",
|
|
27502
27558
|
"attributes" : [ ]
|
|
27503
27559
|
}, {
|
|
@@ -27527,7 +27583,7 @@
|
|
|
27527
27583
|
} ]
|
|
27528
27584
|
}, {
|
|
27529
27585
|
"method" : "PUT",
|
|
27530
|
-
"path" : "/:organization/classification/
|
|
27586
|
+
"path" : "/:organization/classification/product/:id",
|
|
27531
27587
|
"parameters" : [ {
|
|
27532
27588
|
"name" : "organization",
|
|
27533
27589
|
"type" : "string",
|
|
@@ -27535,10 +27591,11 @@
|
|
|
27535
27591
|
"required" : true,
|
|
27536
27592
|
"description" : "Refers to your organization's account identifier"
|
|
27537
27593
|
}, {
|
|
27538
|
-
"name" : "
|
|
27594
|
+
"name" : "id",
|
|
27539
27595
|
"type" : "string",
|
|
27540
27596
|
"location" : "Path",
|
|
27541
|
-
"required" : true
|
|
27597
|
+
"required" : true,
|
|
27598
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
27542
27599
|
} ],
|
|
27543
27600
|
"responses" : [ {
|
|
27544
27601
|
"code" : {
|
|
@@ -27546,7 +27603,7 @@
|
|
|
27546
27603
|
"value" : 200
|
|
27547
27604
|
}
|
|
27548
27605
|
},
|
|
27549
|
-
"type" : "
|
|
27606
|
+
"type" : "product_classification_result",
|
|
27550
27607
|
"description" : "Successful response",
|
|
27551
27608
|
"attributes" : [ ]
|
|
27552
27609
|
}, {
|
|
@@ -27577,9 +27634,9 @@
|
|
|
27577
27634
|
"attributes" : [ ]
|
|
27578
27635
|
} ],
|
|
27579
27636
|
"attributes" : [ ],
|
|
27580
|
-
"description" : "Set a classification for an
|
|
27637
|
+
"description" : "Set a classification for an product. Will update any existing classifications.",
|
|
27581
27638
|
"body" : {
|
|
27582
|
-
"type" : "
|
|
27639
|
+
"type" : "product_classification_form",
|
|
27583
27640
|
"attributes" : [ ]
|
|
27584
27641
|
}
|
|
27585
27642
|
} ],
|
|
@@ -27589,14 +27646,14 @@
|
|
|
27589
27646
|
"module" : "general"
|
|
27590
27647
|
}
|
|
27591
27648
|
} ],
|
|
27592
|
-
"path" : "/:organization/classification/
|
|
27593
|
-
"description" : "Returns
|
|
27649
|
+
"path" : "/:organization/classification/product/:id",
|
|
27650
|
+
"description" : "Returns a product for classification."
|
|
27594
27651
|
}, {
|
|
27595
|
-
"type" : "
|
|
27596
|
-
"plural" : "
|
|
27652
|
+
"type" : "classification_product_summary_page",
|
|
27653
|
+
"plural" : "classification_product_summary_pages",
|
|
27597
27654
|
"operations" : [ {
|
|
27598
27655
|
"method" : "GET",
|
|
27599
|
-
"path" : "/classification/
|
|
27656
|
+
"path" : "/classification/products",
|
|
27600
27657
|
"parameters" : [ {
|
|
27601
27658
|
"name" : "organization",
|
|
27602
27659
|
"type" : "string",
|
|
@@ -27620,7 +27677,7 @@
|
|
|
27620
27677
|
"value" : 200
|
|
27621
27678
|
}
|
|
27622
27679
|
},
|
|
27623
|
-
"type" : "
|
|
27680
|
+
"type" : "classification_product_summary_page",
|
|
27624
27681
|
"description" : "Successful response",
|
|
27625
27682
|
"attributes" : [ ]
|
|
27626
27683
|
}, {
|
|
@@ -27655,8 +27712,8 @@
|
|
|
27655
27712
|
"module" : "general"
|
|
27656
27713
|
}
|
|
27657
27714
|
} ],
|
|
27658
|
-
"path" : "/classification/
|
|
27659
|
-
"description" : "Returns a list of
|
|
27715
|
+
"path" : "/classification/products",
|
|
27716
|
+
"description" : "Returns a list of products for classification."
|
|
27660
27717
|
}, {
|
|
27661
27718
|
"type" : "complete_price_rule",
|
|
27662
27719
|
"plural" : "complete_price_rules",
|
|
@@ -35858,6 +35915,54 @@
|
|
|
35858
35915
|
}
|
|
35859
35916
|
} ],
|
|
35860
35917
|
"path" : "/payment/callbacks"
|
|
35918
|
+
}, {
|
|
35919
|
+
"type" : "io.flow.svb.v0.models.svb_notification",
|
|
35920
|
+
"plural" : "svb_notifications",
|
|
35921
|
+
"operations" : [ {
|
|
35922
|
+
"method" : "POST",
|
|
35923
|
+
"path" : "/payment/callbacks/svb",
|
|
35924
|
+
"parameters" : [ ],
|
|
35925
|
+
"responses" : [ {
|
|
35926
|
+
"code" : {
|
|
35927
|
+
"integer" : {
|
|
35928
|
+
"value" : 200
|
|
35929
|
+
}
|
|
35930
|
+
},
|
|
35931
|
+
"type" : "unit",
|
|
35932
|
+
"description" : "Successful response",
|
|
35933
|
+
"attributes" : [ ]
|
|
35934
|
+
}, {
|
|
35935
|
+
"code" : {
|
|
35936
|
+
"integer" : {
|
|
35937
|
+
"value" : 401
|
|
35938
|
+
}
|
|
35939
|
+
},
|
|
35940
|
+
"type" : "unit",
|
|
35941
|
+
"description" : "Authorization failed",
|
|
35942
|
+
"attributes" : [ ]
|
|
35943
|
+
}, {
|
|
35944
|
+
"code" : {
|
|
35945
|
+
"integer" : {
|
|
35946
|
+
"value" : 422
|
|
35947
|
+
}
|
|
35948
|
+
},
|
|
35949
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
35950
|
+
"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.",
|
|
35951
|
+
"attributes" : [ ]
|
|
35952
|
+
} ],
|
|
35953
|
+
"attributes" : [ ],
|
|
35954
|
+
"body" : {
|
|
35955
|
+
"type" : "io.flow.svb.v0.models.svb_notification",
|
|
35956
|
+
"attributes" : [ ]
|
|
35957
|
+
}
|
|
35958
|
+
} ],
|
|
35959
|
+
"attributes" : [ {
|
|
35960
|
+
"name" : "docs",
|
|
35961
|
+
"value" : {
|
|
35962
|
+
"module" : "general"
|
|
35963
|
+
}
|
|
35964
|
+
} ],
|
|
35965
|
+
"path" : "/payment/callbacks/svb"
|
|
35861
35966
|
}, {
|
|
35862
35967
|
"type" : "item_harmonization",
|
|
35863
35968
|
"plural" : "item_harmonizations",
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Flow Commerce
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|