merge_accounting_client 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AccountsApi.md +4 -0
  4. data/docs/BalanceSheetsApi.md +4 -0
  5. data/docs/CashFlowStatementsApi.md +4 -0
  6. data/docs/CompanyInfoApi.md +4 -0
  7. data/docs/ContactsApi.md +4 -0
  8. data/docs/CreditNote.md +1 -1
  9. data/docs/CreditNoteLineItem.md +1 -1
  10. data/docs/CreditNotesApi.md +4 -0
  11. data/docs/Expense.md +1 -1
  12. data/docs/ExpenseLine.md +4 -2
  13. data/docs/ExpenseLineRequest.md +4 -2
  14. data/docs/ExpenseRequest.md +1 -1
  15. data/docs/ExpensesApi.md +4 -0
  16. data/docs/ForceResyncApi.md +1 -1
  17. data/docs/IncomeStatementsApi.md +4 -0
  18. data/docs/Invoice.md +1 -1
  19. data/docs/InvoiceLineItem.md +2 -2
  20. data/docs/InvoiceLineItemRequest.md +2 -2
  21. data/docs/InvoiceRequest.md +18 -18
  22. data/docs/InvoicesApi.md +4 -0
  23. data/docs/ItemsApi.md +4 -0
  24. data/docs/JournalEntriesApi.md +4 -0
  25. data/docs/JournalEntry.md +2 -2
  26. data/docs/JournalEntryRequest.md +10 -10
  27. data/docs/JournalLine.md +4 -2
  28. data/docs/JournalLineRequest.md +4 -2
  29. data/docs/PaymentsApi.md +4 -0
  30. data/docs/PurchaseOrder.md +2 -2
  31. data/docs/PurchaseOrderLineItem.md +2 -0
  32. data/docs/PurchaseOrderLineItemRequest.md +2 -0
  33. data/docs/PurchaseOrderRequest.md +12 -12
  34. data/docs/PurchaseOrdersApi.md +4 -0
  35. data/docs/TaxRatesApi.md +4 -0
  36. data/docs/TrackingCategoriesApi.md +4 -0
  37. data/docs/Transaction.md +4 -2
  38. data/docs/TransactionLineItem.md +2 -0
  39. data/docs/TransactionsApi.md +4 -0
  40. data/docs/VendorCredit.md +2 -2
  41. data/docs/VendorCreditLine.md +3 -1
  42. data/docs/VendorCreditsApi.md +4 -0
  43. data/lib/merge_accounting_client/api/accounts_api.rb +14 -0
  44. data/lib/merge_accounting_client/api/balance_sheets_api.rb +14 -0
  45. data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +14 -0
  46. data/lib/merge_accounting_client/api/company_info_api.rb +14 -0
  47. data/lib/merge_accounting_client/api/contacts_api.rb +14 -0
  48. data/lib/merge_accounting_client/api/credit_notes_api.rb +14 -0
  49. data/lib/merge_accounting_client/api/expenses_api.rb +14 -0
  50. data/lib/merge_accounting_client/api/force_resync_api.rb +2 -2
  51. data/lib/merge_accounting_client/api/income_statements_api.rb +14 -0
  52. data/lib/merge_accounting_client/api/invoices_api.rb +14 -0
  53. data/lib/merge_accounting_client/api/items_api.rb +14 -0
  54. data/lib/merge_accounting_client/api/journal_entries_api.rb +14 -0
  55. data/lib/merge_accounting_client/api/payments_api.rb +14 -0
  56. data/lib/merge_accounting_client/api/purchase_orders_api.rb +14 -0
  57. data/lib/merge_accounting_client/api/tax_rates_api.rb +14 -0
  58. data/lib/merge_accounting_client/api/tracking_categories_api.rb +14 -0
  59. data/lib/merge_accounting_client/api/transactions_api.rb +14 -0
  60. data/lib/merge_accounting_client/api/vendor_credits_api.rb +14 -0
  61. data/lib/merge_accounting_client/models/account_integration.rb +3 -3
  62. data/lib/merge_accounting_client/models/credit_note_line_item.rb +9 -9
  63. data/lib/merge_accounting_client/models/expense.rb +3 -3
  64. data/lib/merge_accounting_client/models/expense_line.rb +37 -9
  65. data/lib/merge_accounting_client/models/expense_line_request.rb +37 -9
  66. data/lib/merge_accounting_client/models/expense_request.rb +3 -3
  67. data/lib/merge_accounting_client/models/invoice.rb +3 -3
  68. data/lib/merge_accounting_client/models/invoice_line_item.rb +15 -15
  69. data/lib/merge_accounting_client/models/invoice_line_item_request.rb +15 -15
  70. data/lib/merge_accounting_client/models/invoice_request.rb +3 -3
  71. data/lib/merge_accounting_client/models/journal_entry.rb +3 -3
  72. data/lib/merge_accounting_client/models/journal_entry_request.rb +3 -3
  73. data/lib/merge_accounting_client/models/journal_line.rb +37 -9
  74. data/lib/merge_accounting_client/models/journal_line_request.rb +37 -9
  75. data/lib/merge_accounting_client/models/payment.rb +3 -3
  76. data/lib/merge_accounting_client/models/payment_request.rb +3 -3
  77. data/lib/merge_accounting_client/models/purchase_order.rb +3 -3
  78. data/lib/merge_accounting_client/models/purchase_order_line_item.rb +21 -10
  79. data/lib/merge_accounting_client/models/purchase_order_line_item_request.rb +21 -10
  80. data/lib/merge_accounting_client/models/purchase_order_request.rb +3 -3
  81. data/lib/merge_accounting_client/models/transaction.rb +18 -7
  82. data/lib/merge_accounting_client/models/transaction_line_item.rb +24 -13
  83. data/lib/merge_accounting_client/models/vendor_credit.rb +3 -3
  84. data/lib/merge_accounting_client/models/vendor_credit_line.rb +33 -5
  85. data/lib/merge_accounting_client/version.rb +1 -1
  86. data/spec/api/accounts_api_spec.rb +2 -0
  87. data/spec/api/balance_sheets_api_spec.rb +2 -0
  88. data/spec/api/cash_flow_statements_api_spec.rb +2 -0
  89. data/spec/api/company_info_api_spec.rb +2 -0
  90. data/spec/api/contacts_api_spec.rb +2 -0
  91. data/spec/api/credit_notes_api_spec.rb +2 -0
  92. data/spec/api/expenses_api_spec.rb +2 -0
  93. data/spec/api/force_resync_api_spec.rb +1 -1
  94. data/spec/api/income_statements_api_spec.rb +2 -0
  95. data/spec/api/invoices_api_spec.rb +2 -0
  96. data/spec/api/items_api_spec.rb +2 -0
  97. data/spec/api/journal_entries_api_spec.rb +2 -0
  98. data/spec/api/payments_api_spec.rb +2 -0
  99. data/spec/api/purchase_orders_api_spec.rb +2 -0
  100. data/spec/api/tax_rates_api_spec.rb +2 -0
  101. data/spec/api/tracking_categories_api_spec.rb +2 -0
  102. data/spec/api/transactions_api_spec.rb +2 -0
  103. data/spec/api/vendor_credits_api_spec.rb +2 -0
  104. data/spec/models/expense_line_request_spec.rb +7 -1
  105. data/spec/models/expense_line_spec.rb +7 -1
  106. data/spec/models/invoice_line_item_request_spec.rb +6 -6
  107. data/spec/models/invoice_line_item_spec.rb +6 -6
  108. data/spec/models/journal_line_request_spec.rb +7 -1
  109. data/spec/models/journal_line_spec.rb +7 -1
  110. data/spec/models/purchase_order_line_item_request_spec.rb +6 -0
  111. data/spec/models/purchase_order_line_item_spec.rb +6 -0
  112. data/spec/models/transaction_line_item_spec.rb +6 -0
  113. data/spec/models/transaction_spec.rb +6 -0
  114. data/spec/models/vendor_credit_line_spec.rb +6 -0
  115. metadata +151 -151
