@flowio/api-internal-mock-generator 5.31.50 → 5.31.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.
@@ -10,7 +10,7 @@
10
10
  "key": "api-internal"
11
11
  },
12
12
  "namespace": "io.flow.internal.v0",
13
- "version": "0.17.77",
13
+ "version": "0.17.79",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -661,7 +661,7 @@
661
661
  "application": {
662
662
  "key": "pricing-indicator-internal-event"
663
663
  },
664
- "version": "0.17.77",
664
+ "version": "0.17.79",
665
665
  "enums": ["pricing_indicator_status", "service_name"],
666
666
  "interfaces": [],
667
667
  "unions": ["pricing_indicator_event"],
@@ -1231,6 +1231,21 @@
1231
1231
  }, {
1232
1232
  "name": "unsupported_payment_information",
1233
1233
  "attributes": []
1234
+ }, {
1235
+ "name": "unsupported_shop_currency",
1236
+ "attributes": []
1237
+ }, {
1238
+ "name": "invalid_rate",
1239
+ "attributes": []
1240
+ }, {
1241
+ "name": "extracting_distribution_info_failed",
1242
+ "attributes": []
1243
+ }, {
1244
+ "name": "shipping_estimation_failed",
1245
+ "attributes": []
1246
+ }, {
1247
+ "name": "payment_authorization_failed",
1248
+ "attributes": []
1234
1249
  }],
1235
1250
  "attributes": []
