merge_accounting_client 1.0.7 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -13
  3. data/docs/Account.md +2 -0
  4. data/docs/AccountIntegration.md +5 -1
  5. data/docs/AccountingAttachment.md +2 -0
  6. data/docs/AccountingPhoneNumber.md +3 -1
  7. data/docs/AccountsApi.md +4 -4
  8. data/docs/Address.md +4 -2
  9. data/docs/AsyncPassthroughApi.md +155 -0
  10. data/docs/AsyncPassthroughReciept.md +18 -0
  11. data/docs/AttachmentsApi.md +4 -4
  12. data/docs/BalanceSheet.md +2 -0
  13. data/docs/BalanceSheetsApi.md +4 -4
  14. data/docs/CashFlowStatement.md +2 -0
  15. data/docs/CashFlowStatementsApi.md +4 -4
  16. data/docs/CompanyInfo.md +3 -1
  17. data/docs/CompanyInfoApi.md +4 -4
  18. data/docs/Contact.md +2 -0
  19. data/docs/ContactsApi.md +4 -4
  20. data/docs/CreditNote.md +6 -0
  21. data/docs/CreditNoteLineItem.md +3 -1
  22. data/docs/CreditNotesApi.md +4 -4
  23. data/docs/DeleteAccountApi.md +9 -9
  24. data/docs/EndUserDetailsRequest.md +1 -1
  25. data/docs/Expense.md +4 -0
  26. data/docs/ExpenseLine.md +3 -1
  27. data/docs/ExpenseRequest.md +2 -0
  28. data/docs/ExpensesApi.md +4 -4
  29. data/docs/ForceResyncApi.md +1 -1
  30. data/docs/IncomeStatement.md +2 -0
  31. data/docs/IncomeStatementsApi.md +4 -4
  32. data/docs/Invoice.md +7 -3
  33. data/docs/InvoiceLineItem.md +2 -0
  34. data/docs/InvoiceRequest.md +3 -1
  35. data/docs/InvoicesApi.md +4 -4
  36. data/docs/Issue.md +1 -1
  37. data/docs/IssuesApi.md +6 -6
  38. data/docs/Item.md +2 -0
  39. data/docs/ItemsApi.md +4 -4
  40. data/docs/JournalEntriesApi.md +4 -4
  41. data/docs/JournalEntry.md +4 -0
  42. data/docs/JournalLine.md +3 -1
  43. data/docs/LinkedAccountsApi.md +2 -2
  44. data/docs/Payment.md +4 -0
  45. data/docs/PaymentRequest.md +2 -0
  46. data/docs/PaymentsApi.md +4 -4
  47. data/docs/PurchaseOrder.md +4 -0
  48. data/docs/PurchaseOrderLineItem.md +3 -1
  49. data/docs/PurchaseOrdersApi.md +4 -4
  50. data/docs/RemoteData.md +1 -1
  51. data/docs/ReportItem.md +3 -1
  52. data/docs/SyncStatus.md +1 -1
  53. data/docs/SyncStatusApi.md +1 -1
  54. data/docs/TaxRate.md +2 -0
  55. data/docs/TaxRatesApi.md +4 -4
  56. data/docs/TrackingCategoriesApi.md +4 -4
  57. data/docs/TrackingCategory.md +2 -0
  58. data/docs/Transaction.md +2 -0
  59. data/docs/TransactionLineItem.md +3 -1
  60. data/docs/TransactionsApi.md +4 -4
  61. data/docs/VendorCredit.md +4 -0
  62. data/docs/VendorCreditLine.md +3 -1
  63. data/docs/VendorCreditsApi.md +4 -4
  64. data/git_push.sh +58 -0
  65. data/lib/merge_accounting_client/api/accounts_api.rb +4 -4
  66. data/lib/merge_accounting_client/api/async_passthrough_api.rb +160 -0
  67. data/lib/merge_accounting_client/api/attachments_api.rb +4 -4
  68. data/lib/merge_accounting_client/api/balance_sheets_api.rb +4 -4
  69. data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +4 -4
  70. data/lib/merge_accounting_client/api/company_info_api.rb +4 -4
  71. data/lib/merge_accounting_client/api/contacts_api.rb +4 -4
  72. data/lib/merge_accounting_client/api/credit_notes_api.rb +6 -6
  73. data/lib/merge_accounting_client/api/delete_account_api.rb +7 -7
  74. data/lib/merge_accounting_client/api/expenses_api.rb +6 -6
  75. data/lib/merge_accounting_client/api/force_resync_api.rb +2 -2
  76. data/lib/merge_accounting_client/api/income_statements_api.rb +4 -4
  77. data/lib/merge_accounting_client/api/invoices_api.rb +6 -6
  78. data/lib/merge_accounting_client/api/issues_api.rb +6 -6
  79. data/lib/merge_accounting_client/api/items_api.rb +4 -4
  80. data/lib/merge_accounting_client/api/journal_entries_api.rb +6 -6
  81. data/lib/merge_accounting_client/api/linked_accounts_api.rb +2 -2
  82. data/lib/merge_accounting_client/api/payments_api.rb +6 -6
  83. data/lib/merge_accounting_client/api/purchase_orders_api.rb +6 -6
  84. data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
  85. data/lib/merge_accounting_client/api/tax_rates_api.rb +4 -4
  86. data/lib/merge_accounting_client/api/tracking_categories_api.rb +4 -4
  87. data/lib/merge_accounting_client/api/transactions_api.rb +4 -4
  88. data/lib/merge_accounting_client/api/vendor_credits_api.rb +6 -6
  89. data/lib/merge_accounting_client/models/account.rb +11 -1
  90. data/lib/merge_accounting_client/models/account_integration.rb +26 -4
  91. data/lib/merge_accounting_client/models/accounting_attachment.rb +11 -1
  92. data/lib/merge_accounting_client/models/accounting_phone_number.rb +15 -5
  93. data/lib/merge_accounting_client/models/address.rb +15 -5
  94. data/lib/merge_accounting_client/models/async_passthrough_reciept.rb +223 -0
  95. data/lib/merge_accounting_client/models/balance_sheet.rb +11 -1
  96. data/lib/merge_accounting_client/models/cash_flow_statement.rb +11 -1
  97. data/lib/merge_accounting_client/models/company_info.rb +11 -1
  98. data/lib/merge_accounting_client/models/contact.rb +11 -1
  99. data/lib/merge_accounting_client/models/credit_note.rb +50 -1
  100. data/lib/merge_accounting_client/models/credit_note_line_item.rb +15 -5
  101. data/lib/merge_accounting_client/models/end_user_details_request.rb +1 -1
  102. data/lib/merge_accounting_client/models/expense.rb +22 -1
  103. data/lib/merge_accounting_client/models/expense_line.rb +15 -5
  104. data/lib/merge_accounting_client/models/expense_request.rb +12 -1
  105. data/lib/merge_accounting_client/models/income_statement.rb +11 -1
  106. data/lib/merge_accounting_client/models/invoice.rb +33 -12
  107. data/lib/merge_accounting_client/models/invoice_line_item.rb +12 -2
  108. data/lib/merge_accounting_client/models/invoice_line_item_request.rb +1 -1
  109. data/lib/merge_accounting_client/models/invoice_request.rb +13 -2
  110. data/lib/merge_accounting_client/models/issue.rb +1 -0
  111. data/lib/merge_accounting_client/models/item.rb +11 -1
  112. data/lib/merge_accounting_client/models/journal_entry.rb +22 -1
  113. data/lib/merge_accounting_client/models/journal_line.rb +15 -5
  114. data/lib/merge_accounting_client/models/payment.rb +22 -1
  115. data/lib/merge_accounting_client/models/payment_request.rb +12 -1
  116. data/lib/merge_accounting_client/models/purchase_order.rb +22 -1
  117. data/lib/merge_accounting_client/models/purchase_order_line_item.rb +15 -5
  118. data/lib/merge_accounting_client/models/remote_data.rb +3 -4
  119. data/lib/merge_accounting_client/models/report_item.rb +15 -5
  120. data/lib/merge_accounting_client/models/sync_status_status_enum.rb +2 -1
  121. data/lib/merge_accounting_client/models/tax_rate.rb +11 -1
  122. data/lib/merge_accounting_client/models/tracking_category.rb +11 -1
  123. data/lib/merge_accounting_client/models/transaction.rb +11 -1
  124. data/lib/merge_accounting_client/models/transaction_line_item.rb +15 -5
  125. data/lib/merge_accounting_client/models/vendor_credit.rb +22 -1
  126. data/lib/merge_accounting_client/models/vendor_credit_line.rb +15 -5
  127. data/lib/merge_accounting_client/version.rb +1 -1
  128. data/lib/merge_accounting_client.rb +6 -2
  129. data/spec/api/accounts_api_spec.rb +2 -2
  130. data/spec/api/async_passthrough_api_spec.rb +59 -0
  131. data/spec/api/attachments_api_spec.rb +2 -2
  132. data/spec/api/balance_sheets_api_spec.rb +2 -2
  133. data/spec/api/cash_flow_statements_api_spec.rb +2 -2
  134. data/spec/api/company_info_api_spec.rb +2 -2
  135. data/spec/api/contacts_api_spec.rb +2 -2
  136. data/spec/api/credit_notes_api_spec.rb +2 -2
  137. data/spec/api/delete_account_api_spec.rb +2 -2
  138. data/spec/api/expenses_api_spec.rb +2 -2
  139. data/spec/api/force_resync_api_spec.rb +1 -1
  140. data/spec/api/income_statements_api_spec.rb +2 -2
  141. data/spec/api/invoices_api_spec.rb +2 -2
  142. data/spec/api/issues_api_spec.rb +3 -3
  143. data/spec/api/items_api_spec.rb +2 -2
  144. data/spec/api/journal_entries_api_spec.rb +2 -2
  145. data/spec/api/linked_accounts_api_spec.rb +1 -1
  146. data/spec/api/payments_api_spec.rb +2 -2
  147. data/spec/api/purchase_orders_api_spec.rb +2 -2
  148. data/spec/api/sync_status_api_spec.rb +1 -1
  149. data/spec/api/tax_rates_api_spec.rb +2 -2
  150. data/spec/api/tracking_categories_api_spec.rb +2 -2
  151. data/spec/api/transactions_api_spec.rb +2 -2
  152. data/spec/api/vendor_credits_api_spec.rb +2 -2
  153. data/spec/models/account_integration_spec.rb +12 -0
  154. data/spec/models/account_spec.rb +6 -0
  155. data/spec/models/accounting_attachment_spec.rb +6 -0
  156. data/spec/models/accounting_phone_number_spec.rb +6 -0
  157. data/spec/models/address_spec.rb +6 -0
  158. data/spec/models/async_passthrough_reciept_spec.rb +34 -0
  159. data/spec/models/balance_sheet_spec.rb +6 -0
  160. data/spec/models/cash_flow_statement_spec.rb +6 -0
  161. data/spec/models/company_info_spec.rb +6 -0
  162. data/spec/models/contact_spec.rb +6 -0
  163. data/spec/models/credit_note_line_item_spec.rb +6 -0
  164. data/spec/models/credit_note_spec.rb +18 -0
  165. data/spec/models/expense_line_spec.rb +6 -0
  166. data/spec/models/expense_request_spec.rb +6 -0
  167. data/spec/models/expense_spec.rb +12 -0
  168. data/spec/models/income_statement_spec.rb +6 -0
  169. data/spec/models/invoice_line_item_spec.rb +6 -0
  170. data/spec/models/invoice_request_spec.rb +6 -0
  171. data/spec/models/invoice_spec.rb +14 -2
  172. data/spec/models/item_spec.rb +6 -0
  173. data/spec/models/journal_entry_spec.rb +12 -0
  174. data/spec/models/journal_line_spec.rb +6 -0
  175. data/spec/models/payment_request_spec.rb +6 -0
  176. data/spec/models/payment_spec.rb +12 -0
  177. data/spec/models/purchase_order_line_item_spec.rb +6 -0
  178. data/spec/models/purchase_order_spec.rb +12 -0
  179. data/spec/models/report_item_spec.rb +6 -0
  180. data/spec/models/tax_rate_spec.rb +6 -0
  181. data/spec/models/tracking_category_spec.rb +6 -0
  182. data/spec/models/transaction_line_item_spec.rb +6 -0
  183. data/spec/models/transaction_spec.rb +6 -0
  184. data/spec/models/vendor_credit_line_spec.rb +6 -0
  185. data/spec/models/vendor_credit_spec.rb +12 -0
  186. metadata +160 -151