@@ -37,6 +37,9 @@ module MergeAccountingClient
37
37
  # The company the line belongs to.
38
38
  attr_accessor :company
39
39
 
40
+ # The vendor credit line item's exchange rate.
41
+ attr_accessor :exchange_rate
42
+
40
43
  # Attribute mapping from ruby-style variable name to JSON key.
41
44
  def self.attribute_map
42
45
  {
@@ -46,7 +49,8 @@ module MergeAccountingClient
46
49
  :'tracking_categories' => :'tracking_categories',
47
50
  :'description' => :'description',
48
51
  :'account' => :'account',
49
- :'company' => :'company'
52
+ :'company' => :'company',
53
+ :'exchange_rate' => :'exchange_rate'
50
54
  }
51
55
  end
52
56
 
@@ -64,7 +68,8 @@ module MergeAccountingClient
64
68
  :'tracking_categories' => :'Array<String>',
65
69
  :'description' => :'String',
66
70
  :'account' => :'String',
67
- :'company' => :'String'
71
+ :'company' => :'String',
72
+ :'exchange_rate' => :'String'
68
73
  }
69
74
  end
70
75
 
@@ -76,7 +81,8 @@ module MergeAccountingClient
76
81
  :'tracking_category',
77
82
  :'description',
78
83
  :'account',