1236
1251
  }, {
@@ -3432,18 +3447,6 @@
3432
3447
  }, {
3433
3448
  "name": "organization_restriction_approval_deleted",
3434
3449
  "attributes": []
3435
- }, {
3436
- "name": "organization_restriction_snapshot_upserted",
3437
- "attributes": []
3438
- }, {
3439
- "name": "organization_restriction_snapshot_deleted",
3440
- "attributes": []
3441
- }, {
3442
- "name": "organization_restriction_status_upserted",
3443
- "attributes": []
3444
- }, {
3445
- "name": "organization_restriction_status_deleted",
3446
- "attributes": []
3447
3450
  }, {
3448
3451
  "name": "internal_authorization_upserted",
3449
3452
  "attributes": []
@@ -3561,6 +3564,18 @@
3561
3564
  }, {
3562
3565
  "name": "ratecard_lane_aggregate_deleted",
3563
3566
  "attributes": []
3567
+ }, {
3568
+ "name": "organization_restriction_snapshot_upserted",
3569
+ "attributes": []
3570
+ }, {
3571
+ "name": "organization_restriction_snapshot_deleted",
3572
+ "attributes": []
3573
+ }, {
3574
+ "name": "restriction_organization_status_upserted",
3575
+ "attributes": []
3576
+ }, {
3577
+ "name": "restriction_organization_status_deleted",
3578
+ "attributes": []
3564
3579
  }, {
3565
3580
  "name": "shopify_shop_upserted",
3566
3581
  "attributes": []
@@ -9955,22 +9970,6 @@
9955
9970
  "type": "organization_restriction_approval_deleted",
9956
9971
  "attributes": [],
9957
9972
  "discriminator_value": "organization_restriction_approval_deleted"
9958
- }, {
9959
- "type": "organization_restriction_snapshot_upserted",
9960
- "attributes": [],
9961
- "discriminator_value": "organization_restriction_snapshot_upserted"
9962
- }, {
9963
- "type": "organization_restriction_snapshot_deleted",
9964
- "attributes": [],
9965
- "discriminator_value": "organization_restriction_snapshot_deleted"
9966
- }, {
9967
- "type": "organization_restriction_status_upserted",
9968
- "attributes": [],
9969
- "discriminator_value": "organization_restriction_status_upserted"
9970
- }, {
9971
- "type": "organization_restriction_status_deleted",
9972
- "attributes": [],
9973
- "discriminator_value": "organization_restriction_status_deleted"
9974
9973
  }, {
9975
9974
  "type": "internal_authorization_upserted",
9976
9975
  "attributes": [],
@@ -10127,6 +10126,22 @@
10127
10126
  "type": "ratecard_lane_aggregate_deleted",
10128
10127
  "attributes": [],
10129
10128
  "discriminator_value": "ratecard_lane_aggregate_deleted"
10129
+ }, {
10130
+ "type": "organization_restriction_snapshot_upserted",
10131
+ "attributes": [],
10132
+ "discriminator_value": "organization_restriction_snapshot_upserted"
10133
+ }, {
10134
+ "type": "organization_restriction_snapshot_deleted",
10135
+ "attributes": [],
10136
+ "discriminator_value": "organization_restriction_snapshot_deleted"
10137
+ }, {
10138
+ "type": "restriction_organization_status_upserted",
10139
+ "attributes": [],
10140
+ "discriminator_value": "restriction_organization_status_upserted"
10141
+ }, {
10142
+ "type": "restriction_organization_status_deleted",
10143
+ "attributes": [],
10144
+ "discriminator_value": "restriction_organization_status_deleted"
10130
10145
  }, {
10131
10146
  "type": "shopify_shop_upserted",
10132
10147
  "attributes": [],
@@ -10756,6 +10771,19 @@
10756
10771
  "interfaces": [],
10757
10772
  "discriminator": "discriminator",
10758
10773
  "description": "Types of forms one can use to manually record a refund with necessary fields for each payment processor."
10774
+ }, {
10775
+ "name": "internal_transaction_details",
10776
+ "plural": "internal_transaction_detailses",
10777
+ "types": [{
10778
+ "type": "internal_transaction_details_card",
10779
+ "attributes": [],
10780
+ "description": "Card specific transaction details",
10781
+ "discriminator_value": "card"
10782
+ }],
10783
+ "attributes": [],
10784
+ "interfaces": [],
10785
+ "discriminator": "type",
10786
+ "description": "An internal version of transaction details that can be used to for internal events or db models"
10759
10787
  }, {
10760
10788
  "name": "localizable_content",
10761
10789
  "plural": "localizable_contents",
@@ -38778,25 +38806,6 @@
38778
38806
  "attributes": [],
38779
38807
  "interfaces": [],
38780
38808
  "description": "Represents details relevant to the internal execution of a Bitpay authorization, such as which credentials were used to initiate a payment."
38781
- }, {
38782
- "name": "internal_card_authorization_details",
38783
- "plural": "internal_card_authorization_detailses",
38784
- "fields": [{
38785
- "name": "result",
38786
- "type": "io.flow.payment.v0.models.authorization_result",
38787
- "required": true,
38788
- "attributes": [],
38789
- "annotations": []
38790
- }, {
38791
- "name": "internal",
38792
- "type": "internal_authorization_details",
38793
- "required": false,
38794
- "attributes": [],
38795
- "annotations": []
38796
- }],
38797
- "attributes": [],
38798
- "interfaces": [],
38799
- "description": "Represents details relevant to the execution of a card authorization, but not exposed via the API."
38800
38809
  }, {
38801
38810
  "name": "internal_channel_rate",
38802
38811
  "plural": "internal_channel_rates",
@@ -39069,25 +39078,6 @@
39069
39078
  "attributes": [],
39070
39079
  "interfaces": [],
39071
39080
  "description": "Represents details relevant to the internal execution of a PayPal authorization, such as which credentials were used to initiate a payment."
39072
- }, {
39073
- "name": "internal_redirect_authorization_details",
39074
- "plural": "internal_redirect_authorization_detailses",
39075
- "fields": [{
39076
- "name": "details",
39077
- "type": "io.flow.payment.v0.models.redirect_authorization_details",
39078
- "required": true,
39079
- "attributes": [],
39080
- "annotations": []
39081
- }, {
39082
- "name": "internal",
39083
- "type": "internal_authorization_details",
39084
- "required": false,
39085
- "attributes": [],
39086
- "annotations": []
39087
- }],
39088
- "attributes": [],
39089
- "interfaces": [],
39090
- "description": "Combines the external-facing `details` with any `internal` details related to an authorization."
39091
39081
  }, {
39092
39082
  "name": "internal_stripe_authorization_details",
39093
39083
  "plural": "internal_stripe_authorization_detailses",
@@ -39102,6 +39092,33 @@
39102
39092
  "attributes": [],
39103
39093
  "interfaces": [],
39104
39094
  "description": "Represents details relevant to the internal execution of a Stripe authorization, such as which credentials were used to initiate a payment."
39095
+ }, {
39096
+ "name": "internal_transaction_details_card",
39097
+ "plural": "internal_transaction_details_cards",
39098
+ "fields": [{
39099
+ "name": "address_verification_result",
39100
+ "type": "io.flow.payment.v0.models.address_verification_result",
39101
+ "required": false,
39102
+ "attributes": [],
39103
+ "annotations": [],
39104
+ "description": "Will not be returned if billing address is not provided with a transaction."
39105
+ }, {
39106
+ "name": "cvv_result",
39107
+ "type": "io.flow.payment.v0.models.cvv_result",
39108
+ "required": false,
39109
+ "attributes": [],
39110
+ "annotations": [],
39111
+ "description": "Will not be returned if cvv is not provided with a transaction."
39112
+ }, {
39113
+ "name": "network_details",
39114
+ "type": "io.flow.payment.v0.models.transaction_network_details_card",
39115
+ "required": false,
39116
+ "attributes": [],
39117
+ "annotations": [],
39118
+ "description": "Details from this transaction that can improve acceptance for returning customer stored card transactions."
39119
+ }],
39120
+ "attributes": [],
39121
+ "interfaces": []
39105
39122
  }, {
39106
39123
  "name": "invalid_checkout_data",
39107
39124
  "plural": "invalid_checkout_data",
@@ -47015,31 +47032,10 @@
47015
47032
  }],
47016
47033
  "attributes": [],
47017
47034
  "interfaces": [],