@@ -55,6 +55,9 @@ module MergeAccountingClient
55
55
  # The third-party API ID of the matching object.
56
56
  attr_accessor :remote_id
57
57
 
58
+ # This is the datetime that this object was last updated by Merge
59
+ attr_accessor :modified_at
60
+
58
61
  attr_accessor :field_mappings
59
62
 
60
63
  attr_accessor :remote_data
@@ -76,6 +79,7 @@ module MergeAccountingClient
76
79
  :'remote_was_deleted' => :'remote_was_deleted',
77
80
  :'id' => :'id',
78
81
  :'remote_id' => :'remote_id',
82
+ :'modified_at' => :'modified_at',
79
83
  :'field_mappings' => :'field_mappings',
80
84
  :'remote_data' => :'remote_data'
81
85
  }
@@ -103,6 +107,7 @@ module MergeAccountingClient
103
107
  :'remote_was_deleted' => :'Boolean',
104
108
  :'id' => :'String',
105
109
  :'remote_id' => :'String',
110
+ :'modified_at' => :'Time',
106
111
  :'field_mappings' => :'Hash<String, Object>',
107
112
  :'remote_data' => :'Array<RemoteData>'
108
113
  }
@@ -201,6 +206,10 @@ module MergeAccountingClient
201
206
  self.remote_id = attributes[:'remote_id']
