DealMakerAPI 0.75.0 → 0.78.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/DealMakerAPI.gemspec +2 -2
  3. data/README.md +73 -47
  4. data/docs/CreateCorporationProfileRequest.md +6 -0
  5. data/docs/CreateIndividualProfileRequest.md +7 -1
  6. data/docs/CreateInvestorRequest.md +2 -0
  7. data/docs/CreateJointProfileRequest.md +6 -0
  8. data/docs/CreateTrustProfileRequest.md +6 -0
  9. data/docs/PatchCorporationProfileRequest.md +6 -0
  10. data/docs/PatchIndividualProfileRequest.md +7 -1
  11. data/docs/PatchJointProfileRequest.md +6 -0
  12. data/docs/PatchTrustProfileRequest.md +6 -0
  13. data/docs/V1EntitiesDealFundingMetrics.md +4 -0
  14. data/docs/V1EntitiesInvestor.md +2 -2
  15. data/docs/V1EntitiesInvestorProfileCorporation.md +4 -0
  16. data/docs/V1EntitiesInvestorProfileFieldsCorporation.md +6 -0
  17. data/docs/V1EntitiesInvestorProfileFieldsPrimaryHolder.md +6 -0
  18. data/docs/V1EntitiesInvestorProfileFieldsTrust.md +6 -0
  19. data/docs/V1EntitiesInvestorProfileIndividual.md +4 -0
  20. data/docs/V1EntitiesInvestorProfileJoint.md +4 -0
  21. data/docs/V1EntitiesInvestorProfileOwner.md +22 -0
  22. data/docs/V1EntitiesInvestorProfileTrust.md +4 -0
  23. data/lib/DealMakerAPI/api/company_api.rb +2 -2
  24. data/lib/DealMakerAPI/api/deal_api.rb +2 -2
  25. data/lib/DealMakerAPI/api/deal_setup_api.rb +2 -2
  26. data/lib/DealMakerAPI/api/default_api.rb +2 -2
  27. data/lib/DealMakerAPI/api/investor_api.rb +2 -2
  28. data/lib/DealMakerAPI/api/investor_profile_api.rb +2 -2
  29. data/lib/DealMakerAPI/api_client.rb +2 -2
  30. data/lib/DealMakerAPI/api_error.rb +2 -2
  31. data/lib/DealMakerAPI/configuration.rb +3 -3
  32. data/lib/DealMakerAPI/models/create_company_request.rb +2 -2
  33. data/lib/DealMakerAPI/models/create_corporation_profile_request.rb +33 -3
  34. data/lib/DealMakerAPI/models/create_deal_setup_request.rb +2 -2
  35. data/lib/DealMakerAPI/models/create_individual_profile_request.rb +36 -6
  36. data/lib/DealMakerAPI/models/create_investor_request.rb +13 -3
  37. data/lib/DealMakerAPI/models/create_joint_profile_request.rb +33 -3
  38. data/lib/DealMakerAPI/models/create_trust_profile_request.rb +33 -3
  39. data/lib/DealMakerAPI/models/patch_corporation_profile_request.rb +33 -3
  40. data/lib/DealMakerAPI/models/patch_individual_profile_request.rb +36 -6
  41. data/lib/DealMakerAPI/models/patch_investor_request.rb +2 -2
  42. data/lib/DealMakerAPI/models/patch_joint_profile_request.rb +33 -3
  43. data/lib/DealMakerAPI/models/patch_trust_profile_request.rb +33 -3
  44. data/lib/DealMakerAPI/models/post_webhooks_request.rb +2 -2
  45. data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +2 -2
  46. data/lib/DealMakerAPI/models/update_investor_request.rb +2 -2
  47. data/lib/DealMakerAPI/models/v1_entities_address.rb +2 -2
  48. data/lib/DealMakerAPI/models/v1_entities_addresses.rb +2 -2
  49. data/lib/DealMakerAPI/models/v1_entities_attachment.rb +2 -2
  50. data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +2 -2
  51. data/lib/DealMakerAPI/models/v1_entities_company.rb +2 -2
  52. data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +2 -2
  53. data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +2 -2
  54. data/lib/DealMakerAPI/models/v1_entities_deal.rb +2 -2
  55. data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +2 -2
  56. data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +23 -3
  57. data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +2 -2
  58. data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +2 -2
  59. data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +2 -2
  60. data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +2 -2
  61. data/lib/DealMakerAPI/models/v1_entities_deals.rb +2 -2
  62. data/lib/DealMakerAPI/models/v1_entities_investor.rb +13 -13
  63. data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +2 -2
  64. data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +2 -2
  65. data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +22 -3
  66. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +2 -2
  67. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +33 -3
  68. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +33 -3
  69. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +33 -3
  70. data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +22 -3
  71. data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +2 -2
  72. data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +22 -3
  73. data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +240 -0
  74. data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +22 -3
  75. data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +2 -2
  76. data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +2 -2
  77. data/lib/DealMakerAPI/models/v1_entities_investors.rb +2 -2
  78. data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +2 -2
  79. data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +2 -2
  80. data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +2 -2
  81. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +2 -2
  82. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +2 -2
  83. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +2 -2
  84. data/lib/DealMakerAPI/version.rb +3 -3
  85. data/lib/DealMakerAPI.rb +3 -2
  86. data/spec/api/company_api_spec.rb +5 -5
  87. data/spec/api/deal_api_spec.rb +4 -4
  88. data/spec/api/deal_setup_api_spec.rb +3 -3
  89. data/spec/api/default_api_spec.rb +8 -8
  90. data/spec/api/investor_api_spec.rb +8 -8
  91. data/spec/api/investor_profile_api_spec.rb +13 -13
  92. data/spec/api_client_spec.rb +2 -2
  93. data/spec/configuration_spec.rb +2 -2
  94. data/spec/models/create_company_request_spec.rb +10 -10
  95. data/spec/models/create_corporation_profile_request_spec.rb +53 -35
  96. data/spec/models/create_deal_setup_request_spec.rb +9 -9
  97. data/spec/models/create_individual_profile_request_spec.rb +34 -16
  98. data/spec/models/create_investor_request_spec.rb +20 -14
  99. data/spec/models/create_joint_profile_request_spec.rb +46 -28
  100. data/spec/models/create_trust_profile_request_spec.rb +42 -24
  101. data/spec/models/patch_corporation_profile_request_spec.rb +41 -23
  102. data/spec/models/patch_individual_profile_request_spec.rb +33 -15
  103. data/spec/models/patch_investor_request_spec.rb +4 -4
  104. data/spec/models/patch_joint_profile_request_spec.rb +45 -27
  105. data/spec/models/patch_trust_profile_request_spec.rb +41 -23
  106. data/spec/models/post_webhooks_request_spec.rb +7 -7
  107. data/spec/models/put_webhooks_id_request_spec.rb +9 -9
  108. data/spec/models/update_investor_request_spec.rb +6 -6
  109. data/spec/models/v1_entities_address_spec.rb +8 -8
  110. data/spec/models/v1_entities_addresses_spec.rb +3 -3
  111. data/spec/models/v1_entities_attachment_spec.rb +5 -5
  112. data/spec/models/v1_entities_background_check_search_spec.rb +3 -3
  113. data/spec/models/v1_entities_company_deal_spec.rb +4 -4
  114. data/spec/models/v1_entities_company_deals_spec.rb +3 -3
  115. data/spec/models/v1_entities_company_spec.rb +11 -11
  116. data/spec/models/v1_entities_deal_enterprise_spec.rb +4 -4
  117. data/spec/models/v1_entities_deal_funding_metrics_spec.rb +20 -8
  118. data/spec/models/v1_entities_deal_investor_metrics_spec.rb +8 -8
  119. data/spec/models/v1_entities_deal_issuer_spec.rb +4 -4
  120. data/spec/models/v1_entities_deal_setup_spec.rb +11 -11
  121. data/spec/models/v1_entities_deal_setup_user_spec.rb +4 -4
  122. data/spec/models/v1_entities_deal_spec.rb +15 -15
  123. data/spec/models/v1_entities_deals_spec.rb +3 -3
  124. data/spec/models/v1_entities_investor_otp_access_link_spec.rb +3 -3
  125. data/spec/models/v1_entities_investor_profile_address_spec.rb +8 -8
  126. data/spec/models/v1_entities_investor_profile_corporation_spec.rb +23 -11
  127. data/spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb +8 -8
  128. data/spec/models/v1_entities_investor_profile_fields_corporation_spec.rb +24 -6
  129. data/spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb +27 -9
  130. data/spec/models/v1_entities_investor_profile_fields_trust_spec.rb +24 -6
  131. data/spec/models/v1_entities_investor_profile_individual_spec.rb +21 -9
  132. data/spec/models/v1_entities_investor_profile_item_spec.rb +3 -3
  133. data/spec/models/v1_entities_investor_profile_joint_spec.rb +23 -11
  134. data/spec/models/v1_entities_investor_profile_owner_spec.rb +46 -0
  135. data/spec/models/v1_entities_investor_profile_trust_spec.rb +22 -10
  136. data/spec/models/v1_entities_investor_profiles_spec.rb +3 -3
  137. data/spec/models/v1_entities_investor_spec.rb +31 -31
  138. data/spec/models/v1_entities_investor_user_spec.rb +4 -4
  139. data/spec/models/v1_entities_investors_spec.rb +3 -3
  140. data/spec/models/v1_entities_subscription_agreement_spec.rb +4 -4
  141. data/spec/models/v1_entities_webhooks_deal_spec.rb +5 -5
  142. data/spec/models/v1_entities_webhooks_security_token_spec.rb +3 -3
  143. data/spec/models/v1_entities_webhooks_subscription_deal_spec.rb +6 -6
  144. data/spec/models/v1_entities_webhooks_subscription_deals_spec.rb +3 -3
  145. data/spec/models/v1_entities_webhooks_subscription_spec.rb +8 -8
  146. data/spec/spec_helper.rb +2 -2
  147. metadata +50 -46
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fea03a9e373a10f99bb2cf454a9dd411ea3cdc4da6d63f79a513267dc9deb9b1
4
- data.tar.gz: 9228ee4e38d5eadd9c53bd576192439eebbe5dbf5ad8452efcc6aa08a2048cc9
3
+ metadata.gz: d74a37bc7624155da3bd30a266276ee3f1a0fa428444baf22ab47a74bd97dc60
4
+ data.tar.gz: 7df1bc72a9d7419505802cf7a2c628d7e0851f2a12ac4f022e4a7dcf56420e07
5
5
  SHA512:
6
- metadata.gz: ae3f5476e0b130480897e7efd269a0bd208c87e853d106a669d2f71f730c4404561ef2b70ad5f23be54daa1788270850e6b82e97a3dabe61ac004b5c2605583c
7
- data.tar.gz: 575e1ab0995a7dd2a8a3b2590929e987db997ce3d1d715130c3d2d5ba21c6f0cd3739871b6c402007554777a40c550d90f1cf67bd054c136da998bb82873c9ce
6
+ metadata.gz: 2334837be67ba6ca758c2c79b41b774eb2a259ab491b3dd22952404541cea8a5aabe433ac610565995ffdc9362143c10572139fa995491f59a45f907e599876a
7
+ data.tar.gz: '0915ee434ceacd79e3e75faa650f6fcbd41b174b864eee86a7611d60c0107a214bee49bf8e676a23e981d1797b7330ef4f81178fa5c1469ad3d9f93797e26643'
data/DealMakerAPI.gemspec CHANGED
@@ -3,12 +3,12 @@
3
3
  =begin
4
4
  #DealMaker API
5
5
 
6
- ## Introduction Welcome to DealMaker’s Web API v1! This API is RESTful, easy to integrate with, and offers support in 2 different languages. This is the technical documentation for our API. There are tutorials and examples of integrations with our API available on our [knowledge centre](https://help.dealmaker.tech/training-centre) as well. # Libraries - Javascript - Ruby # Authentication To authenticate, add an Authorization header to your API request that contains an access token. Before you [generate an access token](#how-to-generate-an-access-token) your must first [create an application](#create-an-application) on your portal and retrieve the your client ID and secret ## Create an Application DealMaker’s Web API v1 supports the use of OAuth applications. Applications can be generated in your [account](https://app.dealmaker.tech/developer/applications). To create an API Application, click on your user name in the top right corner to open a dropdown menu, and select \"Integrations\". Under the API settings tab, click the `Create New Application` button ![Screenshot](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/api-application-1.png) Name your application and assign the level of permissions for this application ![Screenshot](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/api-application-2.png) Once your application is created, save in a secure space your client ID and secret. **WARNING**: The secret key will not be visible after you click the close button ![Screenshot](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/api-application-3.png) From the developer tab, you will be able to view and manage all the available applications ![Screenshot](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/api-application-4.png) Each Application consists of a client id, secret and set of scopes. The scopes define what resources you want to have access to. The client ID and secret are used to generate an access token. You will need to create an application to use API endpoints. ## How to generate an access token After creating an application, you must make a call to obtain a bearer token using the Generate an OAuth token operation. This operation requires the following parameters: `token endpoint` - https://app.dealmaker.tech/oauth/token `grant_type` - must be set to `client_credentials` `client_id` - the Client ID displayed when you created the OAuth application in the previous step `client_secret` - the Client Secret displayed when you created the OAuth application in the previous step `scope` - the scope is established when you created the OAuth application in the previous step Note: The Generate an OAuth token response specifies how long the bearer token is valid for. You should reuse the bearer token until it is expired. When the token is expired, call Generate an OAuth token again to generate a new one. To use the access token, you must set a plain text header named `Authorization` with the contents of the header being “Bearer XXX” where XXX is your generated access token. ### Example #### Postman Here's an example on how to generate the access token with Postman, where `{{CLIENT_ID}}` and `{{CLIENT_SECRET}}` are the values generated after following the steps on [Create an Application](#create-an-application) ![Get access token postman example](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/token-postman.png) # Status Codes ## Content-Type Header All responses are returned in JSON format. We specify this by sending the Content-Type header. ## Status Codes Below is a table containing descriptions of the various status codes we currently support against various resources. Sometimes your API call will generate an error. Here you will find additional information about what to expect if you don’t format your request properly, or we fail to properly process your request. | Status Code | Description | | ----------- | ----------- | | `200` | Success | | `403` | Forbidden | | `404` | Not found | # Pagination Pagination is used to divide large responses is smaller portions (pages). By default, all endpoints return a maximum of 25 records per page. You can change the number of records on a per request basis by passing a `per_page` parameter in the request header parameters. The largest supported `per_page` parameter is 100. When the response exceeds the `per_page` parameter, you can paginate through the records by increasing the `offset` parameter. Example: `offset=25` will return 25 records starting from 26th record. You may also paginate using the `page` parameter to indicate the page number you would like to show on the response. Please review the table below for the input parameters ## Inputs | Parameter | Description | | ---------- | ------------------------------------------------------------------------------- | | `per_page` | Amount of records included on each page (Default is 25) | | `page` | Page number | | `offset` | Amount of records offset on the API request where 0 represents the first record | ## Response Headers | Response Header | Description | | --------------- | -------------------------------------------- | | `X-Total` | Total number of records of response | | `X-Total-Pages` | Total number of pages of response | | `X-Per-Page` | Total number of records per page of response | | `X-Page` | Number of current page | | `X-Next-Page` | Number of next page | | `X-Prev-Page` | Number of previous page | | `X-Offset` | Total number of records offset | # Search and Filtering (The q parameter) The q optional parameter accepts a string as input and allows you to filter the request based on that string. Please note that search strings must be encoded according to ASCII. For example, \"john+investor&#64;dealmaker.tech\" should be passed as “john%2Binvestor%40dealmaker.tech”. There are two main ways to filter with it. ## Keyword filtering Some keywords allow you to filter investors based on a specific “scope” of the investors, for example using the string “Invited” will filter all investors with the status invited, and the keyword “Has attachments” will filter investors with attachments. Here’s a list of possible keywords and the “scope” each one of the keywords filters by: | Keywords | Scope | Decoded Example | Encoded Example | | ---------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | Signed on \\(date range\\) | Investors who signed in the provided date range | Signed on (date range) [2020-07-01:2020-07-31] | `Signed%20on%20%28date%20range%29%20%5B2020-07-01%3A2020-07-31%5D` | | Enabled for countersignature on \\(date range\\) | Investors who were enabled for counter signature in the provided date range | Enabled for countersignature on (date range) [2022-05-24:2022-05-25] | `Enabled%20for%20countersignature%20on%20(date%20range)%20%5B2022-05-24%3A2022-05-25%5D` | | Accepted on \\(date range\\) | Investors accepted in the provided date rage | Accepted on (date range) [2022-05-24:2022-05-25] | `Accepted%20on%20(date%20range)%20%5B2022-05-24%3A2022-05-25%5D` | | Offline | Investors added to the deal offline | Offline | `Offline` | | Online | Investors added to the deal online | Online | `Online` | | Signed | Investors who signed their agreement | Signed | `Signed` | | Waiting for countersignature | Investors who have signed and are waiting for counter signature | Waiting for countersignature | `Waiting%20for%20countersignature` | | Invited | Investors on the Invited Status | Invited | `Invited` | | Accepted | Investors in the Accepted Status | Accepted | `Accepted` | | Questionnaire in progress | All Investors who have not finished completing the questionnaire | Questionnaire in progress | `Questionnaire%20in%20progress` | | Has attachments | All Investors with attachments | Has attachments | `Has%20attachments` | | Has notes | All Investors with notes | Has notes | `Has%20notes` | | Waiting for co-signature | Investors who have signed and are waiting for co-signature | Waiting for co-signature | `Waiting%20for%20co-signature` | | Background Check Approved | Investors with approved background check | Background Check Approved | `Background%20Check%20Approved` | | Document Review Pending | Investors with pending review | Document Review Pending | `Document%20Review%20Pending` | | Document Upload Pending | Investors with pending documents to upload | Document Upload Pending | `Document%20Upload%20Pending` | | Required adjudicator review | Investors who are required to be review by the adjudicator | Required adjudicator review | `Required%20adjudicator%20review` | --- **NOTE** Filtering keywords are case sensitive and need to be encoded --- ## Search String Any value for the parameter which does not match one of the keywords listed above, will use fields like `first name`, `last name`, `email`, `tags` to search for the investor. For example, if you search “Robert”, because this does not match one of the keywords listed above, it will then return any investors who have the string “Robert” in their name, email, or tags fields. # Versioning The latest version is v1. The version can be updated on the `Accept` header, just set the version as stated on the following example: ``` Accept:application/vnd.dealmaker-v1+json ``` | Version | Accept Header | | ------- | ----------------------------------- | | `v1` | application/vnd.dealmaker-`v1`+json | # SDK’s For instruction on installing SDKs, please view the following links - [Javascript](https://github.com/DealMakerTech/api/tree/main/v1/clients/javascript) - [Ruby](https://github.com/DealMakerTech/api/tree/main/v1/clients/ruby) # Webhooks Our webhooks functionality allows clients to automatically receive updates on a deal's investor data. The type of data that the webhooks include: - Investor Name - Date created - Email - Phone - Allocation - Attachments - Accredited investor status - Accredited investor category - Status (Draft, Invited, Accepted, Waiting) Via webhooks clients can subscribe to the following events as they happen on Dealmaker: - Investor is created - Investor details are updated (any of the investor details above change or are updated) - Investor is deleted A URL supplied by the client will receive all the events with the information as part of the payload. Clients are able to add and update the URL within DealMaker. ## Configuration For a comprehensive guide on how to configure Webhooks please visit our support article: [Configuring Webhooks on DealMaker – DealMaker Support](https://help.dealmaker.tech/configuring-webhooks-on-dealmaker). As a developer user on DealMaker, you are able to configure webhooks by following the steps below: 1. Sign into Dealmaker 2. Go to **“Your profile”** in the top right corner 3. Access an **“Integrations”** configuration via the left menu 4. The developer configures webhooks by including: - The HTTPS URL where the request will be sent - Optionally, a security token that we would use to build a SHA1 hash that would be included in the request headers. The name of the header is `X-DealMaker-Signature`. If the secret is not specified, the hash won’t be included in the headers. - An email address that will be used to notify about errors. 5. The developers can disable webhooks temporarily if needed ## Specification ### Events The initial set of events will be related to the investor. The events are: 1. `investor.created` - Triggers every time a new investor is added to a deal 2. `investor.updated` - Triggers on updates to any of the following fields: 1. Status 2. Name 3. Email - (this is a user field so we trigger event for all investors with webhook subscription) 4. Allocated Amount 5. Investment Amount 6. Accredited investor fields 7. Adding or removing attachments 8. Tags - When the investor status is signed, the payload also includes a link to the signed document; the link expires after 30 minutes 3. `investor.deleted` - Triggers when the investor is removed from the deal - The investor key of the payload only includes investor ID - The deal is not included in the payload. Due to our implementation it’s impossible to retrieve the deal the investor was part of ### Requests - The request is a `POST` - The payload’s `content-type` is `application/json` - Only `2XX` responses are considered successful. In the event of a different response, we consider it failed and queue the event for retry - We retry the request five times, after the initial attempt. Doubling the waiting time between intervals with each try. The first retry happens after 30 seconds, then 60 seconds, 2 mins, 4 minutes, and 8 minutes. This timing scheme gives the receiver about 1 hour if all the requests fail - If an event fails all the attempts to be delivered, we send an email to the address that the user configured ### Payload #### Common Properties There will be some properties that are common to all the events on the system. | Key | Type | Description | | ----------------- | ------ | -------------------------------------------------------------------------------------- | | event | String | The event that triggered the call | | event_id | String | A unique identifier for the event | | deal<sup>\\*</sup> | Object | The deal in which the event occurred. It includes id, title, created_at and updated_at | <sup>\\*</sup>This field is not included when deleting a resource #### Common Properties (investor scope) Every event on this scope must contain an investor object, here are some properties that are common to this object on all events in the investor scope: | Key | Type | Description | | ------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------ | | id | Integer | The unique ID of the Investor | | name | String | Investor’s Name | | status | String | Current status of the investor<br />Possible states are: <br />draft<br />invited<br />signed<br />waiting<br />accepted | | email | String | | | phone_number | String | | | investment_amount | Double | | | allocated_amount | Double | | | accredited_investor | Object | See format in respective ticket | | attachments | Array of Objects | List of supporting documents uploaded to the investor, including URL (expire after 30 minutes) and title (caption) | | funding_state | String | Investor’s current funding state (unfunded, underfunded, funded, overfunded) | | funds_pending | Boolean | True if there are pending transactions, False otherwise | | created_at | Date | | | updated_at | Date | | | tags | Array of Strings | a list of the investor's tags, separated by comma. | ### investor.status >= signed Specific Properties | Key | Type | Description | | ---------------------- | ------ | ---------------------- | | subscription_agreement | object | id, url (expiring URL) | #### Investor Status Here is a brief description of each investor state: - **Draft:** the investor is added to the platform but hasn't been invited yet and cannot access the portal - **Invited:** the investor was added to the platform but hasn’t completed the questionnaire - **Signed:** the investor signed the document (needs approval from Lawyer or Reviewer before countersignature) - **Waiting:** the investor was approved for countersignature by any of the Lawyers or Reviewers in the deal - **Accepted:** the investor's agreement was countersigned by the Signatory #### Update Delay Given the high number of updates our platform performs on any investor, we’ve added a cool down period on update events that allows us to “group” updates and trigger only one every minute. In consequence, update events will be delivered 1 minute after the initial request was made and will include the latest version of the investor data at delivery time.
6
+ ## Introduction Welcome to DealMaker’s Web API v1! This API is RESTful, easy to integrate with, and offers support in 2 different languages. This is the technical documentation for our API. There are tutorials and examples of integrations with our API available on our [knowledge centre](https://help.dealmaker.tech/training-centre) as well. # Libraries - Javascript - Ruby # Authentication To authenticate, add an Authorization header to your API request that contains an access token. Before you [generate an access token](#how-to-generate-an-access-token) your must first [create an application](#create-an-application) on your portal and retrieve the your client ID and secret ## Create an Application DealMaker’s Web API v1 supports the use of OAuth applications. Applications can be generated in your [account](https://app.dealmaker.tech/developer/applications). To create an API Application, click on your user name in the top right corner to open a dropdown menu, and select \"Integrations\". Under the API settings tab, click the `Create New Application` button ![Screenshot](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/api-application-1.png) Name your application and assign the level of permissions for this application ![Screenshot](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/api-application-2.png) Once your application is created, save in a secure space your client ID and secret. **WARNING**: The secret key will not be visible after you click the close button ![Screenshot](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/api-application-3.png) From the developer tab, you will be able to view and manage all the available applications ![Screenshot](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/api-application-4.png) Each Application consists of a client id, secret and set of scopes. The scopes define what resources you want to have access to. The client ID and secret are used to generate an access token. You will need to create an application to use API endpoints. ## How to generate an access token After creating an application, you must make a call to obtain a bearer token using the Generate an OAuth token operation. This operation requires the following parameters: `token endpoint` - https://app.dealmaker.tech/oauth/token `grant_type` - must be set to `client_credentials` `client_id` - the Client ID displayed when you created the OAuth application in the previous step `client_secret` - the Client Secret displayed when you created the OAuth application in the previous step `scope` - the scope is established when you created the OAuth application in the previous step Note: The Generate an OAuth token response specifies how long the bearer token is valid for. You should reuse the bearer token until it is expired. When the token is expired, call Generate an OAuth token again to generate a new one. To use the access token, you must set a plain text header named `Authorization` with the contents of the header being “Bearer XXX” where XXX is your generated access token. ### Example #### Postman Here's an example on how to generate the access token with Postman, where `{{CLIENT_ID}}` and `{{CLIENT_SECRET}}` are the values generated after following the steps on [Create an Application](#create-an-application) ![Get access token postman example](https://s3.ca-central-1.amazonaws.com/docs.dealmaker.tech/images/token-postman.png) # Status Codes ## Content-Type Header All responses are returned in JSON format. We specify this by sending the Content-Type header. ## Status Codes Below is a table containing descriptions of the various status codes we currently support against various resources. Sometimes your API call will generate an error. Here you will find additional information about what to expect if you don’t format your request properly, or we fail to properly process your request. | Status Code | Description | | ----------- | ----------- | | `200` | Success | | `403` | Forbidden | | `404` | Not found | # Pagination Pagination is used to divide large responses is smaller portions (pages). By default, all endpoints return a maximum of 25 records per page. You can change the number of records on a per request basis by passing a `per_page` parameter in the request header parameters. The largest supported `per_page` parameter is 100. When the response exceeds the `per_page` parameter, you can paginate through the records by increasing the `offset` parameter. Example: `offset=25` will return 25 records starting from 26th record. You may also paginate using the `page` parameter to indicate the page number you would like to show on the response. Please review the table below for the input parameters ## Inputs | Parameter | Description | | ---------- | ------------------------------------------------------------------------------- | | `per_page` | Amount of records included on each page (Default is 25) | | `page` | Page number | | `offset` | Amount of records offset on the API request where 0 represents the first record | ## Response Headers | Response Header | Description | | --------------- | -------------------------------------------- | | `X-Total` | Total number of records of response | | `X-Total-Pages` | Total number of pages of response | | `X-Per-Page` | Total number of records per page of response | | `X-Page` | Number of current page | | `X-Next-Page` | Number of next page | | `X-Prev-Page` | Number of previous page | | `X-Offset` | Total number of records offset | # Search and Filtering (The q parameter) The q optional parameter accepts a string as input and allows you to filter the request based on that string. Please note that search strings must be encoded according to ASCII. For example, \"john+investor&#64;dealmaker.tech\" should be passed as “john%2Binvestor%40dealmaker.tech”. There are two main ways to filter with it. ## Keyword filtering Some keywords allow you to filter investors based on a specific “scope” of the investors, for example using the string “Invited” will filter all investors with the status invited, and the keyword “Has attachments” will filter investors with attachments. Here’s a list of possible keywords and the “scope” each one of the keywords filters by: | Keywords | Scope | Decoded Example | Encoded Example | | ---------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | Signed on \\(date range\\) | Investors who signed in the provided date range | Signed on (date range) [2020-07-01:2020-07-31] | `Signed%20on%20%28date%20range%29%20%5B2020-07-01%3A2020-07-31%5D` | | Enabled for countersignature on \\(date range\\) | Investors who were enabled for counter signature in the provided date range | Enabled for countersignature on (date range) [2022-05-24:2022-05-25] | `Enabled%20for%20countersignature%20on%20(date%20range)%20%5B2022-05-24%3A2022-05-25%5D` | | Accepted on \\(date range\\) | Investors accepted in the provided date rage | Accepted on (date range) [2022-05-24:2022-05-25] | `Accepted%20on%20(date%20range)%20%5B2022-05-24%3A2022-05-25%5D` | | Offline | Investors added to the deal offline | Offline | `Offline` | | Online | Investors added to the deal online | Online | `Online` | | Signed | Investors who signed their agreement | Signed | `Signed` | | Waiting for countersignature | Investors who have signed and are waiting for counter signature | Waiting for countersignature | `Waiting%20for%20countersignature` | | Invited | Investors on the Invited Status | Invited | `Invited` | | Accepted | Investors in the Accepted Status | Accepted | `Accepted` | | Questionnaire in progress | All Investors who have not finished completing the questionnaire | Questionnaire in progress | `Questionnaire%20in%20progress` | | Has attachments | All Investors with attachments | Has attachments | `Has%20attachments` | | Has notes | All Investors with notes | Has notes | `Has%20notes` | | Waiting for co-signature | Investors who have signed and are waiting for co-signature | Waiting for co-signature | `Waiting%20for%20co-signature` | | Background Check Approved | Investors with approved background check | Background Check Approved | `Background%20Check%20Approved` | | Document Review Pending | Investors with pending review | Document Review Pending | `Document%20Review%20Pending` | | Document Upload Pending | Investors with pending documents to upload | Document Upload Pending | `Document%20Upload%20Pending` | | Required adjudicator review | Investors who are required to be review by the adjudicator | Required adjudicator review | `Required%20adjudicator%20review` | --- **NOTE** Filtering keywords are case sensitive and need to be encoded --- ## Search String Any value for the parameter which does not match one of the keywords listed above, will use fields like `first name`, `last name`, `email`, `tags` to search for the investor. For example, if you search “Robert”, because this does not match one of the keywords listed above, it will then return any investors who have the string “Robert” in their name, email, or tags fields. # Versioning The latest version is v1. The version can be updated on the `Accept` header, just set the version as stated on the following example: ``` Accept:application/vnd.dealmaker-v1+json ``` | Version | Accept Header | | ------- | ----------------------------------- | | `v1` | application/vnd.dealmaker-`v1`+json | # SDK’s For instruction on installing SDKs, please view the following links - [Javascript](https://github.com/DealMakerTech/api/tree/main/v1/clients/javascript) - [Ruby](https://github.com/DealMakerTech/api/tree/main/v1/clients/ruby) # Webhooks Our webhooks functionality allows clients to automatically receive updates on a deal's investor data. Some of the data that the webhooks include: - Investor Name - Date created - Email - Phone - Allocation - Attachments - Accredited investor status - Accredited investor category - State (Draft, Invited, Signed, Accepted, Waiting, Inactive) Via webhooks clients can subscribe to the following events as they happen on Dealmaker: - Investor is created - Investor details are updated (any of the investor details above change or are updated) - Investor has signed their agreement - Invertor fully funded their investment - Investor has been accepted - Investor is deleted A URL supplied by the client will receive all the events with the information as part of the payload. Clients are able to add and update the URL within DealMaker. ## Configuration For a comprehensive guide on how to configure Webhooks please visit our support article: [Configuring Webhooks on DealMaker – DealMaker Support](https://help.dealmaker.tech/configuring-webhooks-on-dealmaker). As a developer user on DealMaker, you are able to configure webhooks by following the steps below: 1. Sign into Dealmaker 2. Go to **“Your profile”** in the top right corner 3. Access an **“Integrations”** configuration via the left menu 4. The developer configures webhooks by including: - The HTTPS URL where the request will be sent - Optionally, a security token that we would use to build a SHA1 hash that would be included in the request headers. The name of the header is `X-DealMaker-Signature`. If the secret is not specified, the hash won’t be included in the headers. - The Deal(s) to include in the webhook subscription - An email address that will be used to notify about errors. 5. The developers can disable webhooks temporarily if needed ## Specification ### Events The initial set of events will be related to the investor. The events are: 1. `investor.created` - Triggers every time a new investor is added to a deal 2. `investor.updated` - Triggers on updates to any of the following fields: - Status - Name - Email - (this is a user field so we trigger event for all investors with webhook subscription) - Allocated Amount - Investment Amount - Accredited investor fields - Adding or removing attachments - Tags - When the investor status is signed, the payload also includes a link to the signed document; the link expires after 30 minutes 3. `investor.signed` - Triggers when the investor signs their subscription agreement (terms and conditions) - When this happens the investor.state becomes `signed` - This event includes the same fields as the `investor.updated` event 4. `investor.funded` - Triggers when the investor becomes fully funded - This happens when the investor.funded_state becomes `funded` - This event includes the same fields as the `investor.updated` event 5. `investor.accepted` - Triggers when the investor is countersigned - When this happens the investor.state becomes `accepted` - This event includes the same fields as the `investor.updated` event 6. `investor.deleted` - Triggers when the investor is removed from the deal - The investor key of the payload only includes investor ID - The deal is not included in the payload. Due to our implementation it’s impossible to retrieve the deal the investor was part of ### Requests - The request is a `POST` - The payload’s `content-type` is `application/json` - Only `2XX` responses are considered successful. In the event of a different response, we consider it failed and queue the event for retry - We retry the request five times, after the initial attempt. Doubling the waiting time between intervals with each try. The first retry happens after 30 seconds, then 60 seconds, 2 mins, 4 minutes, and 8 minutes. This timing scheme gives the receiver about 1 hour if all the requests fail - If an event fails all the attempts to be delivered, we send an email to the address that the user configured ### Payload #### Common Properties There will be some properties that are common to all the events on the system. | Key | Type | Description | | ----------------- | ------ | -------------------------------------------------------------------------------------- | | event | String | The event that triggered the call | | event_id | String | A unique identifier for the event | | deal<sup>\\*</sup> | Object | The deal in which the event occurred. please see below for an example on the deal object<sup>\\*\\*</sup> | <sup>\\*</sup>This field is not included when deleting a resource <sup>\\*\\*</sup> Sample Deal Object in the webhook payload ```json \"deal\": { \"id\": 0, \"title\": \"string\", \"created_at\": \"2022-12-06T18:14:44.000Z\", \"updated_at\": \"2022-12-08T12:46:48.000Z\", \"state\": \"string\", \"currency\": \"string\", \"security_type\": \"string\", \"price_per_security\": 0.00, \"deal_type\": \"string\", \"minimum_investment\": 0, \"maximum_investment\": 0, \"issuer\": { \"id\": 0, \"name\": \"string\" }, \"enterprise\": { \"id\": 0, \"name\": \"string\" } } ``` #### Common Properties (investor scope) By design, we have incorporated on the webhooks payload the same investor-related fields included in the Investor model, for reference on the included fields, their types and values please click [here](https://docs.dealmaker.tech/#tag/investor_model). This will allow you to get all the necessary information you need about a particular investor without having to call the Get Investor by ID endpoint. | #### Investor State Here is a brief description of each investor state: - **Draft:** the investor is added to the platform but hasn't been invited yet and cannot access the portal - **Invited:** the investor was added to the platform but hasn’t completed the questionnaire - **Signed:** the investor signed the document (needs approval from Lawyer or Reviewer before countersignature) - **Waiting:** the investor was approved for countersignature by any of the Lawyers or Reviewers in the deal - **Accepted:** the investor's agreement was countersigned by the Signatory - **Inactive** the investor is no longer eligible to participate in the offering. This may be because their warrant expired, they requested a refund, or they opted out of the offering #### Update Delay Given the high number of updates our platform performs on any investor, we’ve added a cool down period on update events that allows us to “group” updates and trigger only one every minute. In consequence, update events will be delivered 1 minute after the initial request was made and will include the latest version of the investor data at delivery time.
7
7
 