47018
- "description": "The restriction status of organization we would like to collect for data analytics"
47019
- }, {
47020
- "name": "organization_restriction_status_deleted",
47021
- "plural": "organization_restriction_status_deleteds",
47022
- "fields": [{
47023
- "name": "event_id",
47024
- "type": "string",
47025
- "required": true,
47026
- "attributes": [],
47027
- "annotations": []
47028
- }, {
47029
- "name": "timestamp",
47030
- "type": "date-time-iso8601",
47031
- "required": true,
47032
- "attributes": [],
47033
- "annotations": []
47034
- }, {
47035
- "name": "organization_restriction_status",
47036
- "type": "organization_restriction_status",
47037
- "required": true,
47038
- "attributes": [],
47039
- "annotations": []
47040
- }],
47041
- "attributes": [],
47042
- "interfaces": []
47035
+ "description": "The restriction status of organization we would like to collect for data analytics",
47036
+ "deprecation": {
47037
+ "description": "Use restriction_organization_status"
47038
+ }
47043
47039
  }, {
47044
47040
  "name": "organization_restriction_status_note",
47045
47041
  "plural": "organization_restriction_status_notes",
@@ -47088,30 +47084,6 @@
47088
47084
  "attributes": [],
47089
47085
  "interfaces": [],
47090
47086
  "description": "the note left by the compliance team"
47091
- }, {
47092
- "name": "organization_restriction_status_upserted",
47093
- "plural": "organization_restriction_status_upserteds",
47094
- "fields": [{
47095
- "name": "event_id",
47096
- "type": "string",
47097
- "required": true,
47098
- "attributes": [],
47099
- "annotations": []
47100
- }, {
47101
- "name": "timestamp",
47102
- "type": "date-time-iso8601",
47103
- "required": true,
47104
- "attributes": [],
47105
- "annotations": []
47106
- }, {
47107
- "name": "organization_restriction_status",
47108
- "type": "organization_restriction_status",
47109
- "required": true,
47110
- "attributes": [],
47111
- "annotations": []
47112
- }],
47113
- "attributes": [],
47114
- "interfaces": []
47115
47087
  }, {
47116
47088
  "name": "organization_settings",
47117
47089
  "plural": "organization_settings",
@@ -52116,6 +52088,130 @@
52116
52088
  "attributes": [],
52117
52089
  "interfaces": [],
52118
52090
  "description": "Aggregate counts for individual restriction decisions"
52091
+ }, {
52092
+ "name": "restriction_organization_status",
52093
+ "plural": "restriction_organization_statuses",
52094
+ "fields": [{
52095
+ "name": "id",
52096
+ "type": "string",
52097
+ "required": true,
52098
+ "attributes": [],
52099
+ "annotations": [],
52100
+ "description": "Unique identifier for the data snapshot"
52101
+ }, {
52102
+ "name": "organization_id",
52103
+ "type": "string",
52104
+ "required": true,
52105
+ "attributes": [],
52106
+ "annotations": []
52107
+ }, {
52108
+ "name": "approval",
52109
+ "type": "organization_restriction_approval_status",
52110
+ "required": true,
52111
+ "attributes": [],
52112
+ "annotations": [],
52113
+ "description": "EXTERNAL use, the current approval status(ready/not-ready) for an organization"
52114
+ }, {
52115
+ "name": "screening_status",
52116
+ "type": "organization_restriction_screening_status",
52117
+ "required": true,
52118
+ "attributes": [],
52119
+ "annotations": [],
52120
+ "description": "INTERNAL Status to Jailhouse only, the current screening status for an organization, approved, pending or rejected"
52121
+ }, {
52122
+ "name": "risk_level",
52123
+ "type": "organization_restriction_risk_level",
52124
+ "required": false,
52125
+ "attributes": [],
52126
+ "annotations": [],
52127
+ "description": "risk level of an organization"
52128
+ }, {
52129
+ "name": "selective_review_start_date",
52130
+ "type": "date-time-iso8601",
52131
+ "required": false,
52132
+ "attributes": [],
52133
+ "annotations": [],
52134
+ "description": "organization creation date in db"
52135
+ }, {
52136
+ "name": "selective_review_end_date",
52137
+ "type": "date-time-iso8601",
52138
+ "required": false,
52139
+ "attributes": [],
52140
+ "annotations": [],
52141
+ "description": "the date when screening decision was made, approved now or approved pending full review"
52142
+ }, {
52143
+ "name": "full_review_start_date",
52144
+ "type": "date-time-iso8601",
52145
+ "required": false,
52146
+ "attributes": [],
52147
+ "annotations": [],
52148
+ "description": "same as selective_review_end_date"
52149
+ }, {
52150
+ "name": "full_review_end_date",
52151
+ "type": "date-time-iso8601",
52152
+ "required": false,
52153
+ "attributes": [],
52154
+ "annotations": [],
52155
+ "description": "the time when people click 'Review Complete' button"
52156
+ }, {
52157
+ "name": "reason",
52158
+ "type": "string",
52159
+ "required": false,
52160
+ "attributes": [],
52161
+ "annotations": [],
52162
+ "description": "reason of why this organization is not ready."
52163
+ }],
52164
+ "attributes": [],
52165
+ "interfaces": [],
52166
+ "description": "The restriction status of organization we would like to collect for data analytics"
52167
+ }, {
52168
+ "name": "restriction_organization_status_deleted",
52169
+ "plural": "restriction_organization_status_deleteds",
52170
+ "fields": [{
52171
+ "name": "event_id",
52172
+ "type": "string",
52173
+ "required": true,
52174
+ "attributes": [],
52175
+ "annotations": []
52176
+ }, {
52177
+ "name": "timestamp",
52178
+ "type": "date-time-iso8601",
52179
+ "required": true,
52180
+ "attributes": [],
52181
+ "annotations": []
52182
+ }, {
52183
+ "name": "restriction_organization_status",
52184
+ "type": "restriction_organization_status",
52185
+ "required": true,
52186
+ "attributes": [],
52187
+ "annotations": []
52188
+ }],
52189
+ "attributes": [],
52190
+ "interfaces": []
52191
+ }, {
52192
+ "name": "restriction_organization_status_upserted",
52193
+ "plural": "restriction_organization_status_upserteds",
52194
+ "fields": [{
52195
+ "name": "event_id",
52196
+ "type": "string",
52197
+ "required": true,
52198
+ "attributes": [],
52199
+ "annotations": []
52200
+ }, {
52201
+ "name": "timestamp",
52202
+ "type": "date-time-iso8601",
52203
+ "required": true,
52204
+ "attributes": [],
52205
+ "annotations": []
52206
+ }, {
52207
+ "name": "restriction_organization_status",
52208
+ "type": "restriction_organization_status",
52209
+ "required": true,
52210
+ "attributes": [],
52211
+ "annotations": []
52212
+ }],
52213
+ "attributes": [],
52214
+ "interfaces": []
52119
52215
  }, {
52120
52216
  "name": "restriction_pending",
52121
52217
  "plural": "restriction_pendings",
@@ -86349,7 +86445,10 @@
86349
86445
  }