202
207
  end
203
208
 
209
+ if attributes.key?(:'modified_at')
210
+ self.modified_at = attributes[:'modified_at']
211
+ end
212
+
204
213
  if attributes.key?(:'field_mappings')
205
214
  if (value = attributes[:'field_mappings']).is_a?(Hash)
206
215
  self.field_mappings = value
@@ -280,6 +289,7 @@ module MergeAccountingClient
280
289
  remote_was_deleted == o.remote_was_deleted &&
281
290
  id == o.id &&
282
291
  remote_id == o.remote_id &&
292
+ modified_at == o.modified_at &&
283
293
  field_mappings == o.field_mappings &&
284
294
  remote_data == o.remote_data
285
295
  end
@@ -293,7 +303,7 @@ module MergeAccountingClient
293
303
  # Calculates hash code according to all attributes.
294
304
  # @return [Integer] Hash code
295
305
  def hash
296
- [transaction_type, number, transaction_date, account, contact, total_amount, currency, exchange_rate, company, tracking_categories, line_items, remote_was_deleted, id, remote_id, field_mappings, remote_data].hash
306
+ [transaction_type, number, transaction_date, account, contact, total_amount, currency, exchange_rate, company, tracking_categories, line_items, remote_was_deleted, id, remote_id, modified_at, field_mappings, remote_data].hash
297
307
  end
