checkify 0.1.0

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 (87) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +9 -0
  3. data/LICENSE +21 -0
  4. data/README.md +319 -0
  5. data/docs/AbnAddress.md +24 -0
  6. data/docs/AbnResponse.md +34 -0
  7. data/docs/AbnResponseAbnDetails.md +22 -0
  8. data/docs/Account.md +36 -0
  9. data/docs/AccountApi.md +74 -0
  10. data/docs/AcnAddress.md +24 -0
  11. data/docs/AcnResponse.md +38 -0
  12. data/docs/AcnResponseAbnDetails.md +18 -0
  13. data/docs/AcnResponseAcnDetails.md +22 -0
  14. data/docs/AddressApi.md +457 -0
  15. data/docs/AddressDetails.md +52 -0
  16. data/docs/AsicDocument.md +28 -0
  17. data/docs/AsicDocumentContentsInner.md +20 -0
  18. data/docs/BatchApi.md +217 -0
  19. data/docs/BulkCreateRequest.md +20 -0
  20. data/docs/BulkCreateRequestItems.md +49 -0
  21. data/docs/BulkJob.md +26 -0
  22. data/docs/BusinessActivity.md +22 -0
  23. data/docs/BusinessActivityResponse.md +22 -0
  24. data/docs/BusinessApi.md +361 -0
  25. data/docs/CommunicationApi.md +151 -0
  26. data/docs/DirectorIdResponse.md +24 -0
  27. data/docs/EmailResponse.md +42 -0
  28. data/docs/EmailResponseDns.md +18 -0
  29. data/docs/EmailResponseFormat.md +22 -0
  30. data/docs/Error.md +22 -0
  31. data/docs/FormerName.md +22 -0
  32. data/docs/IdentityApi.md +225 -0
  33. data/docs/NameAvailability.md +26 -0
  34. data/docs/PhoneResponse.md +32 -0
  35. data/docs/PostcodeResult.md +30 -0
  36. data/docs/ReverseResult.md +38 -0
  37. data/docs/SanctionsResponse.md +20 -0
  38. data/docs/SanctionsResult.md +42 -0
  39. data/docs/SanctionsResultSanctions.md +24 -0
  40. data/docs/SuburbDetails.md +30 -0
  41. data/docs/TfnResponse.md +24 -0
  42. data/lib/checkify/api/account_api.rb +79 -0
  43. data/lib/checkify/api/address_api.rb +490 -0
  44. data/lib/checkify/api/batch_api.rb +216 -0
  45. data/lib/checkify/api/business_api.rb +365 -0
  46. data/lib/checkify/api/communication_api.rb +157 -0
  47. data/lib/checkify/api/identity_api.rb +248 -0
  48. data/lib/checkify/api_client.rb +397 -0
  49. data/lib/checkify/api_error.rb +58 -0
  50. data/lib/checkify/api_model_base.rb +88 -0
  51. data/lib/checkify/client.rb +25 -0
  52. data/lib/checkify/configuration.rb +305 -0
  53. data/lib/checkify/models/abn_address.rb +173 -0
  54. data/lib/checkify/models/abn_response.rb +223 -0
  55. data/lib/checkify/models/abn_response_abn_details.rb +165 -0
  56. data/lib/checkify/models/account.rb +277 -0
  57. data/lib/checkify/models/acn_address.rb +173 -0
  58. data/lib/checkify/models/acn_response.rb +244 -0
  59. data/lib/checkify/models/acn_response_abn_details.rb +145 -0
  60. data/lib/checkify/models/acn_response_acn_details.rb +164 -0
  61. data/lib/checkify/models/address_details.rb +324 -0
  62. data/lib/checkify/models/asic_document.rb +192 -0
  63. data/lib/checkify/models/asic_document_contents_inner.rb +154 -0
  64. data/lib/checkify/models/bulk_create_request.rb +213 -0
  65. data/lib/checkify/models/bulk_create_request_items.rb +103 -0
  66. data/lib/checkify/models/bulk_job.rb +215 -0
  67. data/lib/checkify/models/business_activity.rb +166 -0
  68. data/lib/checkify/models/business_activity_response.rb +165 -0
  69. data/lib/checkify/models/director_id_response.rb +174 -0
  70. data/lib/checkify/models/email_response.rb +292 -0
  71. data/lib/checkify/models/email_response_dns.rb +146 -0
  72. data/lib/checkify/models/email_response_format.rb +167 -0
  73. data/lib/checkify/models/error.rb +166 -0
  74. data/lib/checkify/models/former_name.rb +163 -0
  75. data/lib/checkify/models/name_availability.rb +186 -0
  76. data/lib/checkify/models/phone_response.rb +216 -0
  77. data/lib/checkify/models/postcode_result.rb +201 -0
  78. data/lib/checkify/models/reverse_result.rb +237 -0
  79. data/lib/checkify/models/sanctions_response.rb +157 -0
  80. data/lib/checkify/models/sanctions_result.rb +339 -0
  81. data/lib/checkify/models/sanctions_result_sanctions.rb +172 -0
  82. data/lib/checkify/models/suburb_details.rb +207 -0
  83. data/lib/checkify/models/tfn_response.rb +174 -0
  84. data/lib/checkify/version.rb +15 -0
  85. data/lib/checkify.rb +78 -0
  86. data/openapi.yaml +1373 -0
  87. metadata +182 -0