79
- :'company'
84
+ :'company',
85
+ :'exchange_rate'
80
86
  ])
81
87
  end
82
88
 
@@ -124,6 +130,10 @@ module MergeAccountingClient
124
130
  if attributes.key?(:'company')
125
131
  self.company = attributes[:'company']
126
132
  end
133
+
134
+ if attributes.key?(:'exchange_rate')
135
+ self.exchange_rate = attributes[:'exchange_rate']
136
+ end
127
137
  end
128
138
 
129
139
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -134,6 +144,11 @@ module MergeAccountingClient
134
144
  invalid_properties.push('invalid value for "tracking_categories", tracking_categories cannot be nil.')
135
145
  end
136
146
 
147
+ pattern = Regexp.new(/^-?\d{0,32}(?:\.\d{0,16})?$/)
148
+ if !@exchange_rate.nil? && @exchange_rate.to_s !~ pattern
149
+ invalid_properties.push("invalid value for \"exchange_rate\", must conform to the pattern #{pattern}.")
150
+ end
151
+
137
152
  invalid_properties
138
153
  end
139
154
 
@@ -141,9 +156,21 @@ module MergeAccountingClient
141
156
  # @return true if the model is valid
142
157
  def valid?
143
158
  return false if @tracking_categories.nil?
159
+ return false if !@exchange_rate.nil? && @exchange_rate.to_s !~ Regexp.new(/^-?\d{0,32}(?:\.\d{0,16})?$/)
144
160
  true
145
161
  end
146
162
 
163
+ # Custom attribute writer method with validation
164
+ # @param [Object] exchange_rate Value to be assigned
165
+ def exchange_rate=(exchange_rate)
166
+ pattern = Regexp.new(/^-?\d{0,32}(?:\.\d{0,16})?$/)
167
+ if !exchange_rate.nil? && exchange_rate.to_s !~ pattern
168
+ fail ArgumentError, "invalid value for \"exchange_rate\", must conform to the pattern #{pattern}."
169
+ end
170
+
171
+ @exchange_rate = exchange_rate
172
+ end
173
+
147
174
  # Checks equality by comparing each attribute.
148
175
  # @param [Object] Object to be compared
149
176
  def ==(o)
@@ -155,7 +182,8 @@ module MergeAccountingClient
155
182
  tracking_categories == o.tracking_categories &&
156
183
  description == o.description &&
157
184
  account == o.account &&
158
- company == o.company
185
+ company == o.company &&
186
+ exchange_rate == o.exchange_rate
159
187
  end
160
188
 
161
189
  # @see the `==` method