298
308
 
299
309
  # Builds the object from hash
@@ -54,6 +54,9 @@ module MergeAccountingClient
54
54
  # The company the line belongs to.
55
55
  attr_accessor :company
56
56
 
57
+ # This is the datetime that this object was last updated by Merge
58
+ attr_accessor :modified_at
59
+
57
60
  # Attribute mapping from ruby-style variable name to JSON key.
58
61
  def self.attribute_map
59
62
  {
@@ -69,7 +72,8 @@ module MergeAccountingClient
69
72
  :'tax_rate' => :'tax_rate',
70
73
  :'currency' => :'currency',
71
74
  :'exchange_rate' => :'exchange_rate',
72
- :'company' => :'company'
75
+ :'company' => :'company',
76
+ :'modified_at' => :'modified_at'
73
77
  }
74
78
  end
75
79
 
@@ -93,7 +97,8 @@ module MergeAccountingClient
93
97
  :'tax_rate' => :'String',
94
98
  :'currency' => :'CurrencyEnum',
95
99
  :'exchange_rate' => :'String',
96
- :'company' => :'String'
100
+ :'company' => :'String',
101
+ :'modified_at' => :'Time'
97
102
  }
98
103
  end
99
104
 
@@ -111,7 +116,7 @@ module MergeAccountingClient
111
116
  :'tax_rate',
