vitable-connect 2.0.0 → 2.1.0
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.
- checksums.yaml +4 -4
- data/.fern/metadata.json +2 -2
- data/changelog.md +7 -0
- data/lib/VitableConnect/client.rb +1 -1
- data/lib/VitableConnect/employers/client.rb +96 -6
- data/lib/VitableConnect/employers/types/create_employer_request.rb +2 -0
- data/lib/VitableConnect/employers/types/ensure_payroll_integration_email_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/get_benefit_plan_year_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/get_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/get_hris_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/get_invoice_pdf_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/get_payroll_access_setup_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/list_benefit_plan_year_enrollments_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/list_benefit_plan_years_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/list_employees_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/list_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/list_hris_providers_employers_request.rb +11 -0
- data/lib/VitableConnect/employers/types/list_invoices_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/list_payroll_deduction_statements_employers_request.rb +2 -0
- data/lib/VitableConnect/employers/types/submit_payroll_access_setup_request.rb +2 -0
- data/lib/VitableConnect/employers/types/update_employer_request.rb +2 -0
- data/lib/VitableConnect/employers/types/update_employer_settings_request.rb +2 -0
- data/lib/VitableConnect/enrollments/client.rb +17 -2
- data/lib/VitableConnect/enrollments/types/get_enrollments_request.rb +2 -0
- data/lib/VitableConnect/enrollments/types/reissue_enrollment_request.rb +2 -0
- data/lib/VitableConnect/enrollments/types/terminate_enrollment_request.rb +2 -0
- data/lib/VitableConnect/members/client.rb +40 -0
- data/lib/VitableConnect/members/types/get_household_members_request.rb +2 -0
- data/lib/VitableConnect/members/types/get_members_request.rb +2 -0
- data/lib/VitableConnect/members/types/list_dependents_members_request.rb +2 -0
- data/lib/VitableConnect/members/types/list_employments_members_request.rb +2 -0
- data/lib/VitableConnect/members/types/list_enrollments_members_request.rb +2 -0
- data/lib/VitableConnect/members/types/list_id_cards_members_request.rb +2 -0
- data/lib/VitableConnect/members/types/list_members_request.rb +2 -0
- data/lib/VitableConnect/members/types/list_qualifying_life_events_members_request.rb +2 -0
- data/lib/VitableConnect/organizations/client.rb +4 -2
- data/lib/VitableConnect/types/x_vitable_organization.rb +23 -0
- data/lib/VitableConnect/version.rb +1 -1
- data/lib/VitableConnect.rb +2 -0
- data/reference.md +225 -1
- metadata +3 -1
data/reference.md
CHANGED
|
@@ -483,6 +483,14 @@ client.employers.list(
|
|
|
483
483
|
<dl>
|
|
484
484
|
<dd>
|
|
485
485
|
|
|
486
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
487
|
+
|
|
488
|
+
</dd>
|
|
489
|
+
</dl>
|
|
490
|
+
|
|
491
|
+
<dl>
|
|
492
|
+
<dd>
|
|
493
|
+
|
|
486
494
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
487
495
|
|
|
488
496
|
</dd>
|
|
@@ -551,6 +559,14 @@ client.employers.create(
|
|
|
551
559
|
<dl>
|
|
552
560
|
<dd>
|
|
553
561
|
|
|
562
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
563
|
+
|
|
564
|
+
</dd>
|
|
565
|
+
</dl>
|
|
566
|
+
|
|
567
|
+
<dl>
|
|
568
|
+
<dd>
|
|
569
|
+
|
|
554
570
|
**name:** `String` — Employer display name
|
|
555
571
|
|
|
556
572
|
</dd>
|
|
@@ -669,6 +685,14 @@ client.employers.get(employer_id: "empr_abc123def456")
|
|
|
669
685
|
<dl>
|
|
670
686
|
<dd>
|
|
671
687
|
|
|
688
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
689
|
+
|
|
690
|
+
</dd>
|
|
691
|
+
</dl>
|
|
692
|
+
|
|
693
|
+
<dl>
|
|
694
|
+
<dd>
|
|
695
|
+
|
|
672
696
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
673
697
|
|
|
674
698
|
</dd>
|
|
@@ -731,6 +755,14 @@ client.employers.update(employer_id: "empr_abc123def456")
|
|
|
731
755
|
<dl>
|
|
732
756
|
<dd>
|
|
733
757
|
|
|
758
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
759
|
+
|
|
760
|
+
</dd>
|
|
761
|
+
</dl>
|
|
762
|
+
|
|
763
|
+
<dl>
|
|
764
|
+
<dd>
|
|
765
|
+
|
|
734
766
|
**name:** `String` — Employer display name
|
|
735
767
|
|
|
736
768
|
</dd>
|
|
@@ -825,6 +857,14 @@ client.employers.list_benefit_plan_years(employer_id: "empr_abc123def456")
|
|
|
825
857
|
<dl>
|
|
826
858
|
<dd>
|
|
827
859
|
|
|
860
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
861
|
+
|
|
862
|
+
</dd>
|
|
863
|
+
</dl>
|
|
864
|
+
|
|
865
|
+
<dl>
|
|
866
|
+
<dd>
|
|
867
|
+
|
|
828
868
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
829
869
|
|
|
830
870
|
</dd>
|
|
@@ -898,6 +938,14 @@ client.employers.get_benefit_plan_year(
|
|
|
898
938
|
<dl>
|
|
899
939
|
<dd>
|
|
900
940
|
|
|
941
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
942
|
+
|
|
943
|
+
</dd>
|
|
944
|
+
</dl>
|
|
945
|
+
|
|
946
|
+
<dl>
|
|
947
|
+
<dd>
|
|
948
|
+
|
|
901
949
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
902
950
|
|
|
903
951
|
</dd>
|
|
@@ -1005,6 +1053,14 @@ client.employers.list_benefit_plan_year_enrollments(
|
|
|
1005
1053
|
<dl>
|
|
1006
1054
|
<dd>
|
|
1007
1055
|
|
|
1056
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1057
|
+
|
|
1058
|
+
</dd>
|
|
1059
|
+
</dl>
|
|
1060
|
+
|
|
1061
|
+
<dl>
|
|
1062
|
+
<dd>
|
|
1063
|
+
|
|
1008
1064
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
1009
1065
|
|
|
1010
1066
|
</dd>
|
|
@@ -1203,6 +1259,14 @@ client.employers.list_employees(
|
|
|
1203
1259
|
<dl>
|
|
1204
1260
|
<dd>
|
|
1205
1261
|
|
|
1262
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1263
|
+
|
|
1264
|
+
</dd>
|
|
1265
|
+
</dl>
|
|
1266
|
+
|
|
1267
|
+
<dl>
|
|
1268
|
+
<dd>
|
|
1269
|
+
|
|
1206
1270
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
1207
1271
|
|
|
1208
1272
|
</dd>
|
|
@@ -1265,6 +1329,14 @@ client.employers.get_hris(employer_id: "empr_abc123def456")
|
|
|
1265
1329
|
<dl>
|
|
1266
1330
|
<dd>
|
|
1267
1331
|
|
|
1332
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1333
|
+
|
|
1334
|
+
</dd>
|
|
1335
|
+
</dl>
|
|
1336
|
+
|
|
1337
|
+
<dl>
|
|
1338
|
+
<dd>
|
|
1339
|
+
|
|
1268
1340
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
1269
1341
|
|
|
1270
1342
|
</dd>
|
|
@@ -1346,6 +1418,14 @@ client.employers.list_invoices(
|
|
|
1346
1418
|
<dl>
|
|
1347
1419
|
<dd>
|
|
1348
1420
|
|
|
1421
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1422
|
+
|
|
1423
|
+
</dd>
|
|
1424
|
+
</dl>
|
|
1425
|
+
|
|
1426
|
+
<dl>
|
|
1427
|
+
<dd>
|
|
1428
|
+
|
|
1349
1429
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
1350
1430
|
|
|
1351
1431
|
</dd>
|
|
@@ -1419,6 +1499,14 @@ client.employers.get_invoice_pdf(
|
|
|
1419
1499
|
<dl>
|
|
1420
1500
|
<dd>
|
|
1421
1501
|
|
|
1502
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1503
|
+
|
|
1504
|
+
</dd>
|
|
1505
|
+
</dl>
|
|
1506
|
+
|
|
1507
|
+
<dl>
|
|
1508
|
+
<dd>
|
|
1509
|
+
|
|
1422
1510
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
1423
1511
|
|
|
1424
1512
|
</dd>
|
|
@@ -1481,6 +1569,14 @@ client.employers.get_payroll_access_setup(employer_id: "empr_abc123def456")
|
|
|
1481
1569
|
<dl>
|
|
1482
1570
|
<dd>
|
|
1483
1571
|
|
|
1572
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1573
|
+
|
|
1574
|
+
</dd>
|
|
1575
|
+
</dl>
|
|
1576
|
+
|
|
1577
|
+
<dl>
|
|
1578
|
+
<dd>
|
|
1579
|
+
|
|
1484
1580
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
1485
1581
|
|
|
1486
1582
|
</dd>
|
|
@@ -1552,6 +1648,14 @@ client.employers.submit_payroll_access_setup(
|
|
|
1552
1648
|
<dl>
|
|
1553
1649
|
<dd>
|
|
1554
1650
|
|
|
1651
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1652
|
+
|
|
1653
|
+
</dd>
|
|
1654
|
+
</dl>
|
|
1655
|
+
|
|
1656
|
+
<dl>
|
|
1657
|
+
<dd>
|
|
1658
|
+
|
|
1555
1659
|
**employees_in_payroll_acknowledged:** `Internal::Types::Boolean` — Attestation that all benefit-eligible employees appear in the payroll system.
|
|
1556
1660
|
|
|
1557
1661
|
</dd>
|
|
@@ -1818,6 +1922,14 @@ client.employers.list_payroll_deduction_statements(
|
|
|
1818
1922
|
<dl>
|
|
1819
1923
|
<dd>
|
|
1820
1924
|
|
|
1925
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1926
|
+
|
|
1927
|
+
</dd>
|
|
1928
|
+
</dl>
|
|
1929
|
+
|
|
1930
|
+
<dl>
|
|
1931
|
+
<dd>
|
|
1932
|
+
|
|
1821
1933
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
1822
1934
|
|
|
1823
1935
|
</dd>
|
|
@@ -1880,6 +1992,14 @@ client.employers.ensure_payroll_integration_email(employer_id: "empr_abc123def45
|
|
|
1880
1992
|
<dl>
|
|
1881
1993
|
<dd>
|
|
1882
1994
|
|
|
1995
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
1996
|
+
|
|
1997
|
+
</dd>
|
|
1998
|
+
</dl>
|
|
1999
|
+
|
|
2000
|
+
<dl>
|
|
2001
|
+
<dd>
|
|
2002
|
+
|
|
1883
2003
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
1884
2004
|
|
|
1885
2005
|
</dd>
|
|
@@ -1945,6 +2065,14 @@ client.employers.update_settings(
|
|
|
1945
2065
|
<dl>
|
|
1946
2066
|
<dd>
|
|
1947
2067
|
|
|
2068
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2069
|
+
|
|
2070
|
+
</dd>
|
|
2071
|
+
</dl>
|
|
2072
|
+
|
|
2073
|
+
<dl>
|
|
2074
|
+
<dd>
|
|
2075
|
+
|
|
1948
2076
|
**pay_frequency:** `VitableConnect::Types::DeductionFrequency`
|
|
1949
2077
|
|
|
1950
2078
|
</dd>
|
|
@@ -2007,6 +2135,14 @@ client.employers.list_hris_providers
|
|
|
2007
2135
|
<dl>
|
|
2008
2136
|
<dd>
|
|
2009
2137
|
|
|
2138
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2139
|
+
|
|
2140
|
+
</dd>
|
|
2141
|
+
</dl>
|
|
2142
|
+
|
|
2143
|
+
<dl>
|
|
2144
|
+
<dd>
|
|
2145
|
+
|
|
2010
2146
|
**request_options:** `VitableConnect::Employers::RequestOptions`
|
|
2011
2147
|
|
|
2012
2148
|
</dd>
|
|
@@ -2070,6 +2206,14 @@ client.enrollments.get(enrollment_id: "enrl_AAAAAAAAAAAAAAAAAAAAAQ")
|
|
|
2070
2206
|
<dl>
|
|
2071
2207
|
<dd>
|
|
2072
2208
|
|
|
2209
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2210
|
+
|
|
2211
|
+
</dd>
|
|
2212
|
+
</dl>
|
|
2213
|
+
|
|
2214
|
+
<dl>
|
|
2215
|
+
<dd>
|
|
2216
|
+
|
|
2073
2217
|
**request_options:** `VitableConnect::Enrollments::RequestOptions`
|
|
2074
2218
|
|
|
2075
2219
|
</dd>
|
|
@@ -2137,6 +2281,14 @@ client.enrollments.reissue(
|
|
|
2137
2281
|
<dl>
|
|
2138
2282
|
<dd>
|
|
2139
2283
|
|
|
2284
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2285
|
+
|
|
2286
|
+
</dd>
|
|
2287
|
+
</dl>
|
|
2288
|
+
|
|
2289
|
+
<dl>
|
|
2290
|
+
<dd>
|
|
2291
|
+
|
|
2140
2292
|
**reason:** `String` — Audit reason for the reissue; required for user-backed callers and optional for long-lived organization API-key callers
|
|
2141
2293
|
|
|
2142
2294
|
</dd>
|
|
@@ -2228,6 +2380,14 @@ client.enrollments.terminate(
|
|
|
2228
2380
|
<dl>
|
|
2229
2381
|
<dd>
|
|
2230
2382
|
|
|
2383
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2384
|
+
|
|
2385
|
+
</dd>
|
|
2386
|
+
</dl>
|
|
2387
|
+
|
|
2388
|
+
<dl>
|
|
2389
|
+
<dd>
|
|
2390
|
+
|
|
2231
2391
|
**reason:** `String` — Audit reason for the termination; required for user-backed callers and optional for long-lived organization API-key callers
|
|
2232
2392
|
|
|
2233
2393
|
</dd>
|
|
@@ -2606,6 +2766,14 @@ client.members.get(member_id: "mbr_abc123def456")
|
|
|
2606
2766
|
<dl>
|
|
2607
2767
|
<dd>
|
|
2608
2768
|
|
|
2769
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2770
|
+
|
|
2771
|
+
</dd>
|
|
2772
|
+
</dl>
|
|
2773
|
+
|
|
2774
|
+
<dl>
|
|
2775
|
+
<dd>
|
|
2776
|
+
|
|
2609
2777
|
**request_options:** `VitableConnect::Members::RequestOptions`
|
|
2610
2778
|
|
|
2611
2779
|
</dd>
|
|
@@ -2668,6 +2836,14 @@ client.members.list_dependents(member_id: "mbr_abc123def456")
|
|
|
2668
2836
|
<dl>
|
|
2669
2837
|
<dd>
|
|
2670
2838
|
|
|
2839
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2840
|
+
|
|
2841
|
+
</dd>
|
|
2842
|
+
</dl>
|
|
2843
|
+
|
|
2844
|
+
<dl>
|
|
2845
|
+
<dd>
|
|
2846
|
+
|
|
2671
2847
|
**request_options:** `VitableConnect::Members::RequestOptions`
|
|
2672
2848
|
|
|
2673
2849
|
</dd>
|
|
@@ -2730,6 +2906,14 @@ client.members.list_employments(member_id: "mbr_abc123def456")
|
|
|
2730
2906
|
<dl>
|
|
2731
2907
|
<dd>
|
|
2732
2908
|
|
|
2909
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2910
|
+
|
|
2911
|
+
</dd>
|
|
2912
|
+
</dl>
|
|
2913
|
+
|
|
2914
|
+
<dl>
|
|
2915
|
+
<dd>
|
|
2916
|
+
|
|
2733
2917
|
**request_options:** `VitableConnect::Members::RequestOptions`
|
|
2734
2918
|
|
|
2735
2919
|
</dd>
|
|
@@ -2792,6 +2976,14 @@ client.members.list_enrollments(member_id: "mbr_abc123def456")
|
|
|
2792
2976
|
<dl>
|
|
2793
2977
|
<dd>
|
|
2794
2978
|
|
|
2979
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
2980
|
+
|
|
2981
|
+
</dd>
|
|
2982
|
+
</dl>
|
|
2983
|
+
|
|
2984
|
+
<dl>
|
|
2985
|
+
<dd>
|
|
2986
|
+
|
|
2795
2987
|
**request_options:** `VitableConnect::Members::RequestOptions`
|
|
2796
2988
|
|
|
2797
2989
|
</dd>
|
|
@@ -2854,6 +3046,14 @@ client.members.get_household(member_id: "mbr_abc123def456")
|
|
|
2854
3046
|
<dl>
|
|
2855
3047
|
<dd>
|
|
2856
3048
|
|
|
3049
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
3050
|
+
|
|
3051
|
+
</dd>
|
|
3052
|
+
</dl>
|
|
3053
|
+
|
|
3054
|
+
<dl>
|
|
3055
|
+
<dd>
|
|
3056
|
+
|
|
2857
3057
|
**request_options:** `VitableConnect::Members::RequestOptions`
|
|
2858
3058
|
|
|
2859
3059
|
</dd>
|
|
@@ -2916,6 +3116,14 @@ client.members.list_id_cards(member_id: "mbr_abc123def456")
|
|
|
2916
3116
|
<dl>
|
|
2917
3117
|
<dd>
|
|
2918
3118
|
|
|
3119
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
3120
|
+
|
|
3121
|
+
</dd>
|
|
3122
|
+
</dl>
|
|
3123
|
+
|
|
3124
|
+
<dl>
|
|
3125
|
+
<dd>
|
|
3126
|
+
|
|
2919
3127
|
**request_options:** `VitableConnect::Members::RequestOptions`
|
|
2920
3128
|
|
|
2921
3129
|
</dd>
|
|
@@ -3006,6 +3214,14 @@ client.members.list_qualifying_life_events(
|
|
|
3006
3214
|
<dl>
|
|
3007
3215
|
<dd>
|
|
3008
3216
|
|
|
3217
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
3218
|
+
|
|
3219
|
+
</dd>
|
|
3220
|
+
</dl>
|
|
3221
|
+
|
|
3222
|
+
<dl>
|
|
3223
|
+
<dd>
|
|
3224
|
+
|
|
3009
3225
|
**request_options:** `VitableConnect::Members::RequestOptions`
|
|
3010
3226
|
|
|
3011
3227
|
</dd>
|
|
@@ -3087,6 +3303,14 @@ client.members.list(
|
|
|
3087
3303
|
<dl>
|
|
3088
3304
|
<dd>
|
|
3089
3305
|
|
|
3306
|
+
**vitable_organization:** `String` — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.
|
|
3307
|
+
|
|
3308
|
+
</dd>
|
|
3309
|
+
</dl>
|
|
3310
|
+
|
|
3311
|
+
<dl>
|
|
3312
|
+
<dd>
|
|
3313
|
+
|
|
3090
3314
|
**request_options:** `VitableConnect::Members::RequestOptions`
|
|
3091
3315
|
|
|
3092
3316
|
</dd>
|
|
@@ -3166,7 +3390,7 @@ client.organizations.list
|
|
|
3166
3390
|
<dl>
|
|
3167
3391
|
<dd>
|
|
3168
3392
|
|
|
3169
|
-
Onboards the authenticated user's partner Organization: creates the local Organization + the creator's admin membership atomically, then mirrors it to WorkOS (creates the WorkOS org and binds the creator as admin).
|
|
3393
|
+
Onboards the authenticated user's partner Organization: creates the local Organization + the creator's admin membership atomically, then mirrors it to WorkOS (creates the WorkOS org and binds the creator as admin). A user may hold several organizations and selects which one a request acts as with the `X-Vitable-Organization` header. The founder's email domain is claimed only when no other organization holds it, so a taken domain is left with its owner rather than rejected.
|
|
3170
3394
|
</dd>
|
|
3171
3395
|
</dl>
|
|
3172
3396
|
</dd>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vitable-connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- VitableConnect
|
|
@@ -48,6 +48,7 @@ files:
|
|
|
48
48
|
- lib/VitableConnect/employers/types/list_benefit_plan_years_employers_request.rb
|
|
49
49
|
- lib/VitableConnect/employers/types/list_employees_employers_request.rb
|
|
50
50
|
- lib/VitableConnect/employers/types/list_employers_request.rb
|
|
51
|
+
- lib/VitableConnect/employers/types/list_hris_providers_employers_request.rb
|
|
51
52
|
- lib/VitableConnect/employers/types/list_invoices_employers_request.rb
|
|
52
53
|
- lib/VitableConnect/employers/types/list_payroll_deduction_statements_employers_request.rb
|
|
53
54
|
- lib/VitableConnect/employers/types/submit_payroll_access_setup_request.rb
|
|
@@ -286,6 +287,7 @@ files:
|
|
|
286
287
|
- lib/VitableConnect/types/webhook_event.rb
|
|
287
288
|
- lib/VitableConnect/types/webhook_event_list_response.rb
|
|
288
289
|
- lib/VitableConnect/types/webhook_event_response.rb
|
|
290
|
+
- lib/VitableConnect/types/x_vitable_organization.rb
|
|
289
291
|
- lib/VitableConnect/version.rb
|
|
290
292
|
- lib/VitableConnect/webhook_events/client.rb
|
|
291
293
|
- lib/VitableConnect/webhook_events/types/get_webhook_events_request.rb
|