affixapi 1.1.45 → 1.1.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +27 -27
  4. data/docs/Class20230301Api.md +289 -289
  5. data/docs/CoreApi.md +1 -1
  6. data/docs/{DeveloperApi.md → XHRApi.md} +111 -111
  7. data/lib/openapi_client/api/class20230301_api.rb +288 -288
  8. data/lib/openapi_client/api/core_api.rb +3 -3
  9. data/lib/openapi_client/api/management_api.rb +1 -1
  10. data/lib/openapi_client/api/official_api.rb +1 -1
  11. data/lib/openapi_client/api/{developer_api.rb → xhr_api.rb} +83 -83
  12. data/lib/openapi_client/api_client.rb +1 -1
  13. data/lib/openapi_client/api_error.rb +1 -1
  14. data/lib/openapi_client/configuration.rb +1 -1
  15. data/lib/openapi_client/models/address_no_non_null_request.rb +1 -1
  16. data/lib/openapi_client/models/address_response.rb +1 -1
  17. data/lib/openapi_client/models/client_request.rb +1 -1
  18. data/lib/openapi_client/models/client_response.rb +1 -1
  19. data/lib/openapi_client/models/company_response.rb +1 -1
  20. data/lib/openapi_client/models/create_employee_request.rb +1 -1
  21. data/lib/openapi_client/models/create_employee_request_bank_account.rb +1 -1
  22. data/lib/openapi_client/models/create_employee_request_manager.rb +1 -1
  23. data/lib/openapi_client/models/currency_request.rb +1 -1
  24. data/lib/openapi_client/models/currency_response.rb +1 -1
  25. data/lib/openapi_client/models/disconnect_response.rb +1 -1
  26. data/lib/openapi_client/models/employee_response.rb +1 -1
  27. data/lib/openapi_client/models/employment_no_null_enum_request.rb +1 -1
  28. data/lib/openapi_client/models/employment_response.rb +1 -1
  29. data/lib/openapi_client/models/group_no_null_enum_request.rb +1 -1
  30. data/lib/openapi_client/models/group_response.rb +1 -1
  31. data/lib/openapi_client/models/id_and_message_response.rb +1 -1
  32. data/lib/openapi_client/models/identity_response.rb +1 -1
  33. data/lib/openapi_client/models/inline_response400.rb +1 -1
  34. data/lib/openapi_client/models/inline_response401.rb +1 -1
  35. data/lib/openapi_client/models/inline_response409.rb +1 -1
  36. data/lib/openapi_client/models/introspect_response.rb +1 -1
  37. data/lib/openapi_client/models/location_no_non_null_request.rb +1 -1
  38. data/lib/openapi_client/models/location_response.rb +1 -1
  39. data/lib/openapi_client/models/message_response.rb +1 -1
  40. data/lib/openapi_client/models/mode_request.rb +2 -2
  41. data/lib/openapi_client/models/mode_response.rb +2 -2
  42. data/lib/openapi_client/models/payrun_response.rb +1 -1
  43. data/lib/openapi_client/models/payslip_response.rb +1 -1
  44. data/lib/openapi_client/models/payslip_response_contributions.rb +1 -1
  45. data/lib/openapi_client/models/payslip_response_deductions.rb +1 -1
  46. data/lib/openapi_client/models/payslip_response_earnings.rb +1 -1
  47. data/lib/openapi_client/models/payslip_response_taxes.rb +1 -1
  48. data/lib/openapi_client/models/provider_request.rb +1 -1
  49. data/lib/openapi_client/models/provider_response.rb +1 -1
  50. data/lib/openapi_client/models/scopes_request.rb +12 -12
  51. data/lib/openapi_client/models/scopes_response.rb +12 -12
  52. data/lib/openapi_client/models/time_off_balance_response.rb +1 -1
  53. data/lib/openapi_client/models/time_off_entry_response.rb +1 -1
  54. data/lib/openapi_client/models/timesheet_response.rb +1 -1
  55. data/lib/openapi_client/models/token_request.rb +1 -1
  56. data/lib/openapi_client/models/token_response.rb +1 -1
  57. data/lib/openapi_client/version.rb +2 -2
  58. data/lib/openapi_client.rb +2 -2
  59. data/spec/api/class20230301_api_spec.rb +82 -82
  60. data/spec/api/core_api_spec.rb +2 -2
  61. data/spec/api/management_api_spec.rb +1 -1
  62. data/spec/api/official_api_spec.rb +1 -1
  63. data/spec/api/xhr_api_spec.rb +160 -0
  64. data/spec/api_client_spec.rb +1 -1
  65. data/spec/configuration_spec.rb +1 -1
  66. data/spec/models/address_no_non_null_request_spec.rb +1 -1
  67. data/spec/models/address_response_spec.rb +1 -1
  68. data/spec/models/client_request_spec.rb +1 -1
  69. data/spec/models/client_response_spec.rb +1 -1
  70. data/spec/models/company_response_spec.rb +1 -1
  71. data/spec/models/create_employee_request_bank_account_spec.rb +1 -1
  72. data/spec/models/create_employee_request_manager_spec.rb +1 -1
  73. data/spec/models/create_employee_request_spec.rb +1 -1
  74. data/spec/models/currency_request_spec.rb +1 -1
  75. data/spec/models/currency_response_spec.rb +1 -1
  76. data/spec/models/disconnect_response_spec.rb +1 -1
  77. data/spec/models/employee_response_spec.rb +1 -1
  78. data/spec/models/employment_no_null_enum_request_spec.rb +1 -1
  79. data/spec/models/employment_response_spec.rb +1 -1
  80. data/spec/models/group_no_null_enum_request_spec.rb +1 -1
  81. data/spec/models/group_response_spec.rb +1 -1
  82. data/spec/models/id_and_message_response_spec.rb +1 -1
  83. data/spec/models/identity_response_spec.rb +1 -1
  84. data/spec/models/inline_response400_spec.rb +1 -1
  85. data/spec/models/inline_response401_spec.rb +1 -1
  86. data/spec/models/inline_response409_spec.rb +1 -1
  87. data/spec/models/introspect_response_spec.rb +1 -1
  88. data/spec/models/location_no_non_null_request_spec.rb +1 -1
  89. data/spec/models/location_response_spec.rb +1 -1
  90. data/spec/models/message_response_spec.rb +1 -1
  91. data/spec/models/mode_request_spec.rb +1 -1
  92. data/spec/models/mode_response_spec.rb +1 -1
  93. data/spec/models/payrun_response_spec.rb +1 -1
  94. data/spec/models/payslip_response_contributions_spec.rb +1 -1
  95. data/spec/models/payslip_response_deductions_spec.rb +1 -1
  96. data/spec/models/payslip_response_earnings_spec.rb +1 -1
  97. data/spec/models/payslip_response_spec.rb +1 -1
  98. data/spec/models/payslip_response_taxes_spec.rb +1 -1
  99. data/spec/models/provider_request_spec.rb +1 -1
  100. data/spec/models/provider_response_spec.rb +1 -1
  101. data/spec/models/scopes_request_spec.rb +1 -1
  102. data/spec/models/scopes_response_spec.rb +1 -1
  103. data/spec/models/time_off_balance_response_spec.rb +1 -1
  104. data/spec/models/time_off_entry_response_spec.rb +1 -1
  105. data/spec/models/timesheet_response_spec.rb +1 -1
  106. data/spec/models/token_request_spec.rb +1 -1
  107. data/spec/models/token_response_spec.rb +1 -1
  108. data/spec/spec_helper.rb +1 -1
  109. metadata +6 -6
  110. data/spec/api/developer_api_spec.rb +0 -160
