qwil_api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +91 -0
  3. data/docs/AccountSerializer.md +18 -0
  4. data/docs/AccountsApi.md +243 -0
  5. data/docs/ApitokenauthApi.md +57 -0
  6. data/docs/CashoutCalculationSerializer.md +10 -0
  7. data/docs/CashoutSerializer.md +20 -0
  8. data/docs/CashoutSliceSerializer.md +11 -0
  9. data/docs/CashoutsApi.md +56 -0
  10. data/docs/CompanyInformationSerializer.md +18 -0
  11. data/docs/ContactInfoSerializer.md +10 -0
  12. data/docs/ContactInformationSerializer.md +16 -0
  13. data/docs/ContractorSerializer.md +20 -0
  14. data/docs/IncomeApi.md +98 -0
  15. data/docs/IncomeNestedSerializer.md +18 -0
  16. data/docs/IncomeSerializer.md +18 -0
  17. data/docs/IncomeSerializerFixedSource.md +18 -0
  18. data/docs/InvoiceSerializer.md +17 -0
  19. data/docs/InvoiceSerializerFixedSourceCreate.md +17 -0
  20. data/docs/InvoicesApi.md +98 -0
  21. data/docs/JSONWebTokenSerializer.md +7 -0
  22. data/docs/ManagerPlatformSerializer.md +22 -0
  23. data/docs/ManagerSerializer.md +10 -0
  24. data/docs/ManagersApi.md +172 -0
  25. data/docs/MembershipSerializer.md +9 -0
  26. data/docs/MembershipsApi.md +56 -0
  27. data/docs/PersonalInformationSerializer.md +16 -0
  28. data/docs/PlaidPublicTokenSerializer.md +8 -0
  29. data/docs/PlatformIncomeRequestSerializer.md +15 -0
  30. data/docs/PlatformMembershipRequestSerializer.md +11 -0
  31. data/docs/PlatformSerializer.md +30 -0
  32. data/docs/PlatformSummarySerializer.md +10 -0
  33. data/docs/PlatformsApi.md +1369 -0
  34. data/docs/RebateSerializer.md +15 -0
  35. data/docs/RebatesApi.md +98 -0
  36. data/docs/ReceivablesSerializer.md +9 -0
  37. data/docs/TaxSavingsSerializer.md +10 -0
  38. data/docs/UserAccountSerializer.md +17 -0
  39. data/docs/UserCashoutSerializer.md +20 -0
  40. data/docs/UserIncomeRequestSerializer.md +15 -0
  41. data/docs/UserPlatformMembershipRequestSerializer.md +13 -0
  42. data/docs/UserSerializer.md +40 -0
  43. data/docs/UsersApi.md +2173 -0
  44. data/docs/WriteAccountSerializer.md +16 -0
  45. data/docs/WriteCashoutCalculationSerializer.md +8 -0
  46. data/docs/WriteCashoutSerializer.md +16 -0
  47. data/docs/WriteCashoutSliceSerializer.md +11 -0
  48. data/docs/WriteCompanyInformationSerializer.md +17 -0
  49. data/docs/WriteContactInfoSerializer.md +10 -0
  50. data/docs/WriteContactInformationSerializer.md +15 -0
  51. data/docs/WriteContractorSerializer.md +14 -0
  52. data/docs/WriteIncomeNestedSerializer.md +12 -0
  53. data/docs/WriteIncomeSerializer.md +13 -0
  54. data/docs/WriteIncomeSerializerFixedSource.md +12 -0
  55. data/docs/WriteInvoiceSerializer.md +13 -0
  56. data/docs/WriteInvoiceSerializerFixedSourceCreate.md +9 -0
  57. data/docs/WriteJSONWebTokenSerializer.md +7 -0
  58. data/docs/WriteManagerPlatformSerializer.md +15 -0
  59. data/docs/WriteManagerSerializer.md +8 -0
  60. data/docs/WriteMembershipSerializer.md +8 -0
  61. data/docs/WritePersonalInformationSerializer.md +16 -0
  62. data/docs/WritePlaidPublicTokenSerializer.md +8 -0
  63. data/docs/WritePlatformIncomeRequestSerializer.md +10 -0
  64. data/docs/WritePlatformMembershipRequestSerializer.md +7 -0
  65. data/docs/WritePlatformSerializer.md +19 -0
  66. data/docs/WritePlatformSummarySerializer.md +8 -0
  67. data/docs/WriteRebateSerializer.md +9 -0
  68. data/docs/WriteReceivablesSerializer.md +8 -0
  69. data/docs/WriteTaxSavingsSerializer.md +8 -0
  70. data/docs/WriteUserAccountSerializer.md +14 -0
  71. data/docs/WriteUserCashoutSerializer.md +15 -0
  72. data/docs/WriteUserIncomeRequestSerializer.md +10 -0
  73. data/docs/WriteUserPlatformMembershipRequestSerializer.md +9 -0
  74. data/docs/WriteUserSerializer.md +21 -0
  75. data/generate-client.sh +6 -0
  76. data/lib/qwil_api/api/accounts_api.rb +320 -0
  77. data/lib/qwil_api/api/apitokenauth_api.rb +87 -0
  78. data/lib/qwil_api/api/cashouts_api.rb +89 -0
  79. data/lib/qwil_api/api/income_api.rb +142 -0
  80. data/lib/qwil_api/api/invoices_api.rb +142 -0
  81. data/lib/qwil_api/api/managers_api.rb +237 -0
  82. data/lib/qwil_api/api/memberships_api.rb +89 -0
  83. data/lib/qwil_api/api/platforms_api.rb +1674 -0
  84. data/lib/qwil_api/api/rebates_api.rb +142 -0
  85. data/lib/qwil_api/api/users_api.rb +2672 -0
  86. data/lib/qwil_api/api_client.rb +376 -0
  87. data/lib/qwil_api/api_error.rb +45 -0
  88. data/lib/qwil_api/configuration.rb +205 -0
  89. data/lib/qwil_api/models/account_serializer.rb +370 -0
  90. data/lib/qwil_api/models/cashout_calculation_serializer.rb +221 -0
  91. data/lib/qwil_api/models/cashout_serializer.rb +379 -0
  92. data/lib/qwil_api/models/cashout_slice_serializer.rb +232 -0
  93. data/lib/qwil_api/models/company_information_serializer.rb +299 -0
  94. data/lib/qwil_api/models/contact_info_serializer.rb +218 -0
  95. data/lib/qwil_api/models/contact_information_serializer.rb +280 -0
  96. data/lib/qwil_api/models/contractor_serializer.rb +361 -0
  97. data/lib/qwil_api/models/income_nested_serializer.rb +302 -0
  98. data/lib/qwil_api/models/income_serializer.rb +302 -0
  99. data/lib/qwil_api/models/income_serializer_fixed_source.rb +302 -0
  100. data/lib/qwil_api/models/invoice_serializer.rb +299 -0
  101. data/lib/qwil_api/models/invoice_serializer_fixed_source_create.rb +299 -0
  102. data/lib/qwil_api/models/json_web_token_serializer.rb +188 -0
  103. data/lib/qwil_api/models/manager_platform_serializer.rb +391 -0
  104. data/lib/qwil_api/models/manager_serializer.rb +218 -0
  105. data/lib/qwil_api/models/membership_serializer.rb +208 -0
  106. data/lib/qwil_api/models/personal_information_serializer.rb +279 -0
  107. data/lib/qwil_api/models/plaid_public_token_serializer.rb +199 -0
  108. data/lib/qwil_api/models/platform_income_request_serializer.rb +307 -0
  109. data/lib/qwil_api/models/platform_membership_request_serializer.rb +262 -0
  110. data/lib/qwil_api/models/platform_serializer.rb +480 -0
  111. data/lib/qwil_api/models/platform_summary_serializer.rb +218 -0
  112. data/lib/qwil_api/models/rebate_serializer.rb +276 -0
  113. data/lib/qwil_api/models/receivables_serializer.rb +208 -0
  114. data/lib/qwil_api/models/tax_savings_serializer.rb +219 -0
  115. data/lib/qwil_api/models/user_account_serializer.rb +359 -0
  116. data/lib/qwil_api/models/user_cashout_serializer.rb +379 -0
  117. data/lib/qwil_api/models/user_income_request_serializer.rb +307 -0
  118. data/lib/qwil_api/models/user_platform_membership_request_serializer.rb +283 -0
  119. data/lib/qwil_api/models/user_serializer.rb +592 -0
  120. data/lib/qwil_api/models/write_account_serializer.rb +331 -0
  121. data/lib/qwil_api/models/write_cashout_calculation_serializer.rb +198 -0
  122. data/lib/qwil_api/models/write_cashout_serializer.rb +316 -0
  123. data/lib/qwil_api/models/write_cashout_slice_serializer.rb +232 -0
  124. data/lib/qwil_api/models/write_company_information_serializer.rb +280 -0
  125. data/lib/qwil_api/models/write_contact_info_serializer.rb +218 -0
  126. data/lib/qwil_api/models/write_contact_information_serializer.rb +262 -0
  127. data/lib/qwil_api/models/write_contractor_serializer.rb +289 -0
  128. data/lib/qwil_api/models/write_income_nested_serializer.rb +236 -0
  129. data/lib/qwil_api/models/write_income_serializer.rb +247 -0
  130. data/lib/qwil_api/models/write_income_serializer_fixed_source.rb +236 -0
  131. data/lib/qwil_api/models/write_invoice_serializer.rb +252 -0
  132. data/lib/qwil_api/models/write_invoice_serializer_fixed_source_create.rb +210 -0
  133. data/lib/qwil_api/models/write_json_web_token_serializer.rb +188 -0
  134. data/lib/qwil_api/models/write_manager_platform_serializer.rb +314 -0
  135. data/lib/qwil_api/models/write_manager_serializer.rb +198 -0
  136. data/lib/qwil_api/models/write_membership_serializer.rb +198 -0
  137. data/lib/qwil_api/models/write_personal_information_serializer.rb +270 -0
  138. data/lib/qwil_api/models/write_plaid_public_token_serializer.rb +199 -0
  139. data/lib/qwil_api/models/write_platform_income_request_serializer.rb +220 -0
  140. data/lib/qwil_api/models/write_platform_membership_request_serializer.rb +188 -0
  141. data/lib/qwil_api/models/write_platform_serializer.rb +309 -0
  142. data/lib/qwil_api/models/write_platform_summary_serializer.rb +198 -0
  143. data/lib/qwil_api/models/write_rebate_serializer.rb +209 -0
  144. data/lib/qwil_api/models/write_receivables_serializer.rb +198 -0
  145. data/lib/qwil_api/models/write_tax_savings_serializer.rb +198 -0
  146. data/lib/qwil_api/models/write_user_account_serializer.rb +312 -0
  147. data/lib/qwil_api/models/write_user_cashout_serializer.rb +307 -0
  148. data/lib/qwil_api/models/write_user_income_request_serializer.rb +220 -0
  149. data/lib/qwil_api/models/write_user_platform_membership_request_serializer.rb +208 -0
  150. data/lib/qwil_api/models/write_user_serializer.rb +358 -0
  151. data/lib/qwil_api/version.rb +24 -0
  152. data/lib/qwil_api.rb +51 -0
  153. data/qwil_api.gemspec +53 -0
  154. data/spec/api/accounts_api_spec.rb +110 -0
  155. data/spec/api/apitokenauth_api_spec.rb +56 -0
  156. data/spec/api/cashouts_api_spec.rb +56 -0
  157. data/spec/api/income_api_spec.rb +67 -0
  158. data/spec/api/invoices_api_spec.rb +67 -0
  159. data/spec/api/managers_api_spec.rb +88 -0
  160. data/spec/api/memberships_api_spec.rb +56 -0
  161. data/spec/api/platforms_api_spec.rb +398 -0
  162. data/spec/api/rebates_api_spec.rb +67 -0
  163. data/spec/api/users_api_spec.rb +625 -0
  164. data/spec/api_client_spec.rb +235 -0
  165. data/spec/configuration_spec.rb +51 -0
  166. data/spec/models/account_serializer_spec.rb +111 -0
  167. data/spec/models/cashout_calculation_serializer_spec.rb +63 -0
  168. data/spec/models/cashout_serializer_spec.rb +135 -0
  169. data/spec/models/cashout_slice_serializer_spec.rb +69 -0
  170. data/spec/models/company_information_serializer_spec.rb +111 -0
  171. data/spec/models/contact_info_serializer_spec.rb +63 -0
  172. data/spec/models/contact_information_serializer_spec.rb +99 -0
  173. data/spec/models/contractor_serializer_spec.rb +127 -0
  174. data/spec/models/income_nested_serializer_spec.rb +111 -0
  175. data/spec/models/income_serializer_fixed_source_spec.rb +111 -0
  176. data/spec/models/income_serializer_spec.rb +111 -0
  177. data/spec/models/invoice_serializer_fixed_source_create_spec.rb +105 -0
  178. data/spec/models/invoice_serializer_spec.rb +105 -0
  179. data/spec/models/json_web_token_serializer_spec.rb +45 -0
  180. data/spec/models/manager_platform_serializer_spec.rb +143 -0
  181. data/spec/models/manager_serializer_spec.rb +63 -0
  182. data/spec/models/membership_serializer_spec.rb +57 -0
  183. data/spec/models/personal_information_serializer_spec.rb +99 -0
  184. data/spec/models/plaid_public_token_serializer_spec.rb +51 -0
  185. data/spec/models/platform_income_request_serializer_spec.rb +97 -0
  186. data/spec/models/platform_membership_request_serializer_spec.rb +73 -0
  187. data/spec/models/platform_serializer_spec.rb +191 -0
  188. data/spec/models/platform_summary_serializer_spec.rb +63 -0
  189. data/spec/models/rebate_serializer_spec.rb +93 -0
  190. data/spec/models/receivables_serializer_spec.rb +57 -0
  191. data/spec/models/tax_savings_serializer_spec.rb +63 -0
  192. data/spec/models/user_account_serializer_spec.rb +105 -0
  193. data/spec/models/user_cashout_serializer_spec.rb +135 -0
  194. data/spec/models/user_income_request_serializer_spec.rb +97 -0
  195. data/spec/models/user_platform_membership_request_serializer_spec.rb +85 -0
  196. data/spec/models/user_serializer_spec.rb +251 -0
  197. data/spec/models/write_account_serializer_spec.rb +99 -0
  198. data/spec/models/write_cashout_calculation_serializer_spec.rb +51 -0
  199. data/spec/models/write_cashout_serializer_spec.rb +107 -0
  200. data/spec/models/write_cashout_slice_serializer_spec.rb +69 -0
  201. data/spec/models/write_company_information_serializer_spec.rb +105 -0
  202. data/spec/models/write_contact_info_serializer_spec.rb +63 -0
  203. data/spec/models/write_contact_information_serializer_spec.rb +93 -0
  204. data/spec/models/write_contractor_serializer_spec.rb +91 -0
  205. data/spec/models/write_income_nested_serializer_spec.rb +75 -0
  206. data/spec/models/write_income_serializer_fixed_source_spec.rb +75 -0
  207. data/spec/models/write_income_serializer_spec.rb +81 -0
  208. data/spec/models/write_invoice_serializer_fixed_source_create_spec.rb +57 -0
  209. data/spec/models/write_invoice_serializer_spec.rb +81 -0
  210. data/spec/models/write_json_web_token_serializer_spec.rb +45 -0
  211. data/spec/models/write_manager_platform_serializer_spec.rb +101 -0
  212. data/spec/models/write_manager_serializer_spec.rb +51 -0
  213. data/spec/models/write_membership_serializer_spec.rb +51 -0
  214. data/spec/models/write_personal_information_serializer_spec.rb +99 -0
  215. data/spec/models/write_plaid_public_token_serializer_spec.rb +51 -0
  216. data/spec/models/write_platform_income_request_serializer_spec.rb +63 -0
  217. data/spec/models/write_platform_membership_request_serializer_spec.rb +45 -0
  218. data/spec/models/write_platform_serializer_spec.rb +117 -0
  219. data/spec/models/write_platform_summary_serializer_spec.rb +51 -0
  220. data/spec/models/write_rebate_serializer_spec.rb +57 -0
  221. data/spec/models/write_receivables_serializer_spec.rb +51 -0
  222. data/spec/models/write_tax_savings_serializer_spec.rb +51 -0
  223. data/spec/models/write_user_account_serializer_spec.rb +87 -0
  224. data/spec/models/write_user_cashout_serializer_spec.rb +101 -0
  225. data/spec/models/write_user_income_request_serializer_spec.rb +63 -0
  226. data/spec/models/write_user_platform_membership_request_serializer_spec.rb +57 -0
  227. data/spec/models/write_user_serializer_spec.rb +133 -0
  228. data/spec/spec_helper.rb +120 -0
  229. data/swagger-codegen-config.json +9 -0
  230. metadata +527 -0