8
8
  The version of the OpenAPI document: 1.0.0
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 6.5.0-SNAPSHOT
11
+ OpenAPI Generator version: 7.0.0-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
data/README.md CHANGED
@@ -182,7 +182,7 @@ For instruction on installing SDKs, please view the following links
182
182
 
183
183
  Our webhooks functionality allows clients to automatically receive updates on a deal's investor data.
184
184
 
185
- The type of data that the webhooks include:
185
+ Some of the data that the webhooks include:
186
186
 
187
187
  - Investor Name
188
188
  - Date created
@@ -192,12 +192,15 @@ The type of data that the webhooks include:
192
192
  - Attachments
193
193
  - Accredited investor status
194
194
  - Accredited investor category
195
- - Status (Draft, Invited, Accepted, Waiting)
195
+ - State (Draft, Invited, Signed, Accepted, Waiting, Inactive)
196
196
 
197
197
  Via webhooks clients can subscribe to the following events as they happen on Dealmaker:
198
198
 
199
199
  - Investor is created
200
200
  - Investor details are updated (any of the investor details above change or are updated)
201
+ - Investor has signed their agreement
202
+ - Invertor fully funded their investment
203
+ - Investor has been accepted
201
204
  - Investor is deleted
202
205
 
203
206
  A URL supplied by the client will receive all the events with the information as part of the payload. Clients are able to add and update the URL within DealMaker.
