vitable-connect 0.4.0 → 0.6.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/CHANGELOG.md +52 -0
- data/README.md +9 -9
- data/lib/vitable_connect/client.rb +19 -6
- data/lib/vitable_connect/internal/transport/base_client.rb +28 -4
- data/lib/vitable_connect/internal/type/enum.rb +13 -9
- data/lib/vitable_connect/models/auth_issue_access_token_params.rb +17 -3
- data/lib/vitable_connect/models/auth_issue_access_token_response.rb +17 -3
- data/lib/vitable_connect/models/employee.rb +98 -30
- data/lib/vitable_connect/models/employee_update_params.rb +185 -0
- data/lib/vitable_connect/models/employee_update_response.rb +18 -0
- data/lib/vitable_connect/models/employer.rb +36 -10
- data/lib/vitable_connect/models/employer_ensure_payroll_integration_email_params.rb +22 -0
- data/lib/vitable_connect/models/employer_ensure_payroll_integration_email_response.rb +29 -0
- data/lib/vitable_connect/models/employer_list_benefit_plan_year_enrollments_params.rb +80 -0
- data/lib/vitable_connect/models/employer_list_benefit_plan_year_enrollments_response.rb +175 -0
- data/lib/vitable_connect/models/employer_list_benefit_plan_years_params.rb +22 -0
- data/lib/vitable_connect/models/employer_list_benefit_plan_years_response.rb +301 -0
- data/lib/vitable_connect/models/employer_list_employees_params.rb +28 -1
- data/lib/vitable_connect/models/employer_list_hris_providers_params.rb +14 -0
- data/lib/vitable_connect/models/employer_list_hris_providers_response.rb +30 -0
- data/lib/vitable_connect/models/employer_list_invoices_params.rb +38 -0
- data/lib/vitable_connect/models/employer_list_invoices_response.rb +77 -0
- data/lib/vitable_connect/models/employer_list_params.rb +118 -5
- data/lib/vitable_connect/models/employer_list_payroll_deduction_statements_params.rb +38 -0
- data/lib/vitable_connect/models/employer_list_payroll_deduction_statements_response.rb +113 -0
- data/lib/vitable_connect/models/employer_list_response.rb +283 -0
- data/lib/vitable_connect/models/employer_retrieve_benefit_plan_year_params.rb +30 -0
- data/lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb +813 -0
- data/lib/vitable_connect/models/employer_retrieve_hris_params.rb +22 -0
- data/lib/vitable_connect/models/employer_retrieve_hris_response.rb +55 -0
- data/lib/vitable_connect/models/employer_retrieve_invoice_pdf_params.rb +30 -0
- data/lib/vitable_connect/models/employer_retrieve_invoice_pdf_response.rb +17 -0
- data/lib/vitable_connect/models/employer_retrieve_payroll_access_setup_params.rb +22 -0
- data/lib/vitable_connect/models/employer_retrieve_payroll_access_setup_response.rb +35 -0
- data/lib/vitable_connect/models/employer_submit_census_sync_params.rb +9 -8
- data/lib/vitable_connect/models/employer_submit_payroll_access_setup_params.rb +267 -0
- data/lib/vitable_connect/models/employer_submit_payroll_access_setup_response.rb +35 -0
- data/lib/vitable_connect/models/employer_update_params.rb +99 -0
- data/lib/vitable_connect/models/employer_update_settings_params.rb +9 -9
- data/lib/vitable_connect/models/employer_update_settings_response.rb +4 -4
- data/lib/vitable_connect/models/enrollment_reissue_params.rb +50 -0
- data/lib/vitable_connect/models/enrollment_reissue_response.rb +30 -0
- data/lib/vitable_connect/models/enrollment_terminate_params.rb +50 -0
- data/lib/vitable_connect/models/group.rb +17 -6
- data/lib/vitable_connect/models/groups/members/sync_retrieve_response.rb +74 -3
- data/lib/vitable_connect/models/groups/members/sync_submit_params.rb +7 -7
- data/lib/vitable_connect/models/member_list_dependents_params.rb +20 -0
- data/lib/vitable_connect/models/member_list_dependents_response.rb +132 -0
- data/lib/vitable_connect/models/member_list_employments_params.rb +20 -0
- data/lib/vitable_connect/models/member_list_employments_response.rb +18 -0
- data/lib/vitable_connect/models/member_list_enrollments_params.rb +20 -0
- data/lib/vitable_connect/models/member_list_enrollments_response.rb +319 -0
- data/lib/vitable_connect/models/member_list_id_cards_params.rb +20 -0
- data/lib/vitable_connect/models/member_list_id_cards_response.rb +368 -0
- data/lib/vitable_connect/models/member_list_params.rb +38 -0
- data/lib/vitable_connect/models/member_list_qualifying_life_events_params.rb +57 -0
- data/lib/vitable_connect/models/member_list_qualifying_life_events_response.rb +96 -0
- data/lib/vitable_connect/models/member_list_response.rb +108 -0
- data/lib/vitable_connect/models/member_retrieve_household_params.rb +20 -0
- data/lib/vitable_connect/models/member_retrieve_household_response.rb +128 -0
- data/lib/vitable_connect/models/member_retrieve_params.rb +20 -0
- data/lib/vitable_connect/models/member_retrieve_response.rb +195 -0
- data/lib/vitable_connect/models/organization_create_params.rb +57 -0
- data/lib/vitable_connect/models/organization_create_response.rb +104 -0
- data/lib/vitable_connect/models/organization_list_params.rb +14 -0
- data/lib/vitable_connect/models/organization_list_response.rb +128 -0
- data/lib/vitable_connect/models/webhook_event_list_params.rb +3 -3
- data/lib/vitable_connect/models.rb +54 -11
- data/lib/vitable_connect/resources/employees.rb +49 -3
- data/lib/vitable_connect/resources/employers.rb +402 -28
- data/lib/vitable_connect/resources/enrollments.rb +75 -0
- data/lib/vitable_connect/resources/members.rb +231 -0
- data/lib/vitable_connect/resources/organizations.rb +66 -0
- data/lib/vitable_connect/version.rb +1 -1
- data/lib/vitable_connect.rb +51 -6
- data/rbi/vitable_connect/client.rbi +18 -6
- data/rbi/vitable_connect/internal/transport/base_client.rbi +4 -1
- data/rbi/vitable_connect/models/auth_issue_access_token_params.rbi +53 -5
- data/rbi/vitable_connect/models/auth_issue_access_token_response.rbi +51 -5
- data/rbi/vitable_connect/models/employee.rbi +138 -37
- data/rbi/vitable_connect/models/employee_update_params.rbi +323 -0
- data/rbi/vitable_connect/models/employee_update_response.rbi +32 -0
- data/rbi/vitable_connect/models/employer.rbi +58 -8
- data/rbi/vitable_connect/models/employer_ensure_payroll_integration_email_params.rbi +46 -0
- data/rbi/vitable_connect/models/employer_ensure_payroll_integration_email_response.rbi +72 -0
- data/rbi/vitable_connect/models/employer_list_benefit_plan_year_enrollments_params.rbi +165 -0
- data/rbi/vitable_connect/models/employer_list_benefit_plan_year_enrollments_response.rbi +278 -0
- data/rbi/vitable_connect/models/{benefit_eligibility_policy_retrieve_params.rbi → employer_list_benefit_plan_years_params.rbi} +11 -8
- data/rbi/vitable_connect/models/employer_list_benefit_plan_years_response.rbi +539 -0
- data/rbi/vitable_connect/models/employer_list_employees_params.rbi +70 -0
- data/rbi/vitable_connect/models/employer_list_hris_providers_params.rbi +32 -0
- data/rbi/vitable_connect/models/employer_list_hris_providers_response.rbi +74 -0
- data/rbi/vitable_connect/models/employer_list_invoices_params.rbi +65 -0
- data/rbi/vitable_connect/models/employer_list_invoices_response.rbi +151 -0
- data/rbi/vitable_connect/models/employer_list_params.rbi +292 -4
- data/rbi/vitable_connect/models/{employer_create_benefit_eligibility_policy_params.rbi → employer_list_payroll_deduction_statements_params.rbi} +22 -18
- data/rbi/vitable_connect/models/employer_list_payroll_deduction_statements_response.rbi +169 -0
- data/rbi/vitable_connect/models/employer_list_response.rbi +426 -0
- data/rbi/vitable_connect/models/employer_retrieve_benefit_plan_year_params.rbi +54 -0
- data/rbi/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rbi +1574 -0
- data/rbi/vitable_connect/models/employer_retrieve_hris_params.rbi +46 -0
- data/rbi/vitable_connect/models/employer_retrieve_hris_response.rbi +120 -0
- data/rbi/vitable_connect/models/employer_retrieve_invoice_pdf_params.rbi +54 -0
- data/rbi/vitable_connect/models/employer_retrieve_invoice_pdf_response.rbi +30 -0
- data/rbi/vitable_connect/models/employer_retrieve_payroll_access_setup_params.rbi +46 -0
- data/rbi/vitable_connect/models/employer_retrieve_payroll_access_setup_response.rbi +83 -0
- data/rbi/vitable_connect/models/employer_submit_census_sync_params.rbi +8 -6
- data/rbi/vitable_connect/models/employer_submit_payroll_access_setup_params.rbi +441 -0
- data/rbi/vitable_connect/models/employer_submit_payroll_access_setup_response.rbi +83 -0
- data/rbi/vitable_connect/models/employer_update_params.rbi +155 -0
- data/rbi/vitable_connect/models/employer_update_settings_params.rbi +12 -12
- data/rbi/vitable_connect/models/employer_update_settings_response.rbi +6 -6
- data/rbi/vitable_connect/models/enrollment_reissue_params.rbi +72 -0
- data/rbi/vitable_connect/models/enrollment_reissue_response.rbi +67 -0
- data/rbi/vitable_connect/models/enrollment_terminate_params.rbi +72 -0
- data/rbi/vitable_connect/models/group.rbi +12 -0
- data/rbi/vitable_connect/models/groups/members/sync_retrieve_response.rbi +174 -4
- data/rbi/vitable_connect/models/groups/members/sync_submit_params.rbi +9 -9
- data/rbi/vitable_connect/models/member_list_dependents_params.rbi +38 -0
- data/rbi/vitable_connect/models/member_list_dependents_response.rbi +249 -0
- data/rbi/vitable_connect/models/member_list_employments_params.rbi +38 -0
- data/rbi/vitable_connect/models/member_list_employments_response.rbi +31 -0
- data/rbi/vitable_connect/models/member_list_enrollments_params.rbi +38 -0
- data/rbi/vitable_connect/models/member_list_enrollments_response.rbi +579 -0
- data/rbi/vitable_connect/models/member_list_id_cards_params.rbi +38 -0
- data/rbi/vitable_connect/models/member_list_id_cards_response.rbi +624 -0
- data/rbi/vitable_connect/models/member_list_params.rbi +71 -0
- data/rbi/vitable_connect/models/member_list_qualifying_life_events_params.rbi +130 -0
- data/rbi/vitable_connect/models/member_list_qualifying_life_events_response.rbi +192 -0
- data/rbi/vitable_connect/models/member_list_response.rbi +166 -0
- data/rbi/vitable_connect/models/member_retrieve_household_params.rbi +38 -0
- data/rbi/vitable_connect/models/member_retrieve_household_response.rbi +251 -0
- data/rbi/vitable_connect/models/member_retrieve_params.rbi +38 -0
- data/rbi/vitable_connect/models/member_retrieve_response.rbi +312 -0
- data/rbi/vitable_connect/models/organization_create_params.rbi +127 -0
- data/rbi/vitable_connect/models/organization_create_response.rbi +212 -0
- data/rbi/vitable_connect/models/organization_list_params.rbi +32 -0
- data/rbi/vitable_connect/models/organization_list_response.rbi +266 -0
- data/rbi/vitable_connect/models/webhook_event_list_params.rbi +8 -8
- data/rbi/vitable_connect/models.rbi +66 -13
- data/rbi/vitable_connect/resources/employees.rbi +62 -3
- data/rbi/vitable_connect/resources/employers.rbi +373 -24
- data/rbi/vitable_connect/resources/enrollments.rbi +61 -0
- data/rbi/vitable_connect/resources/members.rbi +169 -0
- data/rbi/vitable_connect/resources/organizations.rbi +48 -0
- data/rbi/vitable_connect/resources/webhook_events.rbi +1 -1
- data/sig/vitable_connect/client.rbs +9 -3
- data/sig/vitable_connect/internal/transport/base_client.rbs +2 -0
- data/sig/vitable_connect/models/auth_issue_access_token_params.rbs +22 -4
- data/sig/vitable_connect/models/auth_issue_access_token_response.rbs +22 -4
- data/sig/vitable_connect/models/employee.rbs +65 -18
- data/sig/vitable_connect/models/employee_update_params.rbs +140 -0
- data/sig/vitable_connect/models/employee_update_response.rbs +13 -0
- data/sig/vitable_connect/models/employer.rbs +17 -5
- data/sig/vitable_connect/models/employer_ensure_payroll_integration_email_params.rbs +24 -0
- data/sig/vitable_connect/models/employer_ensure_payroll_integration_email_response.rbs +30 -0
- data/sig/vitable_connect/models/employer_list_benefit_plan_year_enrollments_params.rbs +74 -0
- data/sig/vitable_connect/models/employer_list_benefit_plan_year_enrollments_response.rbs +111 -0
- data/sig/vitable_connect/models/employer_list_benefit_plan_years_params.rbs +24 -0
- data/sig/vitable_connect/models/employer_list_benefit_plan_years_response.rbs +197 -0
- data/sig/vitable_connect/models/employer_list_employees_params.rbs +32 -1
- data/sig/vitable_connect/models/employer_list_hris_providers_params.rbs +15 -0
- data/sig/vitable_connect/models/employer_list_hris_providers_response.rbs +30 -0
- data/sig/vitable_connect/models/employer_list_invoices_params.rbs +34 -0
- data/sig/vitable_connect/models/employer_list_invoices_response.rbs +62 -0
- data/sig/vitable_connect/models/employer_list_params.rbs +94 -1
- data/sig/vitable_connect/models/{employer_create_benefit_eligibility_policy_params.rbs → employer_list_payroll_deduction_statements_params.rbs} +13 -9
- data/sig/vitable_connect/models/employer_list_payroll_deduction_statements_response.rbs +73 -0
- data/sig/vitable_connect/models/employer_list_response.rbs +179 -0
- data/sig/vitable_connect/models/employer_retrieve_benefit_plan_year_params.rbs +28 -0
- data/sig/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rbs +540 -0
- data/sig/vitable_connect/models/employer_retrieve_hris_params.rbs +24 -0
- data/sig/vitable_connect/models/employer_retrieve_hris_response.rbs +50 -0
- data/sig/vitable_connect/models/employer_retrieve_invoice_pdf_params.rbs +28 -0
- data/sig/vitable_connect/models/employer_retrieve_invoice_pdf_response.rbs +13 -0
- data/sig/vitable_connect/models/employer_retrieve_payroll_access_setup_params.rbs +24 -0
- data/sig/vitable_connect/models/employer_retrieve_payroll_access_setup_response.rbs +32 -0
- data/sig/vitable_connect/models/employer_submit_census_sync_params.rbs +5 -5
- data/sig/vitable_connect/models/employer_submit_payroll_access_setup_params.rbs +198 -0
- data/sig/vitable_connect/models/employer_submit_payroll_access_setup_response.rbs +32 -0
- data/sig/vitable_connect/models/employer_update_params.rbs +83 -0
- data/sig/vitable_connect/models/enrollment_reissue_params.rbs +41 -0
- data/sig/vitable_connect/models/enrollment_reissue_response.rbs +28 -0
- data/sig/vitable_connect/models/enrollment_terminate_params.rbs +41 -0
- data/sig/vitable_connect/models/groups/members/sync_retrieve_response.rbs +69 -4
- data/sig/vitable_connect/models/groups/members/sync_submit_params.rbs +8 -8
- data/sig/vitable_connect/models/{benefit_eligibility_policy_retrieve_params.rbs → member_list_dependents_params.rbs} +6 -6
- data/sig/vitable_connect/models/member_list_dependents_response.rbs +96 -0
- data/sig/vitable_connect/models/member_list_employments_params.rbs +23 -0
- data/sig/vitable_connect/models/member_list_employments_response.rbs +14 -0
- data/sig/vitable_connect/models/member_list_enrollments_params.rbs +23 -0
- data/sig/vitable_connect/models/member_list_enrollments_response.rbs +215 -0
- data/sig/vitable_connect/models/member_list_id_cards_params.rbs +23 -0
- data/sig/vitable_connect/models/member_list_id_cards_response.rbs +256 -0
- data/sig/vitable_connect/models/member_list_params.rbs +38 -0
- data/sig/vitable_connect/models/member_list_qualifying_life_events_params.rbs +61 -0
- data/sig/vitable_connect/models/member_list_qualifying_life_events_response.rbs +67 -0
- data/sig/vitable_connect/models/member_list_response.rbs +82 -0
- data/sig/vitable_connect/models/member_retrieve_household_params.rbs +23 -0
- data/sig/vitable_connect/models/member_retrieve_household_response.rbs +92 -0
- data/sig/vitable_connect/models/member_retrieve_params.rbs +23 -0
- data/sig/vitable_connect/models/member_retrieve_response.rbs +143 -0
- data/sig/vitable_connect/models/organization_create_params.rbs +52 -0
- data/sig/vitable_connect/models/organization_create_response.rbs +77 -0
- data/sig/vitable_connect/models/organization_list_params.rbs +15 -0
- data/sig/vitable_connect/models/organization_list_response.rbs +99 -0
- data/sig/vitable_connect/models/webhook_event_list_params.rbs +2 -2
- data/sig/vitable_connect/models.rbs +50 -10
- data/sig/vitable_connect/resources/employees.rbs +13 -0
- data/sig/vitable_connect/resources/employers.rbs +103 -5
- data/sig/vitable_connect/resources/enrollments.rbs +16 -0
- data/sig/vitable_connect/resources/members.rbs +52 -0
- data/sig/vitable_connect/resources/organizations.rbs +17 -0
- metadata +155 -20
- data/lib/vitable_connect/models/benefit_eligibility_policy.rb +0 -53
- data/lib/vitable_connect/models/benefit_eligibility_policy_response.rb +0 -18
- data/lib/vitable_connect/models/benefit_eligibility_policy_retrieve_params.rb +0 -22
- data/lib/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rb +0 -43
- data/lib/vitable_connect/models/type.rb +0 -17
- data/lib/vitable_connect/resources/benefit_eligibility_policies.rb +0 -35
- data/rbi/vitable_connect/models/benefit_eligibility_policy.rbi +0 -74
- data/rbi/vitable_connect/models/benefit_eligibility_policy_response.rbi +0 -38
- data/rbi/vitable_connect/models/type.rbi +0 -21
- data/rbi/vitable_connect/resources/benefit_eligibility_policies.rbi +0 -27
- data/sig/vitable_connect/models/benefit_eligibility_policy.rbs +0 -50
- data/sig/vitable_connect/models/benefit_eligibility_policy_response.rbs +0 -14
- data/sig/vitable_connect/models/type.rbs +0 -14
- data/sig/vitable_connect/resources/benefit_eligibility_policies.rbs +0 -12
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module VitableConnect
|
|
4
|
+
module Models
|
|
5
|
+
class OrganizationCreateParams < VitableConnect::Internal::Type::BaseModel
|
|
6
|
+
extend VitableConnect::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include VitableConnect::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
VitableConnect::OrganizationCreateParams,
|
|
13
|
+
VitableConnect::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
sig { returns(String) }
|
|
18
|
+
attr_accessor :name
|
|
19
|
+
|
|
20
|
+
# - `BROKERAGE` - BROKERAGE
|
|
21
|
+
# - `TPA` - TPA
|
|
22
|
+
# - `GENERAL_AGENT` - GENERAL_AGENT
|
|
23
|
+
# - `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
24
|
+
# - `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
25
|
+
# - `API_PLATFORM` - API_PLATFORM
|
|
26
|
+
sig do
|
|
27
|
+
returns(
|
|
28
|
+
T.nilable(VitableConnect::OrganizationCreateParams::Type::OrSymbol)
|
|
29
|
+
)
|
|
30
|
+
end
|
|
31
|
+
attr_accessor :type
|
|
32
|
+
|
|
33
|
+
sig do
|
|
34
|
+
params(
|
|
35
|
+
name: String,
|
|
36
|
+
type:
|
|
37
|
+
T.nilable(VitableConnect::OrganizationCreateParams::Type::OrSymbol),
|
|
38
|
+
request_options: VitableConnect::RequestOptions::OrHash
|
|
39
|
+
).returns(T.attached_class)
|
|
40
|
+
end
|
|
41
|
+
def self.new(
|
|
42
|
+
name:,
|
|
43
|
+
# - `BROKERAGE` - BROKERAGE
|
|
44
|
+
# - `TPA` - TPA
|
|
45
|
+
# - `GENERAL_AGENT` - GENERAL_AGENT
|
|
46
|
+
# - `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
47
|
+
# - `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
48
|
+
# - `API_PLATFORM` - API_PLATFORM
|
|
49
|
+
type: nil,
|
|
50
|
+
request_options: {}
|
|
51
|
+
)
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
sig do
|
|
55
|
+
override.returns(
|
|
56
|
+
{
|
|
57
|
+
name: String,
|
|
58
|
+
type:
|
|
59
|
+
T.nilable(
|
|
60
|
+
VitableConnect::OrganizationCreateParams::Type::OrSymbol
|
|
61
|
+
),
|
|
62
|
+
request_options: VitableConnect::RequestOptions
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
end
|
|
66
|
+
def to_hash
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# - `BROKERAGE` - BROKERAGE
|
|
70
|
+
# - `TPA` - TPA
|
|
71
|
+
# - `GENERAL_AGENT` - GENERAL_AGENT
|
|
72
|
+
# - `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
73
|
+
# - `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
74
|
+
# - `API_PLATFORM` - API_PLATFORM
|
|
75
|
+
module Type
|
|
76
|
+
extend VitableConnect::Internal::Type::Enum
|
|
77
|
+
|
|
78
|
+
TaggedSymbol =
|
|
79
|
+
T.type_alias do
|
|
80
|
+
T.all(Symbol, VitableConnect::OrganizationCreateParams::Type)
|
|
81
|
+
end
|
|
82
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
83
|
+
|
|
84
|
+
BROKERAGE =
|
|
85
|
+
T.let(
|
|
86
|
+
:BROKERAGE,
|
|
87
|
+
VitableConnect::OrganizationCreateParams::Type::TaggedSymbol
|
|
88
|
+
)
|
|
89
|
+
TPA =
|
|
90
|
+
T.let(
|
|
91
|
+
:TPA,
|
|
92
|
+
VitableConnect::OrganizationCreateParams::Type::TaggedSymbol
|
|
93
|
+
)
|
|
94
|
+
GENERAL_AGENT =
|
|
95
|
+
T.let(
|
|
96
|
+
:GENERAL_AGENT,
|
|
97
|
+
VitableConnect::OrganizationCreateParams::Type::TaggedSymbol
|
|
98
|
+
)
|
|
99
|
+
CHANNEL_PARTNER =
|
|
100
|
+
T.let(
|
|
101
|
+
:CHANNEL_PARTNER,
|
|
102
|
+
VitableConnect::OrganizationCreateParams::Type::TaggedSymbol
|
|
103
|
+
)
|
|
104
|
+
CONSULTING_FIRM =
|
|
105
|
+
T.let(
|
|
106
|
+
:CONSULTING_FIRM,
|
|
107
|
+
VitableConnect::OrganizationCreateParams::Type::TaggedSymbol
|
|
108
|
+
)
|
|
109
|
+
API_PLATFORM =
|
|
110
|
+
T.let(
|
|
111
|
+
:API_PLATFORM,
|
|
112
|
+
VitableConnect::OrganizationCreateParams::Type::TaggedSymbol
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
sig do
|
|
116
|
+
override.returns(
|
|
117
|
+
T::Array[
|
|
118
|
+
VitableConnect::OrganizationCreateParams::Type::TaggedSymbol
|
|
119
|
+
]
|
|
120
|
+
)
|
|
121
|
+
end
|
|
122
|
+
def self.values
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module VitableConnect
|
|
4
|
+
module Models
|
|
5
|
+
class OrganizationCreateResponse < VitableConnect::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
VitableConnect::Models::OrganizationCreateResponse,
|
|
10
|
+
VitableConnect::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Prefixed organization identifier (`org_<base64-encoded-uuid>`).
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :id
|
|
17
|
+
|
|
18
|
+
# IdP-issued tenant id (WorkOS org id).
|
|
19
|
+
sig { returns(T.nilable(String)) }
|
|
20
|
+
attr_accessor :idp_org_id
|
|
21
|
+
|
|
22
|
+
# - `workos` - WorkOS
|
|
23
|
+
# - `vitable` - Vitable
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
T.nilable(
|
|
27
|
+
VitableConnect::Models::OrganizationCreateResponse::IdpProvider::TaggedSymbol
|
|
28
|
+
)
|
|
29
|
+
)
|
|
30
|
+
end
|
|
31
|
+
attr_accessor :idp_provider
|
|
32
|
+
|
|
33
|
+
# Human-readable organization name.
|
|
34
|
+
sig { returns(String) }
|
|
35
|
+
attr_accessor :name
|
|
36
|
+
|
|
37
|
+
# Whether this organization reads across every organization.
|
|
38
|
+
sig { returns(T::Boolean) }
|
|
39
|
+
attr_accessor :super_in
|
|
40
|
+
|
|
41
|
+
# - `BROKERAGE` - Brokerage
|
|
42
|
+
# - `TPA` - TPA
|
|
43
|
+
# - `GENERAL_AGENT` - General Agent
|
|
44
|
+
# - `CHANNEL_PARTNER` - Channel Partner
|
|
45
|
+
# - `CONSULTING_FIRM` - Consulting Firm
|
|
46
|
+
# - `API_PLATFORM` - API Platform
|
|
47
|
+
sig do
|
|
48
|
+
returns(
|
|
49
|
+
T.nilable(
|
|
50
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
51
|
+
)
|
|
52
|
+
)
|
|
53
|
+
end
|
|
54
|
+
attr_accessor :type
|
|
55
|
+
|
|
56
|
+
sig do
|
|
57
|
+
params(
|
|
58
|
+
id: String,
|
|
59
|
+
idp_org_id: T.nilable(String),
|
|
60
|
+
idp_provider:
|
|
61
|
+
T.nilable(
|
|
62
|
+
VitableConnect::Models::OrganizationCreateResponse::IdpProvider::OrSymbol
|
|
63
|
+
),
|
|
64
|
+
name: String,
|
|
65
|
+
super_in: T::Boolean,
|
|
66
|
+
type:
|
|
67
|
+
T.nilable(
|
|
68
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::OrSymbol
|
|
69
|
+
)
|
|
70
|
+
).returns(T.attached_class)
|
|
71
|
+
end
|
|
72
|
+
def self.new(
|
|
73
|
+
# Prefixed organization identifier (`org_<base64-encoded-uuid>`).
|
|
74
|
+
id:,
|
|
75
|
+
# IdP-issued tenant id (WorkOS org id).
|
|
76
|
+
idp_org_id:,
|
|
77
|
+
# - `workos` - WorkOS
|
|
78
|
+
# - `vitable` - Vitable
|
|
79
|
+
idp_provider:,
|
|
80
|
+
# Human-readable organization name.
|
|
81
|
+
name:,
|
|
82
|
+
# Whether this organization reads across every organization.
|
|
83
|
+
super_in:,
|
|
84
|
+
# - `BROKERAGE` - Brokerage
|
|
85
|
+
# - `TPA` - TPA
|
|
86
|
+
# - `GENERAL_AGENT` - General Agent
|
|
87
|
+
# - `CHANNEL_PARTNER` - Channel Partner
|
|
88
|
+
# - `CONSULTING_FIRM` - Consulting Firm
|
|
89
|
+
# - `API_PLATFORM` - API Platform
|
|
90
|
+
type:
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
sig do
|
|
95
|
+
override.returns(
|
|
96
|
+
{
|
|
97
|
+
id: String,
|
|
98
|
+
idp_org_id: T.nilable(String),
|
|
99
|
+
idp_provider:
|
|
100
|
+
T.nilable(
|
|
101
|
+
VitableConnect::Models::OrganizationCreateResponse::IdpProvider::TaggedSymbol
|
|
102
|
+
),
|
|
103
|
+
name: String,
|
|
104
|
+
super_in: T::Boolean,
|
|
105
|
+
type:
|
|
106
|
+
T.nilable(
|
|
107
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
108
|
+
)
|
|
109
|
+
}
|
|
110
|
+
)
|
|
111
|
+
end
|
|
112
|
+
def to_hash
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# - `workos` - WorkOS
|
|
116
|
+
# - `vitable` - Vitable
|
|
117
|
+
module IdpProvider
|
|
118
|
+
extend VitableConnect::Internal::Type::Enum
|
|
119
|
+
|
|
120
|
+
TaggedSymbol =
|
|
121
|
+
T.type_alias do
|
|
122
|
+
T.all(
|
|
123
|
+
Symbol,
|
|
124
|
+
VitableConnect::Models::OrganizationCreateResponse::IdpProvider
|
|
125
|
+
)
|
|
126
|
+
end
|
|
127
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
128
|
+
|
|
129
|
+
WORKOS =
|
|
130
|
+
T.let(
|
|
131
|
+
:workos,
|
|
132
|
+
VitableConnect::Models::OrganizationCreateResponse::IdpProvider::TaggedSymbol
|
|
133
|
+
)
|
|
134
|
+
VITABLE =
|
|
135
|
+
T.let(
|
|
136
|
+
:vitable,
|
|
137
|
+
VitableConnect::Models::OrganizationCreateResponse::IdpProvider::TaggedSymbol
|
|
138
|
+
)
|
|
139
|
+
|
|
140
|
+
sig do
|
|
141
|
+
override.returns(
|
|
142
|
+
T::Array[
|
|
143
|
+
VitableConnect::Models::OrganizationCreateResponse::IdpProvider::TaggedSymbol
|
|
144
|
+
]
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
def self.values
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# - `BROKERAGE` - Brokerage
|
|
152
|
+
# - `TPA` - TPA
|
|
153
|
+
# - `GENERAL_AGENT` - General Agent
|
|
154
|
+
# - `CHANNEL_PARTNER` - Channel Partner
|
|
155
|
+
# - `CONSULTING_FIRM` - Consulting Firm
|
|
156
|
+
# - `API_PLATFORM` - API Platform
|
|
157
|
+
module Type
|
|
158
|
+
extend VitableConnect::Internal::Type::Enum
|
|
159
|
+
|
|
160
|
+
TaggedSymbol =
|
|
161
|
+
T.type_alias do
|
|
162
|
+
T.all(
|
|
163
|
+
Symbol,
|
|
164
|
+
VitableConnect::Models::OrganizationCreateResponse::Type
|
|
165
|
+
)
|
|
166
|
+
end
|
|
167
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
168
|
+
|
|
169
|
+
BROKERAGE =
|
|
170
|
+
T.let(
|
|
171
|
+
:BROKERAGE,
|
|
172
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
173
|
+
)
|
|
174
|
+
TPA =
|
|
175
|
+
T.let(
|
|
176
|
+
:TPA,
|
|
177
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
178
|
+
)
|
|
179
|
+
GENERAL_AGENT =
|
|
180
|
+
T.let(
|
|
181
|
+
:GENERAL_AGENT,
|
|
182
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
183
|
+
)
|
|
184
|
+
CHANNEL_PARTNER =
|
|
185
|
+
T.let(
|
|
186
|
+
:CHANNEL_PARTNER,
|
|
187
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
188
|
+
)
|
|
189
|
+
CONSULTING_FIRM =
|
|
190
|
+
T.let(
|
|
191
|
+
:CONSULTING_FIRM,
|
|
192
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
193
|
+
)
|
|
194
|
+
API_PLATFORM =
|
|
195
|
+
T.let(
|
|
196
|
+
:API_PLATFORM,
|
|
197
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
198
|
+
)
|
|
199
|
+
|
|
200
|
+
sig do
|
|
201
|
+
override.returns(
|
|
202
|
+
T::Array[
|
|
203
|
+
VitableConnect::Models::OrganizationCreateResponse::Type::TaggedSymbol
|
|
204
|
+
]
|
|
205
|
+
)
|
|
206
|
+
end
|
|
207
|
+
def self.values
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module VitableConnect
|
|
4
|
+
module Models
|
|
5
|
+
class OrganizationListParams < VitableConnect::Internal::Type::BaseModel
|
|
6
|
+
extend VitableConnect::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include VitableConnect::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
VitableConnect::OrganizationListParams,
|
|
13
|
+
VitableConnect::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
sig do
|
|
18
|
+
params(request_options: VitableConnect::RequestOptions::OrHash).returns(
|
|
19
|
+
T.attached_class
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
def self.new(request_options: {})
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig do
|
|
26
|
+
override.returns({ request_options: VitableConnect::RequestOptions })
|
|
27
|
+
end
|
|
28
|
+
def to_hash
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module VitableConnect
|
|
4
|
+
module Models
|
|
5
|
+
class OrganizationListResponse < VitableConnect::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
VitableConnect::Models::OrganizationListResponse,
|
|
10
|
+
VitableConnect::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig do
|
|
15
|
+
returns(
|
|
16
|
+
T::Array[
|
|
17
|
+
VitableConnect::Models::OrganizationListResponse::Organization
|
|
18
|
+
]
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
attr_accessor :organizations
|
|
22
|
+
|
|
23
|
+
# Total number of organizations the caller belongs to.
|
|
24
|
+
sig { returns(Integer) }
|
|
25
|
+
attr_accessor :total
|
|
26
|
+
|
|
27
|
+
# Envelope for the caller's organization memberships (paginated).
|
|
28
|
+
sig do
|
|
29
|
+
params(
|
|
30
|
+
organizations:
|
|
31
|
+
T::Array[
|
|
32
|
+
VitableConnect::Models::OrganizationListResponse::Organization::OrHash
|
|
33
|
+
],
|
|
34
|
+
total: Integer
|
|
35
|
+
).returns(T.attached_class)
|
|
36
|
+
end
|
|
37
|
+
def self.new(
|
|
38
|
+
organizations:,
|
|
39
|
+
# Total number of organizations the caller belongs to.
|
|
40
|
+
total:
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
sig do
|
|
45
|
+
override.returns(
|
|
46
|
+
{
|
|
47
|
+
organizations:
|
|
48
|
+
T::Array[
|
|
49
|
+
VitableConnect::Models::OrganizationListResponse::Organization
|
|
50
|
+
],
|
|
51
|
+
total: Integer
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
end
|
|
55
|
+
def to_hash
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
class Organization < VitableConnect::Internal::Type::BaseModel
|
|
59
|
+
OrHash =
|
|
60
|
+
T.type_alias do
|
|
61
|
+
T.any(
|
|
62
|
+
VitableConnect::Models::OrganizationListResponse::Organization,
|
|
63
|
+
VitableConnect::Internal::AnyHash
|
|
64
|
+
)
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Prefixed organization identifier (`org_<base64-encoded-uuid>`).
|
|
68
|
+
sig { returns(String) }
|
|
69
|
+
attr_accessor :id
|
|
70
|
+
|
|
71
|
+
# IdP-issued tenant id (WorkOS org id).
|
|
72
|
+
sig { returns(T.nilable(String)) }
|
|
73
|
+
attr_accessor :idp_org_id
|
|
74
|
+
|
|
75
|
+
# - `workos` - WorkOS
|
|
76
|
+
# - `vitable` - Vitable
|
|
77
|
+
sig do
|
|
78
|
+
returns(
|
|
79
|
+
T.nilable(
|
|
80
|
+
VitableConnect::Models::OrganizationListResponse::Organization::IdpProvider::TaggedSymbol
|
|
81
|
+
)
|
|
82
|
+
)
|
|
83
|
+
end
|
|
84
|
+
attr_accessor :idp_provider
|
|
85
|
+
|
|
86
|
+
# Human-readable organization name.
|
|
87
|
+
sig { returns(String) }
|
|
88
|
+
attr_accessor :name
|
|
89
|
+
|
|
90
|
+
# Whether this organization reads across every organization.
|
|
91
|
+
sig { returns(T::Boolean) }
|
|
92
|
+
attr_accessor :super_in
|
|
93
|
+
|
|
94
|
+
# - `BROKERAGE` - Brokerage
|
|
95
|
+
# - `TPA` - TPA
|
|
96
|
+
# - `GENERAL_AGENT` - General Agent
|
|
97
|
+
# - `CHANNEL_PARTNER` - Channel Partner
|
|
98
|
+
# - `CONSULTING_FIRM` - Consulting Firm
|
|
99
|
+
# - `API_PLATFORM` - API Platform
|
|
100
|
+
sig do
|
|
101
|
+
returns(
|
|
102
|
+
T.nilable(
|
|
103
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
104
|
+
)
|
|
105
|
+
)
|
|
106
|
+
end
|
|
107
|
+
attr_accessor :type
|
|
108
|
+
|
|
109
|
+
sig do
|
|
110
|
+
params(
|
|
111
|
+
id: String,
|
|
112
|
+
idp_org_id: T.nilable(String),
|
|
113
|
+
idp_provider:
|
|
114
|
+
T.nilable(
|
|
115
|
+
VitableConnect::Models::OrganizationListResponse::Organization::IdpProvider::OrSymbol
|
|
116
|
+
),
|
|
117
|
+
name: String,
|
|
118
|
+
super_in: T::Boolean,
|
|
119
|
+
type:
|
|
120
|
+
T.nilable(
|
|
121
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::OrSymbol
|
|
122
|
+
)
|
|
123
|
+
).returns(T.attached_class)
|
|
124
|
+
end
|
|
125
|
+
def self.new(
|
|
126
|
+
# Prefixed organization identifier (`org_<base64-encoded-uuid>`).
|
|
127
|
+
id:,
|
|
128
|
+
# IdP-issued tenant id (WorkOS org id).
|
|
129
|
+
idp_org_id:,
|
|
130
|
+
# - `workos` - WorkOS
|
|
131
|
+
# - `vitable` - Vitable
|
|
132
|
+
idp_provider:,
|
|
133
|
+
# Human-readable organization name.
|
|
134
|
+
name:,
|
|
135
|
+
# Whether this organization reads across every organization.
|
|
136
|
+
super_in:,
|
|
137
|
+
# - `BROKERAGE` - Brokerage
|
|
138
|
+
# - `TPA` - TPA
|
|
139
|
+
# - `GENERAL_AGENT` - General Agent
|
|
140
|
+
# - `CHANNEL_PARTNER` - Channel Partner
|
|
141
|
+
# - `CONSULTING_FIRM` - Consulting Firm
|
|
142
|
+
# - `API_PLATFORM` - API Platform
|
|
143
|
+
type:
|
|
144
|
+
)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
sig do
|
|
148
|
+
override.returns(
|
|
149
|
+
{
|
|
150
|
+
id: String,
|
|
151
|
+
idp_org_id: T.nilable(String),
|
|
152
|
+
idp_provider:
|
|
153
|
+
T.nilable(
|
|
154
|
+
VitableConnect::Models::OrganizationListResponse::Organization::IdpProvider::TaggedSymbol
|
|
155
|
+
),
|
|
156
|
+
name: String,
|
|
157
|
+
super_in: T::Boolean,
|
|
158
|
+
type:
|
|
159
|
+
T.nilable(
|
|
160
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
161
|
+
)
|
|
162
|
+
}
|
|
163
|
+
)
|
|
164
|
+
end
|
|
165
|
+
def to_hash
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# - `workos` - WorkOS
|
|
169
|
+
# - `vitable` - Vitable
|
|
170
|
+
module IdpProvider
|
|
171
|
+
extend VitableConnect::Internal::Type::Enum
|
|
172
|
+
|
|
173
|
+
TaggedSymbol =
|
|
174
|
+
T.type_alias do
|
|
175
|
+
T.all(
|
|
176
|
+
Symbol,
|
|
177
|
+
VitableConnect::Models::OrganizationListResponse::Organization::IdpProvider
|
|
178
|
+
)
|
|
179
|
+
end
|
|
180
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
181
|
+
|
|
182
|
+
WORKOS =
|
|
183
|
+
T.let(
|
|
184
|
+
:workos,
|
|
185
|
+
VitableConnect::Models::OrganizationListResponse::Organization::IdpProvider::TaggedSymbol
|
|
186
|
+
)
|
|
187
|
+
VITABLE =
|
|
188
|
+
T.let(
|
|
189
|
+
:vitable,
|
|
190
|
+
VitableConnect::Models::OrganizationListResponse::Organization::IdpProvider::TaggedSymbol
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
sig do
|
|
194
|
+
override.returns(
|
|
195
|
+
T::Array[
|
|
196
|
+
VitableConnect::Models::OrganizationListResponse::Organization::IdpProvider::TaggedSymbol
|
|
197
|
+
]
|
|
198
|
+
)
|
|
199
|
+
end
|
|
200
|
+
def self.values
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# - `BROKERAGE` - Brokerage
|
|
205
|
+
# - `TPA` - TPA
|
|
206
|
+
# - `GENERAL_AGENT` - General Agent
|
|
207
|
+
# - `CHANNEL_PARTNER` - Channel Partner
|
|
208
|
+
# - `CONSULTING_FIRM` - Consulting Firm
|
|
209
|
+
# - `API_PLATFORM` - API Platform
|
|
210
|
+
module Type
|
|
211
|
+
extend VitableConnect::Internal::Type::Enum
|
|
212
|
+
|
|
213
|
+
TaggedSymbol =
|
|
214
|
+
T.type_alias do
|
|
215
|
+
T.all(
|
|
216
|
+
Symbol,
|
|
217
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type
|
|
218
|
+
)
|
|
219
|
+
end
|
|
220
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
221
|
+
|
|
222
|
+
BROKERAGE =
|
|
223
|
+
T.let(
|
|
224
|
+
:BROKERAGE,
|
|
225
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
226
|
+
)
|
|
227
|
+
TPA =
|
|
228
|
+
T.let(
|
|
229
|
+
:TPA,
|
|
230
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
231
|
+
)
|
|
232
|
+
GENERAL_AGENT =
|
|
233
|
+
T.let(
|
|
234
|
+
:GENERAL_AGENT,
|
|
235
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
236
|
+
)
|
|
237
|
+
CHANNEL_PARTNER =
|
|
238
|
+
T.let(
|
|
239
|
+
:CHANNEL_PARTNER,
|
|
240
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
241
|
+
)
|
|
242
|
+
CONSULTING_FIRM =
|
|
243
|
+
T.let(
|
|
244
|
+
:CONSULTING_FIRM,
|
|
245
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
246
|
+
)
|
|
247
|
+
API_PLATFORM =
|
|
248
|
+
T.let(
|
|
249
|
+
:API_PLATFORM,
|
|
250
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
251
|
+
)
|
|
252
|
+
|
|
253
|
+
sig do
|
|
254
|
+
override.returns(
|
|
255
|
+
T::Array[
|
|
256
|
+
VitableConnect::Models::OrganizationListResponse::Organization::Type::TaggedSymbol
|
|
257
|
+
]
|
|
258
|
+
)
|
|
259
|
+
end
|
|
260
|
+
def self.values
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
end
|
|
@@ -28,6 +28,7 @@ module VitableConnect
|
|
|
28
28
|
|
|
29
29
|
# - `enrollment.accepted` - Enrollment Accepted
|
|
30
30
|
# - `enrollment.terminated` - Enrollment Terminated
|
|
31
|
+
# - `enrollment.termination_rescheduled` - Enrollment Termination Rescheduled
|
|
31
32
|
# - `enrollment.elected` - Enrollment Elected
|
|
32
33
|
# - `enrollment.granted` - Enrollment Granted
|
|
33
34
|
# - `enrollment.waived` - Enrollment Waived
|
|
@@ -35,7 +36,6 @@ module VitableConnect
|
|
|
35
36
|
# - `employee.eligibility_granted` - Employee Eligibility Granted
|
|
36
37
|
# - `employee.eligibility_terminated` - Employee Eligibility Terminated
|
|
37
38
|
# - `employee.deactivated` - Employee Deactivated
|
|
38
|
-
# - `employer.eligibility_policy_created` - Employer Eligibility Policy Created
|
|
39
39
|
# - `employee.deduction_created` - Employee Deduction Created
|
|
40
40
|
sig do
|
|
41
41
|
returns(
|
|
@@ -114,6 +114,7 @@ module VitableConnect
|
|
|
114
114
|
created_before: nil,
|
|
115
115
|
# - `enrollment.accepted` - Enrollment Accepted
|
|
116
116
|
# - `enrollment.terminated` - Enrollment Terminated
|
|
117
|
+
# - `enrollment.termination_rescheduled` - Enrollment Termination Rescheduled
|
|
117
118
|
# - `enrollment.elected` - Enrollment Elected
|
|
118
119
|
# - `enrollment.granted` - Enrollment Granted
|
|
119
120
|
# - `enrollment.waived` - Enrollment Waived
|
|
@@ -121,7 +122,6 @@ module VitableConnect
|
|
|
121
122
|
# - `employee.eligibility_granted` - Employee Eligibility Granted
|
|
122
123
|
# - `employee.eligibility_terminated` - Employee Eligibility Terminated
|
|
123
124
|
# - `employee.deactivated` - Employee Deactivated
|
|
124
|
-
# - `employer.eligibility_policy_created` - Employer Eligibility Policy Created
|
|
125
125
|
# - `employee.deduction_created` - Employee Deduction Created
|
|
126
126
|
event_name: nil,
|
|
127
127
|
# Items per page (default: 20, max: 100)
|
|
@@ -161,6 +161,7 @@ module VitableConnect
|
|
|
161
161
|
|
|
162
162
|
# - `enrollment.accepted` - Enrollment Accepted
|
|
163
163
|
# - `enrollment.terminated` - Enrollment Terminated
|
|
164
|
+
# - `enrollment.termination_rescheduled` - Enrollment Termination Rescheduled
|
|
164
165
|
# - `enrollment.elected` - Enrollment Elected
|
|
165
166
|
# - `enrollment.granted` - Enrollment Granted
|
|
166
167
|
# - `enrollment.waived` - Enrollment Waived
|
|
@@ -168,7 +169,6 @@ module VitableConnect
|
|
|
168
169
|
# - `employee.eligibility_granted` - Employee Eligibility Granted
|
|
169
170
|
# - `employee.eligibility_terminated` - Employee Eligibility Terminated
|
|
170
171
|
# - `employee.deactivated` - Employee Deactivated
|
|
171
|
-
# - `employer.eligibility_policy_created` - Employer Eligibility Policy Created
|
|
172
172
|
# - `employee.deduction_created` - Employee Deduction Created
|
|
173
173
|
module EventName
|
|
174
174
|
extend VitableConnect::Internal::Type::Enum
|
|
@@ -189,6 +189,11 @@ module VitableConnect
|
|
|
189
189
|
:"enrollment.terminated",
|
|
190
190
|
VitableConnect::WebhookEventListParams::EventName::TaggedSymbol
|
|
191
191
|
)
|
|
192
|
+
ENROLLMENT_TERMINATION_RESCHEDULED =
|
|
193
|
+
T.let(
|
|
194
|
+
:"enrollment.termination_rescheduled",
|
|
195
|
+
VitableConnect::WebhookEventListParams::EventName::TaggedSymbol
|
|
196
|
+
)
|
|
192
197
|
ENROLLMENT_ELECTED =
|
|
193
198
|
T.let(
|
|
194
199
|
:"enrollment.elected",
|
|
@@ -224,11 +229,6 @@ module VitableConnect
|
|
|
224
229
|
:"employee.deactivated",
|
|
225
230
|
VitableConnect::WebhookEventListParams::EventName::TaggedSymbol
|
|
226
231
|
)
|
|
227
|
-
EMPLOYER_ELIGIBILITY_POLICY_CREATED =
|
|
228
|
-
T.let(
|
|
229
|
-
:"employer.eligibility_policy_created",
|
|
230
|
-
VitableConnect::WebhookEventListParams::EventName::TaggedSymbol
|
|
231
|
-
)
|
|
232
232
|
EMPLOYEE_DEDUCTION_CREATED =
|
|
233
233
|
T.let(
|
|
234
234
|
:"employee.deduction_created",
|