payabli 3.0.20 → 3.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +4 -4
  3. data/README.md +2 -7
  4. data/lib/payabli/applications/client.rb +9 -7
  5. data/lib/payabli/bill/client.rb +1 -1
  6. data/lib/payabli/billing/client.rb +2 -2
  7. data/lib/payabli/boarding/client.rb +11 -6
  8. data/lib/payabli/boarding_templates/client.rb +1 -1
  9. data/lib/payabli/case_management/client.rb +1 -1
  10. data/lib/payabli/client.rb +6 -1
  11. data/lib/payabli/export/client.rb +15 -15
  12. data/lib/payabli/invoice/client.rb +1 -1
  13. data/lib/payabli/notification/client.rb +1 -1
  14. data/lib/payabli/notificationlogs/client.rb +1 -1
  15. data/lib/payabli/organization/client.rb +13 -13
  16. data/lib/payabli/organizations/client.rb +214 -0
  17. data/lib/payabli/organizations/types/create_organization_organizations_request.rb +17 -0
  18. data/lib/payabli/organizations/types/list_organizations_organizations_request.rb +19 -0
  19. data/lib/payabli/organizations/types/update_organization_request.rb +27 -0
  20. data/lib/payabli/payout_subscription/client.rb +6 -3
  21. data/lib/payabli/paypoint/client.rb +1 -1
  22. data/lib/payabli/people/client.rb +2 -2
  23. data/lib/payabli/query/client.rb +21 -21
  24. data/lib/payabli/templates/client.rb +4 -4
  25. data/lib/payabli/types/bill_detail_response.rb +2 -0
  26. data/lib/payabli/types/bill_query_record_2.rb +2 -0
  27. data/lib/payabli/types/bill_response_data.rb +2 -0
  28. data/lib/payabli/types/business_address_create.rb +2 -2
  29. data/lib/payabli/types/create_organization_all_fields.rb +30 -0
  30. data/lib/payabli/types/create_organization_with_business_reference.rb +29 -0
  31. data/lib/payabli/types/create_organization_with_inline_business.rb +29 -0
  32. data/lib/payabli/types/get_basic_organization_response.rb +15 -0
  33. data/lib/payabli/types/instrument_response.rb +22 -0
  34. data/lib/payabli/types/methods_list_out.rb +4 -0
  35. data/lib/payabli/types/organization_query_record.rb +23 -21
  36. data/lib/payabli/types/organization_writable_fields.rb +28 -0
  37. data/lib/payabli/types/owners.rb +2 -0
  38. data/lib/payabli/types/payabli_credentials_pascal.rb +8 -2
  39. data/lib/payabli/types/payout_subscription_query_record.rb +2 -0
  40. data/lib/payabli/types/payout_subscription_query_record_pascal.rb +2 -0
  41. data/lib/payabli/types/paypoint_summary_response.rb +2 -0
  42. data/lib/payabli/types/people_search_address_response.rb +17 -0
  43. data/lib/payabli/types/people_search_result_response.rb +4 -0
  44. data/lib/payabli/types/query_batches_out_response_records_item.rb +4 -0
  45. data/lib/payabli/types/query_payout_transaction_records_item.rb +2 -0
  46. data/lib/payabli/types/submit_signer.rb +6 -5
  47. data/lib/payabli/types/transaction_out_query_record.rb +2 -0
  48. data/lib/payabli/types/transfer_out_detail_record.rb +2 -0
  49. data/lib/payabli/types/transfer_out_record.rb +2 -0
  50. data/lib/payabli/types/vendor_data_response.rb +2 -0
  51. data/lib/payabli/types/vendor_query_record.rb +2 -0
  52. data/lib/payabli/version.rb +1 -1
  53. data/lib/payabli/wallet/client.rb +2 -2
  54. data/lib/payabli.rb +14 -3
  55. data/reference.md +599 -223
  56. data/wiremock/wiremock-mappings.json +243 -123
  57. metadata +13 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7aabdb79bae28bc69bd324db1863db3dee4453e7cf153470aeee925acb477f35
4
- data.tar.gz: 8b1335d673cfe34126563a651dc8ed3055ef368dde7f19675adb90fc8b9d05f7
3
+ metadata.gz: 1cb39fe2d1ad054d6d91974a0a209ada8c72ce03550bbf51ed66b9c1634534c9
4
+ data.tar.gz: eb91470376b6d5bbd6d97b5b82f9502be6046fbcb1e8892c0c65480ad536d2fd
5
5
  SHA512:
6
- metadata.gz: b5e81b3bca17363668c41ba09503907e7f6d7346ee5f912aa3d806a06c3ddcd8875ddb1a2c1d095b9317731a8e0ddf1f5d49f1c10f3115c6855a9f17cf857b52
7
- data.tar.gz: 9e484ea332667d55e6c0c022e469ba700bc2fbc3ef999c7adab21418a91e99c562f22c61a1713caf6cb725eec7293ef6921c497b440537526149cf39bb14bdaf
6
+ metadata.gz: d64aa4ffb54fb822b5a1c74d706cab4fa748dcf0d3f90ddefc3a4b931138813f3b9a99058c76a4f02269fb1632c0adadf0633ab03a6ea5b653e02487b2d1936a
7
+ data.tar.gz: 93c267d8b6e4bdeefb2a7d3d93db0916023f20b63e211aa221a67ccc31f5e60db693a47b1370ecda8957dc909249e1299d082b1252ae39d300fb25dee93177d9
data/.fern/metadata.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "cliVersion": "5.128.3",
2
+ "cliVersion": "5.217.0",
3
3
  "generatorName": "fernapi/fern-ruby-sdk",
4
4
  "generatorVersion": "1.24.0",
5
5
  "generatorConfig": {
@@ -7,10 +7,10 @@
7
7
  "rubocopVariableNumberStyle": "snake_case",
8
8
  "respectOptionalRequestBody": true
9
9
  },
10
- "originGitCommit": "b86804f7b7e691004b32c4c2703fa51f494c4eec",
10
+ "originGitCommit": "cfd4c7317c72979031c64b166ce27f8cd634aae4",
11
11
  "originGitCommitIsDirty": true,
12
12
  "invokedBy": "ci",
13
- "requestedVersion": "3.0.20",
13
+ "requestedVersion": "3.0.22",
14
14
  "ciProvider": "github",
15
- "sdkVersion": "3.0.20"
15
+ "sdkVersion": "3.0.22"
16
16
  }
data/README.md CHANGED
@@ -1,12 +1,11 @@
1
1
  # Payabli Ruby Library
2
2
 
3
- [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fpayabli%2Fsdk-ruby)
3
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Payabli%2FRuby)
4
4
 
5
5
  The Payabli Ruby library provides convenient access to the Payabli APIs from Ruby.
6
6
 
7
7
  ## Table of Contents
8
8
 