86350
86446
  }],
86351
86447
  "path": "/internal/restriction/:organization/approval",
86352
- "description": "Restriction status of an organization"
86448
+ "description": "Restriction status of an organization",
86449
+ "deprecation": {
86450
+ "description": "Use restriction_organization_status"
86451
+ }
86353
86452
  }, {
86354
86453
  "type": "organization_restriction_snapshot",
86355
86454
  "plural": "organization_restriction_snapshots",
@@ -86401,6 +86500,72 @@
86401
86500
  }],
86402
86501
  "path": "/internal/restriction/metrics",
86403
86502
  "description": "Snapshot of organizations with restriction data we are interested to see in data analytics"
86503
+ }, {
86504
+ "type": "organization_restriction_status",
86505
+ "plural": "organization_restriction_statuses",
86506
+ "operations": [{
86507
+ "method": "GET",
86508
+ "path": "/internal/restriction/:organization/status",
86509
+ "parameters": [{
86510
+ "name": "organization",
86511
+ "type": "string",
86512
+ "location": "Path",
86513
+ "required": true,
86514
+ "description": "Refers to your organization's account identifier"
86515
+ }],
86516
+ "responses": [{
86517
+ "code": {
86518
+ "integer": {
86519
+ "value": 200
86520
+ }
86521
+ },
86522
+ "type": "restriction_organization_status",
86523
+ "description": "Successful response",
86524
+ "attributes": []
86525
+ }, {
86526
+ "code": {
86527
+ "integer": {
86528
+ "value": 401
86529
+ }
86530
+ },
86531
+ "type": "unit",
86532
+ "description": "Authorization failed",
86533
+ "attributes": []
86534
+ }, {
86535
+ "code": {
86536
+ "integer": {
86537
+ "value": 404
86538
+ }
86539
+ },
86540
+ "type": "unit",
86541
+ "description": "Resource was not found",
86542
+ "attributes": []
86543
+ }, {
86544
+ "code": {
86545
+ "integer": {
86546
+ "value": 422
86547
+ }
86548
+ },
86549
+ "type": "io.flow.error.v0.models.generic_error",
86550
+ "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.",
86551
+ "attributes": []
86552
+ }],
86553
+ "attributes": [{
86554
+ "name": "linter",
86555
+ "value": {
86556
+ "ignore": ["get", "id", "limit", "offset", "sort", "versions"]
86557
+ }
86558
+ }],
86559
+ "description": "Get the current status of organization restriction review, ready/not-ready with its reason"
86560
+ }],
86561
+ "attributes": [{
86562
+ "name": "docs",
86563
+ "value": {
86564
+ "module": "general"
86565
+ }
86566
+ }],
86567
+ "path": "/internal/restriction/:organization/status",
86568
+ "description": "The restriction status of organization we would like to collect for data analytics"
86404
86569
  }, {
86405
86570
  "type": "organization_restriction_status_note",
86406
86571
  "plural": "organization_restriction_status_notes",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-mock-generator",
3
- "version": "5.31.50",
3
+ "version": "5.31.51",
4
4
  "description": "A mock data generator based on our internal API specifications for JavaScript",
5
5
  "keywords": [
6
6
  "flowcommerce",
@@ -29,5 +29,5 @@
29
29
  "apibuilder-js": "0.0.13",
30
30
  "apibuilder-mock-generator": "0.0.13"
31
31
  },
32
- "gitHead": "f8f8ae1c2b9472a8a42afdf320e7baa8341a3533"
32
+ "gitHead": "67c63b1d0d73f3943c90b2a53df3408e2c92ab71"
33
33
  }
@@ -10,7 +10,7 @@
10
10
  "key" : "api-internal"
11
11
  },
12
12
  "namespace" : "io.flow.internal.v0",
13
- "version" : "0.17.77",
13
+ "version" : "0.17.79",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -661,7 +661,7 @@
661
661
  "application" : {
662
662
  "key" : "pricing-indicator-internal-event"
663
663
  },
664
- "version" : "0.17.77",
664
+ "version" : "0.17.79",
665
665
  "enums" : [ "pricing_indicator_status", "service_name" ],