@@ -0,0 +1,42 @@
1
+ # Checkify::SanctionsResult
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **source** | **String** | Source sanctions list | [optional] |
8
+ | **reference** | **String** | Source-specific reference number | [optional] |
9
+ | **name** | **String** | Primary name of the sanctioned individual or entity | [optional] |
10
+ | **type** | **String** | | [optional] |
11
+ | **aliases** | **Array<String>** | | [optional] |
12
+ | **confidence** | **Float** | Confidence score — higher when birth details match | [optional] |
13
+ | **sanctions** | [**SanctionsResultSanctions**](SanctionsResultSanctions.md) | | [optional] |
14
+ | **date_of_birth** | **String** | | [optional] |
15
+ | **place_of_birth** | **String** | | [optional] |
16
+ | **citizenship** | **String** | | [optional] |
17
+ | **committees** | **String** | | [optional] |
18
+ | **listing_information** | **String** | | [optional] |
19
+ | **source_updated_at** | **String** | Date of last source list update | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'checkify'
25
+
26
+ instance = Checkify::SanctionsResult.new(
27
+ source: null,
28
+ reference: null,
29
+ name: null,
30
+ type: null,
31
+ aliases: null,
32
+ confidence: null,
33
+ sanctions: null,
34
+ date_of_birth: null,
35
+ place_of_birth: null,
36
+ citizenship: null,
37
+ committees: null,
38
+ listing_information: null,
39
+ source_updated_at: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,24 @@
1
+ # Checkify::SanctionsResultSanctions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **targeted_financial_sanction** | **Boolean** | | [optional] |
8
+ | **travel_ban** | **Boolean** | | [optional] |
9
+ | **arms_embargo** | **Boolean** | | [optional] |
10
+ | **maritime_restriction** | **Boolean** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'checkify'
16
+
17
+ instance = Checkify::SanctionsResultSanctions.new(
18
+ targeted_financial_sanction: null,
19
+ travel_ban: null,
20
+ arms_embargo: null,
21
+ maritime_restriction: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,30 @@
1
+ # Checkify::SuburbDetails
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **city** | **String** | | [optional] |
8
+ | **postcode** | **String** | 4-digit postcode (null for NZ) | [optional] |
9
+ | **state** | **String** | State abbreviation — AU only | [optional] |
10
+ | **state_full** | **String** | Full state name — AU only | [optional] |
11
+ | **region** | **String** | Region/city — NZ only | [optional] |
12
+ | **country** | **String** | | [optional] |
13
+ | **country_full** | **String** | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'checkify'
19
+
20
+ instance = Checkify::SuburbDetails.new(
21
+ city: null,
22
+ postcode: null,
23
+ state: null,
24
+ state_full: null,
25
+ region: null,
26
+ country: null,
27
+ country_full: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,24 @@
1
+ # Checkify::TfnResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **tfn** | **String** | Normalised digits only | [optional] |
8
+ | **tfn_formatted** | **String** | Grouped with spaces | [optional] |
9
+ | **valid** | **Boolean** | | [optional] |
10
+ | **notice** | **String** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'checkify'
16
+
17
+ instance = Checkify::TfnResponse.new(
18
+ tfn: null,
19
+ tfn_formatted: null,
20
+ valid: null,
21
+ notice: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,79 @@
1
+ =begin
2
+ #Checkify API
3
+
4
+ #Australian and New Zealand address validation, business lookups, identity checks, and communication validation through a single REST interface.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module Checkify
16
+ class AccountApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Get account details
23
+ # Returns your current plan, unit usage, billing period, subscription status, and a per-endpoint breakdown of API calls for the current period. Costs 0 units. Usage breakdown is cached for 5 minutes.
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [Account]
26
+ def get_account(opts = {})
27
+ data, _status_code, _headers = get_account_with_http_info(opts)
28
+ data
29
+ end
30
+
31
+ # Get account details
32
+ # Returns your current plan, unit usage, billing period, subscription status, and a per-endpoint breakdown of API calls for the current period. Costs 0 units. Usage breakdown is cached for 5 minutes.
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(Account, Integer, Hash)>] Account data, response status code and response headers
35
+ def get_account_with_http_info(opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: AccountApi.get_account ...'
38
+ end
39
+ # resource path
40
+ local_var_path = '/account'
41
+
42
+ # query parameters
43
+ query_params = opts[:query_params] || {}
44
+
45
+ # header parameters
46
+ header_params = opts[:header_params] || {}
47
+ # HTTP header 'Accept' (if needed)
48
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
49
+
50
+ # form parameters
51
+ form_params = opts[:form_params] || {}
52
+
53
+ # http body (model)
54
+ post_body = opts[:debug_body]
55
+
56
+ # return_type
57
+ return_type = opts[:debug_return_type] || 'Account'
58
+
59
+ # auth_names
60
+ auth_names = opts[:debug_auth_names] || ['BearerAuth']
61
+
62
+ new_options = opts.merge(
63
+ :operation => :"AccountApi.get_account",
64
+ :header_params => header_params,
65
+ :query_params => query_params,
66
+ :form_params => form_params,
67
+ :body => post_body,
68
+ :auth_names => auth_names,
69
+ :return_type => return_type
70
+ )
71
+
72
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
73
+ if @api_client.config.debugging
74
+ @api_client.config.logger.debug "API called: AccountApi#get_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
75
+ end
76
+ return data, status_code, headers
77
+ end
78
+ end
79
+ end