@@ -0,0 +1,16 @@
1
+ # QwilAPI::WriteAccountSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **account_number** | **String** | |
7
+ **name** | **String** | The user's label for this Account. |
8
+ **routing_number** | **String** | The inter-bank routing nubmer for this Account. 8 or 9 digits in length. |
9
+ **is_tax_savings** | **BOOLEAN** | Flag specifying if the Account is used for tax savings. | [optional]
10
+ **is_paypal** | **BOOLEAN** | Flag specifying if the Account is a Paypal account. | [optional]
11
+ **is_mychoice** | **BOOLEAN** | Flag specifying if the Account is a MyChoice card. If it is, the mychoice_user_id and mychoice_card_id must be filled in. | [optional]
12
+ **mychoice_user_id** | **Integer** | For MyChoice Accounts. Populated from the MyChoice API. | [optional]
13
+ **mychoice_card_id** | **Integer** | For MyChoice Accounts. Populated from the MyChoice API. | [optional]
14
+ **user** | **String** | | [optional]
15
+
16
+
@@ -0,0 +1,8 @@
1
+ # QwilAPI::WriteCashoutCalculationSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **String** | The Cashout amount to calculate fees for. (This amount is net, i.e. before fees). | [optional]
7
+
8
+
@@ -0,0 +1,16 @@
1
+ # QwilAPI::WriteCashoutSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **String** | |
7
+ **cashout_time** | **DateTime** | | [optional]
8
+ **notes** | **String** | | [optional]
9
+ **type** | **String** | | [optional]
10
+ **method** | **String** | | [optional]
11
+ **transmit_time** | **DateTime** | | [optional]
12
+ **user** | **String** | | [optional]
13
+ **rebate** | **String** | The Rebate against which this Cashout will be collected. | [optional]
14
+ **account** | **String** | | [optional]
15
+
16
+
@@ -0,0 +1,11 @@
1
+ # QwilAPI::WriteCashoutSliceSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **String** | The amount of Income that is included in the Cashout. |
7
+ **fee** | **String** | The fee charged for this Cashout. |
8
+ **cashout** | **String** | The User-facing Cashout that this object funds. |
9
+ **income** | **String** | An Income that is providing funds for the linked Cashout. |
10
+
11
+
@@ -0,0 +1,17 @@
1
+ # QwilAPI::WriteCompanyInformationSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **address_city** | **String** | | [optional]
7
+ **address_state** | **String** | | [optional]
8
+ **business_name** | **String** | Business name. Only use this field if this user is a business entity. | [optional]
9
+ **tax_id_type** | **String** | | [optional]
10
+ **phone_number** | **String** | | [optional]
11
+ **address_zip_code** | **String** | | [optional]
12
+ **tax_id_number** | **String** | | [optional]
13
+ **address** | **String** | | [optional]
14
+ **email** | **String** | | [optional]
15
+ **duns_number** | **String** | |
16
+
17
+
@@ -0,0 +1,10 @@
1
+ # QwilAPI::WriteContactInfoSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **first_name** | **String** | |
7
+ **last_name** | **String** | |
8
+ **email** | **String** | |
9
+
10
+
@@ -0,0 +1,15 @@
1
+ # QwilAPI::WriteContactInformationSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **first_name** | **String** | First name, if the user is an individual. Leave blank if this user is a company. | [optional]
7
+ **last_name** | **String** | Last name, if the user is an individual. Leave blank if this user is a company. | [optional]
8
+ **email** | **String** | | [optional]
9
+ **address** | **String** | | [optional]
10
+ **address_city** | **String** | | [optional]
11
+ **address_state** | **String** | | [optional]
12
+ **address_zip_code** | **String** | | [optional]
13
+ **phone_number** | **String** | | [optional]
14
+
15
+
@@ -0,0 +1,14 @@
1
+ # QwilAPI::WriteContractorSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email** | **String** | |
7
+ **first_name** | **String** | First name, if the user is an individual. Leave blank if this user is a company. | [optional]
8
+ **last_name** | **String** | Last name, if the user is an individual. Leave blank if this user is a company. | [optional]
9
+ **business_name** | **String** | Business name. Only use this field if this user is a business entity. | [optional]
10
+ **contractor_type** | **String** | | [optional]
11
+ **personal_information** | [**WritePersonalInformationSerializer**](WritePersonalInformationSerializer.md) | | [optional]
12
+ **default_account** | **String** | Default account to use for payment of unpaid income. | [optional]
13
+
14
+
@@ -0,0 +1,12 @@
1
+ # QwilAPI::WriteIncomeNestedSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user** | **String** | |
7
+ **amount** | **String** | |
8
+ **external_id** | **String** | Optional unique ID to correlate this Income to a record in another system. If specified, this will prevent duplicate Incomes being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed. | [optional]
9
+ **payment_time** | **DateTime** | | [optional]
10
+ **notes** | **String** | | [optional]
11
+
12
+
@@ -0,0 +1,13 @@
1
+ # QwilAPI::WriteIncomeSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user** | **String** | |
7
+ **amount** | **String** | |
8
+ **platform** | **String** | The Platform that made this payment to the contractor |
9
+ **external_id** | **String** | Optional unique ID to correlate this Income to a record in another system. If specified, this will prevent duplicate Incomes being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed. | [optional]
10
+ **payment_time** | **DateTime** | | [optional]
11
+ **notes** | **String** | | [optional]
12
+
13
+
@@ -0,0 +1,12 @@
1
+ # QwilAPI::WriteIncomeSerializerFixedSource
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user** | **String** | |
7
+ **amount** | **String** | |
8
+ **external_id** | **String** | Optional unique ID to correlate this Income to a record in another system. If specified, this will prevent duplicate Incomes being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed. | [optional]
9
+ **payment_time** | **DateTime** | | [optional]
10
+ **notes** | **String** | | [optional]
11
+
12
+
@@ -0,0 +1,13 @@
1
+ # QwilAPI::WriteInvoiceSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **paid** | **BOOLEAN** | Flag specifying if the Invoice has been paid by the Platform. | [optional]
7
+ **payments** | **Array<String>** | The Cashouts that pay for this Invoice. |
8
+ **date** | **Date** | The date of the final day in the Invoice period. |
9
+ **contractor_payment_fee** | **String** | The total fee for Contractors billed this period. | [optional]
10
+ **per_user_charge** | **String** | The per-user charge for the period billed in this Invoice. | [optional]
11
+ **external_id** | **String** | Optional unique ID to correlate this Invoice to a record in another system. If specified, this will prevent duplicate Invoices being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed. | [optional]
12
+
13
+
@@ -0,0 +1,9 @@
1
+ # QwilAPI::WriteInvoiceSerializerFixedSourceCreate
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **external_id** | **String** | Optional unique ID to correlate this Invoice to a record in another system. If specified, this will prevent duplicate Invoices being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed. | [optional]
7
+ **income** | [**Array<IncomeNestedSerializer>**](IncomeNestedSerializer.md) | |
8
+
9
+
@@ -0,0 +1,7 @@
1
+ # QwilAPI::WriteJSONWebTokenSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -0,0 +1,15 @@
1
+ # QwilAPI::WriteManagerPlatformSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | |
7
+ **contact_information** | [**ContactInformationSerializer**](ContactInformationSerializer.md) | | [optional]
8
+ **company_information** | [**CompanyInformationSerializer**](CompanyInformationSerializer.md) | |
9
+ **currency** | **String** | The ISO 4217 currency code for which all payments for this Platform are handled. Note: Immutable after Platform is created. | [optional]
10
+ **payment_schedule** | **String** | The frequency of contractor rebates on this platform. | [optional]
11
+ **payment_date** | **Date** | The date that the first payment is due for the platform's pay cycle. | [optional]
12
+ **accounts** | **Array<String>** | The accounts configured for billing on this Platform. | [optional]
13
+ **default_account** | **String** | The account to use for billing purposes. | [optional]
14
+
15
+
@@ -0,0 +1,8 @@
1
+ # QwilAPI::WriteManagerSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | |
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # QwilAPI::WriteMembershipSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user** | **String** | |
7
+
8
+
@@ -0,0 +1,16 @@
1
+ # QwilAPI::WritePersonalInformationSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **date_of_birth** | **Date** | | [optional]
7
+ **address_city** | **String** | | [optional]
8
+ **address_state** | **String** | | [optional]
9
+ **tax_id_type** | **String** | | [optional]
10
+ **phone_number** | **String** | | [optional]
11
+ **address_zip_code** | **String** | | [optional]
12
+ **tax_id_number** | **String** | | [optional]
13
+ **address** | **String** | | [optional]
14
+ **duns_number** | **String** | The Dun and Bradstreet number (D-U-N-S) for this entity | [optional]
15
+
16
+
@@ -0,0 +1,8 @@
1
+ # QwilAPI::WritePlaidPublicTokenSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **public_token** | **String** | A public_token generated by authenticating with Plaid Link. |
7
+
8
+
@@ -0,0 +1,10 @@
1
+ # QwilAPI::WritePlatformIncomeRequestSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **String** | The dollar value of income requested by the User |
7
+ **note** | **String** | Text visible to the Platform and User describing the Income Request | [optional]
8
+ **user** | **String** | The User making the request for Income |
9
+
10
+
@@ -0,0 +1,7 @@
1
+ # QwilAPI::WritePlatformMembershipRequestSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -0,0 +1,19 @@
1
+ # QwilAPI::WritePlatformSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | |
7
+ **payment_date** | **Date** | The date that the first payment is due for the platform's pay cycle. | [optional]
8
+ **automatic_debit** | **BOOLEAN** | Flag specifying if the Platform's Invoices should be debited automatically. | [optional]
9
+ **thumbnail_url** | **String** | | [optional]
10
+ **validated** | **BOOLEAN** | If True, this platform is has been validated as a real company. | [optional]
11
+ **featured** | **BOOLEAN** | If True, this platform is featured in the search list. | [optional]
12
+ **is_demo_platform** | **BOOLEAN** | If True, all users on this platform are demo users, and no payments will be debited/credited. | [optional]
13
+ **xero_enabled** | **BOOLEAN** | If True, this platform can enable the Xero integration. | [optional]
14
+ **use_income_requests** | **BOOLEAN** | If True, enable experimental IncomeRequest UI for this User. | [optional]
15
+ **enable_emails** | **BOOLEAN** | Flag indicating if we should send any emails to Users on this Platform. If not set, email checks fall through to global defaults. | [optional]
16
+ **default_account** | **String** | The account to use for billing purposes. | [optional]
17
+ **accounts** | **Array<String>** | The accounts configured for billing on this Platform. | [optional]
18
+
19
+
@@ -0,0 +1,8 @@
1
+ # QwilAPI::WritePlatformSummarySerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | |
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # QwilAPI::WriteRebateSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user** | **String** | |
7
+ **invoice** | **String** | The Invoice that will pay for this Rebate. |
8
+
9
+
@@ -0,0 +1,8 @@
1
+ # QwilAPI::WriteReceivablesSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **String** | |
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # QwilAPI::WriteTaxSavingsSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **tax_savings_percent** | **String** | The percent of income to be withheld for tax savings purposes. | [optional]
7
+
8
+
@@ -0,0 +1,14 @@
1
+ # QwilAPI::WriteUserAccountSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **account_number** | **String** | |
7
+ **name** | **String** | The user's label for this Account. |
8
+ **routing_number** | **String** | The inter-bank routing nubmer for this Account. 8 or 9 digits in length. |
9
+ **is_paypal** | **BOOLEAN** | Flag specifying if the Account is a Paypal account. | [optional]
10
+ **is_mychoice** | **BOOLEAN** | Flag specifying if the Account is a MyChoice card. If it is, the mychoice_user_id and mychoice_card_id must be filled in. | [optional]
11
+ **mychoice_user_id** | **Integer** | For MyChoice Accounts. Populated from the MyChoice API. | [optional]
12
+ **mychoice_card_id** | **Integer** | For MyChoice Accounts. Populated from the MyChoice API. | [optional]
13
+
14
+
@@ -0,0 +1,15 @@
1
+ # QwilAPI::WriteUserCashoutSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **String** | |
7
+ **cashout_time** | **DateTime** | | [optional]
8
+ **notes** | **String** | | [optional]
9
+ **type** | **String** | | [optional]
10
+ **method** | **String** | | [optional]
11
+ **transmit_time** | **DateTime** | | [optional]
12
+ **rebate** | **String** | The Rebate against which this Cashout will be collected. | [optional]
13
+ **account** | **String** | | [optional]
14
+
15
+
@@ -0,0 +1,10 @@
1
+ # QwilAPI::WriteUserIncomeRequestSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **String** | The dollar value of income requested by the User |
7
+ **note** | **String** | Text visible to the Platform and User describing the Income Request | [optional]
8
+ **platform** | **String** | The platform that the User is requesting Income from. |
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # QwilAPI::WriteUserPlatformMembershipRequestSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **decision_maker** | [**ContactInfoSerializer**](ContactInfoSerializer.md) | | [optional]
7
+ **platform** | **String** | The platform that the User requests to join. |
8
+
9
+
@@ -0,0 +1,21 @@
1
+ # QwilAPI::WriteUserSerializer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email** | **String** | |
7
+ **first_name** | **String** | First name, if the user is an individual. Leave blank if this user is a company. | [optional]
8
+ **last_name** | **String** | Last name, if the user is an individual. Leave blank if this user is a company. | [optional]
9
+ **business_name** | **String** | Business name. Only use this field if this user is a business entity. | [optional]
10
+ **contractor_type** | **String** | | [optional]
11
+ **default_account** | **String** | Default account to use for payment of unpaid income. | [optional]
12
+ **tax_savings_account** | **String** | Account to use for tax savings. | [optional]
13
+ **tax_savings_percent** | **String** | The percent of income to be withheld for tax savings purposes. | [optional]
14
+ **use_plaid** | **BOOLEAN** | Feature flag specifying if Plaid integration should be used. | [optional]
15
+ **use_income_requests** | **BOOLEAN** | Feature flag specifying if IncomeRequests should be enabled for this user. | [optional]
16
+ **use_tax_savings** | **BOOLEAN** | Feature flag specifying if tax savings should be enabled. | [optional]
17
+ **is_auto_cashout_enabled** | **BOOLEAN** | Whether or not all income should be immediately cashed out for this user. | [optional]
18
+ **password** | **String** | | [optional]
19
+ **personal_information** | [**PersonalInformationSerializer**](PersonalInformationSerializer.md) | | [optional]
20
+
21
+
@@ -0,0 +1,6 @@
1
+ for endpoint in api-token-auth managers platforms users accounts income invoices cashouts rebates memberships
2
+ do
3
+ echo $endpoint
4
+ curl -so swagger-json/${endpoint}.json https://staging.qwil.co/docs/api-docs/${endpoint}
5
+ swagger-codegen generate -l ruby -i swagger-json/${endpoint}.json -o . -c swagger-codegen-config.json
6
+ done