666
666
  "interfaces" : [ ],
667
667
  "unions" : [ "pricing_indicator_event" ],
@@ -1231,6 +1231,21 @@
1231
1231
  }, {
1232
1232
  "name" : "unsupported_payment_information",
1233
1233
  "attributes" : [ ]
1234
+ }, {
1235
+ "name" : "unsupported_shop_currency",
1236
+ "attributes" : [ ]
1237
+ }, {
1238
+ "name" : "invalid_rate",
1239
+ "attributes" : [ ]
1240
+ }, {
1241
+ "name" : "extracting_distribution_info_failed",
1242
+ "attributes" : [ ]
1243
+ }, {
1244
+ "name" : "shipping_estimation_failed",
1245
+ "attributes" : [ ]
1246
+ }, {
1247
+ "name" : "payment_authorization_failed",
1248
+ "attributes" : [ ]
1234
1249
  } ],
1235
1250
  "attributes" : [ ]
1236
1251
  }, {
@@ -3432,18 +3447,6 @@
3432
3447
  }, {
3433
3448
  "name" : "organization_restriction_approval_deleted",
3434
3449
  "attributes" : [ ]
3435
- }, {
3436
- "name" : "organization_restriction_snapshot_upserted",
3437
- "attributes" : [ ]
3438
- }, {
3439
- "name" : "organization_restriction_snapshot_deleted",
3440
- "attributes" : [ ]
3441
- }, {
3442
- "name" : "organization_restriction_status_upserted",
3443
- "attributes" : [ ]
3444
- }, {
3445
- "name" : "organization_restriction_status_deleted",
3446
- "attributes" : [ ]
3447
3450
  }, {
3448
3451
  "name" : "internal_authorization_upserted",
3449
3452
  "attributes" : [ ]
@@ -3561,6 +3564,18 @@
3561
3564
  }, {
3562
3565
  "name" : "ratecard_lane_aggregate_deleted",
3563
3566
  "attributes" : [ ]
3567
+ }, {
3568
+ "name" : "organization_restriction_snapshot_upserted",
3569
+ "attributes" : [ ]
3570
+ }, {
3571
+ "name" : "organization_restriction_snapshot_deleted",
3572
+ "attributes" : [ ]
3573
+ }, {
3574
+ "name" : "restriction_organization_status_upserted",
3575
+ "attributes" : [ ]
3576
+ }, {
3577
+ "name" : "restriction_organization_status_deleted",
3578
+ "attributes" : [ ]
3564
3579
  }, {
3565
3580
  "name" : "shopify_shop_upserted",
3566
3581
  "attributes" : [ ]
@@ -9955,22 +9970,6 @@
9955
9970
  "type" : "organization_restriction_approval_deleted",
9956
9971
  "attributes" : [ ],
9957
9972
  "discriminator_value" : "organization_restriction_approval_deleted"
9958
- }, {
9959
- "type" : "organization_restriction_snapshot_upserted",
9960
- "attributes" : [ ],
9961
- "discriminator_value" : "organization_restriction_snapshot_upserted"
9962
- }, {
9963
- "type" : "organization_restriction_snapshot_deleted",
9964
- "attributes" : [ ],
9965
- "discriminator_value" : "organization_restriction_snapshot_deleted"
9966
- }, {
9967
- "type" : "organization_restriction_status_upserted",
9968
- "attributes" : [ ],
9969
- "discriminator_value" : "organization_restriction_status_upserted"
9970
- }, {
9971
- "type" : "organization_restriction_status_deleted",
9972
- "attributes" : [ ],
9973
- "discriminator_value" : "organization_restriction_status_deleted"
9974
9973
  }, {
9975
9974
  "type" : "internal_authorization_upserted",
9976
9975
  "attributes" : [ ],
@@ -10127,6 +10126,22 @@
10127
10126
  "type" : "ratecard_lane_aggregate_deleted",
10128
10127
  "attributes" : [ ],
10129
10128
  "discriminator_value" : "ratecard_lane_aggregate_deleted"
10129
+ }, {
10130
+ "type" : "organization_restriction_snapshot_upserted",
10131
+ "attributes" : [ ],
10132
+ "discriminator_value" : "organization_restriction_snapshot_upserted"
10133
+ }, {
10134
+ "type" : "organization_restriction_snapshot_deleted",
10135
+ "attributes" : [ ],
10136
+ "discriminator_value" : "organization_restriction_snapshot_deleted"
10137
+ }, {
10138
+ "type" : "restriction_organization_status_upserted",
10139
+ "attributes" : [ ],
10140
+ "discriminator_value" : "restriction_organization_status_upserted"
10141
+ }, {
10142
+ "type" : "restriction_organization_status_deleted",
10143
+ "attributes" : [ ],
10144
+ "discriminator_value" : "restriction_organization_status_deleted"
10130
10145
  }, {
10131
10146
  "type" : "shopify_shop_upserted",
10132
10147
  "attributes" : [ ],
@@ -10756,6 +10771,19 @@
10756
10771
  "interfaces" : [ ],
10757
10772
  "discriminator" : "discriminator",
10758
10773
  "description" : "Types of forms one can use to manually record a refund with necessary fields for each payment processor."
10774
+ }, {
10775
+ "name" : "internal_transaction_details",
10776
+ "plural" : "internal_transaction_detailses",
10777
+ "types" : [ {
10778
+ "type" : "internal_transaction_details_card",
10779
+ "attributes" : [ ],
10780
+ "description" : "Card specific transaction details",
10781
+ "discriminator_value" : "card"
10782
+ } ],
10783
+ "attributes" : [ ],
10784
+ "interfaces" : [ ],
10785
+ "discriminator" : "type",
10786
+ "description" : "An internal version of transaction details that can be used to for internal events or db models"
10759
10787
  }, {
10760
10788
  "name" : "localizable_content",
10761
10789
  "plural" : "localizable_contents",
@@ -38778,25 +38806,6 @@
38778
38806
  "attributes" : [ ],
38779
38807
  "interfaces" : [ ],
38780
38808
  "description" : "Represents details relevant to the internal execution of a Bitpay authorization, such as which credentials were used to initiate a payment."
38781
- }, {
38782
- "name" : "internal_card_authorization_details",
38783
- "plural" : "internal_card_authorization_detailses",
38784
- "fields" : [ {
38785
- "name" : "result",
38786
- "type" : "io.flow.payment.v0.models.authorization_result",
38787
- "required" : true,
38788
- "attributes" : [ ],
38789
- "annotations" : [ ]
38790
- }, {
38791
- "name" : "internal",
38792
- "type" : "internal_authorization_details",
38793
- "required" : false,
38794
- "attributes" : [ ],
38795
- "annotations" : [ ]
38796
- } ],
38797
- "attributes" : [ ],
38798
- "interfaces" : [ ],
38799
- "description" : "Represents details relevant to the execution of a card authorization, but not exposed via the API."
38800
38809
  }, {
38801
38810
  "name" : "internal_channel_rate",
38802
38811
  "plural" : "internal_channel_rates",
@@ -39069,25 +39078,6 @@
39069
39078
  "attributes" : [ ],
39070
39079
  "interfaces" : [ ],
39071
39080
  "description" : "Represents details relevant to the internal execution of a PayPal authorization, such as which credentials were used to initiate a payment."
39072
- }, {
39073
- "name" : "internal_redirect_authorization_details",
39074
- "plural" : "internal_redirect_authorization_detailses",
39075
- "fields" : [ {
39076
- "name" : "details",
39077
- "type" : "io.flow.payment.v0.models.redirect_authorization_details",
39078
- "required" : true,
39079
- "attributes" : [ ],
39080
- "annotations" : [ ]
39081
- }, {
39082
- "name" : "internal",
39083
- "type" : "internal_authorization_details",
39084
- "required" : false,
39085
- "attributes" : [ ],
39086
- "annotations" : [ ]
39087
- } ],
39088
- "attributes" : [ ],
39089
- "interfaces" : [ ],
39090
- "description" : "Combines the external-facing `details` with any `internal` details related to an authorization."
39091
39081
  }, {
39092
39082
  "name" : "internal_stripe_authorization_details",
39093
39083
  "plural" : "internal_stripe_authorization_detailses",
@@ -39102,6 +39092,33 @@
39102
39092
  "attributes" : [ ],
39103
39093
  "interfaces" : [ ],
39104
39094
  "description" : "Represents details relevant to the internal execution of a Stripe authorization, such as which credentials were used to initiate a payment."
39095
+ }, {
39096
+ "name" : "internal_transaction_details_card",
39097
+ "plural" : "internal_transaction_details_cards",
39098
+ "fields" : [ {
39099
+ "name" : "address_verification_result",
39100
+ "type" : "io.flow.payment.v0.models.address_verification_result",
39101
+ "required" : false,
39102
+ "attributes" : [ ],
39103
+ "annotations" : [ ],
39104
+ "description" : "Will not be returned if billing address is not provided with a transaction."
39105
+ }, {
39106
+ "name" : "cvv_result",
39107
+ "type" : "io.flow.payment.v0.models.cvv_result",
39108
+ "required" : false,
39109
+ "attributes" : [ ],
39110
+ "annotations" : [ ],
39111
+ "description" : "Will not be returned if cvv is not provided with a transaction."
39112
+ }, {
39113
+ "name" : "network_details",
39114
+ "type" : "io.flow.payment.v0.models.transaction_network_details_card",
39115
+ "required" : false,
39116
+ "attributes" : [ ],
39117
+ "annotations" : [ ],
39118
+ "description" : "Details from this transaction that can improve acceptance for returning customer stored card transactions."
39119
+ } ],
39120
+ "attributes" : [ ],
39121
+ "interfaces" : [ ]
39105
39122
  }, {
39106
39123
  "name" : "invalid_checkout_data",
39107
39124
  "plural" : "invalid_checkout_data",
@@ -47015,31 +47032,10 @@
47015
47032
  } ],