112
117
  :'currency',
113
118
  :'exchange_rate',
114
- :'company'
119
+ :'company',
115
120
  ])
116
121
  end
117
122
 
@@ -183,6 +188,10 @@ module MergeAccountingClient
183
188
  if attributes.key?(:'company')
184
189
  self.company = attributes[:'company']
185
190
  end
191
+
192
+ if attributes.key?(:'modified_at')
193
+ self.modified_at = attributes[:'modified_at']
194
+ end
186
195
  end
187
196
 
188
197
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -288,7 +297,8 @@ module MergeAccountingClient
288
297
  tax_rate == o.tax_rate &&
289
298
  currency == o.currency &&
290
299
  exchange_rate == o.exchange_rate &&
291
- company == o.company
300
+ company == o.company &&
301
+ modified_at == o.modified_at
292
302
  end
293
303
 
294
304
  # @see the `==` method
@@ -300,7 +310,7 @@ module MergeAccountingClient
300
310
  # Calculates hash code according to all attributes.
301
311
  # @return [Integer] Hash code
302
312
  def hash
303
- [remote_id, memo, unit_price, quantity, item, account, tracking_category, tracking_categories, total_line_amount, tax_rate, currency, exchange_rate, company].hash
313
+ [remote_id, memo, unit_price, quantity, item, account, tracking_category, tracking_categories, total_line_amount, tax_rate, currency, exchange_rate, company, modified_at].hash
304
314
  end
305
315
 
306
316
  # Builds the object from hash
@@ -44,9 +44,14 @@ module MergeAccountingClient
44
44
 
45
45
  attr_accessor :lines
46
46
 
47
+ attr_accessor :tracking_categories
48
+
47
49
  # Indicates whether or not this object has been deleted by third party webhooks.
48
50
  attr_accessor :remote_was_deleted
49
51
 
52
+ # This is the datetime that this object was last updated by Merge
53
+ attr_accessor :modified_at
54
+
50
55
  attr_accessor :field_mappings
51
56
 
52
57
  attr_accessor :remote_data
@@ -64,7 +69,9 @@ module MergeAccountingClient
64
69
  :'exchange_rate' => :'exchange_rate',
65
70
  :'company' => :'company',
66
71
  :'lines' => :'lines',
72
+ :'tracking_categories' => :'tracking_categories',
67
73
  :'remote_was_deleted' => :'remote_was_deleted',
74
+ :'modified_at' => :'modified_at',
68
75
  :'field_mappings' => :'field_mappings',
69
76
  :'remote_data' => :'remote_data'
70
77
  }
@@ -88,7 +95,9 @@ module MergeAccountingClient
88
95
  :'exchange_rate' => :'String',
89
96
  :'company' => :'String',
90
97
  :'lines' => :'Array<VendorCreditLine>',
98
+ :'tracking_categories' => :'Array<String>',
91
99
  :'remote_was_deleted' => :'Boolean',
100
+ :'modified_at' => :'Time',
92
101
  :'field_mappings' => :'Hash<String, Object>',
93
102
  :'remote_data' => :'Array<RemoteData>'
94
103
  }
@@ -167,10 +176,20 @@ module MergeAccountingClient
167
176
  end
168
177
  end
169
178
 
179
+ if attributes.key?(:'tracking_categories')
180
+ if (value = attributes[:'tracking_categories']).is_a?(Array)
181
+ self.tracking_categories = value
182
+ end
183
+ end
184
+
170
185
  if attributes.key?(:'remote_was_deleted')
171
186
  self.remote_was_deleted = attributes[:'remote_was_deleted']
172
187
  end
173
188
 
189
+ if attributes.key?(:'modified_at')
190
+ self.modified_at = attributes[:'modified_at']
191
+ end
192
+
174
193
  if attributes.key?(:'field_mappings')
175
194
  if (value = attributes[:'field_mappings']).is_a?(Hash)
176
195
  self.field_mappings = value
@@ -229,7 +248,9 @@ module MergeAccountingClient
229
248
  exchange_rate == o.exchange_rate &&