@@ -167,7 +195,7 @@ module MergeAccountingClient
167
195
  # Calculates hash code according to all attributes.
168
196
  # @return [Integer] Hash code
169
197
  def hash
170
- [remote_id, net_amount, tracking_category, tracking_categories, description, account, company].hash
198
+ [remote_id, net_amount, tracking_category, tracking_categories, description, account, company, exchange_rate].hash
171
199
  end
172
200
 
173
201
  # 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.5'
14
+ VERSION = '1.0.7'
15
15
  end
@@ -54,6 +54,7 @@ describe 'AccountsApi' do
54
54
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
55
55
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
56
56
  # @option opts [String] :cursor The pagination cursor value.
57
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
57
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
60
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -85,6 +86,7 @@ describe 'AccountsApi' do
85
86
  # @param x_account_token Token identifying the end user.
86
87
  # @param id
87
88
  # @param [Hash] opts the optional parameters
89
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
88
90
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
89
91
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
90
92
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
@@ -40,6 +40,7 @@ describe 'BalanceSheetsApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -58,6 +59,7 @@ describe 'BalanceSheetsApi' do
58
59
  # @param x_account_token Token identifying the end user.
59
60
  # @param id
60
61
  # @param [Hash] opts the optional parameters
62
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
61
63
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
62
64
  # @return [BalanceSheet]
63
65
  describe 'balance_sheets_retrieve test' do
@@ -40,6 +40,7 @@ describe 'CashFlowStatementsApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -58,6 +59,7 @@ describe 'CashFlowStatementsApi' do
58
59
  # @param x_account_token Token identifying the end user.
59
60
  # @param id
60
61
  # @param [Hash] opts the optional parameters
62
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
61
63
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
62
64
  # @return [CashFlowStatement]
63
65
  describe 'cash_flow_statements_retrieve test' do
@@ -39,6 +39,7 @@ describe 'CompanyInfoApi' do
39
39
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
40
40
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
41
41
  # @option opts [String] :cursor The pagination cursor value.
42
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
42
43
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
43
44
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
44
45
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -57,6 +58,7 @@ describe 'CompanyInfoApi' do
57
58
  # @param x_account_token Token identifying the end user.
58
59
  # @param id
59
60
  # @param [Hash] opts the optional parameters
61
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
60
62
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
61
63
  # @return [CompanyInfo]
62
64
  describe 'company_info_retrieve test' do
@@ -54,6 +54,7 @@ describe 'ContactsApi' do
54
54
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
55
55
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
56
56
  # @option opts [String] :cursor The pagination cursor value.
57
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
57
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
60
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -85,6 +86,7 @@ describe 'ContactsApi' do
85
86
  # @param x_account_token Token identifying the end user.
86
87
  # @param id
87
88
  # @param [Hash] opts the optional parameters
89
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
88
90
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
89
91
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
90
92
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
@@ -40,6 +40,7 @@ describe 'CreditNotesApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -62,6 +63,7 @@ describe 'CreditNotesApi' do
62
63
  # @param x_account_token Token identifying the end user.
63
64
  # @param id
64
65
  # @param [Hash] opts the optional parameters
66
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
65
67
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
66
68
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
67
69
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
@@ -54,6 +54,7 @@ describe 'ExpensesApi' do
54
54
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
55
55
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
56
56
  # @option opts [String] :cursor The pagination cursor value.
57
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
57
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
60
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -85,6 +86,7 @@ describe 'ExpensesApi' do
85
86
  # @param x_account_token Token identifying the end user.
86
87
  # @param id
87
88
  # @param [Hash] opts the optional parameters
89
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
88
90
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
89
91
  # @return [Expense]
90
92
  describe 'expenses_retrieve test' do
@@ -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 only available for organizations on Merge&#39;s Grow and Expand plans.
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.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<SyncStatus>]
@@ -40,6 +40,7 @@ describe 'IncomeStatementsApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -58,6 +59,7 @@ describe 'IncomeStatementsApi' do
58
59
  # @param x_account_token Token identifying the end user.