47016
47033
  "attributes" : [ ],
47017
47034
  "interfaces" : [ ],
47018
- "description" : "The restriction status of organization we would like to collect for data analytics"
47019
- }, {
47020
- "name" : "organization_restriction_status_deleted",
47021
- "plural" : "organization_restriction_status_deleteds",
47022
- "fields" : [ {
47023
- "name" : "event_id",
47024
- "type" : "string",
47025
- "required" : true,
47026
- "attributes" : [ ],
47027
- "annotations" : [ ]
47028
- }, {
47029
- "name" : "timestamp",
47030
- "type" : "date-time-iso8601",
47031
- "required" : true,
47032
- "attributes" : [ ],
47033
- "annotations" : [ ]
47034
- }, {
47035
- "name" : "organization_restriction_status",
47036
- "type" : "organization_restriction_status",
47037
- "required" : true,
47038
- "attributes" : [ ],
47039
- "annotations" : [ ]
47040
- } ],
47041
- "attributes" : [ ],
47042
- "interfaces" : [ ]
47035
+ "description" : "The restriction status of organization we would like to collect for data analytics",
47036
+ "deprecation" : {
47037
+ "description" : "Use restriction_organization_status"
47038
+ }
47043
47039
  }, {
47044
47040
  "name" : "organization_restriction_status_note",
47045
47041
  "plural" : "organization_restriction_status_notes",
@@ -47088,30 +47084,6 @@
47088
47084
  "attributes" : [ ],
47089
47085
  "interfaces" : [ ],
47090
47086
  "description" : "the note left by the compliance team"
47091
- }, {
47092
- "name" : "organization_restriction_status_upserted",
47093
- "plural" : "organization_restriction_status_upserteds",
47094
- "fields" : [ {
47095
- "name" : "event_id",
47096
- "type" : "string",
47097
- "required" : true,
47098
- "attributes" : [ ],
47099
- "annotations" : [ ]
47100
- }, {
47101
- "name" : "timestamp",
47102
- "type" : "date-time-iso8601",
47103
- "required" : true,
47104
- "attributes" : [ ],
47105
- "annotations" : [ ]
47106
- }, {
47107
- "name" : "organization_restriction_status",
47108
- "type" : "organization_restriction_status",
47109
- "required" : true,
47110
- "attributes" : [ ],
47111
- "annotations" : [ ]
47112
- } ],
47113
- "attributes" : [ ],
47114
- "interfaces" : [ ]
47115
47087
  }, {
47116
47088
  "name" : "organization_settings",
47117
47089
  "plural" : "organization_settings",
@@ -52116,6 +52088,130 @@
52116
52088
  "attributes" : [ ],
52117
52089
  "interfaces" : [ ],
52118
52090
  "description" : "Aggregate counts for individual restriction decisions"
52091
+ }, {
52092
+ "name" : "restriction_organization_status",
52093
+ "plural" : "restriction_organization_statuses",
52094
+ "fields" : [ {
52095
+ "name" : "id",
52096
+ "type" : "string",
52097
+ "required" : true,
52098
+ "attributes" : [ ],
52099
+ "annotations" : [ ],
52100
+ "description" : "Unique identifier for the data snapshot"
52101
+ }, {
52102
+ "name" : "organization_id",
52103
+ "type" : "string",
52104
+ "required" : true,
52105
+ "attributes" : [ ],
52106
+ "annotations" : [ ]
52107
+ }, {
52108
+ "name" : "approval",
52109
+ "type" : "organization_restriction_approval_status",
52110
+ "required" : true,
52111
+ "attributes" : [ ],
52112
+ "annotations" : [ ],
52113
+ "description" : "EXTERNAL use, the current approval status(ready/not-ready) for an organization"
52114
+ }, {
52115
+ "name" : "screening_status",
52116
+ "type" : "organization_restriction_screening_status",
52117
+ "required" : true,
52118
+ "attributes" : [ ],
52119
+ "annotations" : [ ],
52120
+ "description" : "INTERNAL Status to Jailhouse only, the current screening status for an organization, approved, pending or rejected"
52121
+ }, {
52122
+ "name" : "risk_level",
52123
+ "type" : "organization_restriction_risk_level",
52124
+ "required" : false,
52125
+ "attributes" : [ ],
52126
+ "annotations" : [ ],
52127
+ "description" : "risk level of an organization"
52128
+ }, {
52129
+ "name" : "selective_review_start_date",
52130
+ "type" : "date-time-iso8601",
52131
+ "required" : false,
52132
+ "attributes" : [ ],
52133
+ "annotations" : [ ],
52134
+ "description" : "organization creation date in db"
52135
+ }, {
52136
+ "name" : "selective_review_end_date",
52137
+ "type" : "date-time-iso8601",
52138
+ "required" : false,
52139
+ "attributes" : [ ],
52140
+ "annotations" : [ ],
52141
+ "description" : "the date when screening decision was made, approved now or approved pending full review"
52142
+ }, {
52143
+ "name" : "full_review_start_date",
52144
+ "type" : "date-time-iso8601",
52145
+ "required" : false,
52146
+ "attributes" : [ ],
52147
+ "annotations" : [ ],
52148
+ "description" : "same as selective_review_end_date"
52149
+ }, {
52150
+ "name" : "full_review_end_date",
52151
+ "type" : "date-time-iso8601",
52152
+ "required" : false,
52153
+ "attributes" : [ ],
52154
+ "annotations" : [ ],
52155
+ "description" : "the time when people click 'Review Complete' button"
52156
+ }, {
52157
+ "name" : "reason",
52158
+ "type" : "string",
52159
+ "required" : false,
52160
+ "attributes" : [ ],
52161
+ "annotations" : [ ],
52162
+ "description" : "reason of why this organization is not ready."
52163
+ } ],
52164
+ "attributes" : [ ],
52165
+ "interfaces" : [ ],
52166
+ "description" : "The restriction status of organization we would like to collect for data analytics"
52167
+ }, {
52168
+ "name" : "restriction_organization_status_deleted",
52169
+ "plural" : "restriction_organization_status_deleteds",
52170
+ "fields" : [ {
52171
+ "name" : "event_id",
52172
+ "type" : "string",
52173
+ "required" : true,
52174
+ "attributes" : [ ],
52175
+ "annotations" : [ ]
52176
+ }, {
52177
+ "name" : "timestamp",
52178
+ "type" : "date-time-iso8601",
52179
+ "required" : true,
52180
+ "attributes" : [ ],
52181
+ "annotations" : [ ]
52182
+ }, {
52183
+ "name" : "restriction_organization_status",
52184
+ "type" : "restriction_organization_status",
52185
+ "required" : true,
52186
+ "attributes" : [ ],
52187
+ "annotations" : [ ]
52188
+ } ],
52189
+ "attributes" : [ ],
52190
+ "interfaces" : [ ]
52191
+ }, {
52192
+ "name" : "restriction_organization_status_upserted",
52193
+ "plural" : "restriction_organization_status_upserteds",
52194
+ "fields" : [ {
52195
+ "name" : "event_id",
52196
+ "type" : "string",
52197
+ "required" : true,
52198
+ "attributes" : [ ],
52199
+ "annotations" : [ ]
52200
+ }, {
52201
+ "name" : "timestamp",
52202
+ "type" : "date-time-iso8601",
52203
+ "required" : true,
52204
+ "attributes" : [ ],
52205
+ "annotations" : [ ]
52206
+ }, {
52207
+ "name" : "restriction_organization_status",
52208
+ "type" : "restriction_organization_status",
52209
+ "required" : true,
52210
+ "attributes" : [ ],
52211
+ "annotations" : [ ]
52212
+ } ],
52213
+ "attributes" : [ ],
52214
+ "interfaces" : [ ]
52119
52215
  }, {
52120
52216
  "name" : "restriction_pending",
52121
52217
  "plural" : "restriction_pendings",
@@ -86349,7 +86445,10 @@
86349
86445
  }