230
249
  company == o.company &&
231
250
  lines == o.lines &&
251
+ tracking_categories == o.tracking_categories &&
232
252
  remote_was_deleted == o.remote_was_deleted &&
253
+ modified_at == o.modified_at &&
233
254
  field_mappings == o.field_mappings &&
234
255
  remote_data == o.remote_data
235
256
  end
@@ -243,7 +264,7 @@ module MergeAccountingClient
243
264
  # Calculates hash code according to all attributes.
244
265
  # @return [Integer] Hash code
245
266
  def hash
246
- [id, remote_id, number, transaction_date, vendor, total_amount, currency, exchange_rate, company, lines, remote_was_deleted, field_mappings, remote_data].hash
267
+ [id, remote_id, number, transaction_date, vendor, total_amount, currency, exchange_rate, company, lines, tracking_categories, remote_was_deleted, modified_at, field_mappings, remote_data].hash
247
268
  end
248
269
 
249
270
  # Builds the object from hash
@@ -40,6 +40,9 @@ module MergeAccountingClient
40
40
  # The vendor credit line item's exchange rate.
41
41
  attr_accessor :exchange_rate
42
42
 
43
+ # This is the datetime that this object was last updated by Merge
44
+ attr_accessor :modified_at
45
+
43
46
  # Attribute mapping from ruby-style variable name to JSON key.
44
47
  def self.attribute_map
45
48
  {
@@ -50,7 +53,8 @@ module MergeAccountingClient
50
53
  :'description' => :'description',
51
54
  :'account' => :'account',
52
55
  :'company' => :'company',
53
- :'exchange_rate' => :'exchange_rate'
56
+ :'exchange_rate' => :'exchange_rate',
57
+ :'modified_at' => :'modified_at'
54
58
  }
55
59
  end
56
60
 
@@ -69,7 +73,8 @@ module MergeAccountingClient
69
73
  :'description' => :'String',
70
74
  :'account' => :'String',
71
75
  :'company' => :'String',
72
- :'exchange_rate' => :'String'
76
+ :'exchange_rate' => :'String',
77
+ :'modified_at' => :'Time'
73
78
  }
74
79
  end
75
80
 
@@ -82,7 +87,7 @@ module MergeAccountingClient
82
87
  :'description',
83
88
  :'account',
84
89
  :'company',
85
- :'exchange_rate'
90
+ :'exchange_rate',
86
91
  ])
87
92
  end
88
93
 
@@ -134,6 +139,10 @@ module MergeAccountingClient
134
139
  if attributes.key?(:'exchange_rate')
135
140
  self.exchange_rate = attributes[:'exchange_rate']
136
141
  end
142
+
143
+ if attributes.key?(:'modified_at')
144
+ self.modified_at = attributes[:'modified_at']
145
+ end
137
146
  end
138
147
 
139
148
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -183,7 +192,8 @@ module MergeAccountingClient
183
192
  description == o.description &&
184
193
  account == o.account &&
185
194
  company == o.company &&
186
- exchange_rate == o.exchange_rate
195
+ exchange_rate == o.exchange_rate &&
196
+ modified_at == o.modified_at
187
197
  end
188
198
 
189
199
  # @see the `==` method
@@ -195,7 +205,7 @@ module MergeAccountingClient
195
205
  # Calculates hash code according to all attributes.
196
206
  # @return [Integer] Hash code
197
207
  def hash
198
- [remote_id, net_amount, tracking_category, tracking_categories, description, account, company, exchange_rate].hash
208
+ [remote_id, net_amount, tracking_category, tracking_categories, description, account, company, exchange_rate, modified_at].hash
199
209
  end
200
210
 
201
211
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module MergeAccountingClient
14
- VERSION = '1.0.7'
14
+ VERSION = '1.0.9'
15
15
  end
@@ -36,6 +36,7 @@ require 'merge_accounting_client/models/accounting_phone_number'
36
36
  require 'merge_accounting_client/models/accounting_phone_number_request'
37
37
  require 'merge_accounting_client/models/address'
38
38
  require 'merge_accounting_client/models/address_type_enum'