59
60
  # @param id
60
61
  # @param [Hash] opts the optional parameters
62
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
61
63
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
62
64
  # @return [IncomeStatement]
63
65
  describe 'income_statements_retrieve test' do
@@ -55,6 +55,7 @@ describe 'InvoicesApi' do
55
55
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
56
56
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
57
57
  # @option opts [String] :cursor The pagination cursor value.
58
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
59
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
60
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
61
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
@@ -89,6 +90,7 @@ describe 'InvoicesApi' do
89
90
  # @param x_account_token Token identifying the end user.
90
91
  # @param id
91
92
  # @param [Hash] opts the optional parameters
93
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
92
94
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
93
95
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
94
96
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
@@ -40,6 +40,7 @@ describe 'ItemsApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -60,6 +61,7 @@ describe 'ItemsApi' do
60
61
  # @param x_account_token Token identifying the end user.
61
62
  # @param id
62
63
  # @param [Hash] opts the optional parameters
64
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
63
65
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
64
66
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
65
67
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
@@ -54,6 +54,7 @@ describe 'JournalEntriesApi' do
54
54
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
55
55
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
56
56
  # @option opts [String] :cursor The pagination cursor value.
57
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
57
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
60
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -85,6 +86,7 @@ describe 'JournalEntriesApi' do
85
86
  # @param x_account_token Token identifying the end user.
86
87
  # @param id
87
88
  # @param [Hash] opts the optional parameters
89
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
88
90
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
89
91
  # @return [JournalEntry]
90
92
  describe 'journal_entries_retrieve test' do
@@ -56,6 +56,7 @@ describe 'PaymentsApi' do
56
56
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
57
57
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
58
58
  # @option opts [String] :cursor The pagination cursor value.
59
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
59
60
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
60
61
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
61
62
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -87,6 +88,7 @@ describe 'PaymentsApi' do
87
88
  # @param x_account_token Token identifying the end user.
88
89
  # @param id
89
90
  # @param [Hash] opts the optional parameters
91
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
90
92
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
91
93
  # @return [Payment]
92
94
  describe 'payments_retrieve test' do
@@ -54,6 +54,7 @@ describe 'PurchaseOrdersApi' do
54
54
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
55
55
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
56
56
  # @option opts [String] :cursor The pagination cursor value.
57
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
57
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
60
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
@@ -87,6 +88,7 @@ describe 'PurchaseOrdersApi' do
87
88
  # @param x_account_token Token identifying the end user.
88
89
  # @param id
89
90
  # @param [Hash] opts the optional parameters
91
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
90
92
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
91
93
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
92
94
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
@@ -40,6 +40,7 @@ describe 'TaxRatesApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -58,6 +59,7 @@ describe 'TaxRatesApi' do
58
59
  # @param x_account_token Token identifying the end user.
59
60
  # @param id
60
61
  # @param [Hash] opts the optional parameters
62
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
61
63
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
62
64
  # @return [TaxRate]
63
65
  describe 'tax_rates_retrieve test' do
@@ -40,6 +40,7 @@ describe 'TrackingCategoriesApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -60,6 +61,7 @@ describe 'TrackingCategoriesApi' do
60
61
  # @param x_account_token Token identifying the end user.
61
62
  # @param id
62
63
  # @param [Hash] opts the optional parameters
64
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
63
65
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
64
66
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
65
67
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
@@ -40,6 +40,7 @@ describe 'TransactionsApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -60,6 +61,7 @@ describe 'TransactionsApi' do
60
61
  # @param x_account_token Token identifying the end user.
61
62
  # @param id
62
63
  # @param [Hash] opts the optional parameters
64
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
63
65
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
64
66
  # @return [Transaction]
65
67
  describe 'transactions_retrieve test' do
@@ -40,6 +40,7 @@ describe 'VendorCreditsApi' do
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -60,6 +61,7 @@ describe 'VendorCreditsApi' do
60
61
  # @param x_account_token Token identifying the end user.
61
62
  # @param id