86350
86446
  } ],
86351
86447
  "path" : "/internal/restriction/:organization/approval",
86352
- "description" : "Restriction status of an organization"
86448
+ "description" : "Restriction status of an organization",
86449
+ "deprecation" : {
86450
+ "description" : "Use restriction_organization_status"
86451
+ }
86353
86452
  }, {
86354
86453
  "type" : "organization_restriction_snapshot",
86355
86454
  "plural" : "organization_restriction_snapshots",
@@ -86401,6 +86500,72 @@
86401
86500
  } ],
86402
86501
  "path" : "/internal/restriction/metrics",
86403
86502
  "description" : "Snapshot of organizations with restriction data we are interested to see in data analytics"
86503
+ }, {
86504
+ "type" : "organization_restriction_status",
86505
+ "plural" : "organization_restriction_statuses",
86506
+ "operations" : [ {
86507
+ "method" : "GET",
86508
+ "path" : "/internal/restriction/:organization/status",
86509
+ "parameters" : [ {
86510
+ "name" : "organization",
86511
+ "type" : "string",
86512
+ "location" : "Path",
86513
+ "required" : true,
86514
+ "description" : "Refers to your organization's account identifier"
86515
+ } ],
86516
+ "responses" : [ {
86517
+ "code" : {
86518
+ "integer" : {
86519
+ "value" : 200
86520
+ }
86521
+ },
86522
+ "type" : "restriction_organization_status",
86523
+ "description" : "Successful response",
86524
+ "attributes" : [ ]
86525
+ }, {
86526
+ "code" : {
86527
+ "integer" : {
86528
+ "value" : 401
86529
+ }
86530
+ },
86531
+ "type" : "unit",
86532
+ "description" : "Authorization failed",
86533
+ "attributes" : [ ]
86534
+ }, {
86535
+ "code" : {
86536
+ "integer" : {
86537
+ "value" : 404
86538
+ }
86539
+ },
86540
+ "type" : "unit",
86541
+ "description" : "Resource was not found",
86542
+ "attributes" : [ ]
86543
+ }, {
86544
+ "code" : {
86545
+ "integer" : {
86546
+ "value" : 422
86547
+ }
86548
+ },
86549
+ "type" : "io.flow.error.v0.models.generic_error",
86550
+ "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.",
86551
+ "attributes" : [ ]
86552
+ } ],
86553
+ "attributes" : [ {
86554
+ "name" : "linter",
86555
+ "value" : {
86556
+ "ignore" : [ "get", "id", "limit", "offset", "sort", "versions" ]
86557
+ }
86558
+ } ],
86559
+ "description" : "Get the current status of organization restriction review, ready/not-ready with its reason"
86560
+ } ],
86561
+ "attributes" : [ {
86562
+ "name" : "docs",
86563
+ "value" : {
86564
+ "module" : "general"
86565
+ }
86566
+ } ],
86567
+ "path" : "/internal/restriction/:organization/status",
86568
+ "description" : "The restriction status of organization we would like to collect for data analytics"
86404
86569
  }, {
86405
86570
  "type" : "organization_restriction_status_note",
86406
86571
  "plural" : "organization_restriction_status_notes",