39
+ require 'merge_accounting_client/models/async_passthrough_reciept'
39
40
  require 'merge_accounting_client/models/available_actions'
40
41
  require 'merge_accounting_client/models/balance_sheet'
41
42
  require 'merge_accounting_client/models/cash_flow_statement'
@@ -44,12 +45,12 @@ require 'merge_accounting_client/models/category_enum'
44
45
  require 'merge_accounting_client/models/category_type_enum'
45
46
  require 'merge_accounting_client/models/classification_enum'
46
47
  require 'merge_accounting_client/models/common_model_scope_data'
47
- require 'merge_accounting_client/models/common_model_scopes'
48
48
  require 'merge_accounting_client/models/common_model_scopes_body_request'
49
- require 'merge_accounting_client/models/common_model_scopes_disabled_models'
50
49
  require 'merge_accounting_client/models/common_model_scopes_disabled_models_enabled_actions_enum'
50
+ require 'merge_accounting_client/models/common_model_scopes_disabled_models'
51
51
  require 'merge_accounting_client/models/common_model_scopes_post_inner_deserializer_request'
52
52
  require 'merge_accounting_client/models/common_model_scopes_update_serializer'
53
+ require 'merge_accounting_client/models/common_model_scopes'
53
54
  require 'merge_accounting_client/models/company_info'
54
55
  require 'merge_accounting_client/models/condition_schema'
55
56
  require 'merge_accounting_client/models/condition_type_enum'
@@ -139,6 +140,7 @@ require 'merge_accounting_client/models/purchase_order_line_item_request'
139
140
  require 'merge_accounting_client/models/purchase_order_request'
140
141
  require 'merge_accounting_client/models/purchase_order_response'
141
142
  require 'merge_accounting_client/models/purchase_order_status_enum'
143
+ require 'merge_accounting_client/models/remote_data_request'
142
144
  require 'merge_accounting_client/models/remote_data'
143
145
  require 'merge_accounting_client/models/remote_key'
144
146
  require 'merge_accounting_client/models/remote_key_for_regeneration_request'
@@ -147,6 +149,7 @@ require 'merge_accounting_client/models/report_item'
147
149
  require 'merge_accounting_client/models/request_format_enum'
148
150
  require 'merge_accounting_client/models/response_type_enum'
149
151
  require 'merge_accounting_client/models/selective_sync_configurations_usage_enum'
152
+ require 'merge_accounting_client/models/state_enum'
150
153
  require 'merge_accounting_client/models/status7d1_enum'
151
154
  require 'merge_accounting_client/models/sync_status'
152
155
  require 'merge_accounting_client/models/sync_status_status_enum'
@@ -166,6 +169,7 @@ require 'merge_accounting_client/api/account_details_api'
166
169
  require 'merge_accounting_client/api/account_token_api'
167
170
  require 'merge_accounting_client/api/accounts_api'
168
171
  require 'merge_accounting_client/api/addresses_api'
172
+ require 'merge_accounting_client/api/async_passthrough_api'
169
173
  require 'merge_accounting_client/api/attachments_api'
170
174
  require 'merge_accounting_client/api/available_actions_api'
171
175
  require 'merge_accounting_client/api/balance_sheets_api'
@@ -57,8 +57,8 @@ describe 'AccountsApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
61
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
63
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
64
64
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MergeAccountingClient::AsyncPassthroughApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AsyncPassthroughApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MergeAccountingClient::AsyncPassthroughApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AsyncPassthroughApi' do
30
+ it 'should create an instance of AsyncPassthroughApi' do
31
+ expect(@api_instance).to be_instance_of(MergeAccountingClient::AsyncPassthroughApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for async_passthrough_create
36
+ # Asynchronously pull data from an endpoint not currently supported by Merge.
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param data_passthrough_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncPassthroughReciept]
41
+ describe 'async_passthrough_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for async_passthrough_retrieve
48
+ # Retrieves data from earlier async-passthrough POST request
49
+ # @param x_account_token Token identifying the end user.
50
+ # @param async_passthrough_receipt_id
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [RemoteResponse]
53
+ describe 'async_passthrough_retrieve test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -56,8 +56,8 @@ describe 'AttachmentsApi' do
56
56
  # @option opts [String] :cursor The pagination cursor value.