9
- - [Documentation](#documentation)
10
9
  - [Reference](#reference)
11
10
  - [Changelog](#changelog)
12
11
  - [Getting Started](#getting-started)
@@ -21,13 +20,9 @@ The Payabli Ruby library provides convenient access to the Payabli APIs from Rub
21
20
  - [Additional Query Parameters](#additional-query-parameters)
22
21
  - [Contributing](#contributing)
23
22
 
24
- ## Documentation
25
-
26
- API reference documentation is available [here](https://docs.payabli.com).
27
-
28
23
  ## Reference
29
24
 
30
- A full reference for this library is available [here](https://github.com/payabli/sdk-ruby/blob/HEAD/./reference.md).
25
+ A full reference for this library is available [here](./reference.md).
31
26
 
32
27
  ## Changelog
33
28
 
@@ -253,13 +253,15 @@ module Payabli
253
253
  #
254
254
  # The application must have a signer: an owner flagged with `isSigner` on their business link, or one you name in
255
255
  # `signer.personReference`. Payabli records the signer's identity from their person record and business link, so
256
- # update those before you submit. The `signer` object carries the signature details.
257
- #
258
- # If the application has no signer, the request fails with `422` and the error `SIGNER_REQUIRED`. If
259
- # `signer.personReference` names a person who isn't an owner, the request fails with `422` and the error
260
- # `SIGNER_NOT_OWNER`. If the application isn't a draft, the request fails with `409` and the error `BIZ_004`,
261
- # before any signer check. If `signer.reportedSignerIp` isn't a single valid IPv4 or IPv6 address, the request
262
- # fails with `400` and the error `VALIDATION_ERROR`, and the application isn't submitted.
256
+ # update those before you submit. The `signer` object carries the signature details, and every submit needs
257
+ # `signer.signature` and `signer.signatureType`, even when you send `signer.signedDocumentReference`.
258
+ #
259
+ # If `signer`, `signer.signature`, or `signer.signatureType` is missing or blank, the request fails with `400` and
260
+ # the error `VALIDATION_ERROR`. If the application has no signer, the request fails with `422` and the error
261
+ # `SIGNER_REQUIRED`. If `signer.personReference` names a person who isn't an owner, the request fails with `422`
262
+ # and the error `SIGNER_NOT_OWNER`. If the application isn't a draft, the request fails with `409` and the error
263
+ # `BIZ_004`, before any signer check. If `signer.reportedSignerIp` isn't a single valid IPv4 or IPv6 address, the
264
+ # request fails with `400` and the error `VALIDATION_ERROR`, and the application isn't submitted.
263
265
  #
264
266
  # Submit doesn't check every rule that [validate](/developers/api-reference/applications/validate-an-application)
265
267
  # reports, such as the primary controller and ownership rules. Validate the application and resolve its missing
@@ -543,7 +543,7 @@ module Payabli
543
543
  #
544
544
  # @example
545
545
  # client.bill.list_bills_org(
546
- # org_id: 123,
546
+ # org_id: 900123,
547
547
  # from_record: 251,
548
548
  # limit_record: 0,
549
549
  # sort_by: "desc(field_name)"
@@ -33,7 +33,7 @@ module Payabli
33
33
  #
34
34
  # @example
35
35
  # client.billing.list_profiles(
36
- # org_id: 123,
36
+ # org_id: 900123,
37
37
  # limit_record: 20,
38
38
  # from_record: 0
39
39
  # )
@@ -97,7 +97,7 @@ module Payabli
97
97
  # client.billing.get_profile(
98
98
  # service_group: "PayIn",
99
99
  # entity_type: "Organization",
100
- # entity_id: 123
100
+ # entity_id: 900123
101
101
  # )
102
102
  #
103
103
  # @return [Payabli::Types::BillingProfileResponse]
@@ -96,7 +96,7 @@ module Payabli
96
96
  # mcountry: "US",
97
97
  # mstate: "TN",
98
98
  # mzip: "37615",
99
- # org_id: 123,
99
+ # org_id: 900123,
100
100
  # ownership: [{
101
101
  # oaddress: "33 North St",
102
102
  # ocity: "Any City",
@@ -143,7 +143,7 @@ module Payabli
143
143
  # },
144
144
  # startdate: "01/01/1990",
145
145
  # tax_fill_name: "Sunshine LLC",
146
- # template_id: 22,
146
+ # template_id: 900022,
147
147
  # ticketamt: 1000,
148
148
  # website: "www.example.com",
149
149
  # when_charged: "When Service Provided",
@@ -189,6 +189,11 @@ module Payabli
189
189
  #
190
190
  # Updates a boarding application by ID. This endpoint requires an application API token.
191
191
  #
192
+ #
193
+ # If you send `ownership`, it replaces the application's owners. Include every owner, and set `primaryOwner` again
194
+ # on the primary owner, or the application loses its primary owner. If you leave `ownership` out, the owners don't
195
+ # change.
196
+ #
192
197
  # @param request_options [Hash]
193
198
  # @param params [Payabli::Types::ApplicationData]
194
199
  # @option request_options [String] :base_url
@@ -440,7 +445,7 @@ module Payabli
440
445
  # @option params [Integer] :template_id
441
446
  #
442
447
  # @example
443
- # client.boarding.get_by_template_id_link_application(template_id: 80)
448
+ # client.boarding.get_by_template_id_link_application(template_id: 900022)
444
449
  #
445
450
  # @return [Payabli::Types::BoardingLinkQueryRecord]
446
451
  def get_by_template_id_link_application(request_options: {}, **params)
@@ -595,7 +600,7 @@ module Payabli
595
600
  #
596
601
  # @example
597
602
  # client.boarding.list_applications(
598
- # org_id: 123,
603
+ # org_id: 900123,
599
604
  # from_record: 251,
600
605
  # limit_record: 0,
601
606
  # sort_by: "desc(field_name)"
@@ -658,7 +663,7 @@ module Payabli
658
663
  #
659
664
  # @example
660
665
  # client.boarding.list_boarding_links(
661
- # org_id: 123,
666
+ # org_id: 900123,
662
667
  # from_record: 251,
663
668
  # limit_record: 0,
664
669
  # sort_by: "desc(field_name)"
@@ -720,7 +725,7 @@ module Payabli
720
725
  # @example
721
726
  # client.boarding.add_service_to_paypoint_from_app(
722
727
  # paypoint_id: 3040,
723
- # template_id: 456,
728
+ # template_id: 900022,
724
729
  # recipient_email: "merchant@example.com",
725
730
  # return_boarding_access_info_in_line: true,
726
731
  # on_create: ["submitApplication"]
@@ -32,7 +32,7 @@ module Payabli
32
32
  # @option params [Integer, nil] :limit_record
33
33
  #
34
34
  # @example
35
- # client.boarding_templates.list_templates(org_id: 123)
35
+ # client.boarding_templates.list_templates(org_id: 900123)
36
36
  #
37
37
  # @return [Payabli::Types::ListTemplatesResponse]
38
38
  def list_templates(request_options: {}, **params)
@@ -199,7 +199,7 @@ module Payabli
199
199
  #
200
200
  # @example
201
201
  # client.case_management.list_cases(
202
- # organization_id: 123,
202
+ # organization_id: 900123,
203
203
  # from_record: 0,
204
204
  # limit_record: 20
205
205
  # )
@@ -32,7 +32,7 @@ module Payabli
32
32
  @raw_client = Payabli::Internal::Http::RawClient.new(
33
33
  base_url: base_url || Payabli::Environment::SANDBOX,
34
34
  headers: {
35
- "User-Agent" => "payabli/3.0.20",
35
+ "User-Agent" => "payabli/3.0.22",
36
36
  "X-Fern-Language" => "Ruby"
37
37
  },
38
38
  auth_provider: Payabli::Internal::RoutingAuthProvider.new(
@@ -158,6 +158,11 @@ module Payabli
158
158
  @paypoints ||= Payabli::Paypoints::Client.new(client: @raw_client)
159
159
  end
160
160
 
161
+ # @return [Payabli::Organizations::Client]
162
+ def organizations
163
+ @organizations ||= Payabli::Organizations::Client.new(client: @raw_client)
164
+ end
165
+
161
166
  # @return [Payabli::PaymentMethods::Client]
162
167
  def payment_methods
163
168
  @payment_methods ||= Payabli::PaymentMethods::Client.new(client: @raw_client)
@@ -34,7 +34,7 @@ module Payabli
34
34
  # @example
35
35
  # client.export.export_applications(
36
36
  # format: "csv",
37
- # org_id: 123,
37
+ # org_id: 900123,
38
38
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
39
39
  # from_record: 251,
40
40
  # limit_record: 1000
@@ -160,7 +160,7 @@ module Payabli
160
160
  # @example
161
161
  # client.export.export_batch_details_org(
162
162
  # format: "csv",
163
- # org_id: 123,
163
+ # org_id: 900123,
164
164
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
165
165
  # from_record: 251,
166
166
  # limit_record: 1000
@@ -286,7 +286,7 @@ module Payabli
286
286
  # @example
287
287
  # client.export.export_batches_org(
288
288
  # format: "csv",
289
- # org_id: 123,
289
+ # org_id: 900123,
290
290
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
291
291
  # from_record: 251,
292
292
  # limit_record: 1000
@@ -412,7 +412,7 @@ module Payabli
412
412
  # @example
413
413
  # client.export.export_batches_out_org(
414
414
  # format: "csv",
415
- # org_id: 123,
415
+ # org_id: 900123,
416
416
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
417
417
  # from_record: 251,
418
418
  # limit_record: 1000
@@ -538,7 +538,7 @@ module Payabli
538
538
  # @example
539
539
  # client.export.export_bills_org(
540
540
  # format: "csv",
541
- # org_id: 123,
541
+ # org_id: 900123,
542
542
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
543
543
  # from_record: 251,
544
544
  # limit_record: 1000
@@ -664,7 +664,7 @@ module Payabli
664
664
  # @example
665
665
  # client.export.export_chargebacks_org(
666
666
  # format: "csv",
667
- # org_id: 123,
667
+ # org_id: 900123,
668
668
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
669
669
  # from_record: 251,
670
670
  # limit_record: 1000
@@ -790,7 +790,7 @@ module Payabli
790
790
  # @example
791
791
  # client.export.export_customers_org(
792
792
  # format: "csv",
793
- # org_id: 123,
793
+ # org_id: 900123,
794
794
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
795
795
  # from_record: 251,
796
796
  # limit_record: 1000
@@ -916,7 +916,7 @@ module Payabli
916
916
  # @example
917
917
  # client.export.export_invoices_org(
918
918
  # format: "csv",
919
- # org_id: 123,
919
+ # org_id: 900123,
920
920
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
921
921
  # from_record: 251,
922
922
  # limit_record: 1000
@@ -979,7 +979,7 @@ module Payabli
979
979
  # @example
980
980
  # client.export.export_organizations(
981
981
  # format: "csv",
982
- # org_id: 123,
982
+ # org_id: 900123,
983
983
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
984
984
  # from_record: 251,
985
985
  # limit_record: 1000
@@ -1105,7 +1105,7 @@ module Payabli
1105
1105
  # @example
1106
1106
  # client.export.export_payout_org(
1107
1107
  # format: "csv",
1108
- # org_id: 123,
1108
+ # org_id: 900123,
1109
1109
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
1110
1110
  # from_record: 251,
1111
1111
  # limit_record: 1000
@@ -1168,7 +1168,7 @@ module Payabli
1168
1168
  # @example
1169
1169
  # client.export.export_paypoints(
1170
1170
  # format: "csv",
1171
- # org_id: 123,
1171
+ # org_id: 900123,
1172
1172
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
1173
1173
  # from_record: 251,
1174
1174
  # limit_record: 1000
@@ -1294,7 +1294,7 @@ module Payabli
1294
1294
  # @example
1295
1295
  # client.export.export_settlements_org(
1296
1296
  # format: "csv",
1297
- # org_id: 123,
1297
+ # org_id: 900123,
1298
1298
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
1299
1299
  # from_record: 251,
1300
1300
  # limit_record: 1000
@@ -1420,7 +1420,7 @@ module Payabli
1420
1420
  # @example
1421
1421
  # client.export.export_subscriptions_org(
1422
1422
  # format: "csv",
1423
- # org_id: 123,
1423
+ # org_id: 900123,
1424
1424
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
1425
1425
  # from_record: 251,
1426
1426
  # limit_record: 1000
@@ -1548,7 +1548,7 @@ module Payabli
1548
1548
  # @example
1549
1549
  # client.export.export_transactions_org(
1550
1550
  # format: "csv",
1551
- # org_id: 123,
1551
+ # org_id: 900123,
1552
1552
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
1553
1553
  # from_record: 251,
1554
1554
  # limit_record: 1000
@@ -1806,7 +1806,7 @@ module Payabli
1806
1806
  # @example
1807
1807
  # client.export.export_vendors_org(
1808
1808
  # format: "csv",
1809
- # org_id: 123,
1809
+ # org_id: 900123,
1810
1810
  # columns_export: "BatchDate:Batch_Date,PaypointName:Legal_name",
1811
1811
  # from_record: 251,
1812
1812
  # limit_record: 1000
@@ -443,7 +443,7 @@ module Payabli
443
443
  #
444
444
  # @example
445
445
  # client.invoice.list_invoices_org(
446
- # org_id: 123,
446
+ # org_id: 900123,
447
447
  # from_record: 251,
448
448
  # limit_record: 0,
449
449
  # sort_by: "desc(field_name)"
@@ -27,7 +27,7 @@ module Payabli
27
27
  # },
28
28
  # frequency: "untilcancelled",
29
29
  # method_: "web",
30
- # owner_id: 236,
30
+ # owner_id: 900123,
31
31
  # owner_type: 0,
32
32
  # status: 1,
33
33
  # target: "https://webhook.site/2871b8f8-edc7-441a-b376-98d8c8e33275"
@@ -33,7 +33,7 @@ module Payabli
33
33
  # end_date: "2024-01-31T23:59:59Z",
34
34
  # notification_event: "approvedpayment",
35
35
  # succeeded: true,
36
- # org_id: 123
36
+ # org_id: 900123
37
37
  # )
38
38
  #
39
39
  # @return [Array[Payabli::Types::NotificationLog]]
@@ -45,7 +45,7 @@ module Payabli
45
45
  # org_city: "Johnson City",
46
46
  # org_country: "US",
47
47
  # org_entry_name: "pilgrim-planner",
48
- # org_id: "123",
48
+ # org_id: "900123",
49
49
  # org_logo: {
50
50
  # f_content: "TXkgdGVzdCBmaWxlHJ==...",
51
51
  # filename: "my-doc.pdf",
@@ -53,7 +53,7 @@ module Payabli
53
53
  # furl: "https://mysite.com/my-doc.pdf"
54
54
  # },
55
55
  # org_name: "Pilgrim Planner",
56
- # org_parent_id: 236,
56
+ # org_parent_id: 900123,
57
57
  # org_state: "TN",
58
58
  # org_timezone: -5,
59
59
  # org_type: 0,
@@ -108,7 +108,7 @@ module Payabli
108
108
  #
109
109
  # @example
110
110
  # client.organization.edit_organization(
111
- # org_id_path_param: 123,
111
+ # org_id_path_param: 900123,
112
112
  # contacts: [{
113
113
  # contact_email: "herman@hermanscoatings.com",
114
114
  # contact_name: "Herman Martinez",
@@ -119,7 +119,7 @@ module Payabli
119
119
  # org_city: "Johnson City",
120
120
  # org_country: "US",
121
121
  # org_entry_name: "pilgrim-planner",
122
- # org_id: "123",
122
+ # org_id: "900123",
123
123
  # org_name: "Pilgrim Planner",
124
124
  # org_state: "TN",
125
125
  # org_timezone: -5,
@@ -170,7 +170,7 @@ module Payabli
170
170
  # @option params [Integer] :org_id
171
171
  #
172
172
  # @example
173
- # client.organization.delete_organization(org_id: 123)
173
+ # client.organization.delete_organization(org_id: 900123)
174
174
  #
175
175
  # @return [Payabli::Types::DeleteOrganizationResponse]
176
176
  def delete_organization(request_options: {}, **params)
@@ -209,9 +209,9 @@ module Payabli
209
209
  # @option params [String] :entry
210
210
  #
211
211
  # @example
212
- # client.organization.get_basic_organization(entry: "8cfec329267")
212
+ # client.organization.get_basic_organization(entry: "pilgrim-planner")
213
213
  #
214
- # @return [Payabli::Types::OrganizationQueryRecord]
214
+ # @return [Payabli::Types::GetBasicOrganizationResponse]
215
215
  def get_basic_organization(request_options: {}, **params)
216
216
  params = Payabli::Internal::Types::Utils.normalize_keys(params)
217
217
  headers = @client.auth_headers_for_endpoint(security: [{ "BearerAuth" => [] }, { "APIKeyAuth" => [] }])
@@ -229,7 +229,7 @@ module Payabli
229
229
  end
230
230
  code = response.code.to_i
231
231
  if code.between?(200, 299)
232
- Payabli::Types::OrganizationQueryRecord.load(response.body)
232
+ Payabli::Types::GetBasicOrganizationResponse.load(response.body)
233
233
  else
234
234
  error_class = Payabli::Errors::ResponseError.subclass_for_code(code)
235
235
  raise error_class.new(response.body, code: code)
@@ -248,9 +248,9 @@ module Payabli
248
248
  # @option params [Integer] :org_id
249
249
  #
250
250
  # @example
251
- # client.organization.get_basic_organization_by_id(org_id: 123)
251
+ # client.organization.get_basic_organization_by_id(org_id: 900123)
252
252
  #
253
- # @return [Payabli::Types::OrganizationQueryRecord]
253
+ # @return [Payabli::Types::GetBasicOrganizationResponse]
254
254
  def get_basic_organization_by_id(request_options: {}, **params)
255
255
  params = Payabli::Internal::Types::Utils.normalize_keys(params)
256
256
  headers = @client.auth_headers_for_endpoint(security: [{ "BearerAuth" => [] }, { "APIKeyAuth" => [] }])
@@ -268,7 +268,7 @@ module Payabli
268
268
  end
269
269
  code = response.code.to_i
270
270
  if code.between?(200, 299)
271
- Payabli::Types::OrganizationQueryRecord.load(response.body)
271
+ Payabli::Types::GetBasicOrganizationResponse.load(response.body)
272
272
  else
273
273
  error_class = Payabli::Errors::ResponseError.subclass_for_code(code)
274
274
  raise error_class.new(response.body, code: code)
@@ -287,7 +287,7 @@ module Payabli
287
287
  # @option params [Integer] :org_id
288
288
  #
289
289
  # @example
290
- # client.organization.get_organization(org_id: 123)
290
+ # client.organization.get_organization(org_id: 900123)
291
291
  #
292
292
  # @return [Payabli::Types::OrganizationQueryRecord]
293
293
  def get_organization(request_options: {}, **params)
@@ -326,7 +326,7 @@ module Payabli
326
326
  # @option params [Integer] :org_id
327
327
  #
328
328
  # @example
329
- # client.organization.get_settings_organization(org_id: 123)
329
+ # client.organization.get_settings_organization(org_id: 900123)
330
330
  #
331
331
  # @return [Payabli::Types::SettingsQueryRecord]
332
332
  def get_settings_organization(request_options: {}, **params)