@@ -214,6 +217,7 @@ As a developer user on DealMaker, you are able to configure webhooks by followin
214
217
  4. The developer configures webhooks by including:
215
218
  - The HTTPS URL where the request will be sent
216
219
  - Optionally, a security token that we would use to build a SHA1 hash that would be included in the request headers. The name of the header is `X-DealMaker-Signature`. If the secret is not specified, the hash won’t be included in the headers.
220
+ - The Deal(s) to include in the webhook subscription
217
221
  - An email address that will be used to notify about errors.
218
222
  5. The developers can disable webhooks temporarily if needed
219
223
 
@@ -230,17 +234,35 @@ The initial set of events will be related to the investor. The events are:
230
234
  2. `investor.updated`
231
235
 
232
236
  - Triggers on updates to any of the following fields:
233
- 1. Status
234
- 2. Name
235
- 3. Email - (this is a user field so we trigger event for all investors with webhook subscription)
236
- 4. Allocated Amount
237
- 5. Investment Amount
238
- 6. Accredited investor fields
239
- 7. Adding or removing attachments
240
- 8. Tags
237
+ - Status
238
+ - Name
239
+ - Email - (this is a user field so we trigger event for all investors with webhook subscription)
240
+ - Allocated Amount
241
+ - Investment Amount
242
+ - Accredited investor fields
243
+ - Adding or removing attachments
244
+ - Tags
241
245
  - When the investor status is signed, the payload also includes a link to the signed document; the link expires after 30 minutes