62
63
  # @param [Hash] opts the optional parameters
64
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
63
65
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
64
66
  # @return [VendorCredit]
65
67
  describe 'vendor_credits_retrieve test' do
@@ -25,6 +25,12 @@ describe MergeAccountingClient::ExpenseLineRequest do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::ExpenseLineRequest)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "item"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -73,7 +79,7 @@ describe MergeAccountingClient::ExpenseLineRequest do
73
79
  end
74
80
  end
75
81
 
76
- describe 'test attribute "remote_id"' do
82
+ describe 'test attribute "exchange_rate"' do
77
83
  it 'should work' do
78
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
85
  end
@@ -25,6 +25,12 @@ describe MergeAccountingClient::ExpenseLine do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::ExpenseLine)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "item"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -73,7 +79,7 @@ describe MergeAccountingClient::ExpenseLine do
73
79
  end
74
80
  end
75
81
 
76
- describe 'test attribute "remote_id"' do
82
+ describe 'test attribute "exchange_rate"' do
77
83
  it 'should work' do
78
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
85
  end
@@ -25,6 +25,12 @@ describe MergeAccountingClient::InvoiceLineItemRequest do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::InvoiceLineItemRequest)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "description"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -91,12 +97,6 @@ describe MergeAccountingClient::InvoiceLineItemRequest do
91
97
  end
92
98
  end
93
99
 
94
- describe 'test attribute "remote_id"' do
95
- it 'should work' do
96
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
- end
98
- end
99
-
100
100
  describe 'test attribute "integration_params"' do
101
101
  it 'should work' do
102
102
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -25,6 +25,12 @@ describe MergeAccountingClient::InvoiceLineItem do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::InvoiceLineItem)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "description"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -97,12 +103,6 @@ describe MergeAccountingClient::InvoiceLineItem do
97
103
  end
98
104
  end
99
105
 
100
- describe 'test attribute "remote_id"' do
101
- it 'should work' do
102
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
- end
104
- end
105
-
106
106
  describe 'test attribute "field_mappings"' do
107
107
  it 'should work' do
108
108
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -25,6 +25,12 @@ describe MergeAccountingClient::JournalLineRequest do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::JournalLineRequest)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "account"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,7 +67,7 @@ describe MergeAccountingClient::JournalLineRequest do
61
67
  end
62
68
  end
63
69
 
64
- describe 'test attribute "remote_id"' do
70
+ describe 'test attribute "exchange_rate"' do
65
71
  it 'should work' do
66
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
73
  end
@@ -25,6 +25,12 @@ describe MergeAccountingClient::JournalLine do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::JournalLine)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "account"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,7 +67,7 @@ describe MergeAccountingClient::JournalLine do
61
67
  end
62
68
  end
63
69
 
64
- describe 'test attribute "remote_id"' do
70
+ describe 'test attribute "exchange_rate"' do
65
71
  it 'should work' do
66
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
73
  end
@@ -25,6 +25,12 @@ describe MergeAccountingClient::PurchaseOrderLineItemRequest do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::PurchaseOrderLineItemRequest)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "description"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -25,6 +25,12 @@ describe MergeAccountingClient::PurchaseOrderLineItem do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::PurchaseOrderLineItem)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "description"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -25,6 +25,12 @@ describe MergeAccountingClient::TransactionLineItem do
25
25
  expect(instance).to be_instance_of(MergeAccountingClient::TransactionLineItem)
26
26
  end
27
27
  end
28
+ describe 'test attribute "remote_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "memo"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -79,6 +79,12 @@ describe MergeAccountingClient::Transaction do
79
79
  end
80
80
  end
81
81
 
82
+ describe 'test attribute "tracking_categories"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
82
88
  describe 'test attribute "line_items"' do
83
89
  it 'should work' do
84
90
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -67,4 +67,10 @@ describe MergeAccountingClient::VendorCreditLine do
67
67
  end
68
68
  end
69
69
 
70
+ describe 'test attribute "exchange_rate"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
70
76
  end