@@ -1,160 +0,0 @@
1
- =begin
2
- #Affix API
3
-
4
- #The affixapi.com API documentation. # Introduction Affix API is an OAuth 2.1 application that allows developers to access customer data, without developers needing to manage or maintain integrations; or collect login credentials or API keys from users for these third party systems. # OAuth 2.1 Affix API follows the [OAuth 2.1 spec](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-08). As an OAuth application, Affix API handles not only both the collection of sensitive user credentials or API keys, but also builds and maintains the integrations with the providers, so you don't have to. # How to obtain an access token in order to get started, you must: - register a `client_id` - direct your user to the sign in flow (`https://connect.affixapi.com` [with the appropriate query parameters](https://github.com/affixapi/starter-kit/tree/master/connect)) - capture `authorization_code` we will send to your redirect URI after the sign in flow is complete and exchange that `authorization_code` for a Bearer token # Sandbox keys (developer mode) ### dev ``` eyJhbGciOiJFUzI1NiIsImtpZCI6Ims5RmxwSFR1YklmZWNsUU5QRVZzeFcxazFZZ0Zfbk1BWllOSGVuOFQxdGciLCJ0eXAiOiJKV1MifQ.eyJwcm92aWRlciI6InNhbmRib3giLCJzY29wZXMiOlsiLzIwMjMtMDMtMDEvZGV2ZWxvcGVyL2NvbXBhbnkiLCIvMjAyMy0wMy0wMS9kZXZlbG9wZXIvZW1wbG95ZWUiLCIvMjAyMy0wMy0wMS9kZXZlbG9wZXIvZW1wbG95ZWVzIiwiLzIwMjMtMDMtMDEvZGV2ZWxvcGVyL2lkZW50aXR5IiwiLzIwMjMtMDMtMDEvZGV2ZWxvcGVyL3BheXJ1bnMiLCIvMjAyMy0wMy0wMS9kZXZlbG9wZXIvcGF5cnVucy86cGF5cnVuX2lkIiwiLzIwMjMtMDMtMDEvZGV2ZWxvcGVyL3RpbWUtb2ZmLWJhbGFuY2VzIiwiLzIwMjMtMDMtMDEvZGV2ZWxvcGVyL3RpbWUtb2ZmLWVudHJpZXMiLCIvMjAyMy0wMy0wM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5QUI0RDE0LThERjk5MjMzLTY2NjE1Q0U5In0.2zdpFAmiyYiYk6MOcbXNUwwR4M1Fextnaac340x54AidiWXCyw-u9KeavbqfYF6q8a9kcDLrxhJ8Wc_3tIzuVw' \\ 'https://api.affixapi.com/2023-03-01/developer/employees' ``` # Compression We support `brotli`, `gzip`, and `deflate` compression algorithms. To enable, pass the `Accept-Encoding` header with one or all of the values: `br`, `gzip`, `deflate`, or `identity` (no compression) In the response, you will receive the `Content-Encoding` response header indicating the compression algorithm used in the data payload to enable you to decompress the result. If the `Accept-Encoding: identity` header was passed, no `Content-Encoding` response header is sent back, as no compression algorithm was used. # Webhooks An exciting feature for HR/Payroll modes are webhooks. If enabled, your `webhook_uri` is set on your `client_id` for the respective environment: `dev | prod` Webhooks are configured to make live requests to the underlying integration 1x/hr, and if a difference is detected since the last request, we will send a request to your `webhook_uri` with this shape: ``` { added: <api.v20230301.Employees>[ <api.v20230301.Employee>{ ..., date_of_birth: '2010-08-06', display_full_name: 'Daija Rogahn', employee_number: '57993', employment_status: 'pending', employment_type: 'other', employments: [ { currency: 'eur', effective_date: '2022-02-25', employment_type: 'other', job_title: 'Dynamic Implementation Manager', pay_frequency: 'semimonthly', pay_period: 'YEAR', pay_rate: 96000, }, ], first_name: 'Daija', ... } ], removed: [], updated: [ <api.v20230301.Employee>{ ..., date_of_birth: '2009-11-09', display_full_name: 'Lourdes Stiedemann', employee_number: '63189', employment_status: 'leave', employment_type: 'full_time', employments: [ { currency: 'gbp', effective_date: '2023-01-16', employment_type: 'full_time', job_title: 'Forward Brand Planner', pay_frequency: 'semimonthly', pay_period: 'YEAR', pay_rate: 86000, }, ], first_name: 'Lourdes', } ] } ``` the following headers will be sent with webhook requests: ``` x-affix-api-signature: ab8474e609db95d5df3adc39ea3add7a7544bd215c5c520a30a650ae93a2fba7 x-affix-api-origin: webhooks-employees-webhook user-agent: affixapi.com ``` Before trusting the payload, you should sign the payload and verify the signature matches the signature sent by the `affixapi.com` service. This secures that the data sent to your `webhook_uri` is from the `affixapi.com` server. The signature is created by combining the signing secret (your `client_secret`) with the body of the request sent using a standard HMAC-SHA256 keyed hash. The signature can be created via: - create an `HMAC` with your `client_secret` - update the `HMAC` with the payload - get the hex digest -> this is the signature Sample `typescript` code that follows this recipe: ``` import { createHmac } from 'crypto'; export const computeSignature = ({ str, signingSecret, }: { signingSecret: string; str: string; }): string => { const hmac = createHmac('sha256', signingSecret); hmac.update(str); const signature = hmac.digest('hex'); return signature; }; ``` While verifying the Affix API signature header should be your primary method of confirming validity, you can also whitelist our outbound webhook static IP addresses. ``` dev: - 52.210.169.82 - 52.210.38.77 - 3.248.135.204 prod: - 52.51.160.102 - 54.220.83.244 - 3.254.213.171 ``` ## Rate limits Open endpoints (not gated by an API key) (applied at endpoint level): - 15 requests every 1 minute (by IP address) - 25 requests every 5 minutes (by IP address) Gated endpoints (require an API key) (applied at endpoint level): - 40 requests every 1 minute (by IP address) - 40 requests every 5 minutes (by `client_id`) Things to keep in mind: - Open endpoints (not gated by an API key) will likely be called by your users, not you, so rate limits generally would not apply to you. - As a developer, rate limits are applied at the endpoint granularity. - For example, say the rate limits below are 10 requests per minute by ip. from that same ip, within 1 minute, you get: - 10 requests per minute on `/orders`, - another 10 requests per minute on `/items`, - and another 10 requests per minute on `/identity`, - for a total of 30 requests per minute.
5
-
6
- The version of the OpenAPI document: 2023-03-01
7
- Contact: developers@affixapi.com
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 OpenapiClient::DeveloperApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'DeveloperApi' do
20
- before do
21
- # run before each test
22
- @api_instance = OpenapiClient::DeveloperApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of DeveloperApi' do
30
- it 'should create an instance of DeveloperApi' do
31
- expect(@api_instance).to be_instance_of(OpenapiClient::DeveloperApi)
32
- end
33
- end
34
-
35
- # unit tests for developer_companies20230301
36
- # Company
37
- # Retrieve company information
38
- # @param [Hash] opts the optional parameters
39
- # @return [Array<CompanyResponse>]
40
- describe 'developer_companies20230301 test' do
41
- it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
- end
44
- end
45
-
46
- # unit tests for developer_create_employee20230301
47
- # Create employee
48
- # Creates a new Employee
49
- # @param create_employee_request
50
- # @param [Hash] opts the optional parameters
51
- # @return [EmployeeResponse]
52
- describe 'developer_create_employee20230301 test' do
53
- it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
- end
56
- end
57
-
58
- # unit tests for developer_employees20230301
59
- # Employees
60
- # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
61
- # @param [Hash] opts the optional parameters
62
- # @return [Array<EmployeeResponse>]
63
- describe 'developer_employees20230301 test' do
64
- it 'should work' do
65
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
- end
67
- end
68
-
69
- # unit tests for developer_groups20230301
70
- # Groups
71
- # The Group object is used to represent any subset of employees, such as PayGroup, Team, or Department. Employees can be in multiple Groups.
72
- # @param [Hash] opts the optional parameters
73
- # @return [Array<GroupResponse>]
74
- describe 'developer_groups20230301 test' do
75
- it 'should work' do
76
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
- end
78
- end
79
-
80
- # unit tests for developer_identity20230301
81
- # Identity
82
- # List information of the user for the respective account
83
- # @param [Hash] opts the optional parameters
84
- # @return [IdentityResponse]
85
- describe 'developer_identity20230301 test' do
86
- it 'should work' do
87
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
- end
89
- end
90
-
91
- # unit tests for developer_payruns20230301
92
- # Payruns
93
- # List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
94
- # @param start_date The start date of the search period
95
- # @param end_date The end date of the search period
96
- # @param [Hash] opts the optional parameters
97
- # @return [Array<PayrunResponse>]
98
- describe 'developer_payruns20230301 test' do
99
- it 'should work' do
100
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
101
- end
102
- end
103
-
104
- # unit tests for developer_payslips20230301
105
- # Payslips
106
- # Retrieves payslips from a specific payrun. Supported integrations: - sageone - simplepay.ie - brightpay connect
107
- # @param payrun_id The id of the payrun.
108
- # @param [Hash] opts the optional parameters
109
- # @return [Array<PayslipResponse>]
110
- describe 'developer_payslips20230301 test' do
111
- it 'should work' do
112
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
113
- end
114
- end
115
-
116
- # unit tests for developer_time_off_balances20230301
117
- # Time off balances
118
- # Retrieve all time off balances.
119
- # @param [Hash] opts the optional parameters
120
- # @return [Array<TimeOffBalanceResponse>]
121
- describe 'developer_time_off_balances20230301 test' do
122
- it 'should work' do
123
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
124
- end
125
- end
126
-
127
- # unit tests for developer_time_off_entries20230301
128
- # Time off entries
129
- # Retrieve time off / absence entries
130
- # @param [Hash] opts the optional parameters
131
- # @return [Array<TimeOffEntryResponse>]
132
- describe 'developer_time_off_entries20230301 test' do
133
- it 'should work' do
134
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
135
- end
136
- end
137
-
138
- # unit tests for developer_timesheets20230301
139
- # Timesheets
140
- # Retrieve Timesheets
141
- # @param [Hash] opts the optional parameters
142
- # @return [Array<TimesheetResponse>]
143
- describe 'developer_timesheets20230301 test' do
144
- it 'should work' do
145
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
- end
147
- end
148
-
149
- # unit tests for developer_work_locations20230301
150
- # Work locations
151
- # The Location object is used to represent an address that can be associated with an employee
152
- # @param [Hash] opts the optional parameters
153
- # @return [Array<LocationResponse>]
154
- describe 'developer_work_locations20230301 test' do
155
- it 'should work' do
156
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
157
- end
158
- end
159
-
160
- end