246
+
247
+ 3. `investor.signed`
242
248
 
243
- 3. `investor.deleted`
249
+ - Triggers when the investor signs their subscription agreement (terms and conditions)
250
+ - When this happens the investor.state becomes `signed`
251
+ - This event includes the same fields as the `investor.updated` event
252
+
253
+ 4. `investor.funded`
254
+
255
+ - Triggers when the investor becomes fully funded
256
+ - This happens when the investor.funded_state becomes `funded`
257
+ - This event includes the same fields as the `investor.updated` event
258
+
259
+ 5. `investor.accepted`
260
+
261
+ - Triggers when the investor is countersigned
262
+ - When this happens the investor.state becomes `accepted`
263
+ - This event includes the same fields as the `investor.updated` event
264
+
265
+ 6. `investor.deleted`
244
266
 
245
267
  - Triggers when the investor is removed from the deal
246
268
  - The investor key of the payload only includes investor ID
@@ -260,42 +282,44 @@ The initial set of events will be related to the investor. The events are:
260
282
 
261
283
  There will be some properties that are common to all the events on the system.
262
284
 
263
- | Key | Type | Description |
264
- | ----------------- | ------ | -------------------------------------------------------------------------------------- |
265
- | event | String | The event that triggered the call |
266
- | event_id | String | A unique identifier for the event |
267
- | deal<sup>\\*</sup> | Object | The deal in which the event occurred. It includes id, title, created_at and updated_at |
285
+ | Key | Type | Description |
286
+ | ----------------- | ------ | -------------------------------------------------------------------------------------- |
287
+ | event | String | The event that triggered the call |
288
+ | event_id | String | A unique identifier for the event |
289
+ | deal<sup>\\*</sup> | Object | The deal in which the event occurred. please see below for an example on the deal object<sup>\\*\\*</sup> |
268
290
 
