kombo 1.2.8 → 1.2.10
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/lib/kombo/ats.rb +326 -0
- data/lib/kombo/connect.rb +2 -1
- data/lib/kombo/general.rb +26 -6
- data/lib/kombo/hris.rb +322 -2
- data/lib/kombo/models/operations/getatsattachments_request.rb +74 -0
- data/lib/kombo/models/operations/getatsattachments_request.rbi +31 -0
- data/lib/kombo/models/operations/getatsattachments_response.rb +56 -0
- data/lib/kombo/models/operations/getatsattachments_response.rbi +19 -0
- data/lib/kombo/models/operations/getatsscorecards_request.rb +83 -0
- data/lib/kombo/models/operations/getatsscorecards_request.rbi +31 -0
- data/lib/kombo/models/operations/getatsscorecards_response.rb +56 -0
- data/lib/kombo/models/operations/getatsscorecards_response.rbi +19 -0
- data/lib/kombo/models/operations/gethrispayruns_request.rb +70 -0
- data/lib/kombo/models/operations/gethrispayruns_request.rbi +29 -0
- data/lib/kombo/models/operations/gethrispayruns_response.rb +56 -0
- data/lib/kombo/models/operations/gethrispayruns_response.rbi +19 -0
- data/lib/kombo/models/operations/gethrispayslips_request.rb +87 -0
- data/lib/kombo/models/operations/gethrispayslips_request.rbi +33 -0
- data/lib/kombo/models/operations/gethrispayslips_response.rb +56 -0
- data/lib/kombo/models/operations/gethrispayslips_response.rbi +19 -0
- data/lib/kombo/models/operations.rb +8 -0
- data/lib/kombo/models/shared/amount.rb +36 -0
- data/lib/kombo/models/shared/amount.rbi +15 -0
- data/lib/kombo/models/shared/amount_ytd.rb +36 -0
- data/lib/kombo/models/shared/amount_ytd.rbi +15 -0
- data/lib/kombo/models/shared/change.rb +19 -0
- data/lib/kombo/models/shared/change.rbi +11 -0
- data/lib/kombo/models/shared/content_ref.rb +43 -0
- data/lib/kombo/models/shared/content_ref.rbi +17 -0
- data/lib/kombo/models/shared/domestic_bank_routing.rb +1 -1
- data/lib/kombo/models/shared/domestic_bank_routing_type.rb +1 -0
- data/lib/kombo/models/shared/employee.rb +57 -0
- data/lib/kombo/models/shared/employee.rbi +25 -0
- data/lib/kombo/models/shared/format_multiselect.rb +2 -2
- data/lib/kombo/models/shared/format_singleselect.rb +2 -2
- data/lib/kombo/models/shared/getatsattachmentspositiveresponse.rb +39 -0
- data/lib/kombo/models/shared/getatsattachmentspositiveresponse.rbi +15 -0
- data/lib/kombo/models/shared/getatsattachmentspositiveresponse_data.rb +36 -0
- data/lib/kombo/models/shared/getatsattachmentspositiveresponse_data.rbi +15 -0
- data/lib/kombo/models/shared/getatsattachmentspositiveresponse_result.rb +76 -0
- data/lib/kombo/models/shared/getatsattachmentspositiveresponse_result.rbi +33 -0
- data/lib/kombo/models/shared/getatsattachmentspositiveresponse_type.rb +20 -0
- data/lib/kombo/models/shared/getatsattachmentspositiveresponse_type.rbi +11 -0
- data/lib/kombo/models/shared/{option_1.rb → getatsjobspositiveresponse_option_1.rb} +1 -1
- data/lib/kombo/models/shared/{option_1.rbi → getatsjobspositiveresponse_option_1.rbi} +2 -2
- data/lib/kombo/models/shared/{option_2.rb → getatsjobspositiveresponse_option_2.rb} +1 -1
- data/lib/kombo/models/shared/{option_2.rbi → getatsjobspositiveresponse_option_2.rbi} +2 -2
- data/lib/kombo/models/shared/{author.rb → getatsnotespositiveresponse_author.rb} +1 -1
- data/lib/kombo/models/shared/{author.rbi → getatsnotespositiveresponse_author.rbi} +2 -2
- data/lib/kombo/models/shared/getatsnotespositiveresponse_result.rb +2 -2
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse.rb +39 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse.rbi +15 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_answer_1.rb +36 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_answer_1.rbi +15 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_answer_2.rb +36 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_answer_2.rbi +15 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_author.rb +48 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_author.rbi +21 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_data.rb +36 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_data.rbi +15 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_option_1.rb +36 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_option_1.rbi +15 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_option_2.rb +36 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_option_2.rbi +15 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_result.rb +80 -0
- data/lib/kombo/models/shared/getatsscorecardspositiveresponse_result.rbi +35 -0
- data/lib/kombo/models/shared/gethrisgroupspositiveresponse_result.rb +6 -2
- data/lib/kombo/models/shared/gethrisgroupspositiveresponse_result.rbi +2 -0
- data/lib/kombo/models/shared/gethrislegalentitiespositiveresponse_result.rb +6 -2
- data/lib/kombo/models/shared/gethrislegalentitiespositiveresponse_result.rbi +2 -0
- data/lib/kombo/models/shared/gethrislocationspositiveresponse_result.rb +6 -2
- data/lib/kombo/models/shared/gethrislocationspositiveresponse_result.rbi +2 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse.rb +39 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_data.rb +36 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_data.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_gross_pay.rb +36 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_gross_pay.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_net_pay.rb +36 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_net_pay.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_paid_amount.rb +36 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_paid_amount.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_result.rb +62 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_result.rbi +27 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_totals.rb +40 -0
- data/lib/kombo/models/shared/gethrispayrunspositiveresponse_totals.rbi +17 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse.rb +39 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_data.rb +36 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_data.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_gross_pay.rb +36 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_gross_pay.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_net_pay.rb +36 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_net_pay.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_paid_amount.rb +36 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_paid_amount.rbi +15 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_result.rb +66 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_result.rbi +29 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_totals.rb +52 -0
- data/lib/kombo/models/shared/gethrispayslipspositiveresponse_totals.rbi +23 -0
- data/lib/kombo/models/shared/gross_pay_ytd.rb +36 -0
- data/lib/kombo/models/shared/gross_pay_ytd.rbi +15 -0
- data/lib/kombo/models/shared/integration.rb +44 -0
- data/lib/kombo/models/shared/integration.rbi +19 -0
- data/lib/kombo/models/shared/integration_tool.rb +9 -1
- data/lib/kombo/models/shared/issue.rb +56 -0
- data/lib/kombo/models/shared/issue.rbi +25 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload.rb +40 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload.rbi +17 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_category.rb +21 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_category.rbi +11 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_data.rb +40 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_data.rbi +17 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_end_user.rb +40 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_end_user.rbi +17 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_status.rb +19 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_status.rbi +11 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_type.rb +18 -0
- data/lib/kombo/models/shared/issuestatuschangedwebhookpayload_type.rbi +11 -0
- data/lib/kombo/models/shared/line_item.rb +56 -0
- data/lib/kombo/models/shared/line_item.rbi +25 -0
- data/lib/kombo/models/shared/name.rb +6 -0
- data/lib/kombo/models/shared/net_pay_ytd.rb +36 -0
- data/lib/kombo/models/shared/net_pay_ytd.rbi +15 -0
- data/lib/kombo/models/shared/paid_amount_ytd.rb +36 -0
- data/lib/kombo/models/shared/paid_amount_ytd.rbi +15 -0
- data/lib/kombo/models/shared/pay_code.rb +36 -0
- data/lib/kombo/models/shared/pay_code.rbi +15 -0
- data/lib/kombo/models/shared/pay_run.rb +48 -0
- data/lib/kombo/models/shared/pay_run.rbi +21 -0
- data/lib/kombo/models/shared/postatsapplicationsapplicationidnotesrequestbody.rb +6 -2
- data/lib/kombo/models/shared/postatsapplicationsapplicationidnotesrequestbody.rbi +2 -0
- data/lib/kombo/models/shared/postatsapplicationsapplicationidresultlinksrequestbody_remote_fields.rb +6 -2
- data/lib/kombo/models/shared/postatsapplicationsapplicationidresultlinksrequestbody_remote_fields.rbi +2 -0
- data/lib/kombo/models/shared/postatsapplicationsapplicationidresultlinksrequestbody_traffit.rb +32 -0
- data/lib/kombo/models/shared/postatsapplicationsapplicationidresultlinksrequestbody_traffit.rbi +13 -0
- data/lib/kombo/models/shared/postatscandidatescandidateidresultlinksrequestbody_remote_fields.rb +6 -2
- data/lib/kombo/models/shared/postatscandidatescandidateidresultlinksrequestbody_remote_fields.rbi +2 -0
- data/lib/kombo/models/shared/postatscandidatescandidateidresultlinksrequestbody_traffit.rb +32 -0
- data/lib/kombo/models/shared/postatscandidatescandidateidresultlinksrequestbody_traffit.rbi +13 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_afas.rb +32 -0
- data/lib/kombo/models/shared/{afas.rbi → postatscandidatesrequestbody_afas.rbi} +2 -2
- data/lib/kombo/models/shared/postatscandidatesrequestbody_avature.rb +6 -2
- data/lib/kombo/models/shared/postatscandidatesrequestbody_avature.rbi +2 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_custom_field.rb +48 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_custom_field.rbi +21 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_emplypeople.rb +32 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_emplypeople.rbi +13 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_fountain.rb +44 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_fountain.rbi +19 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_icims.rb +32 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_icims.rbi +13 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_recruitcrm.rb +32 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_recruitcrm.rbi +13 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_remote_fields.rb +22 -2
- data/lib/kombo/models/shared/postatscandidatesrequestbody_remote_fields.rbi +10 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_talentsoft.rb +6 -2
- data/lib/kombo/models/shared/postatscandidatesrequestbody_talentsoft.rbi +2 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_afas.rb +32 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_afas.rbi +13 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_avature.rb +6 -2
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_avature.rbi +2 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_custom_field.rb +48 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_custom_field.rbi +21 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_emplypeople.rb +32 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_emplypeople.rbi +13 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_fountain.rb +44 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_fountain.rbi +19 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_icims.rb +32 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_icims.rbi +13 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_recruitcrm.rb +32 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_recruitcrm.rbi +13 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_remote_fields.rb +22 -2
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_remote_fields.rbi +10 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_talentsoft.rb +6 -2
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_talentsoft.rbi +2 -0
- data/lib/kombo/models/shared/postconnectcreatelinkpositiveresponse_data.rb +6 -2
- data/lib/kombo/models/shared/postconnectcreatelinkpositiveresponse_data.rbi +2 -0
- data/lib/kombo/models/shared/postconnectcreatelinkrequestbody.rb +6 -2
- data/lib/kombo/models/shared/postconnectcreatelinkrequestbody.rbi +2 -0
- data/lib/kombo/models/shared/{afas.rb → posthrisemployeesemployeeiddocumentsrequestbody_afas.rb} +1 -1
- data/lib/kombo/models/shared/posthrisemployeesemployeeiddocumentsrequestbody_afas.rbi +13 -0
- data/lib/kombo/models/shared/posthrisemployeesemployeeiddocumentsrequestbody_remote_fields.rb +2 -2
- data/lib/kombo/models/shared/putatsapplicationsapplicationidstagerequestbody_lever.rb +32 -0
- data/lib/kombo/models/shared/putatsapplicationsapplicationidstagerequestbody_lever.rbi +13 -0
- data/lib/kombo/models/shared/putatsapplicationsapplicationidstagerequestbody_remote_fields.rb +6 -2
- data/lib/kombo/models/shared/putatsapplicationsapplicationidstagerequestbody_remote_fields.rbi +2 -0
- data/lib/kombo/models/shared/response.rb +27 -0
- data/lib/kombo/models/shared/response.rbi +11 -0
- data/lib/kombo/models/shared/result_boolean.rb +55 -0
- data/lib/kombo/models/shared/result_boolean.rbi +23 -0
- data/lib/kombo/models/shared/result_date.rb +55 -0
- data/lib/kombo/models/shared/result_date.rbi +23 -0
- data/lib/kombo/models/shared/result_multiselect.rb +59 -0
- data/lib/kombo/models/shared/result_multiselect.rbi +25 -0
- data/lib/kombo/models/shared/result_number.rb +55 -0
- data/lib/kombo/models/shared/result_number.rbi +23 -0
- data/lib/kombo/models/shared/result_singleselect.rb +59 -0
- data/lib/kombo/models/shared/result_singleselect.rbi +25 -0
- data/lib/kombo/models/shared/result_text.rb +55 -0
- data/lib/kombo/models/shared/result_text.rbi +23 -0
- data/lib/kombo/models/shared/work_location.rb +6 -2
- data/lib/kombo/models/shared/work_location.rbi +2 -0
- data/lib/kombo/models/shared.rb +71 -4
- data/lib/kombo/models/webhooks/webhookissuestatuschangedwebhookpayload_request.rb +36 -0
- data/lib/kombo/models/webhooks/webhookissuestatuschangedwebhookpayload_request.rbi +15 -0
- data/lib/kombo/models/webhooks/webhookissuestatuschangedwebhookpayload_response.rb +40 -0
- data/lib/kombo/models/webhooks/webhookissuestatuschangedwebhookpayload_response.rbi +17 -0
- data/lib/kombo/models/webhooks.rb +2 -0
- data/lib/kombo/sdkconfiguration.rb +5 -3
- data/lib/kombo/utils/utils.rb +6 -2
- metadata +164 -10
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::GetHrisPayslipsPositiveResponseResult
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::GetHrisPayslipsPositiveResponseResult
|
|
11
|
+
def id(); end
|
|
12
|
+
def id=(str_); end
|
|
13
|
+
def remote_id(); end
|
|
14
|
+
def remote_id=(str_); end
|
|
15
|
+
def changed_at(); end
|
|
16
|
+
def changed_at=(str_); end
|
|
17
|
+
def totals(); end
|
|
18
|
+
def totals=(str_); end
|
|
19
|
+
def employee(); end
|
|
20
|
+
def employee=(str_); end
|
|
21
|
+
def line_items(); end
|
|
22
|
+
def line_items=(str_); end
|
|
23
|
+
def custom_fields(); end
|
|
24
|
+
def custom_fields=(str_); end
|
|
25
|
+
def remote_deleted_at(); end
|
|
26
|
+
def remote_deleted_at=(str_); end
|
|
27
|
+
def pay_run(); end
|
|
28
|
+
def pay_run=(str_); end
|
|
29
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
|
|
11
|
+
class GetHrisPayslipsPositiveResponseTotals
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The total gross pay for the payslip, before taxes and after gross deductions.
|
|
16
|
+
field :gross_pay, Crystalline::Nilable.new(Models::Shared::GetHrisPayslipsPositiveResponseGrossPay), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('gross_pay') } }
|
|
17
|
+
# The total net pay for the payslip, after taxes have been applied to the gross pay.
|
|
18
|
+
field :net_pay, Crystalline::Nilable.new(Models::Shared::GetHrisPayslipsPositiveResponseNetPay), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('net_pay') } }
|
|
19
|
+
# The amount of the payslip that was actually paid out to the employee. This value accounts for net earnings and deductions.
|
|
20
|
+
field :paid_amount, Crystalline::Nilable.new(Models::Shared::GetHrisPayslipsPositiveResponsePaidAmount), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('paid_amount') } }
|
|
21
|
+
# The year-to-date gross pay as returned by the remote system. Kombo never calculates this value. `null` when the remote API does not provide a year-to-date amount.
|
|
22
|
+
field :gross_pay_ytd, Crystalline::Nilable.new(Models::Shared::GrossPayYtd), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('gross_pay_ytd') } }
|
|
23
|
+
# The year-to-date net pay as returned by the remote system. Kombo never calculates this value. `null` when the remote API does not provide a year-to-date amount.
|
|
24
|
+
field :net_pay_ytd, Crystalline::Nilable.new(Models::Shared::NetPayYtd), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('net_pay_ytd') } }
|
|
25
|
+
# The year-to-date paid amount as returned by the remote system. Kombo never calculates this value. `null` when the remote API does not provide a year-to-date amount.
|
|
26
|
+
field :paid_amount_ytd, Crystalline::Nilable.new(Models::Shared::PaidAmountYtd), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('paid_amount_ytd') } }
|
|
27
|
+
|
|
28
|
+
sig { params(gross_pay: T.nilable(Models::Shared::GetHrisPayslipsPositiveResponseGrossPay), net_pay: T.nilable(Models::Shared::GetHrisPayslipsPositiveResponseNetPay), paid_amount: T.nilable(Models::Shared::GetHrisPayslipsPositiveResponsePaidAmount), gross_pay_ytd: T.nilable(Models::Shared::GrossPayYtd), net_pay_ytd: T.nilable(Models::Shared::NetPayYtd), paid_amount_ytd: T.nilable(Models::Shared::PaidAmountYtd)).void }
|
|
29
|
+
def initialize(gross_pay: nil, net_pay: nil, paid_amount: nil, gross_pay_ytd: nil, net_pay_ytd: nil, paid_amount_ytd: nil)
|
|
30
|
+
@gross_pay = gross_pay
|
|
31
|
+
@net_pay = net_pay
|
|
32
|
+
@paid_amount = paid_amount
|
|
33
|
+
@gross_pay_ytd = gross_pay_ytd
|
|
34
|
+
@net_pay_ytd = net_pay_ytd
|
|
35
|
+
@paid_amount_ytd = paid_amount_ytd
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
+
def ==(other)
|
|
40
|
+
return false unless other.is_a? self.class
|
|
41
|
+
return false unless @gross_pay == other.gross_pay
|
|
42
|
+
return false unless @net_pay == other.net_pay
|
|
43
|
+
return false unless @paid_amount == other.paid_amount
|
|
44
|
+
return false unless @gross_pay_ytd == other.gross_pay_ytd
|
|
45
|
+
return false unless @net_pay_ytd == other.net_pay_ytd
|
|
46
|
+
return false unless @paid_amount_ytd == other.paid_amount_ytd
|
|
47
|
+
true
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::GetHrisPayslipsPositiveResponseTotals
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::GetHrisPayslipsPositiveResponseTotals
|
|
11
|
+
def gross_pay(); end
|
|
12
|
+
def gross_pay=(str_); end
|
|
13
|
+
def net_pay(); end
|
|
14
|
+
def net_pay=(str_); end
|
|
15
|
+
def paid_amount(); end
|
|
16
|
+
def paid_amount=(str_); end
|
|
17
|
+
def gross_pay_ytd(); end
|
|
18
|
+
def gross_pay_ytd=(str_); end
|
|
19
|
+
def net_pay_ytd(); end
|
|
20
|
+
def net_pay_ytd=(str_); end
|
|
21
|
+
def paid_amount_ytd(); end
|
|
22
|
+
def paid_amount_ytd=(str_); end
|
|
23
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
# The year-to-date gross pay as returned by the remote system. Kombo never calculates this value. `null` when the remote API does not provide a year-to-date amount.
|
|
11
|
+
class GrossPayYtd
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The [ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html) the value is denominated in.
|
|
16
|
+
field :currency, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('currency'), required: true } }
|
|
17
|
+
# The monetary value. See the integration’s limitations for whether this value is rounded. Rounded values use mathematical rounding (half away from zero).
|
|
18
|
+
field :value, ::Float, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('value'), required: true } }
|
|
19
|
+
|
|
20
|
+
sig { params(currency: ::String, value: ::Float).void }
|
|
21
|
+
def initialize(currency:, value:)
|
|
22
|
+
@currency = currency
|
|
23
|
+
@value = value
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @currency == other.currency
|
|
30
|
+
return false unless @value == other.value
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::GrossPayYtd
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::GrossPayYtd
|
|
11
|
+
def currency(); end
|
|
12
|
+
def currency=(str_); end
|
|
13
|
+
def value(); end
|
|
14
|
+
def value=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
# The integration this issue belongs to. `null` for environment-wide issues.
|
|
11
|
+
class Integration
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The unique identifier of the integration.
|
|
16
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('id'), required: true } }
|
|
17
|
+
# The name of the integrated tool (e.g., "personio", "greenhouse").
|
|
18
|
+
field :tool, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('tool'), required: true } }
|
|
19
|
+
# The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
|
|
20
|
+
field :category, Models::Shared::IssueStatusChangedWebhookPayloadCategory, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('category'), required: true, 'decoder': ::Kombo::Utils.enum_from_string(Models::Shared::IssueStatusChangedWebhookPayloadCategory, false) } }
|
|
21
|
+
# Information about the end user who created the integration.
|
|
22
|
+
field :end_user, Models::Shared::IssueStatusChangedWebhookPayloadEndUser, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('end_user'), required: true } }
|
|
23
|
+
|
|
24
|
+
sig { params(id: ::String, tool: ::String, category: Models::Shared::IssueStatusChangedWebhookPayloadCategory, end_user: Models::Shared::IssueStatusChangedWebhookPayloadEndUser).void }
|
|
25
|
+
def initialize(id:, tool:, category:, end_user:)
|
|
26
|
+
@id = id
|
|
27
|
+
@tool = tool
|
|
28
|
+
@category = category
|
|
29
|
+
@end_user = end_user
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
33
|
+
def ==(other)
|
|
34
|
+
return false unless other.is_a? self.class
|
|
35
|
+
return false unless @id == other.id
|
|
36
|
+
return false unless @tool == other.tool
|
|
37
|
+
return false unless @category == other.category
|
|
38
|
+
return false unless @end_user == other.end_user
|
|
39
|
+
true
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::Integration
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::Integration
|
|
11
|
+
def id(); end
|
|
12
|
+
def id=(str_); end
|
|
13
|
+
def tool(); end
|
|
14
|
+
def tool=(str_); end
|
|
15
|
+
def category(); end
|
|
16
|
+
def category=(str_); end
|
|
17
|
+
def end_user(); end
|
|
18
|
+
def end_user=(str_); end
|
|
19
|
+
end
|
|
@@ -20,6 +20,7 @@ module Kombo
|
|
|
20
20
|
CORNERSTONETALENTLINK = new('cornerstonetalentlink')
|
|
21
21
|
RECRUITEE = new('recruitee')
|
|
22
22
|
RECRUITERFLOW = new('recruiterflow')
|
|
23
|
+
ATLAS = new('atlas')
|
|
23
24
|
GREENHOUSE = new('greenhouse')
|
|
24
25
|
GREENHOUSEV3 = new('greenhousev3')
|
|
25
26
|
GREENHOUSEJOBBOARD = new('greenhousejobboard')
|
|
@@ -90,6 +91,7 @@ module Kombo
|
|
|
90
91
|
TALENTCLUE = new('talentclue')
|
|
91
92
|
INRECRUITING = new('inrecruiting')
|
|
92
93
|
JOBADDER = new('jobadder')
|
|
94
|
+
JOBADDERJOBBOARD = new('jobadderjobboard')
|
|
93
95
|
UBEEO = new('ubeeo')
|
|
94
96
|
CONNEXYS = new('connexys')
|
|
95
97
|
HR4YOU = new('hr4you')
|
|
@@ -120,6 +122,7 @@ module Kombo
|
|
|
120
122
|
SANDBOX = new('sandbox')
|
|
121
123
|
GUIDECOM = new('guidecom')
|
|
122
124
|
SPOTT = new('spott')
|
|
125
|
+
STARDEX = new('stardex')
|
|
123
126
|
LOGICMELON = new('logicmelon')
|
|
124
127
|
LOXO = new('loxo')
|
|
125
128
|
KULA = new('kula')
|
|
@@ -127,10 +130,13 @@ module Kombo
|
|
|
127
130
|
DATABITES = new('databites')
|
|
128
131
|
PAGEUP = new('pageup')
|
|
129
132
|
TALENT360 = new('talent360')
|
|
133
|
+
EMPLYPEOPLE = new('emplypeople')
|
|
134
|
+
HIBOB = new('hibob')
|
|
130
135
|
WORKDAYCUSTOMREPORT = new('workdaycustomreport')
|
|
131
136
|
WORKDAYCUSTOMREPORTSFTP = new('workdaycustomreportsftp')
|
|
132
137
|
UKGPROWFM = new('ukgprowfm')
|
|
133
138
|
ADPDECIDIUM = new('adpdecidium')
|
|
139
|
+
ADPLINK = new('adplink')
|
|
134
140
|
PAYFITCUSTOMER = new('payfitcustomer')
|
|
135
141
|
PAYFITPARTNER = new('payfitpartner')
|
|
136
142
|
PAYFIT = new('payfit')
|
|
@@ -138,7 +144,6 @@ module Kombo
|
|
|
138
144
|
FOURTH = new('fourth')
|
|
139
145
|
KENJO = new('kenjo')
|
|
140
146
|
HEAVENHR = new('heavenhr')
|
|
141
|
-
HIBOB = new('hibob')
|
|
142
147
|
CEZANNEHR = new('cezannehr')
|
|
143
148
|
ENTRAID = new('entraid')
|
|
144
149
|
AZUREAD = new('azuread')
|
|
@@ -184,6 +189,7 @@ module Kombo
|
|
|
184
189
|
BOONDMANAGER = new('boondmanager')
|
|
185
190
|
HAILEYHR = new('haileyhr')
|
|
186
191
|
SILAE = new('silae')
|
|
192
|
+
SKELLO = new('skello')
|
|
187
193
|
OYSTERHR = new('oysterhr')
|
|
188
194
|
KIWIHR = new('kiwihr')
|
|
189
195
|
SQUARE = new('square')
|
|
@@ -204,6 +210,8 @@ module Kombo
|
|
|
204
210
|
YOUFORCE = new('youforce')
|
|
205
211
|
NIBELIS = new('nibelis')
|
|
206
212
|
PEOPLEXD = new('peoplexd')
|
|
213
|
+
ZELLIS = new('zellis')
|
|
214
|
+
VEDA = new('veda')
|
|
207
215
|
SFTP = new('sftp')
|
|
208
216
|
SFTPFETCH = new('sftpfetch')
|
|
209
217
|
THREE_HUNDRED_AND_SIXTYLEARNING = new('360learning')
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
|
|
11
|
+
class Issue
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The unique identifier of the issue.
|
|
16
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('id'), required: true } }
|
|
17
|
+
# The issue type, for example `integration.authentication_failed`. Kombo will add more types over time. Treat unknown values as valid and handle them without failing.
|
|
18
|
+
field :type, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('type'), required: true } }
|
|
19
|
+
# A short, customer-facing title for this issue type.
|
|
20
|
+
field :title, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('title'), required: true } }
|
|
21
|
+
# The issue status after this change.
|
|
22
|
+
field :status, Models::Shared::IssueStatusChangedWebhookPayloadStatus, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('status'), required: true, 'decoder': ::Kombo::Utils.enum_from_string(Models::Shared::IssueStatusChangedWebhookPayloadStatus, false) } }
|
|
23
|
+
# What is wrong and how to investigate or fix it.
|
|
24
|
+
field :markdown_message, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('markdown_message'), required: true } }
|
|
25
|
+
# ISO 8601 timestamp when Kombo first observed this episode of the issue.
|
|
26
|
+
field :first_observed_at, ::DateTime, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('first_observed_at'), required: true, 'decoder': ::Kombo::Utils.datetime_from_iso_format(false) } }
|
|
27
|
+
# ISO 8601 timestamp when the issue was resolved. `null` while it is open.
|
|
28
|
+
field :resolved_at, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('resolved_at'), required: true, 'decoder': ::Kombo::Utils.datetime_from_iso_format(false) } }
|
|
29
|
+
|
|
30
|
+
sig { params(id: ::String, type: ::String, title: ::String, status: Models::Shared::IssueStatusChangedWebhookPayloadStatus, markdown_message: ::String, first_observed_at: ::DateTime, resolved_at: T.nilable(::DateTime)).void }
|
|
31
|
+
def initialize(id:, type:, title:, status:, markdown_message:, first_observed_at:, resolved_at: nil)
|
|
32
|
+
@id = id
|
|
33
|
+
@type = type
|
|
34
|
+
@title = title
|
|
35
|
+
@status = status
|
|
36
|
+
@markdown_message = markdown_message
|
|
37
|
+
@first_observed_at = first_observed_at
|
|
38
|
+
@resolved_at = resolved_at
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
42
|
+
def ==(other)
|
|
43
|
+
return false unless other.is_a? self.class
|
|
44
|
+
return false unless @id == other.id
|
|
45
|
+
return false unless @type == other.type
|
|
46
|
+
return false unless @title == other.title
|
|
47
|
+
return false unless @status == other.status
|
|
48
|
+
return false unless @markdown_message == other.markdown_message
|
|
49
|
+
return false unless @first_observed_at == other.first_observed_at
|
|
50
|
+
return false unless @resolved_at == other.resolved_at
|
|
51
|
+
true
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::Issue
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::Issue
|
|
11
|
+
def id(); end
|
|
12
|
+
def id=(str_); end
|
|
13
|
+
def type(); end
|
|
14
|
+
def type=(str_); end
|
|
15
|
+
def title(); end
|
|
16
|
+
def title=(str_); end
|
|
17
|
+
def status(); end
|
|
18
|
+
def status=(str_); end
|
|
19
|
+
def markdown_message(); end
|
|
20
|
+
def markdown_message=(str_); end
|
|
21
|
+
def first_observed_at(); end
|
|
22
|
+
def first_observed_at=(str_); end
|
|
23
|
+
def resolved_at(); end
|
|
24
|
+
def resolved_at=(str_); end
|
|
25
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
|
|
11
|
+
class IssueStatusChangedWebhookPayload
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Unique identifier for this webhook event
|
|
16
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('id'), required: true } }
|
|
17
|
+
# Type of the webhook event
|
|
18
|
+
field :type, Models::Shared::IssueStatusChangedWebhookPayloadType, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('type'), required: true, 'decoder': ::Kombo::Utils.enum_from_string(Models::Shared::IssueStatusChangedWebhookPayloadType, false) } }
|
|
19
|
+
|
|
20
|
+
field :data, Models::Shared::IssueStatusChangedWebhookPayloadData, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('data'), required: true } }
|
|
21
|
+
|
|
22
|
+
sig { params(id: ::String, type: Models::Shared::IssueStatusChangedWebhookPayloadType, data: Models::Shared::IssueStatusChangedWebhookPayloadData).void }
|
|
23
|
+
def initialize(id:, type:, data:)
|
|
24
|
+
@id = id
|
|
25
|
+
@type = type
|
|
26
|
+
@data = data
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
30
|
+
def ==(other)
|
|
31
|
+
return false unless other.is_a? self.class
|
|
32
|
+
return false unless @id == other.id
|
|
33
|
+
return false unless @type == other.type
|
|
34
|
+
return false unless @data == other.data
|
|
35
|
+
true
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayload
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayload
|
|
11
|
+
def id(); end
|
|
12
|
+
def id=(str_); end
|
|
13
|
+
def type(); end
|
|
14
|
+
def type=(str_); end
|
|
15
|
+
def data(); end
|
|
16
|
+
def data=(str_); end
|
|
17
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
# IssueStatusChangedWebhookPayloadCategory - The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
|
|
11
|
+
class IssueStatusChangedWebhookPayloadCategory < T::Enum
|
|
12
|
+
enums do
|
|
13
|
+
HRIS = new('HRIS')
|
|
14
|
+
ATS = new('ATS')
|
|
15
|
+
ASSESSMENT = new('ASSESSMENT')
|
|
16
|
+
LMS = new('LMS')
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayloadCategory
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayloadCategory
|
|
11
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
|
|
11
|
+
class IssueStatusChangedWebhookPayloadData
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Why this webhook was sent: the issue was raised or resolved.
|
|
16
|
+
field :change, Models::Shared::Change, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('change'), required: true, 'decoder': ::Kombo::Utils.enum_from_string(Models::Shared::Change, false) } }
|
|
17
|
+
|
|
18
|
+
field :issue, Models::Shared::Issue, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('issue'), required: true } }
|
|
19
|
+
# The integration this issue belongs to. `null` for environment-wide issues.
|
|
20
|
+
field :integration, Crystalline::Nilable.new(Models::Shared::Integration), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('integration'), required: true } }
|
|
21
|
+
|
|
22
|
+
sig { params(change: Models::Shared::Change, issue: Models::Shared::Issue, integration: T.nilable(Models::Shared::Integration)).void }
|
|
23
|
+
def initialize(change:, issue:, integration: nil)
|
|
24
|
+
@change = change
|
|
25
|
+
@issue = issue
|
|
26
|
+
@integration = integration
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
30
|
+
def ==(other)
|
|
31
|
+
return false unless other.is_a? self.class
|
|
32
|
+
return false unless @change == other.change
|
|
33
|
+
return false unless @issue == other.issue
|
|
34
|
+
return false unless @integration == other.integration
|
|
35
|
+
true
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayloadData
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayloadData
|
|
11
|
+
def change(); end
|
|
12
|
+
def change=(str_); end
|
|
13
|
+
def issue(); end
|
|
14
|
+
def issue=(str_); end
|
|
15
|
+
def integration(); end
|
|
16
|
+
def integration=(str_); end
|
|
17
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
# Information about the end user who created the integration.
|
|
11
|
+
class IssueStatusChangedWebhookPayloadEndUser
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The name of the organization that owns the integration.
|
|
16
|
+
field :organization_name, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('organization_name'), required: true } }
|
|
17
|
+
# The email address of the user who created the integration.
|
|
18
|
+
field :creator_email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('creator_email'), required: true } }
|
|
19
|
+
# The unique identifier of the organization in the integrated system.
|
|
20
|
+
field :origin_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('origin_id'), required: true } }
|
|
21
|
+
|
|
22
|
+
sig { params(organization_name: ::String, creator_email: T.nilable(::String), origin_id: T.nilable(::String)).void }
|
|
23
|
+
def initialize(organization_name:, creator_email: nil, origin_id: nil)
|
|
24
|
+
@organization_name = organization_name
|
|
25
|
+
@creator_email = creator_email
|
|
26
|
+
@origin_id = origin_id
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
30
|
+
def ==(other)
|
|
31
|
+
return false unless other.is_a? self.class
|
|
32
|
+
return false unless @organization_name == other.organization_name
|
|
33
|
+
return false unless @creator_email == other.creator_email
|
|
34
|
+
return false unless @origin_id == other.origin_id
|
|
35
|
+
true
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayloadEndUser
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayloadEndUser
|
|
11
|
+
def organization_name(); end
|
|
12
|
+
def organization_name=(str_); end
|
|
13
|
+
def creator_email(); end
|
|
14
|
+
def creator_email=(str_); end
|
|
15
|
+
def origin_id(); end
|
|
16
|
+
def origin_id=(str_); end
|
|
17
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
# IssueStatusChangedWebhookPayloadStatus - The issue status after this change.
|
|
11
|
+
class IssueStatusChangedWebhookPayloadStatus < T::Enum
|
|
12
|
+
enums do
|
|
13
|
+
OPEN = new('OPEN')
|
|
14
|
+
RESOLVED = new('RESOLVED')
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayloadStatus
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Shared::IssueStatusChangedWebhookPayloadStatus
|
|
11
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Kombo
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
# IssueStatusChangedWebhookPayloadType - Type of the webhook event
|
|
11
|
+
class IssueStatusChangedWebhookPayloadType < T::Enum
|
|
12
|
+
enums do
|
|
13
|
+
ISSUE_STATUS_CHANGED = new('issue-status-changed')
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|