57
57
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
58
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
60
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
59
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
60
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
61
61
  # @option opts [Integer] :page_size Number of results to return per page.
62
62
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
63
63
  # @return [PaginatedAccountingAttachmentList]
@@ -43,8 +43,8 @@ describe 'BalanceSheetsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
50
  # @return [PaginatedBalanceSheetList]
@@ -43,8 +43,8 @@ describe 'CashFlowStatementsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
50
  # @return [PaginatedCashFlowStatementList]
@@ -42,8 +42,8 @@ describe 'CompanyInfoApi' do
42
42
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
43
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
44
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
46
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
45
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
46
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
47
47
  # @option opts [Integer] :page_size Number of results to return per page.
48
48
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
49
49
  # @return [PaginatedCompanyInfoList]
@@ -57,8 +57,8 @@ describe 'ContactsApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
61
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
63
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
64
64
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -43,8 +43,8 @@ describe 'CreditNotesApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
50
50
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -32,12 +32,12 @@ describe 'DeleteAccountApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for delete_account_create
35
+ # unit tests for delete_account_delete
36
36
  # Delete a linked account.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [nil]
40
- describe 'delete_account_create test' do
40
+ describe 'delete_account_delete test' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
43
  end
@@ -57,8 +57,8 @@ describe 'ExpensesApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
61
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
63
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
64
64
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -33,7 +33,7 @@ describe 'ForceResyncApi' do
33
33
  end
34
34
 
35
35
  # unit tests for sync_status_resync_create
36
- # Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available for monthly and quarterly sync frequency customers on the Core, Professional, or Enterprise plans.
36
+ # Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<SyncStatus>]
@@ -43,8 +43,8 @@ describe 'IncomeStatementsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
50
  # @return [PaginatedIncomeStatementList]
@@ -60,8 +60,8 @@ describe 'InvoicesApi' do
60
60
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
61
61
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
62
62
  # @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
63
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
64
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
63
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
64
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
65
65
  # @option opts [Integer] :page_size Number of results to return per page.
66
66
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
67
67
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -43,11 +43,11 @@ describe 'IssuesApi' do
43
43
  # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
44
44
  # @option opts [String] :include_muted If True, will include muted issues
45
45
  # @option opts [String] :integration_name
46
- # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
47
- # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
46
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
47
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
50
- # @option opts [String] :status * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
50
+ # @option opts [String] :status Status of the issue. Options: (&#39;ONGOING&#39;, &#39;RESOLVED&#39;) * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
51
51
  # @return [PaginatedIssueList]
52
52
  describe 'issues_list test' do
53
53
  it 'should work' do
@@ -43,8 +43,8 @@ describe 'ItemsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
50
50
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -57,8 +57,8 @@ describe 'JournalEntriesApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
61
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
63
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
64
64
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -35,7 +35,7 @@ describe 'LinkedAccountsApi' do
35
35
  # unit tests for linked_accounts_list
36
36
  # List linked accounts for your organization.
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :category * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage
38
+ # @option opts [String] :category Options: (&#39;hris&#39;, &#39;ats&#39;, &#39;accounting&#39;, &#39;ticketing&#39;, &#39;crm&#39;, &#39;mktg&#39;, &#39;filestorage&#39;) * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage
39
39
  # @option opts [String] :cursor The pagination cursor value.
40
40
  # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
41
41
  # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
@@ -59,8 +59,8 @@ describe 'PaymentsApi' do
59
59
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
60
60
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
61
61
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
62
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
63
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
62
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
63
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
64
64
  # @option opts [Integer] :page_size Number of results to return per page.
65
65
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
66
66
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -59,8 +59,8 @@ describe 'PurchaseOrdersApi' do
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
60
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
61
61
  # @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
62
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
63
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
62
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
63
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
64
64
  # @option opts [Integer] :page_size Number of results to return per page.
65
65
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
66
66
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -33,7 +33,7 @@ describe 'SyncStatusApi' do
33
33
  end
34
34
 
35
35
  # unit tests for sync_status_list
36
- # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;
36
+ # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PARTIALLY_SYNCED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :cursor The pagination cursor value.