269
291
  <sup>\\*</sup>This field is not included when deleting a resource
270
292
 
293
+ <sup>\\*\\*</sup> Sample Deal Object in the webhook payload
294
+
295
+ ```json
296
+ \"deal\": {
297
+ \"id\": 0,
298
+ \"title\": \"string\",
299
+ \"created_at\": \"2022-12-06T18:14:44.000Z\",
300
+ \"updated_at\": \"2022-12-08T12:46:48.000Z\",
301
+ \"state\": \"string\",
302
+ \"currency\": \"string\",
303
+ \"security_type\": \"string\",
304
+ \"price_per_security\": 0.00,
305
+ \"deal_type\": \"string\",
306
+ \"minimum_investment\": 0,
307
+ \"maximum_investment\": 0,
308
+ \"issuer\": {
309
+ \"id\": 0,
310
+ \"name\": \"string\"
311
+ },
312
+ \"enterprise\": {
313
+ \"id\": 0,
314
+ \"name\": \"string\"
315
+ }
316
+ }
317
+ ```
318
+
271
319
  #### Common Properties (investor scope)
272
320
 
273
- Every event on this scope must contain an investor object, here are some properties that are common to this object on all events in the investor scope:
274
-
275
- | Key | Type | Description |
276
- | ------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------ |
277
- | id | Integer | The unique ID of the Investor |
278
- | name | String | Investor’s Name |
279
- | status | String | Current status of the investor<br />Possible states are: <br />draft<br />invited<br />signed<br />waiting<br />accepted |
280
- | email | String | |
281
- | phone_number | String | |
282
- | investment_amount | Double | |
283
- | allocated_amount | Double | |
284
- | accredited_investor | Object | See format in respective ticket |
285
- | attachments | Array of Objects | List of supporting documents uploaded to the investor, including URL (expire after 30 minutes) and title (caption) |
286
- | funding_state | String | Investor’s current funding state (unfunded, underfunded, funded, overfunded) |
287
- | funds_pending | Boolean | True if there are pending transactions, False otherwise |
288
- | created_at | Date | |
289
- | updated_at | Date | |
290
- | tags | Array of Strings | a list of the investor's tags, separated by comma. |
291
-
292
- ### investor.status >= signed Specific Properties
293
-
294
- | Key | Type | Description |
295
- | ---------------------- | ------ | ---------------------- |
296
- | subscription_agreement | object | id, url (expiring URL) |
297
-
298
- #### Investor Status
321
+ By design, we have incorporated on the webhooks payload the same investor-related fields included in the Investor model, for reference on the included fields, their types and values please click [here](https://docs.dealmaker.tech/#tag/investor_model). This will allow you to get all the necessary information you need about a particular investor without having to call the Get Investor by ID endpoint. |
322
+ #### Investor State
299
323
 
300
324
  Here is a brief description of each investor state:
301
325
 
@@ -304,6 +328,7 @@ Here is a brief description of each investor state:
304
328
  - **Signed:** the investor signed the document (needs approval from Lawyer or Reviewer before countersignature)
305
329
  - **Waiting:** the investor was approved for countersignature by any of the Lawyers or Reviewers in the deal
306
330
  - **Accepted:** the investor's agreement was countersigned by the Signatory
331
+ - **Inactive** the investor is no longer eligible to participate in the offering. This may be because their warrant expired, they requested a refund, or they opted out of the offering
307
332
 
308
333
  #### Update Delay
309
334
 
@@ -313,7 +338,7 @@ Given the high number of updates our platform performs on any investor, we’ve
313
338
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
314
339
 
315
340
  - API version: 1.0.0
316
- - Package version: 0.75.0
341
+ - Package version: 0.78.4
317
342
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
318
343
 
319
344
  ## Installation
@@ -329,16 +354,16 @@ gem build DealMakerAPI.gemspec
329
354
  Then either install the gem locally:
330
355
 
331
356
  ```shell
332
- gem install ./DealMakerAPI-0.75.0.gem
357
+ gem install ./DealMakerAPI-0.78.4.gem
333
358
  ```
334
359
 
335
- (for development, run `gem install --dev ./DealMakerAPI-0.75.0.gem` to install the development dependencies)
360
+ (for development, run `gem install --dev ./DealMakerAPI-0.78.4.gem` to install the development dependencies)
336
361
 
337
362
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
338
363
 
339
364
  Finally add this to the Gemfile:
340
365
 
341
- gem 'DealMakerAPI', '~> 0.75.0'
366
+ gem 'DealMakerAPI', '~> 0.78.4'
342
367
 
343
368
  ### Install from Git
344
369
 
@@ -458,6 +483,7 @@ Class | Method | HTTP request | Description
458
483
  - [DealMakerAPI::V1EntitiesInvestorProfileIndividual](docs/V1EntitiesInvestorProfileIndividual.md)
459
484
  - [DealMakerAPI::V1EntitiesInvestorProfileItem](docs/V1EntitiesInvestorProfileItem.md)
460
485
  - [DealMakerAPI::V1EntitiesInvestorProfileJoint](docs/V1EntitiesInvestorProfileJoint.md)
486
+ - [DealMakerAPI::V1EntitiesInvestorProfileOwner](docs/V1EntitiesInvestorProfileOwner.md)
461
487
  - [DealMakerAPI::V1EntitiesInvestorProfileTrust](docs/V1EntitiesInvestorProfileTrust.md)
462
488
  - [DealMakerAPI::V1EntitiesInvestorProfiles](docs/V1EntitiesInvestorProfiles.md)
463
489
  - [DealMakerAPI::V1EntitiesInvestorUser](docs/V1EntitiesInvestorUser.md)
@@ -472,5 +498,5 @@ Class | Method | HTTP request | Description
472
498
 
473
499
  ## Documentation for Authorization
474
500
 
475
- All endpoints do not require authorization.
501
+ Endpoints do not require authorization.
476
502
 
@@ -15,6 +15,9 @@
15
15
  | **postal_code** | **String** | The postal code or zipcode of the corporation (required). | [optional] |
16
16
  | **business_number** | **String** | The taxpayer identification number of the corporation (required). | [optional] |
17
17
  | **phone_number** | **String** | The phone number o of the corporation (required). | [optional] |
18
+ | **income** | **Float** | The income of the individual investor profile | [optional] |
19
+ | **net_worth** | **Float** | The net worth of the individual investor profile | [optional] |
20
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount of the individual investor profile | [optional] |
18
21
  | **signing_officer_first_name** | **String** | The first name of the signing officer (required). | [optional] |
19
22
  | **signing_officer_last_name** | **String** | The last name of the signing officer (required). | [optional] |
20
23
  | **signing_officer_suffix** | **String** | The suffix of the signing officer. | [optional] |
@@ -55,6 +58,9 @@ instance = DealMakerAPI::CreateCorporationProfileRequest.new(
55
58
  postal_code: null,
56
59
  business_number: null,
57
60
  phone_number: null,
61
+ income: null,
62
+ net_worth: null,
63
+ reg_cf_prior_offerings_amount: null,
58
64
  signing_officer_first_name: null,
59
65
  signing_officer_last_name: null,
60
66
  signing_officer_suffix: null,
@@ -18,6 +18,9 @@
18
18
  | **city** | **String** | The city of the individual investor profile (required) | [optional] |
19
19
  | **region** | **String** | The region or state of the individual investor profile (required) | [optional] |
20
20
  | **postal_code** | **String** | The postal code or zipcode of the individual investor profile (required) | [optional] |
21
+ | **income** | **Float** | The income of the individual investor profile | [optional] |
22
+ | **net_worth** | **Float** | The net worth of the individual investor profile | [optional] |
23
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount of the individual investor profile | [optional] |
21
24
 
22
25
  ## Example
23
26
 
@@ -38,7 +41,10 @@ instance = DealMakerAPI::CreateIndividualProfileRequest.new(
38
41
  unit2: null,
39
42
  city: null,
40
43
  region: null,
41
- postal_code: null
44
+ postal_code: null,
45
+ income: null,
46
+ net_worth: null,
47
+ reg_cf_prior_offerings_amount: null
42
48
  )
43
49
  ```
44
50
 
@@ -14,6 +14,7 @@
14
14
  | **warrant_expiry_date** | **Date** | The warrant expiry date of the investor. | [optional] |
15
15
  | **warrant_certificate_number** | **Integer** | The certificate number of the investor. | [optional] |
16
16
  | **allocated_amount** | **Float** | The allocation amount of the investor. | [optional] |
17
+ | **investment_value** | **Float** | The investment value of the investor. | [optional] |
17
18
  | **allocation_unit** | **String** | The allocation unit of the investor. | [optional][default to &#39;securities&#39;] |
18
19
  | **state** | **String** | The initial state of the investor. | [optional][default to &#39;invited&#39;] |
19
20
 
@@ -33,6 +34,7 @@ instance = DealMakerAPI::CreateInvestorRequest.new(
33
34
  warrant_expiry_date: null,
34
35
  warrant_certificate_number: null,
35
36
  allocated_amount: null,
37
+ investment_value: null,
36
38
  allocation_unit: null,
37
39
  state: null
38
40
  )
@@ -19,6 +19,9 @@
19
19
  | **date_of_birth** | **String** | The date of birth of the primary holder (required). | [optional] |
20
20
  | **taxpayer_id** | **String** | The taxpayer identification number of the primary holder (required). | [optional] |
21
21
  | **phone_number** | **String** | The phone number of the primary holder (required). | [optional] |
22
+ | **income** | **Float** | The income of the primary holder. | [optional] |
23
+ | **net_worth** | **Float** | The net worth of the primary holder. | [optional] |
24
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offerings amount of the primary holder. | [optional] |
22
25
  | **joint_holder_first_name** | **String** | The first name of the joint holder (required). | [optional] |
23
26
  | **joint_holder_last_name** | **String** | The last name of the joint holder (required). | [optional] |
24
27
  | **joint_holder_suffix** | **String** | The suffix of the joint holder. | [optional] |
@@ -52,6 +55,9 @@ instance = DealMakerAPI::CreateJointProfileRequest.new(
52
55
  date_of_birth: null,
53
56
  taxpayer_id: null,
54
57
  phone_number: null,
58
+ income: null,
59
+ net_worth: null,
60
+ reg_cf_prior_offerings_amount: null,
55
61
  joint_holder_first_name: null,
56
62
  joint_holder_last_name: null,
57
63
  joint_holder_suffix: null,
@@ -15,6 +15,9 @@
15
15
  | **region** | **String** | The region or state of the trust (required). | [optional] |
16
16
  | **postal_code** | **String** | The postal code or zipcode of the trust (required). | [optional] |
17
17
  | **phone_number** | **String** | The phone number of the trust (required). | [optional] |
18
+ | **income** | **Float** | The income of the trust. | [optional] |
19
+ | **net_worth** | **Float** | The net worth of the trust. | [optional] |
20
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount of the trust. | [optional] |
18
21
  | **trustees_first_name** | **Array&lt;String&gt;** | The list of first names for the trustees (required for trustee 1). | [optional] |
19
22
  | **trustees_last_name** | **Array&lt;String&gt;** | The list of last names for the trustees (required for trustee 1). | [optional] |
20
23
  | **trustees_suffix** | **Array&lt;String&gt;** | The list of suffixes for the trustees. | [optional] |
@@ -44,6 +47,9 @@ instance = DealMakerAPI::CreateTrustProfileRequest.new(
44
47
  region: null,
45
48
  postal_code: null,
46
49
  phone_number: null,
50
+ income: null,
51
+ net_worth: null,
52
+ reg_cf_prior_offerings_amount: null,
47
53
  trustees_first_name: null,
48
54
  trustees_last_name: null,
49
55
  trustees_suffix: null,
@@ -14,6 +14,9 @@
14
14
  | **postal_code** | **String** | Corporation postal code or zipcode. | [optional] |
15
15
  | **business_number** | **String** | The business number of the investor profile. | [optional] |
16
16
  | **phone_number** | **String** | The phone number of the investor profile. | [optional] |
17
+ | **income** | **Float** | The income of the individual investor profile | [optional] |
18
+ | **net_worth** | **Float** | The net worth of the individual investor profile | [optional] |
19
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount of the individual investor profile | [optional] |
17
20
  | **signing_officer_first_name** | **String** | Signing officer first name. | [optional] |
18
21
  | **signing_officer_last_name** | **String** | Signing officer last name. | [optional] |
19
22
  | **signing_officer_suffix** | **String** | Signing officer suffix. | [optional] |
@@ -42,6 +45,9 @@ instance = DealMakerAPI::PatchCorporationProfileRequest.new(
42
45
  postal_code: null,
43
46
  business_number: null,
44
47
  phone_number: null,
48
+ income: null,
49
+ net_worth: null,
50
+ reg_cf_prior_offerings_amount: null,
45
51
  signing_officer_first_name: null,
46
52
  signing_officer_last_name: null,
47
53
  signing_officer_suffix: null,
@@ -17,6 +17,9 @@
17
17
  | **city** | **String** | The city of the individual investor profile. | [optional] |
18
18
  | **region** | **String** | The region or state of the individual investor profile. | [optional] |
19
19
  | **postal_code** | **String** | The postal code or zipcode of the individual investor profile. | [optional] |
20
+ | **income** | **Float** | The income of the individual investor profile | [optional] |
21
+ | **net_worth** | **Float** | The net worth of the individual investor profile | [optional] |
22
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount of the individual investor profile | [optional] |
20
23
 
21
24
  ## Example
22
25
 
@@ -36,7 +39,10 @@ instance = DealMakerAPI::PatchIndividualProfileRequest.new(
36
39
  unit2: null,
37
40
  city: null,
38
41
  region: null,
39
- postal_code: null
42
+ postal_code: null,
43
+ income: null,
44
+ net_worth: null,
45
+ reg_cf_prior_offerings_amount: null
40
46
  )
41
47
  ```
42
48
 
@@ -18,6 +18,9 @@
18
18
  | **date_of_birth** | **String** | The date of birth of the investor profile. | [optional] |
19
19
  | **taxpayer_id** | **String** | The taxpayer identification number of the investor profile. | [optional] |
20
20
  | **phone_number** | **String** | The phone number of the investor profile. | [optional] |
21
+ | **income** | **Float** | The income of the investor profile. | [optional] |
22
+ | **net_worth** | **Float** | The net worth of the investor profile. | [optional] |
23
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offerings amount of the investor profile. | [optional] |
21
24
  | **joint_holder_first_name** | **String** | The joint holder first name of the investor profile. | [optional] |
22
25
  | **joint_holder_last_name** | **String** | The joint holder last name of the investor profile. | [optional] |
23
26
  | **joint_holder_suffix** | **String** | The suffix of the individual investor profile. | [optional] |
@@ -50,6 +53,9 @@ instance = DealMakerAPI::PatchJointProfileRequest.new(
50
53
  date_of_birth: null,
51
54
  taxpayer_id: null,
52
55
  phone_number: null,
56
+ income: null,
57
+ net_worth: null,
58
+ reg_cf_prior_offerings_amount: null,
53
59
  joint_holder_first_name: null,
54
60
  joint_holder_last_name: null,
55
61
  joint_holder_suffix: null,
@@ -14,6 +14,9 @@
14
14
  | **city** | **String** | Trust city. | [optional] |
15
15
  | **region** | **String** | Trust region or state. | [optional] |
16
16
  | **postal_code** | **String** | Trust postal code or zipcode. | [optional] |
17
+ | **income** | **Float** | The income of the Trust. | [optional] |
18
+ | **net_worth** | **Float** | The net worth of the Trust. | [optional] |
19
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount of the Trust. | [optional] |
17
20
  | **trustee_first_name** | **String** | Trustee first name. | [optional] |
18
21
  | **trustee_last_name** | **String** | Trustee last name. | [optional] |
19
22
  | **trustee_suffix** | **String** | Trustee suffix. | [optional] |
@@ -42,6 +45,9 @@ instance = DealMakerAPI::PatchTrustProfileRequest.new(
42
45
  city: null,
43
46
  region: null,
44
47
  postal_code: null,
48
+ income: null,
49
+ net_worth: null,
50
+ reg_cf_prior_offerings_amount: null,
45
51
  trustee_first_name: null,
46
52
  trustee_last_name: null,
47
53
  trustee_suffix: null,
@@ -5,6 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **amount_subscribed** | **Float** | The amount subscribed. &lt;br&gt;&lt;br&gt;This value is obtained by taking the sum of the investment amount from committed investors. Committed investors are investors with a status of &#x60;signed&#x60;&#x60;, &#x60;waiting&#x60;, or &#x60;accepted&#x60;. | [optional] |
8
+ | **funds_received** | **Float** | The amount received. | [optional] |
9
+ | **funds_pending** | **Float** | The amount pending. | [optional] |
8
10
  | **securities_subscribed** | **Integer** | The number of securities that have been subscribed. &lt;br&gt;&lt;br&gt;This value is obtained by taking the sum of the total number of securities from committed investors. Committed investors are investors with a status of &#x60;signed&#x60;, &#x60;waiting&#x60;, or &#x60;accepted&#x60;. | [optional] |
9
11
  | **amount_allocated** | **Float** | The amount allocated. &lt;br&gt;&lt;br&gt;This value is obtained by taking the sum of the total allocated investment amount for investors with a status of &#x60;invited&#x60;. Allocated investment amounts are locked in and cannot be changed by the investor. | [optional] |
10
12
  | **securities_allocated** | **Integer** | The number of securities that have been allocated. &lt;br&gt;&lt;br&gt;This value is obtained by taking the sum of the total allocated number of securities for investors with a status of &#x60;invited&#x60;. Allocated securities are locked in and cannot be changed by the investor. | [optional] |
@@ -18,6 +20,8 @@ require 'DealMakerAPI'
18
20
 
19
21
  instance = DealMakerAPI::V1EntitiesDealFundingMetrics.new(
20
22
  amount_subscribed: null,
23
+ funds_received: null,
24
+ funds_pending: null,
21
25
  securities_subscribed: null,
22
26
  amount_allocated: null,
23
27
  securities_allocated: null,
@@ -16,8 +16,8 @@
16
16
  | **beneficial_address** | **String** | The address. | [optional] |
17
17
  | **phone_number** | **String** | The beneficial phone number associated with the investor. If there is no phone number, this returns the phone number associated with the user profile. | [optional] |
18
18
  | **investor_currency** | **String** | The investor currency. | [optional] |
19
- | **investment_value** | **Float** | The current investment value. | [optional] |
20
19
  | **number_of_securities** | **Integer** | The number of securities. | [optional] |
20
+ | **investment_value** | **Float** | The current investment value. | [optional] |
21
21
  | **allocated_amount** | **Float** | The amount allocated. | [optional] |
22
22
  | **funds_value** | **Float** | The current amount that has been funded. | [optional] |
23
23
  | **access_link** | **String** | The access link for the investor. This is the access link for the specific investment, not the user. If the same user has multiple investments, each one will have a different access link. | [optional] |
@@ -50,8 +50,8 @@ instance = DealMakerAPI::V1EntitiesInvestor.new(
50
50
  beneficial_address: null,
51
51
  phone_number: null,
52
52
  investor_currency: null,
53
- investment_value: null,
54
53
  number_of_securities: null,
54
+ investment_value: null,
55
55
  allocated_amount: null,
56
56
  funds_value: null,
57
57
  access_link: null,
@@ -10,6 +10,8 @@
10
10
  | **type** | **String** | Investor Profile type | [optional] |
11
11
  | **us_accredited_category** | **String** | The accredited investor information | [optional] |
12
12
  | **complete** | **Boolean** | To check if the profile is complete or not | [optional] |
13
+ | **owner_type** | **String** | Type of the investor profile owner | [optional] |
14
+ | **owner** | [**V1EntitiesInvestorProfileOwner**](V1EntitiesInvestorProfileOwner.md) | | [optional] |
13
15
  | **corporation** | [**V1EntitiesInvestorProfileFieldsCorporation**](V1EntitiesInvestorProfileFieldsCorporation.md) | | [optional] |
14
16
  | **signing_officer** | [**V1EntitiesInvestorProfileFieldsAccountHolder**](V1EntitiesInvestorProfileFieldsAccountHolder.md) | | [optional] |
15
17
  | **beneficial_owners** | [**V1EntitiesInvestorProfileFieldsAccountHolder**](V1EntitiesInvestorProfileFieldsAccountHolder.md) | | [optional] |
@@ -26,6 +28,8 @@ instance = DealMakerAPI::V1EntitiesInvestorProfileCorporation.new(
26
28
  type: null,
27
29
  us_accredited_category: null,
28
30
  complete: null,
31
+ owner_type: null,
32
+ owner: null,
29
33
  corporation: null,
30
34
  signing_officer: null,
31
35
  beneficial_owners: null
@@ -7,6 +7,9 @@
7
7
  | **name** | **String** | The corporation name | [optional] |
8
8
  | **business_number** | **String** | The corporation business number | [optional] |
9
9
  | **phone_number** | **String** | The corporation phone number | [optional] |
10
+ | **income** | **Float** | The income | [optional] |
11
+ | **net_worth** | **Float** | The net worth | [optional] |
12
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount in the last 12 months | [optional] |
10
13
  | **address** | [**V1EntitiesInvestorProfileAddress**](V1EntitiesInvestorProfileAddress.md) | | [optional] |
11
14
 
12
15
  ## Example
@@ -18,6 +21,9 @@ instance = DealMakerAPI::V1EntitiesInvestorProfileFieldsCorporation.new(
18
21
  name: null,
19
22
  business_number: null,
20
23
  phone_number: null,
24
+ income: null,
25
+ net_worth: null,
26
+ reg_cf_prior_offerings_amount: null,
21
27
  address: null
22
28
  )
23
29
  ```
@@ -10,6 +10,9 @@
10
10
  | **date_of_birth** | **String** | The date of birth | [optional] |
11
11
  | **taxpayer_id** | **String** | The taxpayer identification number | [optional] |
12
12
  | **phone_number** | **String** | The phone number of the primary account holder | [optional] |
13
+ | **income** | **Float** | The income | [optional] |
14
+ | **net_worth** | **Float** | The net worth | [optional] |
15
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount in the last 12 months | [optional] |
13
16
  | **address** | [**V1EntitiesInvestorProfileAddress**](V1EntitiesInvestorProfileAddress.md) | | [optional] |
14
17
 
15
18
  ## Example
@@ -24,6 +27,9 @@ instance = DealMakerAPI::V1EntitiesInvestorProfileFieldsPrimaryHolder.new(
24
27
  date_of_birth: null,
25
28
  taxpayer_id: null,
26
29
  phone_number: null,
30
+ income: null,
31
+ net_worth: null,
32
+ reg_cf_prior_offerings_amount: null,
27
33
  address: null
28
34
  )
29
35
  ```
@@ -7,6 +7,9 @@
7
7
  | **name** | **String** | The name of the trust | [optional] |
8
8
  | **date** | **String** | The creation date of the trust | [optional] |
9
9
  | **phone_number** | **String** | The phone number of the trust | [optional] |
10
+ | **income** | **Float** | The income | [optional] |
11
+ | **net_worth** | **Float** | The net worth | [optional] |
12
+ | **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount in the last 12 months | [optional] |
10
13
  | **address** | [**V1EntitiesInvestorProfileAddress**](V1EntitiesInvestorProfileAddress.md) | | [optional] |
11
14
 
12
15
  ## Example
@@ -18,6 +21,9 @@ instance = DealMakerAPI::V1EntitiesInvestorProfileFieldsTrust.new(
18
21
  name: null,
19
22
  date: null,
20
23
  phone_number: null,
24
+ income: null,
25
+ net_worth: null,
26
+ reg_cf_prior_offerings_amount: null,
21
27
  address: null
22
28
  )
23
29
  ```