@solibo/solibo-sdk 1.57.8 → 1.57.9
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.
- package/client/companies.d.mts +1 -1
- package/client/companies.mjs +31 -0
- package/client/conversations.d.mts +1 -1
- package/client/conversations.mjs +14 -0
- package/client/expense.d.mts +1 -1
- package/client/expense.mjs +14 -0
- package/client/hms.d.mts +1 -1
- package/client/homepage.d.mts +1 -1
- package/client/insurance.d.mts +1 -1
- package/client/insurance.mjs +32 -0
- package/client/invoice.d.mts +1 -1
- package/client/invoice.mjs +18 -0
- package/client/issue.d.mts +1 -1
- package/client/issue.mjs +32 -0
- package/client/loan.d.mts +1 -1
- package/client/loan.mjs +32 -0
- package/client/meeting.d.mts +1 -1
- package/client/meeting.mjs +32 -0
- package/client/routines.d.mts +1 -1
- package/client/routines.mjs +32 -0
- package/client/settlement.d.mts +1 -1
- package/client/settlement.mjs +72 -0
- package/client/supplier.d.mts +1 -1
- package/client/supplier.mjs +32 -0
- package/client-core.mjs +243 -6
- package/client.d.mts +244 -3
- package/core.d.mts +1 -1
- package/operations/companies.d.mts +2 -1
- package/operations/companies.mjs +5 -0
- package/operations/conversations.d.mts +2 -1
- package/operations/conversations.mjs +5 -0
- package/operations/expense.d.mts +2 -1
- package/operations/expense.mjs +5 -0
- package/operations/hms.d.mts +1 -1
- package/operations/homepage.d.mts +1 -1
- package/operations/insurance.d.mts +3 -1
- package/operations/insurance.mjs +10 -0
- package/operations/invoice.d.mts +2 -1
- package/operations/invoice.mjs +5 -0
- package/operations/issue.d.mts +3 -1
- package/operations/issue.mjs +10 -0
- package/operations/loan.d.mts +3 -1
- package/operations/loan.mjs +10 -0
- package/operations/meeting.d.mts +3 -1
- package/operations/meeting.mjs +10 -0
- package/operations/routines.d.mts +3 -1
- package/operations/routines.mjs +10 -0
- package/operations/settlement.d.mts +5 -1
- package/operations/settlement.mjs +20 -0
- package/operations/supplier.d.mts +3 -1
- package/operations/supplier.mjs +10 -0
- package/package.json +1 -1
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-7.mjs +2 -2
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
- package/solibo-cycles/solibo-sdk-sdk-core-46.mjs +1373 -387
- package/solibo-cycles/solibo-sdk-sdk-core-47.mjs +2192 -270
- package/solibo-cycles/solibo-sdk-sdk-core-53.mjs +2 -2
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/client/apis/CompanyApi.export.d.mts +1 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/client/apis/CompanyApi.mjs +90 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/client/operations/IndexCompanyNamesOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/client/operations/IndexCompanyNamesOperation.export.mjs +14 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/client/operations/IndexCompanyNamesOperation.mjs +160 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyName.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyName.export.mjs +12 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyName.mjs +283 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/PagedListCompanyName.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/PagedListCompanyName.export.mjs +12 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/PagedListCompanyName.mjs +253 -0
- package/solibo-sdk-sdk-api-company.mjs +3 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/client/apis/ConversationApi.export.d.mts +1 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/client/apis/ConversationApi.mjs +81 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInquiryCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInquiryCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInquiryCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/CreateInquiryCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/FinalizeConversationInquiryDocumentCommand.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/FinalizeConversationInquiryDocumentCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/FinalizeConversationInquiryDocumentCommand.mjs +259 -0
- package/solibo-sdk-sdk-api-conversation.mjs +2 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/client/apis/ExpenseApi.export.d.mts +1 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/client/apis/ExpenseApi.mjs +81 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedExpenseCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedExpenseCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedExpenseCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/CreateExpenseCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/FinalizeExpenseDocumentCreateCommand.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/FinalizeExpenseDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/FinalizeExpenseDocumentCreateCommand.mjs +259 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/IntegratedExpenseMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/IntegratedExpenseMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/IntegratedExpenseMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-expense.mjs +3 -0
- package/solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/OpenHomepage.export.d.mts +3 -2
- package/solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/OpenHomepage.mjs +56 -24
- package/solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/OpenHomepagePhoneCountry.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/OpenHomepagePhoneCountry.export.mjs +12 -0
- package/solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/OpenHomepagePhoneCountry.mjs +214 -0
- package/solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/UpdatePostCommand.export.d.mts +3 -3
- package/solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/UpdatePostCommand.mjs +19 -13
- package/solibo-sdk-sdk-api-homepage.mjs +1 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/apis/InsuranceApi.export.d.mts +2 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/apis/InsuranceApi.mjs +163 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInsuranceCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInsuranceCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInsuranceCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInsuranceUpdateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInsuranceUpdateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInsuranceUpdateOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/CreateInsuranceCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/FinalizeInsuranceDocumentCreateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/FinalizeInsuranceDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/FinalizeInsuranceDocumentCreateCommand.mjs +288 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/FinalizeInsuranceDocumentUpdateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/FinalizeInsuranceDocumentUpdateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/FinalizeInsuranceDocumentUpdateCommand.mjs +299 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/IntegratedInsuranceMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/IntegratedInsuranceMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/IntegratedInsuranceMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-insurance.mjs +5 -0
- package/solibo-sdk-sdk-api-invoice/no/solibo/oss/sdk/api/gen/client/apis/InvoiceApi.export.d.mts +1 -0
- package/solibo-sdk-sdk-api-invoice/no/solibo/oss/sdk/api/gen/client/apis/InvoiceApi.mjs +82 -0
- package/solibo-sdk-sdk-api-invoice/no/solibo/oss/sdk/api/gen/client/operations/CreateInvoiceCommentOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-invoice/no/solibo/oss/sdk/api/gen/client/operations/CreateInvoiceCommentOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-invoice/no/solibo/oss/sdk/api/gen/client/operations/CreateInvoiceCommentOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-invoice/no/solibo/oss/sdk/api/gen/models/CreateSupplierInvoiceCommentCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-invoice/no/solibo/oss/sdk/api/gen/models/CreateSupplierInvoiceCommentCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-invoice/no/solibo/oss/sdk/api/gen/models/CreateSupplierInvoiceCommentCommand.mjs +263 -0
- package/solibo-sdk-sdk-api-invoice.mjs +2 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/UpdateInvoicePlanCommand.export.d.mts +4 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/UpdateInvoicePlanCommand.mjs +122 -33
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/apis/IssueApi.export.d.mts +2 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/apis/IssueApi.mjs +163 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedIssueCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedIssueCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedIssueCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedIssueUpdateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedIssueUpdateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedIssueUpdateOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/FinalizeIssueDocumentCreateCommand.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/FinalizeIssueDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/FinalizeIssueDocumentCreateCommand.mjs +259 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/FinalizeIssueDocumentUpdateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/FinalizeIssueDocumentUpdateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/FinalizeIssueDocumentUpdateCommand.mjs +296 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/IntegratedIssueMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/IntegratedIssueMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/IntegratedIssueMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/UpdateIssueCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-issue.mjs +5 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/apis/LoanApi.export.d.mts +2 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/apis/LoanApi.mjs +163 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedLoanCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedLoanCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedLoanCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedLoanUpdateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedLoanUpdateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedLoanUpdateOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/CreateLoanCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/FinalizeLoanDocumentCreateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/FinalizeLoanDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/FinalizeLoanDocumentCreateCommand.mjs +288 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/FinalizeLoanDocumentUpdateCommand.export.d.mts +20 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/FinalizeLoanDocumentUpdateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/FinalizeLoanDocumentUpdateCommand.mjs +325 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/IntegratedLoanMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/IntegratedLoanMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/IntegratedLoanMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/UpdateLoanCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-loan.mjs +5 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/apis/MeetingApi.export.d.mts +2 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/apis/MeetingApi.mjs +163 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedMeetingCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedMeetingCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedMeetingCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedMeetingUpdateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedMeetingUpdateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedMeetingUpdateOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/FinalizeMeetingDocumentCreateCommand.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/FinalizeMeetingDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/FinalizeMeetingDocumentCreateCommand.mjs +259 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/FinalizeMeetingDocumentUpdateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/FinalizeMeetingDocumentUpdateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/FinalizeMeetingDocumentUpdateCommand.mjs +296 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/IntegratedMeetingMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/IntegratedMeetingMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/IntegratedMeetingMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/MeetingDetails.mjs +1 -0
- package/solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/UpdateMeetingCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-meeting.mjs +5 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/apis/RoutinesApi.export.d.mts +2 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/apis/RoutinesApi.mjs +163 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedRoutineCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedRoutineCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedRoutineCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedRoutineUpdateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedRoutineUpdateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedRoutineUpdateOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/CreateRoutineCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/FinalizeRoutineDocumentCreateCommand.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/FinalizeRoutineDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/FinalizeRoutineDocumentCreateCommand.mjs +259 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/FinalizeRoutineDocumentUpdateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/FinalizeRoutineDocumentUpdateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/FinalizeRoutineDocumentUpdateCommand.mjs +296 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/IntegratedRoutineMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/IntegratedRoutineMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/IntegratedRoutineMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/UpdateRoutineCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-routines.mjs +5 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/apis/SettlementApi.export.d.mts +4 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/apis/SettlementApi.mjs +329 -1
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCustomCostCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCustomCostCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCustomCostCreateOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCustomCostUpdateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCustomCostUpdateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCustomCostUpdateOperation.mjs +114 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementUpdateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementUpdateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementUpdateOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/CreateSettlementCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/CreateSettlementCustomCostCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementCustomCostDocumentCreateCommand.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementCustomCostDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementCustomCostDocumentCreateCommand.mjs +259 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementCustomCostDocumentUpdateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementCustomCostDocumentUpdateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementCustomCostDocumentUpdateCommand.mjs +296 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementDocumentCreateCommand.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementDocumentCreateCommand.mjs +259 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementDocumentUpdateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementDocumentUpdateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementDocumentUpdateCommand.mjs +296 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/IntegratedSettlementCustomCostMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/IntegratedSettlementCustomCostMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/IntegratedSettlementCustomCostMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/IntegratedSettlementMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/IntegratedSettlementMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/IntegratedSettlementMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/UpdateSettlementCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/UpdateSettlementCustomCostCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-settlement.mjs +10 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/apis/SupplierApi.export.d.mts +2 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/apis/SupplierApi.mjs +163 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedCompanySupplierCreateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedCompanySupplierCreateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedCompanySupplierCreateOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedCompanySupplierUpdateOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedCompanySupplierUpdateOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedCompanySupplierUpdateOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/CreateSupplierForCompanyCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/FinalizeSupplierForCompanyDocumentCreateCommand.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/FinalizeSupplierForCompanyDocumentCreateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/FinalizeSupplierForCompanyDocumentCreateCommand.mjs +259 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/FinalizeSupplierForCompanyDocumentUpdateCommand.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/FinalizeSupplierForCompanyDocumentUpdateCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/FinalizeSupplierForCompanyDocumentUpdateCommand.mjs +296 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/IntegratedSupplierForCompanyMutationResult.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/IntegratedSupplierForCompanyMutationResult.export.mjs +12 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/IntegratedSupplierForCompanyMutationResult.mjs +209 -0
- package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/UpdateSupplierForCompanyCommand.mjs +1 -0
- package/solibo-sdk-sdk-api-supplier.mjs +5 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBus.mjs +1 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBusSubscriptions.mjs +1 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/DomainEventPayload.export.d.mts +3 -3
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EventBusErrorCode.export.d.mts +41 -33
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EventBusErrorCode.export.mjs +3 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EventBusErrorCode.mjs +27 -18
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/HeartbeatPayload.export.d.mts +3 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/IncomingEventBusMessageDiscriminator.export.d.mts +41 -9
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/IncomingEventBusMessageDiscriminator.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/IncomingEventBusMessageDiscriminator.mjs +42 -6
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/IssueDetails.mjs +1 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextAckedPayload.export.d.mts +18 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextAckedPayload.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextAckedPayload.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextClose.export.d.mts +16 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextClose.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextClose.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorCode.export.d.mts +117 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorCode.export.mjs +63 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorCode.mjs +249 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorPayload.export.d.mts +21 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorPayload.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorPayload.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpen.export.d.mts +19 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpen.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpen.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpenedPayload.export.d.mts +23 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpenedPayload.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpenedPayload.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOwnerType.export.d.mts +45 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOwnerType.export.mjs +36 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOwnerType.mjs +168 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresence.export.d.mts +17 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresence.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresence.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresencePayload.export.d.mts +19 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresencePayload.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresencePayload.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextSyncedPayload.export.d.mts +18 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextSyncedPayload.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextSyncedPayload.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdate.export.d.mts +19 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdate.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdate.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdatePayload.export.d.mts +19 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdatePayload.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdatePayload.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Subscribe.export.d.mts +4 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscribedPayload.export.d.mts +3 -3
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscriptionEndedPayload.export.d.mts +18 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscriptionEndedPayload.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscriptionEndedPayload.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierInvoice.export.d.mts +3 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierInvoice.mjs +133 -96
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierInvoiceComment.export.d.mts +21 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierInvoiceComment.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierInvoiceComment.mjs +334 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/WebSocketPayloadDiscriminator.export.d.mts +61 -5
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/WebSocketPayloadDiscriminator.export.mjs +22 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/WebSocketPayloadDiscriminator.mjs +67 -4
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk-core.mjs +14 -0
- package/solibo-sdk-sdk.d.mts +1172 -62
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by sdk/scripts/post-process-per-file.js from an import cycle of
|
|
1
|
+
// Generated by sdk/scripts/post-process-per-file.js from an import cycle of 20 files; see collapseCycles.
|
|
2
2
|
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AckedPayload.mjs
|
|
3
3
|
import {
|
|
4
4
|
protoOf180f3jzyo7rfj as protoOf,
|
|
@@ -1174,20 +1174,19 @@ import {
|
|
|
1174
1174
|
import { VOID3gxj6tk5isa35 as VOID6 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
1175
1175
|
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
1176
1176
|
import { $serializer_getInstance1md5is76rkz1h as $serializer_getInstance6 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/DomainEvent.mjs";
|
|
1177
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE6 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
1178
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
1177
1179
|
import {
|
|
1178
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance3,
|
|
1179
1180
|
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance3,
|
|
1180
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance6
|
|
1181
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance6,
|
|
1182
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance3
|
|
1181
1183
|
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
1182
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance6 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
1183
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE6 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
1184
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
1185
|
-
import { get_nullable197rfua9r7fsz as get_nullable } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
1186
1184
|
import {
|
|
1187
1185
|
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers6,
|
|
1188
1186
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer6
|
|
1189
1187
|
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
1190
1188
|
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
1189
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance6 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
1191
1190
|
import { SerializableWithd2dap36updxd as SerializableWith6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
1192
1191
|
import { __soliboBoundaryState as __soliboBoundaryState6, __soliboRegisterLookup as __soliboRegisterLookup6, __soliboRegisterOwnFields as __soliboRegisterOwnFields3, __soliboToJs as __soliboToJs6, __soliboToKt as __soliboToKt6, __soliboWrapAccessor as __soliboWrapAccessor3, __soliboWrapFunction as __soliboWrapFunction3, __soliboWrapMethod as __soliboWrapMethod3 } from "../solibo-boundary.mjs";
|
|
1193
1192
|
import { DomainEvent1dpc3c5c26ad0 as __soliboType_DomainEvent } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/DomainEvent.mjs";
|
|
@@ -1215,7 +1214,7 @@ function $serializer6() {
|
|
|
1215
1214
|
tmp0_serialDesc.addElement_5pzumi_k$("event", false);
|
|
1216
1215
|
tmp0_serialDesc.addElement_5pzumi_k$("redelivery", false);
|
|
1217
1216
|
tmp0_serialDesc.addElement_5pzumi_k$("seq", false);
|
|
1218
|
-
tmp0_serialDesc.addElement_5pzumi_k$("subscriptionKey",
|
|
1217
|
+
tmp0_serialDesc.addElement_5pzumi_k$("subscriptionKey", false);
|
|
1219
1218
|
this.descriptor_1 = tmp0_serialDesc;
|
|
1220
1219
|
};
|
|
1221
1220
|
initMetadataForObject6($, "$serializer", VOID6, VOID6, [GeneratedSerializer6()]);
|
|
@@ -1225,9 +1224,7 @@ function $serializer6() {
|
|
|
1225
1224
|
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 0, $serializer_getInstance6(), value.event);
|
|
1226
1225
|
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 1, value.redelivery);
|
|
1227
1226
|
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.seq);
|
|
1228
|
-
|
|
1229
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance3(), value.subscriptionKey);
|
|
1230
|
-
}
|
|
1227
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.subscriptionKey);
|
|
1231
1228
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1232
1229
|
};
|
|
1233
1230
|
protoOf6($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
@@ -1250,7 +1247,7 @@ function $serializer6() {
|
|
|
1250
1247
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1251
1248
|
tmp6_local2 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
1252
1249
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1253
|
-
tmp7_local3 = tmp8_input.
|
|
1250
|
+
tmp7_local3 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
1254
1251
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1255
1252
|
} else
|
|
1256
1253
|
while (tmp1_flag) {
|
|
@@ -1272,7 +1269,7 @@ function $serializer6() {
|
|
|
1272
1269
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1273
1270
|
break;
|
|
1274
1271
|
case 3:
|
|
1275
|
-
tmp7_local3 = tmp8_input.
|
|
1272
|
+
tmp7_local3 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
1276
1273
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1277
1274
|
break;
|
|
1278
1275
|
default:
|
|
@@ -1286,7 +1283,7 @@ function $serializer6() {
|
|
|
1286
1283
|
return this.descriptor_1;
|
|
1287
1284
|
};
|
|
1288
1285
|
protoOf6($).childSerializers_5ghqw5_k$ = function() {
|
|
1289
|
-
return [$serializer_getInstance6(), BooleanSerializer_getInstance3(), LongSerializer_getInstance6(),
|
|
1286
|
+
return [$serializer_getInstance6(), BooleanSerializer_getInstance3(), LongSerializer_getInstance6(), StringSerializer_getInstance3()];
|
|
1290
1287
|
};
|
|
1291
1288
|
protoOf6($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers6;
|
|
1292
1289
|
$serializerClass6 = $;
|
|
@@ -1300,17 +1297,14 @@ function $serializer_getInstance_03() {
|
|
|
1300
1297
|
return $serializer_instance6;
|
|
1301
1298
|
}
|
|
1302
1299
|
function DomainEventPayload_init_$Init$(seen0, event, redelivery, seq, subscriptionKey, serializationConstructorMarker, $this) {
|
|
1303
|
-
if (!(
|
|
1304
|
-
throwMissingFieldException6(seen0,
|
|
1300
|
+
if (!(15 === (15 & seen0))) {
|
|
1301
|
+
throwMissingFieldException6(seen0, 15, $serializer_getInstance_03().descriptor_1);
|
|
1305
1302
|
}
|
|
1306
1303
|
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1307
1304
|
$this.event = event;
|
|
1308
1305
|
$this.redelivery = redelivery;
|
|
1309
1306
|
$this.seq = seq;
|
|
1310
|
-
|
|
1311
|
-
$this.subscriptionKey = null;
|
|
1312
|
-
else
|
|
1313
|
-
$this.subscriptionKey = subscriptionKey;
|
|
1307
|
+
$this.subscriptionKey = subscriptionKey;
|
|
1314
1308
|
return $this;
|
|
1315
1309
|
}
|
|
1316
1310
|
function DomainEventPayload_init_$Create$(seen0, event, redelivery, seq, subscriptionKey, serializationConstructorMarker) {
|
|
@@ -1337,7 +1331,6 @@ function DomainEventPayload() {
|
|
|
1337
1331
|
seq = __soliboTmp;
|
|
1338
1332
|
__soliboConverted = true;
|
|
1339
1333
|
}
|
|
1340
|
-
subscriptionKey = subscriptionKey === VOID6 ? null : subscriptionKey;
|
|
1341
1334
|
WebSocketPayload().call(this);
|
|
1342
1335
|
this.event = event;
|
|
1343
1336
|
this.redelivery = redelivery;
|
|
@@ -1370,7 +1363,7 @@ function DomainEventPayload() {
|
|
|
1370
1363
|
protoOf6($).component4_7eebs9_k$ = function() {
|
|
1371
1364
|
return this.subscriptionKey;
|
|
1372
1365
|
};
|
|
1373
|
-
protoOf6($).
|
|
1366
|
+
protoOf6($).copy_7jvkn_k$ = function(event, redelivery, seq, subscriptionKey) {
|
|
1374
1367
|
return new (DomainEventPayload())(event, redelivery, seq, subscriptionKey);
|
|
1375
1368
|
};
|
|
1376
1369
|
protoOf6($).copy = function(event, redelivery, seq, subscriptionKey, $super) {
|
|
@@ -1378,7 +1371,7 @@ function DomainEventPayload() {
|
|
|
1378
1371
|
redelivery = redelivery === VOID6 ? this.redelivery : redelivery;
|
|
1379
1372
|
seq = seq === VOID6 ? this.seq : seq;
|
|
1380
1373
|
subscriptionKey = subscriptionKey === VOID6 ? this.subscriptionKey : subscriptionKey;
|
|
1381
|
-
return $super === VOID6 ? this.
|
|
1374
|
+
return $super === VOID6 ? this.copy_7jvkn_k$(event, redelivery, seq, subscriptionKey) : $super.copy_7jvkn_k$.call(this, event, redelivery, seq, subscriptionKey);
|
|
1382
1375
|
};
|
|
1383
1376
|
protoOf6($).toString = function() {
|
|
1384
1377
|
return "DomainEventPayload(event=" + this.event.toString() + ", redelivery=" + this.redelivery + ", seq=" + this.seq.toString() + ", subscriptionKey=" + this.subscriptionKey + ")";
|
|
@@ -1387,7 +1380,7 @@ function DomainEventPayload() {
|
|
|
1387
1380
|
var result = this.event.hashCode();
|
|
1388
1381
|
result = imul6(result, 31) + getBooleanHashCode3(this.redelivery) | 0;
|
|
1389
1382
|
result = imul6(result, 31) + getBigIntHashCode6(this.seq) | 0;
|
|
1390
|
-
result = imul6(result, 31) +
|
|
1383
|
+
result = imul6(result, 31) + getStringHashCode3(this.subscriptionKey) | 0;
|
|
1391
1384
|
return result;
|
|
1392
1385
|
};
|
|
1393
1386
|
protoOf6($).equals = function(other) {
|
|
@@ -1401,7 +1394,7 @@ function DomainEventPayload() {
|
|
|
1401
1394
|
return false;
|
|
1402
1395
|
if (!(this.seq === other.seq))
|
|
1403
1396
|
return false;
|
|
1404
|
-
if (!(this.subscriptionKey
|
|
1397
|
+
if (!(this.subscriptionKey === other.subscriptionKey))
|
|
1405
1398
|
return false;
|
|
1406
1399
|
return true;
|
|
1407
1400
|
};
|
|
@@ -1439,7 +1432,7 @@ import {
|
|
|
1439
1432
|
import { Unit_instance3kz1zqli6gr1r as Unit_instance7 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
1440
1433
|
import { THROW_CCE2g6jy02ryeudk as THROW_CCE7 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
1441
1434
|
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$7 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
1442
|
-
import { get_nullable197rfua9r7fsz as
|
|
1435
|
+
import { get_nullable197rfua9r7fsz as get_nullable } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
1443
1436
|
import {
|
|
1444
1437
|
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers7,
|
|
1445
1438
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer7
|
|
@@ -1556,7 +1549,7 @@ function $serializer7() {
|
|
|
1556
1549
|
return this.descriptor_1;
|
|
1557
1550
|
};
|
|
1558
1551
|
protoOf7($).childSerializers_5ghqw5_k$ = function() {
|
|
1559
|
-
return [Companion_getInstance_1().$childSerializers_1[0].get_value_j01efc_k$(), BooleanSerializer_getInstance4(), StringSerializer_getInstance4(),
|
|
1552
|
+
return [Companion_getInstance_1().$childSerializers_1[0].get_value_j01efc_k$(), BooleanSerializer_getInstance4(), StringSerializer_getInstance4(), get_nullable(StringSerializer_getInstance4())];
|
|
1560
1553
|
};
|
|
1561
1554
|
protoOf7($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers7;
|
|
1562
1555
|
$serializerClass7 = $;
|
|
@@ -1865,7 +1858,7 @@ import {
|
|
|
1865
1858
|
import { Unit_instance3kz1zqli6gr1r as Unit_instance9 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
1866
1859
|
import { THROW_CCE2g6jy02ryeudk as THROW_CCE9 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
1867
1860
|
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$9 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
1868
|
-
import { get_nullable197rfua9r7fsz as
|
|
1861
|
+
import { get_nullable197rfua9r7fsz as get_nullable2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
1869
1862
|
import {
|
|
1870
1863
|
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers9,
|
|
1871
1864
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer9
|
|
@@ -1894,10 +1887,11 @@ function $serializer9() {
|
|
|
1894
1887
|
if ($serializerClass9 === VOID9) {
|
|
1895
1888
|
let $ = function() {
|
|
1896
1889
|
$serializer_instance9 = this;
|
|
1897
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor9())("solibo.common.infrastructure.websockets.HeartbeatPayload", this,
|
|
1890
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor9())("solibo.common.infrastructure.websockets.HeartbeatPayload", this, 4);
|
|
1898
1891
|
tmp0_serialDesc.addElement_5pzumi_k$("ackedSeq", true);
|
|
1899
1892
|
tmp0_serialDesc.addElement_5pzumi_k$("headSeq", false);
|
|
1900
1893
|
tmp0_serialDesc.addElement_5pzumi_k$("sentAt", false);
|
|
1894
|
+
tmp0_serialDesc.addElement_5pzumi_k$("subscriptionKey", true);
|
|
1901
1895
|
this.descriptor_1 = tmp0_serialDesc;
|
|
1902
1896
|
};
|
|
1903
1897
|
initMetadataForObject9($, "$serializer", VOID9, VOID9, [GeneratedSerializer9()]);
|
|
@@ -1909,6 +1903,9 @@ function $serializer9() {
|
|
|
1909
1903
|
}
|
|
1910
1904
|
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.headSeq);
|
|
1911
1905
|
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.sentAt);
|
|
1906
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.subscriptionKey == null)) {
|
|
1907
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance6(), value.subscriptionKey);
|
|
1908
|
+
}
|
|
1912
1909
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1913
1910
|
};
|
|
1914
1911
|
protoOf9($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
@@ -1922,45 +1919,52 @@ function $serializer9() {
|
|
|
1922
1919
|
var tmp4_local0 = null;
|
|
1923
1920
|
var tmp5_local1 = 0n;
|
|
1924
1921
|
var tmp6_local2 = null;
|
|
1925
|
-
var
|
|
1926
|
-
|
|
1927
|
-
|
|
1922
|
+
var tmp7_local3 = null;
|
|
1923
|
+
var tmp8_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1924
|
+
if (tmp8_input.decodeSequentially_xlblqy_k$()) {
|
|
1925
|
+
tmp4_local0 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance7(), tmp4_local0);
|
|
1928
1926
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1929
|
-
tmp5_local1 =
|
|
1927
|
+
tmp5_local1 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
1930
1928
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1931
|
-
tmp6_local2 =
|
|
1929
|
+
tmp6_local2 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
1932
1930
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1931
|
+
tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance6(), tmp7_local3);
|
|
1932
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1933
1933
|
} else
|
|
1934
1934
|
while (tmp1_flag) {
|
|
1935
|
-
tmp2_index =
|
|
1935
|
+
tmp2_index = tmp8_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
1936
1936
|
switch (tmp2_index) {
|
|
1937
1937
|
case -1:
|
|
1938
1938
|
tmp1_flag = false;
|
|
1939
1939
|
break;
|
|
1940
1940
|
case 0:
|
|
1941
|
-
tmp4_local0 =
|
|
1941
|
+
tmp4_local0 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance7(), tmp4_local0);
|
|
1942
1942
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1943
1943
|
break;
|
|
1944
1944
|
case 1:
|
|
1945
|
-
tmp5_local1 =
|
|
1945
|
+
tmp5_local1 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
1946
1946
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1947
1947
|
break;
|
|
1948
1948
|
case 2:
|
|
1949
|
-
tmp6_local2 =
|
|
1949
|
+
tmp6_local2 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
1950
1950
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1951
1951
|
break;
|
|
1952
|
+
case 3:
|
|
1953
|
+
tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance6(), tmp7_local3);
|
|
1954
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1955
|
+
break;
|
|
1952
1956
|
default:
|
|
1953
1957
|
throw UnknownFieldException_init_$Create$9(tmp2_index);
|
|
1954
1958
|
}
|
|
1955
1959
|
}
|
|
1956
|
-
|
|
1957
|
-
return HeartbeatPayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1960
|
+
tmp8_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1961
|
+
return HeartbeatPayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
1958
1962
|
};
|
|
1959
1963
|
protoOf9($).get_descriptor_wjt6a0_k$ = function() {
|
|
1960
1964
|
return this.descriptor_1;
|
|
1961
1965
|
};
|
|
1962
1966
|
protoOf9($).childSerializers_5ghqw5_k$ = function() {
|
|
1963
|
-
return [
|
|
1967
|
+
return [get_nullable2(LongSerializer_getInstance7()), LongSerializer_getInstance7(), StringSerializer_getInstance6(), get_nullable2(StringSerializer_getInstance6())];
|
|
1964
1968
|
};
|
|
1965
1969
|
protoOf9($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers9;
|
|
1966
1970
|
$serializerClass9 = $;
|
|
@@ -1973,7 +1977,7 @@ function $serializer_getInstance9() {
|
|
|
1973
1977
|
new ($serializer9())();
|
|
1974
1978
|
return $serializer_instance9;
|
|
1975
1979
|
}
|
|
1976
|
-
function HeartbeatPayload_init_$Init$(seen0, ackedSeq, headSeq, sentAt, serializationConstructorMarker, $this) {
|
|
1980
|
+
function HeartbeatPayload_init_$Init$(seen0, ackedSeq, headSeq, sentAt, subscriptionKey, serializationConstructorMarker, $this) {
|
|
1977
1981
|
if (!(6 === (6 & seen0))) {
|
|
1978
1982
|
throwMissingFieldException9(seen0, 6, $serializer_getInstance9().descriptor_1);
|
|
1979
1983
|
}
|
|
@@ -1984,15 +1988,19 @@ function HeartbeatPayload_init_$Init$(seen0, ackedSeq, headSeq, sentAt, serializ
|
|
|
1984
1988
|
$this.ackedSeq = ackedSeq;
|
|
1985
1989
|
$this.headSeq = headSeq;
|
|
1986
1990
|
$this.sentAt = sentAt;
|
|
1991
|
+
if (0 === (seen0 & 8))
|
|
1992
|
+
$this.subscriptionKey = null;
|
|
1993
|
+
else
|
|
1994
|
+
$this.subscriptionKey = subscriptionKey;
|
|
1987
1995
|
return $this;
|
|
1988
1996
|
}
|
|
1989
|
-
function HeartbeatPayload_init_$Create$(seen0, ackedSeq, headSeq, sentAt, serializationConstructorMarker) {
|
|
1990
|
-
return HeartbeatPayload_init_$Init$(seen0, ackedSeq, headSeq, sentAt, serializationConstructorMarker, objectCreate9(protoOf9(HeartbeatPayload())));
|
|
1997
|
+
function HeartbeatPayload_init_$Create$(seen0, ackedSeq, headSeq, sentAt, subscriptionKey, serializationConstructorMarker) {
|
|
1998
|
+
return HeartbeatPayload_init_$Init$(seen0, ackedSeq, headSeq, sentAt, subscriptionKey, serializationConstructorMarker, objectCreate9(protoOf9(HeartbeatPayload())));
|
|
1991
1999
|
}
|
|
1992
2000
|
var HeartbeatPayloadClass;
|
|
1993
2001
|
function HeartbeatPayload() {
|
|
1994
2002
|
if (HeartbeatPayloadClass === VOID9) {
|
|
1995
|
-
let $ = function(ackedSeq, headSeq, sentAt) {
|
|
2003
|
+
let $ = function(ackedSeq, headSeq, sentAt, subscriptionKey) {
|
|
1996
2004
|
var __soliboProps = arguments.length === 1 && typeof ackedSeq === "object" && ackedSeq !== null && ackedSeq.constructor === Object;
|
|
1997
2005
|
var __soliboTmp, __soliboConverted = false;
|
|
1998
2006
|
if (__soliboProps) {
|
|
@@ -2000,6 +2008,7 @@ function HeartbeatPayload() {
|
|
|
2000
2008
|
ackedSeq = "ackedSeq" in props ? props.ackedSeq : VOID9;
|
|
2001
2009
|
headSeq = "headSeq" in props ? props.headSeq : VOID9;
|
|
2002
2010
|
sentAt = "sentAt" in props ? props.sentAt : VOID9;
|
|
2011
|
+
subscriptionKey = "subscriptionKey" in props ? props.subscriptionKey : VOID9;
|
|
2003
2012
|
}
|
|
2004
2013
|
if ((__soliboTmp = __soliboToKt9(ackedSeq, ["bigint"])) !== ackedSeq) {
|
|
2005
2014
|
ackedSeq = __soliboTmp;
|
|
@@ -2010,10 +2019,12 @@ function HeartbeatPayload() {
|
|
|
2010
2019
|
__soliboConverted = true;
|
|
2011
2020
|
}
|
|
2012
2021
|
ackedSeq = ackedSeq === VOID9 ? null : ackedSeq;
|
|
2022
|
+
subscriptionKey = subscriptionKey === VOID9 ? null : subscriptionKey;
|
|
2013
2023
|
WebSocketPayload().call(this);
|
|
2014
2024
|
this.ackedSeq = ackedSeq;
|
|
2015
2025
|
this.headSeq = headSeq;
|
|
2016
2026
|
this.sentAt = sentAt;
|
|
2027
|
+
this.subscriptionKey = subscriptionKey;
|
|
2017
2028
|
if (__soliboConverted && !__soliboBoundaryState9.internalConstruction) return __soliboToJs9(this);
|
|
2018
2029
|
};
|
|
2019
2030
|
initMetadataForClass9($, "HeartbeatPayload", VOID9, WebSocketPayload(), VOID9, VOID9, VOID9, { 0: $serializer_getInstance9 });
|
|
@@ -2026,6 +2037,9 @@ function HeartbeatPayload() {
|
|
|
2026
2037
|
protoOf9($).get_sentAt_jfej1w_k$ = function() {
|
|
2027
2038
|
return this.sentAt;
|
|
2028
2039
|
};
|
|
2040
|
+
protoOf9($).get_subscriptionKey_gjoro9_k$ = function() {
|
|
2041
|
+
return this.subscriptionKey;
|
|
2042
|
+
};
|
|
2029
2043
|
protoOf9($).component1_7eebsc_k$ = function() {
|
|
2030
2044
|
return this.ackedSeq;
|
|
2031
2045
|
};
|
|
@@ -2035,22 +2049,27 @@ function HeartbeatPayload() {
|
|
|
2035
2049
|
protoOf9($).component3_7eebsa_k$ = function() {
|
|
2036
2050
|
return this.sentAt;
|
|
2037
2051
|
};
|
|
2038
|
-
protoOf9($).
|
|
2039
|
-
return
|
|
2052
|
+
protoOf9($).component4_7eebs9_k$ = function() {
|
|
2053
|
+
return this.subscriptionKey;
|
|
2054
|
+
};
|
|
2055
|
+
protoOf9($).copy_46r01r_k$ = function(ackedSeq, headSeq, sentAt, subscriptionKey) {
|
|
2056
|
+
return new (HeartbeatPayload())(ackedSeq, headSeq, sentAt, subscriptionKey);
|
|
2040
2057
|
};
|
|
2041
|
-
protoOf9($).copy = function(ackedSeq, headSeq, sentAt, $super) {
|
|
2058
|
+
protoOf9($).copy = function(ackedSeq, headSeq, sentAt, subscriptionKey, $super) {
|
|
2042
2059
|
ackedSeq = ackedSeq === VOID9 ? this.ackedSeq : ackedSeq;
|
|
2043
2060
|
headSeq = headSeq === VOID9 ? this.headSeq : headSeq;
|
|
2044
2061
|
sentAt = sentAt === VOID9 ? this.sentAt : sentAt;
|
|
2045
|
-
|
|
2062
|
+
subscriptionKey = subscriptionKey === VOID9 ? this.subscriptionKey : subscriptionKey;
|
|
2063
|
+
return $super === VOID9 ? this.copy_46r01r_k$(ackedSeq, headSeq, sentAt, subscriptionKey) : $super.copy_46r01r_k$.call(this, ackedSeq, headSeq, sentAt, subscriptionKey);
|
|
2046
2064
|
};
|
|
2047
2065
|
protoOf9($).toString = function() {
|
|
2048
|
-
return "HeartbeatPayload(ackedSeq=" + toString(this.ackedSeq) + ", headSeq=" + this.headSeq.toString() + ", sentAt=" + this.sentAt + ")";
|
|
2066
|
+
return "HeartbeatPayload(ackedSeq=" + toString(this.ackedSeq) + ", headSeq=" + this.headSeq.toString() + ", sentAt=" + this.sentAt + ", subscriptionKey=" + this.subscriptionKey + ")";
|
|
2049
2067
|
};
|
|
2050
2068
|
protoOf9($).hashCode = function() {
|
|
2051
2069
|
var result = this.ackedSeq == null ? 0 : getBigIntHashCode7(this.ackedSeq);
|
|
2052
2070
|
result = imul8(result, 31) + getBigIntHashCode7(this.headSeq) | 0;
|
|
2053
2071
|
result = imul8(result, 31) + getStringHashCode6(this.sentAt) | 0;
|
|
2072
|
+
result = imul8(result, 31) + (this.subscriptionKey == null ? 0 : getStringHashCode6(this.subscriptionKey)) | 0;
|
|
2054
2073
|
return result;
|
|
2055
2074
|
};
|
|
2056
2075
|
protoOf9($).equals = function(other) {
|
|
@@ -2064,6 +2083,8 @@ function HeartbeatPayload() {
|
|
|
2064
2083
|
return false;
|
|
2065
2084
|
if (!(this.sentAt === other.sentAt))
|
|
2066
2085
|
return false;
|
|
2086
|
+
if (!(this.subscriptionKey == other.subscriptionKey))
|
|
2087
|
+
return false;
|
|
2067
2088
|
return true;
|
|
2068
2089
|
};
|
|
2069
2090
|
Object.defineProperty($, "name", { value: "HeartbeatPayload", configurable: true });
|
|
@@ -2379,12 +2400,11 @@ function ReplayCompletePayload() {
|
|
|
2379
2400
|
}
|
|
2380
2401
|
Companion_instance11 = new (Companion11())();
|
|
2381
2402
|
|
|
2382
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/
|
|
2403
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextAckedPayload.mjs
|
|
2383
2404
|
import {
|
|
2384
2405
|
protoOf180f3jzyo7rfj as protoOf12,
|
|
2385
2406
|
objectCreate1ve4bgxiu4x98 as objectCreate12,
|
|
2386
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode9
|
|
2387
|
-
getStringHashCode26igk1bx568vk as getStringHashCode8
|
|
2407
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode9
|
|
2388
2408
|
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
2389
2409
|
import {
|
|
2390
2410
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion12,
|
|
@@ -2393,19 +2413,15 @@ import {
|
|
|
2393
2413
|
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
2394
2414
|
import { VOID3gxj6tk5isa35 as VOID12 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
2395
2415
|
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor12 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
2396
|
-
import {
|
|
2397
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance8,
|
|
2398
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance9
|
|
2399
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
2400
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance12 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
2401
2416
|
import { THROW_CCE2g6jy02ryeudk as THROW_CCE12 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
2402
2417
|
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$12 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
2403
|
-
import {
|
|
2418
|
+
import { LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance9 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
2404
2419
|
import {
|
|
2405
2420
|
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers12,
|
|
2406
2421
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer12
|
|
2407
2422
|
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
2408
2423
|
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException12 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
2424
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance12 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
2409
2425
|
import { SerializableWithd2dap36updxd as SerializableWith12 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
2410
2426
|
import { __soliboBoundaryState as __soliboBoundaryState11, __soliboRegisterLookup as __soliboRegisterLookup12, __soliboToJs as __soliboToJs11, __soliboToKt as __soliboToKt11 } from "../solibo-boundary.mjs";
|
|
2411
2427
|
var imul10 = Math.imul;
|
|
@@ -2428,33 +2444,23 @@ function $serializer12() {
|
|
|
2428
2444
|
if ($serializerClass12 === VOID12) {
|
|
2429
2445
|
let $ = function() {
|
|
2430
2446
|
$serializer_instance12 = this;
|
|
2431
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor12())("solibo.common.infrastructure.websockets.
|
|
2432
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
2433
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
2434
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
2435
|
-
tmp0_serialDesc.addElement_5pzumi_k$("maxInFlight", false);
|
|
2436
|
-
tmp0_serialDesc.addElement_5pzumi_k$("oldestRetainedSeq", false);
|
|
2437
|
-
tmp0_serialDesc.addElement_5pzumi_k$("resumedAfter", false);
|
|
2438
|
-
tmp0_serialDesc.addElement_5pzumi_k$("subscriptionKey", true);
|
|
2447
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor12())("solibo.common.infrastructure.websockets.SharedTextAckedPayload", this, 3);
|
|
2448
|
+
tmp0_serialDesc.addElement_5pzumi_k$("clientSeq", false);
|
|
2449
|
+
tmp0_serialDesc.addElement_5pzumi_k$("seq", false);
|
|
2450
|
+
tmp0_serialDesc.addElement_5pzumi_k$("textId", false);
|
|
2439
2451
|
this.descriptor_1 = tmp0_serialDesc;
|
|
2440
2452
|
};
|
|
2441
2453
|
initMetadataForObject12($, "$serializer", VOID12, VOID12, [GeneratedSerializer12()]);
|
|
2442
|
-
protoOf12($).
|
|
2454
|
+
protoOf12($).serialize_3yr0o5_k$ = function(encoder, value) {
|
|
2443
2455
|
var tmp0_desc = this.descriptor_1;
|
|
2444
2456
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
2445
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.
|
|
2446
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.
|
|
2447
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.
|
|
2448
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.maxInFlight);
|
|
2449
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 4, value.oldestRetainedSeq);
|
|
2450
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.resumedAfter);
|
|
2451
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.subscriptionKey == null)) {
|
|
2452
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, StringSerializer_getInstance8(), value.subscriptionKey);
|
|
2453
|
-
}
|
|
2457
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.clientSeq);
|
|
2458
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.seq);
|
|
2459
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.textId);
|
|
2454
2460
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
2455
2461
|
};
|
|
2456
2462
|
protoOf12($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
2457
|
-
return this.
|
|
2463
|
+
return this.serialize_3yr0o5_k$(encoder, value instanceof SharedTextAckedPayload() ? value : THROW_CCE12());
|
|
2458
2464
|
};
|
|
2459
2465
|
protoOf12($).deserialize_sy6x50_k$ = function(decoder) {
|
|
2460
2466
|
var tmp0_desc = this.descriptor_1;
|
|
@@ -2464,73 +2470,45 @@ function $serializer12() {
|
|
|
2464
2470
|
var tmp4_local0 = 0n;
|
|
2465
2471
|
var tmp5_local1 = 0n;
|
|
2466
2472
|
var tmp6_local2 = 0n;
|
|
2467
|
-
var
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
var tmp10_local6 = null;
|
|
2471
|
-
var tmp11_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
2472
|
-
if (tmp11_input.decodeSequentially_xlblqy_k$()) {
|
|
2473
|
-
tmp4_local0 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
2473
|
+
var tmp7_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
2474
|
+
if (tmp7_input.decodeSequentially_xlblqy_k$()) {
|
|
2475
|
+
tmp4_local0 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
2474
2476
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2475
|
-
tmp5_local1 =
|
|
2477
|
+
tmp5_local1 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
2476
2478
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2477
|
-
tmp6_local2 =
|
|
2479
|
+
tmp6_local2 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
2478
2480
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2479
|
-
tmp7_local3 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
2480
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2481
|
-
tmp8_local4 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
|
|
2482
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2483
|
-
tmp9_local5 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
2484
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2485
|
-
tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance8(), tmp10_local6);
|
|
2486
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2487
2481
|
} else
|
|
2488
2482
|
while (tmp1_flag) {
|
|
2489
|
-
tmp2_index =
|
|
2483
|
+
tmp2_index = tmp7_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
2490
2484
|
switch (tmp2_index) {
|
|
2491
2485
|
case -1:
|
|
2492
2486
|
tmp1_flag = false;
|
|
2493
2487
|
break;
|
|
2494
2488
|
case 0:
|
|
2495
|
-
tmp4_local0 =
|
|
2489
|
+
tmp4_local0 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
2496
2490
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2497
2491
|
break;
|
|
2498
2492
|
case 1:
|
|
2499
|
-
tmp5_local1 =
|
|
2493
|
+
tmp5_local1 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
2500
2494
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2501
2495
|
break;
|
|
2502
2496
|
case 2:
|
|
2503
|
-
tmp6_local2 =
|
|
2497
|
+
tmp6_local2 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
2504
2498
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2505
2499
|
break;
|
|
2506
|
-
case 3:
|
|
2507
|
-
tmp7_local3 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
2508
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2509
|
-
break;
|
|
2510
|
-
case 4:
|
|
2511
|
-
tmp8_local4 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
|
|
2512
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2513
|
-
break;
|
|
2514
|
-
case 5:
|
|
2515
|
-
tmp9_local5 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
2516
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2517
|
-
break;
|
|
2518
|
-
case 6:
|
|
2519
|
-
tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance8(), tmp10_local6);
|
|
2520
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2521
|
-
break;
|
|
2522
2500
|
default:
|
|
2523
2501
|
throw UnknownFieldException_init_$Create$12(tmp2_index);
|
|
2524
2502
|
}
|
|
2525
2503
|
}
|
|
2526
|
-
|
|
2527
|
-
return
|
|
2504
|
+
tmp7_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
2505
|
+
return SharedTextAckedPayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2528
2506
|
};
|
|
2529
2507
|
protoOf12($).get_descriptor_wjt6a0_k$ = function() {
|
|
2530
2508
|
return this.descriptor_1;
|
|
2531
2509
|
};
|
|
2532
2510
|
protoOf12($).childSerializers_5ghqw5_k$ = function() {
|
|
2533
|
-
return [LongSerializer_getInstance9(), LongSerializer_getInstance9(), LongSerializer_getInstance9()
|
|
2511
|
+
return [LongSerializer_getInstance9(), LongSerializer_getInstance9(), LongSerializer_getInstance9()];
|
|
2534
2512
|
};
|
|
2535
2513
|
protoOf12($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers12;
|
|
2536
2514
|
$serializerClass12 = $;
|
|
@@ -2543,198 +2521,146 @@ function $serializer_getInstance12() {
|
|
|
2543
2521
|
new ($serializer12())();
|
|
2544
2522
|
return $serializer_instance12;
|
|
2545
2523
|
}
|
|
2546
|
-
function
|
|
2547
|
-
if (!(
|
|
2548
|
-
throwMissingFieldException12(seen0,
|
|
2524
|
+
function SharedTextAckedPayload_init_$Init$(seen0, clientSeq, seq, textId, serializationConstructorMarker, $this) {
|
|
2525
|
+
if (!(7 === (7 & seen0))) {
|
|
2526
|
+
throwMissingFieldException12(seen0, 7, $serializer_getInstance12().descriptor_1);
|
|
2549
2527
|
}
|
|
2550
2528
|
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2551
|
-
$this.
|
|
2552
|
-
$this.
|
|
2553
|
-
$this.
|
|
2554
|
-
$this.maxInFlight = maxInFlight;
|
|
2555
|
-
$this.oldestRetainedSeq = oldestRetainedSeq;
|
|
2556
|
-
$this.resumedAfter = resumedAfter;
|
|
2557
|
-
if (0 === (seen0 & 64))
|
|
2558
|
-
$this.subscriptionKey = null;
|
|
2559
|
-
else
|
|
2560
|
-
$this.subscriptionKey = subscriptionKey;
|
|
2529
|
+
$this.clientSeq = clientSeq;
|
|
2530
|
+
$this.seq = seq;
|
|
2531
|
+
$this.textId = textId;
|
|
2561
2532
|
return $this;
|
|
2562
2533
|
}
|
|
2563
|
-
function
|
|
2564
|
-
return
|
|
2534
|
+
function SharedTextAckedPayload_init_$Create$(seen0, clientSeq, seq, textId, serializationConstructorMarker) {
|
|
2535
|
+
return SharedTextAckedPayload_init_$Init$(seen0, clientSeq, seq, textId, serializationConstructorMarker, objectCreate12(protoOf12(SharedTextAckedPayload())));
|
|
2565
2536
|
}
|
|
2566
|
-
var
|
|
2567
|
-
function
|
|
2568
|
-
if (
|
|
2569
|
-
let $ = function(
|
|
2570
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
2537
|
+
var SharedTextAckedPayloadClass;
|
|
2538
|
+
function SharedTextAckedPayload() {
|
|
2539
|
+
if (SharedTextAckedPayloadClass === VOID12) {
|
|
2540
|
+
let $ = function(clientSeq, seq, textId) {
|
|
2541
|
+
var __soliboProps = arguments.length === 1 && typeof clientSeq === "object" && clientSeq !== null && clientSeq.constructor === Object;
|
|
2571
2542
|
var __soliboTmp, __soliboConverted = false;
|
|
2572
2543
|
if (__soliboProps) {
|
|
2573
|
-
const props =
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
maxInFlight = "maxInFlight" in props ? props.maxInFlight : VOID12;
|
|
2578
|
-
oldestRetainedSeq = "oldestRetainedSeq" in props ? props.oldestRetainedSeq : VOID12;
|
|
2579
|
-
resumedAfter = "resumedAfter" in props ? props.resumedAfter : VOID12;
|
|
2580
|
-
subscriptionKey = "subscriptionKey" in props ? props.subscriptionKey : VOID12;
|
|
2581
|
-
}
|
|
2582
|
-
if ((__soliboTmp = __soliboToKt11(ackTimeoutSeconds, ["bigint"])) !== ackTimeoutSeconds) {
|
|
2583
|
-
ackTimeoutSeconds = __soliboTmp;
|
|
2584
|
-
__soliboConverted = true;
|
|
2585
|
-
}
|
|
2586
|
-
if ((__soliboTmp = __soliboToKt11(headSeq, ["bigint"])) !== headSeq) {
|
|
2587
|
-
headSeq = __soliboTmp;
|
|
2588
|
-
__soliboConverted = true;
|
|
2589
|
-
}
|
|
2590
|
-
if ((__soliboTmp = __soliboToKt11(heartbeatSeconds, ["bigint"])) !== heartbeatSeconds) {
|
|
2591
|
-
heartbeatSeconds = __soliboTmp;
|
|
2592
|
-
__soliboConverted = true;
|
|
2544
|
+
const props = clientSeq;
|
|
2545
|
+
clientSeq = "clientSeq" in props ? props.clientSeq : VOID12;
|
|
2546
|
+
seq = "seq" in props ? props.seq : VOID12;
|
|
2547
|
+
textId = "textId" in props ? props.textId : VOID12;
|
|
2593
2548
|
}
|
|
2594
|
-
if ((__soliboTmp = __soliboToKt11(
|
|
2595
|
-
|
|
2549
|
+
if ((__soliboTmp = __soliboToKt11(clientSeq, ["bigint"])) !== clientSeq) {
|
|
2550
|
+
clientSeq = __soliboTmp;
|
|
2596
2551
|
__soliboConverted = true;
|
|
2597
2552
|
}
|
|
2598
|
-
if ((__soliboTmp = __soliboToKt11(
|
|
2599
|
-
|
|
2553
|
+
if ((__soliboTmp = __soliboToKt11(seq, ["bigint"])) !== seq) {
|
|
2554
|
+
seq = __soliboTmp;
|
|
2600
2555
|
__soliboConverted = true;
|
|
2601
2556
|
}
|
|
2602
|
-
if ((__soliboTmp = __soliboToKt11(
|
|
2603
|
-
|
|
2557
|
+
if ((__soliboTmp = __soliboToKt11(textId, ["bigint"])) !== textId) {
|
|
2558
|
+
textId = __soliboTmp;
|
|
2604
2559
|
__soliboConverted = true;
|
|
2605
2560
|
}
|
|
2606
|
-
subscriptionKey = subscriptionKey === VOID12 ? null : subscriptionKey;
|
|
2607
2561
|
WebSocketPayload().call(this);
|
|
2608
|
-
this.
|
|
2609
|
-
this.
|
|
2610
|
-
this.
|
|
2611
|
-
this.maxInFlight = maxInFlight;
|
|
2612
|
-
this.oldestRetainedSeq = oldestRetainedSeq;
|
|
2613
|
-
this.resumedAfter = resumedAfter;
|
|
2614
|
-
this.subscriptionKey = subscriptionKey;
|
|
2562
|
+
this.clientSeq = clientSeq;
|
|
2563
|
+
this.seq = seq;
|
|
2564
|
+
this.textId = textId;
|
|
2615
2565
|
if (__soliboConverted && !__soliboBoundaryState11.internalConstruction) return __soliboToJs11(this);
|
|
2616
2566
|
};
|
|
2617
|
-
initMetadataForClass12($, "
|
|
2618
|
-
protoOf12($).
|
|
2619
|
-
return this.
|
|
2620
|
-
};
|
|
2621
|
-
protoOf12($).get_headSeq_ef1rw6_k$ = function() {
|
|
2622
|
-
return this.headSeq;
|
|
2623
|
-
};
|
|
2624
|
-
protoOf12($).get_heartbeatSeconds_d4loks_k$ = function() {
|
|
2625
|
-
return this.heartbeatSeconds;
|
|
2626
|
-
};
|
|
2627
|
-
protoOf12($).get_maxInFlight_z9edcg_k$ = function() {
|
|
2628
|
-
return this.maxInFlight;
|
|
2629
|
-
};
|
|
2630
|
-
protoOf12($).get_oldestRetainedSeq_pjo2q5_k$ = function() {
|
|
2631
|
-
return this.oldestRetainedSeq;
|
|
2567
|
+
initMetadataForClass12($, "SharedTextAckedPayload", VOID12, WebSocketPayload(), VOID12, VOID12, VOID12, { 0: $serializer_getInstance12 });
|
|
2568
|
+
protoOf12($).get_clientSeq_mz4oph_k$ = function() {
|
|
2569
|
+
return this.clientSeq;
|
|
2632
2570
|
};
|
|
2633
|
-
protoOf12($).
|
|
2634
|
-
return this.
|
|
2571
|
+
protoOf12($).get_seq_18iway_k$ = function() {
|
|
2572
|
+
return this.seq;
|
|
2635
2573
|
};
|
|
2636
|
-
protoOf12($).
|
|
2637
|
-
return this.
|
|
2574
|
+
protoOf12($).get_textId_jwmjht_k$ = function() {
|
|
2575
|
+
return this.textId;
|
|
2638
2576
|
};
|
|
2639
2577
|
protoOf12($).component1_7eebsc_k$ = function() {
|
|
2640
|
-
return this.
|
|
2578
|
+
return this.clientSeq;
|
|
2641
2579
|
};
|
|
2642
2580
|
protoOf12($).component2_7eebsb_k$ = function() {
|
|
2643
|
-
return this.
|
|
2581
|
+
return this.seq;
|
|
2644
2582
|
};
|
|
2645
2583
|
protoOf12($).component3_7eebsa_k$ = function() {
|
|
2646
|
-
return this.
|
|
2647
|
-
};
|
|
2648
|
-
protoOf12($).component4_7eebs9_k$ = function() {
|
|
2649
|
-
return this.maxInFlight;
|
|
2650
|
-
};
|
|
2651
|
-
protoOf12($).component5_7eebs8_k$ = function() {
|
|
2652
|
-
return this.oldestRetainedSeq;
|
|
2653
|
-
};
|
|
2654
|
-
protoOf12($).component6_7eebs7_k$ = function() {
|
|
2655
|
-
return this.resumedAfter;
|
|
2656
|
-
};
|
|
2657
|
-
protoOf12($).component7_7eebs6_k$ = function() {
|
|
2658
|
-
return this.subscriptionKey;
|
|
2584
|
+
return this.textId;
|
|
2659
2585
|
};
|
|
2660
|
-
protoOf12($).
|
|
2661
|
-
return new (
|
|
2586
|
+
protoOf12($).copy_1ras9d_k$ = function(clientSeq, seq, textId) {
|
|
2587
|
+
return new (SharedTextAckedPayload())(clientSeq, seq, textId);
|
|
2662
2588
|
};
|
|
2663
|
-
protoOf12($).copy = function(
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
oldestRetainedSeq = oldestRetainedSeq === VOID12 ? this.oldestRetainedSeq : oldestRetainedSeq;
|
|
2669
|
-
resumedAfter = resumedAfter === VOID12 ? this.resumedAfter : resumedAfter;
|
|
2670
|
-
subscriptionKey = subscriptionKey === VOID12 ? this.subscriptionKey : subscriptionKey;
|
|
2671
|
-
return $super === VOID12 ? this.copy_vbkbe6_k$(ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey) : $super.copy_vbkbe6_k$.call(this, ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey);
|
|
2589
|
+
protoOf12($).copy = function(clientSeq, seq, textId, $super) {
|
|
2590
|
+
clientSeq = clientSeq === VOID12 ? this.clientSeq : clientSeq;
|
|
2591
|
+
seq = seq === VOID12 ? this.seq : seq;
|
|
2592
|
+
textId = textId === VOID12 ? this.textId : textId;
|
|
2593
|
+
return $super === VOID12 ? this.copy_1ras9d_k$(clientSeq, seq, textId) : $super.copy_1ras9d_k$.call(this, clientSeq, seq, textId);
|
|
2672
2594
|
};
|
|
2673
2595
|
protoOf12($).toString = function() {
|
|
2674
|
-
return "
|
|
2596
|
+
return "SharedTextAckedPayload(clientSeq=" + this.clientSeq.toString() + ", seq=" + this.seq.toString() + ", textId=" + this.textId.toString() + ")";
|
|
2675
2597
|
};
|
|
2676
2598
|
protoOf12($).hashCode = function() {
|
|
2677
|
-
var result = getBigIntHashCode9(this.
|
|
2678
|
-
result = imul10(result, 31) + getBigIntHashCode9(this.
|
|
2679
|
-
result = imul10(result, 31) + getBigIntHashCode9(this.
|
|
2680
|
-
result = imul10(result, 31) + getBigIntHashCode9(this.maxInFlight) | 0;
|
|
2681
|
-
result = imul10(result, 31) + getBigIntHashCode9(this.oldestRetainedSeq) | 0;
|
|
2682
|
-
result = imul10(result, 31) + getBigIntHashCode9(this.resumedAfter) | 0;
|
|
2683
|
-
result = imul10(result, 31) + (this.subscriptionKey == null ? 0 : getStringHashCode8(this.subscriptionKey)) | 0;
|
|
2599
|
+
var result = getBigIntHashCode9(this.clientSeq);
|
|
2600
|
+
result = imul10(result, 31) + getBigIntHashCode9(this.seq) | 0;
|
|
2601
|
+
result = imul10(result, 31) + getBigIntHashCode9(this.textId) | 0;
|
|
2684
2602
|
return result;
|
|
2685
2603
|
};
|
|
2686
2604
|
protoOf12($).equals = function(other) {
|
|
2687
2605
|
if (this === other)
|
|
2688
2606
|
return true;
|
|
2689
|
-
if (!(other instanceof
|
|
2690
|
-
return false;
|
|
2691
|
-
if (!(this.ackTimeoutSeconds === other.ackTimeoutSeconds))
|
|
2692
|
-
return false;
|
|
2693
|
-
if (!(this.headSeq === other.headSeq))
|
|
2607
|
+
if (!(other instanceof SharedTextAckedPayload()))
|
|
2694
2608
|
return false;
|
|
2695
|
-
if (!(this.
|
|
2696
|
-
return false;
|
|
2697
|
-
if (!(this.maxInFlight === other.maxInFlight))
|
|
2698
|
-
return false;
|
|
2699
|
-
if (!(this.oldestRetainedSeq === other.oldestRetainedSeq))
|
|
2609
|
+
if (!(this.clientSeq === other.clientSeq))
|
|
2700
2610
|
return false;
|
|
2701
|
-
if (!(this.
|
|
2611
|
+
if (!(this.seq === other.seq))
|
|
2702
2612
|
return false;
|
|
2703
|
-
if (!(this.
|
|
2613
|
+
if (!(this.textId === other.textId))
|
|
2704
2614
|
return false;
|
|
2705
2615
|
return true;
|
|
2706
2616
|
};
|
|
2707
|
-
Object.defineProperty($, "name", { value: "
|
|
2708
|
-
__soliboRegisterLookup12("
|
|
2709
|
-
|
|
2617
|
+
Object.defineProperty($, "name", { value: "SharedTextAckedPayload", configurable: true });
|
|
2618
|
+
__soliboRegisterLookup12("SharedTextAckedPayload", () => $);
|
|
2619
|
+
SharedTextAckedPayloadClass = $;
|
|
2710
2620
|
}
|
|
2711
|
-
return
|
|
2621
|
+
return SharedTextAckedPayloadClass;
|
|
2712
2622
|
}
|
|
2713
2623
|
Companion_instance12 = new (Companion12())();
|
|
2714
2624
|
|
|
2715
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/
|
|
2716
|
-
import {
|
|
2717
|
-
import { SealedClassSerializer_init_$Create$15ycao7509ndt as SealedClassSerializer_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs";
|
|
2625
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorPayload.mjs
|
|
2626
|
+
import { Companion_getInstance4rdk0cexy256 as Companion_getInstance13 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorCode.mjs";
|
|
2718
2627
|
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance3 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
2719
2628
|
import { lazy1261dae0bgscp as lazy3 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
2720
|
-
import {
|
|
2721
|
-
|
|
2629
|
+
import {
|
|
2630
|
+
protoOf180f3jzyo7rfj as protoOf13,
|
|
2631
|
+
objectCreate1ve4bgxiu4x98 as objectCreate13,
|
|
2632
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode10,
|
|
2633
|
+
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode5,
|
|
2634
|
+
getStringHashCode26igk1bx568vk as getStringHashCode8
|
|
2635
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
2722
2636
|
import {
|
|
2723
2637
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion13,
|
|
2638
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject13,
|
|
2724
2639
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass13
|
|
2725
2640
|
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
2726
2641
|
import { VOID3gxj6tk5isa35 as VOID13 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
2642
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor13 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
2643
|
+
import {
|
|
2644
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance10,
|
|
2645
|
+
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance5,
|
|
2646
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance8
|
|
2647
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
2648
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance13 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
2649
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE13 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
2650
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$13 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
2651
|
+
import { get_nullable197rfua9r7fsz as get_nullable3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
2652
|
+
import {
|
|
2653
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers13,
|
|
2654
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer13
|
|
2655
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
2656
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException13 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
2657
|
+
import { toString30pk9tzaqopn as toString2 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
2727
2658
|
import { SerializableWithd2dap36updxd as SerializableWith13 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
2728
|
-
import { __soliboRegisterLookup as __soliboRegisterLookup13 } from "../solibo-boundary.mjs";
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
var tmp = getKClass(WebSocketPayload());
|
|
2734
|
-
var tmp_0 = [getKClass(AckedPayload()), getKClass(ConversationEventPayload()), getKClass(ConversationMessagePayload()), getKClass(ConversationTypingPayload()), getKClass(ConversationUpdatedPayload()), getKClass(DomainEventPayload()), getKClass(EventBusErrorPayload()), getKClass(GenericPayload()), getKClass(HeartbeatPayload()), getKClass(Pong()), getKClass(ReplayCompletePayload()), getKClass(SubscribedPayload())];
|
|
2735
|
-
var tmp_1 = [$serializer_getInstance(), $serializer_getInstance_0(), $serializer_getInstance_02(), $serializer_getInstance4(), $serializer_getInstance5(), $serializer_getInstance_03(), $serializer_getInstance7(), $serializer_getInstance8(), $serializer_getInstance9(), $serializer_getInstance10(), $serializer_getInstance11(), $serializer_getInstance12()];
|
|
2736
|
-
var tmp$ret$6 = [];
|
|
2737
|
-
return SealedClassSerializer_init_$Create$("no.solibo.oss.sdk.api.gen.models.WebSocketPayload", tmp, tmp_0, tmp_1, tmp$ret$6);
|
|
2659
|
+
import { __soliboBoundaryState as __soliboBoundaryState12, __soliboRegisterLookup as __soliboRegisterLookup13, __soliboToJs as __soliboToJs12, __soliboToKt as __soliboToKt12 } from "../solibo-boundary.mjs";
|
|
2660
|
+
import { SharedTextErrorCode1lw4wm1zen54k as __soliboType_SharedTextErrorCode } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorCode.mjs";
|
|
2661
|
+
var imul11 = Math.imul;
|
|
2662
|
+
function SharedTextErrorPayload$Companion$$childSerializers$_anonymous__uxu8i6() {
|
|
2663
|
+
return Companion_getInstance13().serializer_9w0wvi_k$();
|
|
2738
2664
|
}
|
|
2739
2665
|
var CompanionClass13;
|
|
2740
2666
|
function Companion13() {
|
|
@@ -2743,37 +2669,2019 @@ function Companion13() {
|
|
|
2743
2669
|
Companion_instance13 = this;
|
|
2744
2670
|
var tmp = this;
|
|
2745
2671
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
|
|
2746
|
-
tmp.$
|
|
2747
|
-
};
|
|
2748
|
-
initMetadataForCompanion13($, VOID13, [SerializerFactory()]);
|
|
2749
|
-
protoOf13($).serializer_9w0wvi_k$ = function() {
|
|
2750
|
-
return _get_$cachedSerializer__te6jhj(this);
|
|
2751
|
-
};
|
|
2752
|
-
protoOf13($).serializer_nv39qc_k$ = function(typeParamsSerializers) {
|
|
2753
|
-
return this.serializer_9w0wvi_k$();
|
|
2672
|
+
tmp.$childSerializers_1 = [null, null, lazy3(tmp_0, SharedTextErrorPayload$Companion$$childSerializers$_anonymous__uxu8i6), null, null, null];
|
|
2754
2673
|
};
|
|
2674
|
+
initMetadataForCompanion13($);
|
|
2755
2675
|
CompanionClass13 = $;
|
|
2756
2676
|
}
|
|
2757
2677
|
return CompanionClass13;
|
|
2758
2678
|
}
|
|
2759
2679
|
var Companion_instance13;
|
|
2760
|
-
function
|
|
2761
|
-
if (Companion_instance13 == null)
|
|
2680
|
+
function Companion_getInstance_12() {
|
|
2681
|
+
if (Companion_instance13 == null) {
|
|
2682
|
+
Companion_getInstance4();
|
|
2762
2683
|
new (Companion13())();
|
|
2684
|
+
}
|
|
2763
2685
|
return Companion_instance13;
|
|
2764
2686
|
}
|
|
2687
|
+
var $serializerClass13;
|
|
2688
|
+
function $serializer13() {
|
|
2689
|
+
if ($serializerClass13 === VOID13) {
|
|
2690
|
+
let $ = function() {
|
|
2691
|
+
$serializer_instance13 = this;
|
|
2692
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor13())("solibo.common.infrastructure.websockets.SharedTextErrorPayload", this, 6);
|
|
2693
|
+
tmp0_serialDesc.addElement_5pzumi_k$("clientSeq", true);
|
|
2694
|
+
tmp0_serialDesc.addElement_5pzumi_k$("closed", true);
|
|
2695
|
+
tmp0_serialDesc.addElement_5pzumi_k$("code", false);
|
|
2696
|
+
tmp0_serialDesc.addElement_5pzumi_k$("message", false);
|
|
2697
|
+
tmp0_serialDesc.addElement_5pzumi_k$("requestId", true);
|
|
2698
|
+
tmp0_serialDesc.addElement_5pzumi_k$("textId", true);
|
|
2699
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
2700
|
+
};
|
|
2701
|
+
initMetadataForObject13($, "$serializer", VOID13, VOID13, [GeneratedSerializer13()]);
|
|
2702
|
+
protoOf13($).serialize_okk6dh_k$ = function(encoder, value) {
|
|
2703
|
+
var tmp0_desc = this.descriptor_1;
|
|
2704
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
2705
|
+
var tmp2_cached = Companion_getInstance_12().$childSerializers_1;
|
|
2706
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.clientSeq == null)) {
|
|
2707
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, LongSerializer_getInstance10(), value.clientSeq);
|
|
2708
|
+
}
|
|
2709
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.closed == null)) {
|
|
2710
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, BooleanSerializer_getInstance5(), value.closed);
|
|
2711
|
+
}
|
|
2712
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.code);
|
|
2713
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.message);
|
|
2714
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.requestId == null)) {
|
|
2715
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance8(), value.requestId);
|
|
2716
|
+
}
|
|
2717
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.textId == null)) {
|
|
2718
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, LongSerializer_getInstance10(), value.textId);
|
|
2719
|
+
}
|
|
2720
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
2721
|
+
};
|
|
2722
|
+
protoOf13($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
2723
|
+
return this.serialize_okk6dh_k$(encoder, value instanceof SharedTextErrorPayload() ? value : THROW_CCE13());
|
|
2724
|
+
};
|
|
2725
|
+
protoOf13($).deserialize_sy6x50_k$ = function(decoder) {
|
|
2726
|
+
var tmp0_desc = this.descriptor_1;
|
|
2727
|
+
var tmp1_flag = true;
|
|
2728
|
+
var tmp2_index = 0;
|
|
2729
|
+
var tmp3_bitMask0 = 0;
|
|
2730
|
+
var tmp4_local0 = null;
|
|
2731
|
+
var tmp5_local1 = null;
|
|
2732
|
+
var tmp6_local2 = null;
|
|
2733
|
+
var tmp7_local3 = null;
|
|
2734
|
+
var tmp8_local4 = null;
|
|
2735
|
+
var tmp9_local5 = null;
|
|
2736
|
+
var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
2737
|
+
var tmp11_cached = Companion_getInstance_12().$childSerializers_1;
|
|
2738
|
+
if (tmp10_input.decodeSequentially_xlblqy_k$()) {
|
|
2739
|
+
tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance10(), tmp4_local0);
|
|
2740
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2741
|
+
tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, BooleanSerializer_getInstance5(), tmp5_local1);
|
|
2742
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2743
|
+
tmp6_local2 = tmp10_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp11_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
2744
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2745
|
+
tmp7_local3 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
2746
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2747
|
+
tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance8(), tmp8_local4);
|
|
2748
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2749
|
+
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance10(), tmp9_local5);
|
|
2750
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2751
|
+
} else
|
|
2752
|
+
while (tmp1_flag) {
|
|
2753
|
+
tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
2754
|
+
switch (tmp2_index) {
|
|
2755
|
+
case -1:
|
|
2756
|
+
tmp1_flag = false;
|
|
2757
|
+
break;
|
|
2758
|
+
case 0:
|
|
2759
|
+
tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance10(), tmp4_local0);
|
|
2760
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2761
|
+
break;
|
|
2762
|
+
case 1:
|
|
2763
|
+
tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, BooleanSerializer_getInstance5(), tmp5_local1);
|
|
2764
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2765
|
+
break;
|
|
2766
|
+
case 2:
|
|
2767
|
+
tmp6_local2 = tmp10_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp11_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
2768
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2769
|
+
break;
|
|
2770
|
+
case 3:
|
|
2771
|
+
tmp7_local3 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
2772
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2773
|
+
break;
|
|
2774
|
+
case 4:
|
|
2775
|
+
tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance8(), tmp8_local4);
|
|
2776
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2777
|
+
break;
|
|
2778
|
+
case 5:
|
|
2779
|
+
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance10(), tmp9_local5);
|
|
2780
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2781
|
+
break;
|
|
2782
|
+
default:
|
|
2783
|
+
throw UnknownFieldException_init_$Create$13(tmp2_index);
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
2787
|
+
return SharedTextErrorPayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
2788
|
+
};
|
|
2789
|
+
protoOf13($).get_descriptor_wjt6a0_k$ = function() {
|
|
2790
|
+
return this.descriptor_1;
|
|
2791
|
+
};
|
|
2792
|
+
protoOf13($).childSerializers_5ghqw5_k$ = function() {
|
|
2793
|
+
var tmp0_cached = Companion_getInstance_12().$childSerializers_1;
|
|
2794
|
+
return [get_nullable3(LongSerializer_getInstance10()), get_nullable3(BooleanSerializer_getInstance5()), tmp0_cached[2].get_value_j01efc_k$(), StringSerializer_getInstance8(), get_nullable3(StringSerializer_getInstance8()), get_nullable3(LongSerializer_getInstance10())];
|
|
2795
|
+
};
|
|
2796
|
+
protoOf13($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers13;
|
|
2797
|
+
$serializerClass13 = $;
|
|
2798
|
+
}
|
|
2799
|
+
return $serializerClass13;
|
|
2800
|
+
}
|
|
2801
|
+
var $serializer_instance13;
|
|
2802
|
+
function $serializer_getInstance13() {
|
|
2803
|
+
if ($serializer_instance13 == null)
|
|
2804
|
+
new ($serializer13())();
|
|
2805
|
+
return $serializer_instance13;
|
|
2806
|
+
}
|
|
2807
|
+
function SharedTextErrorPayload_init_$Init$(seen0, clientSeq, closed, code, message, requestId, textId, serializationConstructorMarker, $this) {
|
|
2808
|
+
if (!(12 === (12 & seen0))) {
|
|
2809
|
+
throwMissingFieldException13(seen0, 12, $serializer_getInstance13().descriptor_1);
|
|
2810
|
+
}
|
|
2811
|
+
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2812
|
+
if (0 === (seen0 & 1))
|
|
2813
|
+
$this.clientSeq = null;
|
|
2814
|
+
else
|
|
2815
|
+
$this.clientSeq = clientSeq;
|
|
2816
|
+
if (0 === (seen0 & 2))
|
|
2817
|
+
$this.closed = null;
|
|
2818
|
+
else
|
|
2819
|
+
$this.closed = closed;
|
|
2820
|
+
$this.code = code;
|
|
2821
|
+
$this.message = message;
|
|
2822
|
+
if (0 === (seen0 & 16))
|
|
2823
|
+
$this.requestId = null;
|
|
2824
|
+
else
|
|
2825
|
+
$this.requestId = requestId;
|
|
2826
|
+
if (0 === (seen0 & 32))
|
|
2827
|
+
$this.textId = null;
|
|
2828
|
+
else
|
|
2829
|
+
$this.textId = textId;
|
|
2830
|
+
return $this;
|
|
2831
|
+
}
|
|
2832
|
+
function SharedTextErrorPayload_init_$Create$(seen0, clientSeq, closed, code, message, requestId, textId, serializationConstructorMarker) {
|
|
2833
|
+
return SharedTextErrorPayload_init_$Init$(seen0, clientSeq, closed, code, message, requestId, textId, serializationConstructorMarker, objectCreate13(protoOf13(SharedTextErrorPayload())));
|
|
2834
|
+
}
|
|
2835
|
+
var SharedTextErrorPayloadClass;
|
|
2836
|
+
function SharedTextErrorPayload() {
|
|
2837
|
+
if (SharedTextErrorPayloadClass === VOID13) {
|
|
2838
|
+
let $ = function(clientSeq, closed, code, message, requestId, textId) {
|
|
2839
|
+
var __soliboProps = arguments.length === 1 && typeof clientSeq === "object" && clientSeq !== null && clientSeq.constructor === Object;
|
|
2840
|
+
var __soliboTmp, __soliboConverted = false;
|
|
2841
|
+
if (__soliboProps) {
|
|
2842
|
+
const props = clientSeq;
|
|
2843
|
+
clientSeq = "clientSeq" in props ? props.clientSeq : VOID13;
|
|
2844
|
+
closed = "closed" in props ? props.closed : VOID13;
|
|
2845
|
+
code = "code" in props ? props.code : VOID13;
|
|
2846
|
+
message = "message" in props ? props.message : VOID13;
|
|
2847
|
+
requestId = "requestId" in props ? props.requestId : VOID13;
|
|
2848
|
+
textId = "textId" in props ? props.textId : VOID13;
|
|
2849
|
+
}
|
|
2850
|
+
if ((__soliboTmp = __soliboToKt12(clientSeq, ["bigint"])) !== clientSeq) {
|
|
2851
|
+
clientSeq = __soliboTmp;
|
|
2852
|
+
__soliboConverted = true;
|
|
2853
|
+
}
|
|
2854
|
+
if ((__soliboTmp = __soliboToKt12(code, ["enum", "SharedTextErrorCode"])) !== code) {
|
|
2855
|
+
code = __soliboTmp;
|
|
2856
|
+
__soliboConverted = true;
|
|
2857
|
+
}
|
|
2858
|
+
if ((__soliboTmp = __soliboToKt12(textId, ["bigint"])) !== textId) {
|
|
2859
|
+
textId = __soliboTmp;
|
|
2860
|
+
__soliboConverted = true;
|
|
2861
|
+
}
|
|
2862
|
+
Companion_getInstance_12();
|
|
2863
|
+
clientSeq = clientSeq === VOID13 ? null : clientSeq;
|
|
2864
|
+
closed = closed === VOID13 ? null : closed;
|
|
2865
|
+
requestId = requestId === VOID13 ? null : requestId;
|
|
2866
|
+
textId = textId === VOID13 ? null : textId;
|
|
2867
|
+
WebSocketPayload().call(this);
|
|
2868
|
+
this.clientSeq = clientSeq;
|
|
2869
|
+
this.closed = closed;
|
|
2870
|
+
this.code = code;
|
|
2871
|
+
this.message = message;
|
|
2872
|
+
this.requestId = requestId;
|
|
2873
|
+
this.textId = textId;
|
|
2874
|
+
if (__soliboConverted && !__soliboBoundaryState12.internalConstruction) return __soliboToJs12(this);
|
|
2875
|
+
};
|
|
2876
|
+
initMetadataForClass13($, "SharedTextErrorPayload", VOID13, WebSocketPayload(), VOID13, VOID13, VOID13, { 0: $serializer_getInstance13 });
|
|
2877
|
+
protoOf13($).get_clientSeq_mz4oph_k$ = function() {
|
|
2878
|
+
return this.clientSeq;
|
|
2879
|
+
};
|
|
2880
|
+
protoOf13($).get_closed_byjrzp_k$ = function() {
|
|
2881
|
+
return this.closed;
|
|
2882
|
+
};
|
|
2883
|
+
protoOf13($).get_code_wok7xy_k$ = function() {
|
|
2884
|
+
return this.code;
|
|
2885
|
+
};
|
|
2886
|
+
protoOf13($).get_message_h23axq_k$ = function() {
|
|
2887
|
+
return this.message;
|
|
2888
|
+
};
|
|
2889
|
+
protoOf13($).get_requestId_jzo7dt_k$ = function() {
|
|
2890
|
+
return this.requestId;
|
|
2891
|
+
};
|
|
2892
|
+
protoOf13($).get_textId_jwmjht_k$ = function() {
|
|
2893
|
+
return this.textId;
|
|
2894
|
+
};
|
|
2895
|
+
protoOf13($).component1_7eebsc_k$ = function() {
|
|
2896
|
+
return this.clientSeq;
|
|
2897
|
+
};
|
|
2898
|
+
protoOf13($).component2_7eebsb_k$ = function() {
|
|
2899
|
+
return this.closed;
|
|
2900
|
+
};
|
|
2901
|
+
protoOf13($).component3_7eebsa_k$ = function() {
|
|
2902
|
+
return this.code;
|
|
2903
|
+
};
|
|
2904
|
+
protoOf13($).component4_7eebs9_k$ = function() {
|
|
2905
|
+
return this.message;
|
|
2906
|
+
};
|
|
2907
|
+
protoOf13($).component5_7eebs8_k$ = function() {
|
|
2908
|
+
return this.requestId;
|
|
2909
|
+
};
|
|
2910
|
+
protoOf13($).component6_7eebs7_k$ = function() {
|
|
2911
|
+
return this.textId;
|
|
2912
|
+
};
|
|
2913
|
+
protoOf13($).copy_8lfgpn_k$ = function(clientSeq, closed, code, message, requestId, textId) {
|
|
2914
|
+
return new (SharedTextErrorPayload())(clientSeq, closed, code, message, requestId, textId);
|
|
2915
|
+
};
|
|
2916
|
+
protoOf13($).copy = function(clientSeq, closed, code, message, requestId, textId, $super) {
|
|
2917
|
+
clientSeq = clientSeq === VOID13 ? this.clientSeq : clientSeq;
|
|
2918
|
+
closed = closed === VOID13 ? this.closed : closed;
|
|
2919
|
+
code = code === VOID13 ? this.code : code;
|
|
2920
|
+
message = message === VOID13 ? this.message : message;
|
|
2921
|
+
requestId = requestId === VOID13 ? this.requestId : requestId;
|
|
2922
|
+
textId = textId === VOID13 ? this.textId : textId;
|
|
2923
|
+
return $super === VOID13 ? this.copy_8lfgpn_k$(clientSeq, closed, code, message, requestId, textId) : $super.copy_8lfgpn_k$.call(this, clientSeq, closed, code, message, requestId, textId);
|
|
2924
|
+
};
|
|
2925
|
+
protoOf13($).toString = function() {
|
|
2926
|
+
return "SharedTextErrorPayload(clientSeq=" + toString2(this.clientSeq) + ", closed=" + this.closed + ", code=" + this.code.toString() + ", message=" + this.message + ", requestId=" + this.requestId + ", textId=" + toString2(this.textId) + ")";
|
|
2927
|
+
};
|
|
2928
|
+
protoOf13($).hashCode = function() {
|
|
2929
|
+
var result = this.clientSeq == null ? 0 : getBigIntHashCode10(this.clientSeq);
|
|
2930
|
+
result = imul11(result, 31) + (this.closed == null ? 0 : getBooleanHashCode5(this.closed)) | 0;
|
|
2931
|
+
result = imul11(result, 31) + this.code.hashCode() | 0;
|
|
2932
|
+
result = imul11(result, 31) + getStringHashCode8(this.message) | 0;
|
|
2933
|
+
result = imul11(result, 31) + (this.requestId == null ? 0 : getStringHashCode8(this.requestId)) | 0;
|
|
2934
|
+
result = imul11(result, 31) + (this.textId == null ? 0 : getBigIntHashCode10(this.textId)) | 0;
|
|
2935
|
+
return result;
|
|
2936
|
+
};
|
|
2937
|
+
protoOf13($).equals = function(other) {
|
|
2938
|
+
if (this === other)
|
|
2939
|
+
return true;
|
|
2940
|
+
if (!(other instanceof SharedTextErrorPayload()))
|
|
2941
|
+
return false;
|
|
2942
|
+
if (!(this.clientSeq == other.clientSeq))
|
|
2943
|
+
return false;
|
|
2944
|
+
if (!(this.closed == other.closed))
|
|
2945
|
+
return false;
|
|
2946
|
+
if (!this.code.equals(other.code))
|
|
2947
|
+
return false;
|
|
2948
|
+
if (!(this.message === other.message))
|
|
2949
|
+
return false;
|
|
2950
|
+
if (!(this.requestId == other.requestId))
|
|
2951
|
+
return false;
|
|
2952
|
+
if (!(this.textId == other.textId))
|
|
2953
|
+
return false;
|
|
2954
|
+
return true;
|
|
2955
|
+
};
|
|
2956
|
+
Object.defineProperty($, "name", { value: "SharedTextErrorPayload", configurable: true });
|
|
2957
|
+
__soliboRegisterLookup13("SharedTextErrorPayload", () => $);
|
|
2958
|
+
SharedTextErrorPayloadClass = $;
|
|
2959
|
+
}
|
|
2960
|
+
return SharedTextErrorPayloadClass;
|
|
2961
|
+
}
|
|
2962
|
+
__soliboRegisterLookup13("SharedTextErrorCode", () => __soliboType_SharedTextErrorCode());
|
|
2963
|
+
|
|
2964
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpenedPayload.mjs
|
|
2965
|
+
import { Companion_getInstance1i5f11qwbeaxg as Companion_getInstance14 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOwnerType.mjs";
|
|
2966
|
+
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance4 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
2967
|
+
import { lazy1261dae0bgscp as lazy4 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
2968
|
+
import {
|
|
2969
|
+
protoOf180f3jzyo7rfj as protoOf14,
|
|
2970
|
+
objectCreate1ve4bgxiu4x98 as objectCreate14,
|
|
2971
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode11,
|
|
2972
|
+
getStringHashCode26igk1bx568vk as getStringHashCode9,
|
|
2973
|
+
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode6
|
|
2974
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
2975
|
+
import {
|
|
2976
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion14,
|
|
2977
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject14,
|
|
2978
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass14
|
|
2979
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
2980
|
+
import { VOID3gxj6tk5isa35 as VOID14 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
2981
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor14 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
2982
|
+
import {
|
|
2983
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance9,
|
|
2984
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance11,
|
|
2985
|
+
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance6
|
|
2986
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
2987
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance14 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
2988
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE14 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
2989
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$14 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
2990
|
+
import { get_nullable197rfua9r7fsz as get_nullable4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
2991
|
+
import {
|
|
2992
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers14,
|
|
2993
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer14
|
|
2994
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
2995
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException14 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
2996
|
+
import { SerializableWithd2dap36updxd as SerializableWith14 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
2997
|
+
import { __soliboBoundaryState as __soliboBoundaryState13, __soliboRegisterLookup as __soliboRegisterLookup14, __soliboToJs as __soliboToJs13, __soliboToKt as __soliboToKt13 } from "../solibo-boundary.mjs";
|
|
2998
|
+
import { SharedTextOwnerType2ql1ii3cajpzf as __soliboType_SharedTextOwnerType } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOwnerType.mjs";
|
|
2999
|
+
var imul12 = Math.imul;
|
|
3000
|
+
function SharedTextOpenedPayload$Companion$$childSerializers$_anonymous__efw39z() {
|
|
3001
|
+
return Companion_getInstance14().serializer_9w0wvi_k$();
|
|
3002
|
+
}
|
|
3003
|
+
var CompanionClass14;
|
|
3004
|
+
function Companion14() {
|
|
3005
|
+
if (CompanionClass14 === VOID14) {
|
|
3006
|
+
let $ = function() {
|
|
3007
|
+
Companion_instance14 = this;
|
|
3008
|
+
var tmp = this;
|
|
3009
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance4();
|
|
3010
|
+
tmp.$childSerializers_1 = [null, null, null, null, lazy4(tmp_0, SharedTextOpenedPayload$Companion$$childSerializers$_anonymous__efw39z), null, null, null];
|
|
3011
|
+
};
|
|
3012
|
+
initMetadataForCompanion14($);
|
|
3013
|
+
CompanionClass14 = $;
|
|
3014
|
+
}
|
|
3015
|
+
return CompanionClass14;
|
|
3016
|
+
}
|
|
3017
|
+
var Companion_instance14;
|
|
3018
|
+
function Companion_getInstance_13() {
|
|
3019
|
+
if (Companion_instance14 == null) {
|
|
3020
|
+
Companion_getInstance4();
|
|
3021
|
+
new (Companion14())();
|
|
3022
|
+
}
|
|
3023
|
+
return Companion_instance14;
|
|
3024
|
+
}
|
|
3025
|
+
var $serializerClass14;
|
|
3026
|
+
function $serializer14() {
|
|
3027
|
+
if ($serializerClass14 === VOID14) {
|
|
3028
|
+
let $ = function() {
|
|
3029
|
+
$serializer_instance14 = this;
|
|
3030
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor14())("solibo.common.infrastructure.websockets.SharedTextOpenedPayload", this, 8);
|
|
3031
|
+
tmp0_serialDesc.addElement_5pzumi_k$("companyId", false);
|
|
3032
|
+
tmp0_serialDesc.addElement_5pzumi_k$("connectionId", false);
|
|
3033
|
+
tmp0_serialDesc.addElement_5pzumi_k$("generation", false);
|
|
3034
|
+
tmp0_serialDesc.addElement_5pzumi_k$("ownerId", false);
|
|
3035
|
+
tmp0_serialDesc.addElement_5pzumi_k$("ownerType", false);
|
|
3036
|
+
tmp0_serialDesc.addElement_5pzumi_k$("requestId", true);
|
|
3037
|
+
tmp0_serialDesc.addElement_5pzumi_k$("seeded", false);
|
|
3038
|
+
tmp0_serialDesc.addElement_5pzumi_k$("textId", false);
|
|
3039
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
3040
|
+
};
|
|
3041
|
+
initMetadataForObject14($, "$serializer", VOID14, VOID14, [GeneratedSerializer14()]);
|
|
3042
|
+
protoOf14($).serialize_4r7qs8_k$ = function(encoder, value) {
|
|
3043
|
+
var tmp0_desc = this.descriptor_1;
|
|
3044
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
3045
|
+
var tmp2_cached = Companion_getInstance_13().$childSerializers_1;
|
|
3046
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.companyId);
|
|
3047
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 1, value.connectionId);
|
|
3048
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.generation);
|
|
3049
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.ownerId);
|
|
3050
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.ownerType);
|
|
3051
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.requestId == null)) {
|
|
3052
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, StringSerializer_getInstance9(), value.requestId);
|
|
3053
|
+
}
|
|
3054
|
+
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 6, value.seeded);
|
|
3055
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 7, value.textId);
|
|
3056
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
3057
|
+
};
|
|
3058
|
+
protoOf14($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
3059
|
+
return this.serialize_4r7qs8_k$(encoder, value instanceof SharedTextOpenedPayload() ? value : THROW_CCE14());
|
|
3060
|
+
};
|
|
3061
|
+
protoOf14($).deserialize_sy6x50_k$ = function(decoder) {
|
|
3062
|
+
var tmp0_desc = this.descriptor_1;
|
|
3063
|
+
var tmp1_flag = true;
|
|
3064
|
+
var tmp2_index = 0;
|
|
3065
|
+
var tmp3_bitMask0 = 0;
|
|
3066
|
+
var tmp4_local0 = 0n;
|
|
3067
|
+
var tmp5_local1 = null;
|
|
3068
|
+
var tmp6_local2 = 0n;
|
|
3069
|
+
var tmp7_local3 = 0n;
|
|
3070
|
+
var tmp8_local4 = null;
|
|
3071
|
+
var tmp9_local5 = null;
|
|
3072
|
+
var tmp10_local6 = false;
|
|
3073
|
+
var tmp11_local7 = 0n;
|
|
3074
|
+
var tmp12_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
3075
|
+
var tmp13_cached = Companion_getInstance_13().$childSerializers_1;
|
|
3076
|
+
if (tmp12_input.decodeSequentially_xlblqy_k$()) {
|
|
3077
|
+
tmp4_local0 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
3078
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3079
|
+
tmp5_local1 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 1);
|
|
3080
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3081
|
+
tmp6_local2 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
3082
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3083
|
+
tmp7_local3 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
3084
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3085
|
+
tmp8_local4 = tmp12_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, tmp13_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
3086
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3087
|
+
tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance9(), tmp9_local5);
|
|
3088
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3089
|
+
tmp10_local6 = tmp12_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 6);
|
|
3090
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3091
|
+
tmp11_local7 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
|
|
3092
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3093
|
+
} else
|
|
3094
|
+
while (tmp1_flag) {
|
|
3095
|
+
tmp2_index = tmp12_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
3096
|
+
switch (tmp2_index) {
|
|
3097
|
+
case -1:
|
|
3098
|
+
tmp1_flag = false;
|
|
3099
|
+
break;
|
|
3100
|
+
case 0:
|
|
3101
|
+
tmp4_local0 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
3102
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3103
|
+
break;
|
|
3104
|
+
case 1:
|
|
3105
|
+
tmp5_local1 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 1);
|
|
3106
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3107
|
+
break;
|
|
3108
|
+
case 2:
|
|
3109
|
+
tmp6_local2 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
3110
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3111
|
+
break;
|
|
3112
|
+
case 3:
|
|
3113
|
+
tmp7_local3 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
3114
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3115
|
+
break;
|
|
3116
|
+
case 4:
|
|
3117
|
+
tmp8_local4 = tmp12_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, tmp13_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
3118
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3119
|
+
break;
|
|
3120
|
+
case 5:
|
|
3121
|
+
tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance9(), tmp9_local5);
|
|
3122
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3123
|
+
break;
|
|
3124
|
+
case 6:
|
|
3125
|
+
tmp10_local6 = tmp12_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 6);
|
|
3126
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3127
|
+
break;
|
|
3128
|
+
case 7:
|
|
3129
|
+
tmp11_local7 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
|
|
3130
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3131
|
+
break;
|
|
3132
|
+
default:
|
|
3133
|
+
throw UnknownFieldException_init_$Create$14(tmp2_index);
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
tmp12_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
3137
|
+
return SharedTextOpenedPayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3138
|
+
};
|
|
3139
|
+
protoOf14($).get_descriptor_wjt6a0_k$ = function() {
|
|
3140
|
+
return this.descriptor_1;
|
|
3141
|
+
};
|
|
3142
|
+
protoOf14($).childSerializers_5ghqw5_k$ = function() {
|
|
3143
|
+
var tmp0_cached = Companion_getInstance_13().$childSerializers_1;
|
|
3144
|
+
return [LongSerializer_getInstance11(), StringSerializer_getInstance9(), LongSerializer_getInstance11(), LongSerializer_getInstance11(), tmp0_cached[4].get_value_j01efc_k$(), get_nullable4(StringSerializer_getInstance9()), BooleanSerializer_getInstance6(), LongSerializer_getInstance11()];
|
|
3145
|
+
};
|
|
3146
|
+
protoOf14($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers14;
|
|
3147
|
+
$serializerClass14 = $;
|
|
3148
|
+
}
|
|
3149
|
+
return $serializerClass14;
|
|
3150
|
+
}
|
|
3151
|
+
var $serializer_instance14;
|
|
3152
|
+
function $serializer_getInstance14() {
|
|
3153
|
+
if ($serializer_instance14 == null)
|
|
3154
|
+
new ($serializer14())();
|
|
3155
|
+
return $serializer_instance14;
|
|
3156
|
+
}
|
|
3157
|
+
function SharedTextOpenedPayload_init_$Init$(seen0, companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId, serializationConstructorMarker, $this) {
|
|
3158
|
+
if (!(223 === (223 & seen0))) {
|
|
3159
|
+
throwMissingFieldException14(seen0, 223, $serializer_getInstance14().descriptor_1);
|
|
3160
|
+
}
|
|
3161
|
+
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
3162
|
+
$this.companyId = companyId;
|
|
3163
|
+
$this.connectionId = connectionId;
|
|
3164
|
+
$this.generation = generation;
|
|
3165
|
+
$this.ownerId = ownerId;
|
|
3166
|
+
$this.ownerType = ownerType;
|
|
3167
|
+
if (0 === (seen0 & 32))
|
|
3168
|
+
$this.requestId = null;
|
|
3169
|
+
else
|
|
3170
|
+
$this.requestId = requestId;
|
|
3171
|
+
$this.seeded = seeded;
|
|
3172
|
+
$this.textId = textId;
|
|
3173
|
+
return $this;
|
|
3174
|
+
}
|
|
3175
|
+
function SharedTextOpenedPayload_init_$Create$(seen0, companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId, serializationConstructorMarker) {
|
|
3176
|
+
return SharedTextOpenedPayload_init_$Init$(seen0, companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId, serializationConstructorMarker, objectCreate14(protoOf14(SharedTextOpenedPayload())));
|
|
3177
|
+
}
|
|
3178
|
+
var SharedTextOpenedPayloadClass;
|
|
3179
|
+
function SharedTextOpenedPayload() {
|
|
3180
|
+
if (SharedTextOpenedPayloadClass === VOID14) {
|
|
3181
|
+
let $ = function(companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId) {
|
|
3182
|
+
var __soliboProps = arguments.length === 1 && typeof companyId === "object" && companyId !== null && companyId.constructor === Object;
|
|
3183
|
+
var __soliboTmp, __soliboConverted = false;
|
|
3184
|
+
if (__soliboProps) {
|
|
3185
|
+
const props = companyId;
|
|
3186
|
+
companyId = "companyId" in props ? props.companyId : VOID14;
|
|
3187
|
+
connectionId = "connectionId" in props ? props.connectionId : VOID14;
|
|
3188
|
+
generation = "generation" in props ? props.generation : VOID14;
|
|
3189
|
+
ownerId = "ownerId" in props ? props.ownerId : VOID14;
|
|
3190
|
+
ownerType = "ownerType" in props ? props.ownerType : VOID14;
|
|
3191
|
+
requestId = "requestId" in props ? props.requestId : VOID14;
|
|
3192
|
+
seeded = "seeded" in props ? props.seeded : VOID14;
|
|
3193
|
+
textId = "textId" in props ? props.textId : VOID14;
|
|
3194
|
+
}
|
|
3195
|
+
if ((__soliboTmp = __soliboToKt13(companyId, ["bigint"])) !== companyId) {
|
|
3196
|
+
companyId = __soliboTmp;
|
|
3197
|
+
__soliboConverted = true;
|
|
3198
|
+
}
|
|
3199
|
+
if ((__soliboTmp = __soliboToKt13(generation, ["bigint"])) !== generation) {
|
|
3200
|
+
generation = __soliboTmp;
|
|
3201
|
+
__soliboConverted = true;
|
|
3202
|
+
}
|
|
3203
|
+
if ((__soliboTmp = __soliboToKt13(ownerId, ["bigint"])) !== ownerId) {
|
|
3204
|
+
ownerId = __soliboTmp;
|
|
3205
|
+
__soliboConverted = true;
|
|
3206
|
+
}
|
|
3207
|
+
if ((__soliboTmp = __soliboToKt13(ownerType, ["enum", "SharedTextOwnerType"])) !== ownerType) {
|
|
3208
|
+
ownerType = __soliboTmp;
|
|
3209
|
+
__soliboConverted = true;
|
|
3210
|
+
}
|
|
3211
|
+
if ((__soliboTmp = __soliboToKt13(textId, ["bigint"])) !== textId) {
|
|
3212
|
+
textId = __soliboTmp;
|
|
3213
|
+
__soliboConverted = true;
|
|
3214
|
+
}
|
|
3215
|
+
Companion_getInstance_13();
|
|
3216
|
+
requestId = requestId === VOID14 ? null : requestId;
|
|
3217
|
+
WebSocketPayload().call(this);
|
|
3218
|
+
this.companyId = companyId;
|
|
3219
|
+
this.connectionId = connectionId;
|
|
3220
|
+
this.generation = generation;
|
|
3221
|
+
this.ownerId = ownerId;
|
|
3222
|
+
this.ownerType = ownerType;
|
|
3223
|
+
this.requestId = requestId;
|
|
3224
|
+
this.seeded = seeded;
|
|
3225
|
+
this.textId = textId;
|
|
3226
|
+
if (__soliboConverted && !__soliboBoundaryState13.internalConstruction) return __soliboToJs13(this);
|
|
3227
|
+
};
|
|
3228
|
+
initMetadataForClass14($, "SharedTextOpenedPayload", VOID14, WebSocketPayload(), VOID14, VOID14, VOID14, { 0: $serializer_getInstance14 });
|
|
3229
|
+
protoOf14($).get_companyId_eumsdt_k$ = function() {
|
|
3230
|
+
return this.companyId;
|
|
3231
|
+
};
|
|
3232
|
+
protoOf14($).get_connectionId_yokwf2_k$ = function() {
|
|
3233
|
+
return this.connectionId;
|
|
3234
|
+
};
|
|
3235
|
+
protoOf14($).get_generation_f48sin_k$ = function() {
|
|
3236
|
+
return this.generation;
|
|
3237
|
+
};
|
|
3238
|
+
protoOf14($).get_ownerId_g6eke3_k$ = function() {
|
|
3239
|
+
return this.ownerId;
|
|
3240
|
+
};
|
|
3241
|
+
protoOf14($).get_ownerType_8t17tw_k$ = function() {
|
|
3242
|
+
return this.ownerType;
|
|
3243
|
+
};
|
|
3244
|
+
protoOf14($).get_requestId_jzo7dt_k$ = function() {
|
|
3245
|
+
return this.requestId;
|
|
3246
|
+
};
|
|
3247
|
+
protoOf14($).get_seeded_jf8h5l_k$ = function() {
|
|
3248
|
+
return this.seeded;
|
|
3249
|
+
};
|
|
3250
|
+
protoOf14($).get_textId_jwmjht_k$ = function() {
|
|
3251
|
+
return this.textId;
|
|
3252
|
+
};
|
|
3253
|
+
protoOf14($).component1_7eebsc_k$ = function() {
|
|
3254
|
+
return this.companyId;
|
|
3255
|
+
};
|
|
3256
|
+
protoOf14($).component2_7eebsb_k$ = function() {
|
|
3257
|
+
return this.connectionId;
|
|
3258
|
+
};
|
|
3259
|
+
protoOf14($).component3_7eebsa_k$ = function() {
|
|
3260
|
+
return this.generation;
|
|
3261
|
+
};
|
|
3262
|
+
protoOf14($).component4_7eebs9_k$ = function() {
|
|
3263
|
+
return this.ownerId;
|
|
3264
|
+
};
|
|
3265
|
+
protoOf14($).component5_7eebs8_k$ = function() {
|
|
3266
|
+
return this.ownerType;
|
|
3267
|
+
};
|
|
3268
|
+
protoOf14($).component6_7eebs7_k$ = function() {
|
|
3269
|
+
return this.requestId;
|
|
3270
|
+
};
|
|
3271
|
+
protoOf14($).component7_7eebs6_k$ = function() {
|
|
3272
|
+
return this.seeded;
|
|
3273
|
+
};
|
|
3274
|
+
protoOf14($).component8_7eebs5_k$ = function() {
|
|
3275
|
+
return this.textId;
|
|
3276
|
+
};
|
|
3277
|
+
protoOf14($).copy_rg6gek_k$ = function(companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId) {
|
|
3278
|
+
return new (SharedTextOpenedPayload())(companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId);
|
|
3279
|
+
};
|
|
3280
|
+
protoOf14($).copy = function(companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId, $super) {
|
|
3281
|
+
companyId = companyId === VOID14 ? this.companyId : companyId;
|
|
3282
|
+
connectionId = connectionId === VOID14 ? this.connectionId : connectionId;
|
|
3283
|
+
generation = generation === VOID14 ? this.generation : generation;
|
|
3284
|
+
ownerId = ownerId === VOID14 ? this.ownerId : ownerId;
|
|
3285
|
+
ownerType = ownerType === VOID14 ? this.ownerType : ownerType;
|
|
3286
|
+
requestId = requestId === VOID14 ? this.requestId : requestId;
|
|
3287
|
+
seeded = seeded === VOID14 ? this.seeded : seeded;
|
|
3288
|
+
textId = textId === VOID14 ? this.textId : textId;
|
|
3289
|
+
return $super === VOID14 ? this.copy_rg6gek_k$(companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId) : $super.copy_rg6gek_k$.call(this, companyId, connectionId, generation, ownerId, ownerType, requestId, seeded, textId);
|
|
3290
|
+
};
|
|
3291
|
+
protoOf14($).toString = function() {
|
|
3292
|
+
return "SharedTextOpenedPayload(companyId=" + this.companyId.toString() + ", connectionId=" + this.connectionId + ", generation=" + this.generation.toString() + ", ownerId=" + this.ownerId.toString() + ", ownerType=" + this.ownerType.toString() + ", requestId=" + this.requestId + ", seeded=" + this.seeded + ", textId=" + this.textId.toString() + ")";
|
|
3293
|
+
};
|
|
3294
|
+
protoOf14($).hashCode = function() {
|
|
3295
|
+
var result = getBigIntHashCode11(this.companyId);
|
|
3296
|
+
result = imul12(result, 31) + getStringHashCode9(this.connectionId) | 0;
|
|
3297
|
+
result = imul12(result, 31) + getBigIntHashCode11(this.generation) | 0;
|
|
3298
|
+
result = imul12(result, 31) + getBigIntHashCode11(this.ownerId) | 0;
|
|
3299
|
+
result = imul12(result, 31) + this.ownerType.hashCode() | 0;
|
|
3300
|
+
result = imul12(result, 31) + (this.requestId == null ? 0 : getStringHashCode9(this.requestId)) | 0;
|
|
3301
|
+
result = imul12(result, 31) + getBooleanHashCode6(this.seeded) | 0;
|
|
3302
|
+
result = imul12(result, 31) + getBigIntHashCode11(this.textId) | 0;
|
|
3303
|
+
return result;
|
|
3304
|
+
};
|
|
3305
|
+
protoOf14($).equals = function(other) {
|
|
3306
|
+
if (this === other)
|
|
3307
|
+
return true;
|
|
3308
|
+
if (!(other instanceof SharedTextOpenedPayload()))
|
|
3309
|
+
return false;
|
|
3310
|
+
if (!(this.companyId === other.companyId))
|
|
3311
|
+
return false;
|
|
3312
|
+
if (!(this.connectionId === other.connectionId))
|
|
3313
|
+
return false;
|
|
3314
|
+
if (!(this.generation === other.generation))
|
|
3315
|
+
return false;
|
|
3316
|
+
if (!(this.ownerId === other.ownerId))
|
|
3317
|
+
return false;
|
|
3318
|
+
if (!this.ownerType.equals(other.ownerType))
|
|
3319
|
+
return false;
|
|
3320
|
+
if (!(this.requestId == other.requestId))
|
|
3321
|
+
return false;
|
|
3322
|
+
if (!(this.seeded === other.seeded))
|
|
3323
|
+
return false;
|
|
3324
|
+
if (!(this.textId === other.textId))
|
|
3325
|
+
return false;
|
|
3326
|
+
return true;
|
|
3327
|
+
};
|
|
3328
|
+
Object.defineProperty($, "name", { value: "SharedTextOpenedPayload", configurable: true });
|
|
3329
|
+
__soliboRegisterLookup14("SharedTextOpenedPayload", () => $);
|
|
3330
|
+
SharedTextOpenedPayloadClass = $;
|
|
3331
|
+
}
|
|
3332
|
+
return SharedTextOpenedPayloadClass;
|
|
3333
|
+
}
|
|
3334
|
+
__soliboRegisterLookup14("SharedTextOwnerType", () => __soliboType_SharedTextOwnerType());
|
|
3335
|
+
|
|
3336
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresencePayload.mjs
|
|
3337
|
+
import {
|
|
3338
|
+
protoOf180f3jzyo7rfj as protoOf15,
|
|
3339
|
+
objectCreate1ve4bgxiu4x98 as objectCreate15,
|
|
3340
|
+
getStringHashCode26igk1bx568vk as getStringHashCode10,
|
|
3341
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode12
|
|
3342
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
3343
|
+
import {
|
|
3344
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion15,
|
|
3345
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject15,
|
|
3346
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass15
|
|
3347
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
3348
|
+
import { VOID3gxj6tk5isa35 as VOID15 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
3349
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor15 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
3350
|
+
import {
|
|
3351
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance10,
|
|
3352
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance12
|
|
3353
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
3354
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance15 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
3355
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE15 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
3356
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$15 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
3357
|
+
import { get_nullable197rfua9r7fsz as get_nullable5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
3358
|
+
import {
|
|
3359
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers15,
|
|
3360
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer15
|
|
3361
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
3362
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException15 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
3363
|
+
import { SerializableWithd2dap36updxd as SerializableWith15 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
3364
|
+
import { __soliboBoundaryState as __soliboBoundaryState14, __soliboRegisterLookup as __soliboRegisterLookup15, __soliboToJs as __soliboToJs14, __soliboToKt as __soliboToKt14 } from "../solibo-boundary.mjs";
|
|
3365
|
+
var imul13 = Math.imul;
|
|
3366
|
+
var CompanionClass15;
|
|
3367
|
+
function Companion15() {
|
|
3368
|
+
if (CompanionClass15 === VOID15) {
|
|
3369
|
+
let $ = function() {
|
|
3370
|
+
};
|
|
3371
|
+
initMetadataForCompanion15($);
|
|
3372
|
+
CompanionClass15 = $;
|
|
3373
|
+
}
|
|
3374
|
+
return CompanionClass15;
|
|
3375
|
+
}
|
|
3376
|
+
var Companion_instance15;
|
|
3377
|
+
function Companion_getInstance15() {
|
|
3378
|
+
return Companion_instance15;
|
|
3379
|
+
}
|
|
3380
|
+
var $serializerClass15;
|
|
3381
|
+
function $serializer15() {
|
|
3382
|
+
if ($serializerClass15 === VOID15) {
|
|
3383
|
+
let $ = function() {
|
|
3384
|
+
$serializer_instance15 = this;
|
|
3385
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor15())("solibo.common.infrastructure.websockets.SharedTextPresencePayload", this, 4);
|
|
3386
|
+
tmp0_serialDesc.addElement_5pzumi_k$("connectionId", false);
|
|
3387
|
+
tmp0_serialDesc.addElement_5pzumi_k$("personId", false);
|
|
3388
|
+
tmp0_serialDesc.addElement_5pzumi_k$("state", true);
|
|
3389
|
+
tmp0_serialDesc.addElement_5pzumi_k$("textId", false);
|
|
3390
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
3391
|
+
};
|
|
3392
|
+
initMetadataForObject15($, "$serializer", VOID15, VOID15, [GeneratedSerializer15()]);
|
|
3393
|
+
protoOf15($).serialize_5ksmrq_k$ = function(encoder, value) {
|
|
3394
|
+
var tmp0_desc = this.descriptor_1;
|
|
3395
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
3396
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 0, value.connectionId);
|
|
3397
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.personId);
|
|
3398
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.state == null)) {
|
|
3399
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance10(), value.state);
|
|
3400
|
+
}
|
|
3401
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.textId);
|
|
3402
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
3403
|
+
};
|
|
3404
|
+
protoOf15($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
3405
|
+
return this.serialize_5ksmrq_k$(encoder, value instanceof SharedTextPresencePayload() ? value : THROW_CCE15());
|
|
3406
|
+
};
|
|
3407
|
+
protoOf15($).deserialize_sy6x50_k$ = function(decoder) {
|
|
3408
|
+
var tmp0_desc = this.descriptor_1;
|
|
3409
|
+
var tmp1_flag = true;
|
|
3410
|
+
var tmp2_index = 0;
|
|
3411
|
+
var tmp3_bitMask0 = 0;
|
|
3412
|
+
var tmp4_local0 = null;
|
|
3413
|
+
var tmp5_local1 = 0n;
|
|
3414
|
+
var tmp6_local2 = null;
|
|
3415
|
+
var tmp7_local3 = 0n;
|
|
3416
|
+
var tmp8_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
3417
|
+
if (tmp8_input.decodeSequentially_xlblqy_k$()) {
|
|
3418
|
+
tmp4_local0 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
|
|
3419
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3420
|
+
tmp5_local1 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
3421
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3422
|
+
tmp6_local2 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance10(), tmp6_local2);
|
|
3423
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3424
|
+
tmp7_local3 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
3425
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3426
|
+
} else
|
|
3427
|
+
while (tmp1_flag) {
|
|
3428
|
+
tmp2_index = tmp8_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
3429
|
+
switch (tmp2_index) {
|
|
3430
|
+
case -1:
|
|
3431
|
+
tmp1_flag = false;
|
|
3432
|
+
break;
|
|
3433
|
+
case 0:
|
|
3434
|
+
tmp4_local0 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
|
|
3435
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3436
|
+
break;
|
|
3437
|
+
case 1:
|
|
3438
|
+
tmp5_local1 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
3439
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3440
|
+
break;
|
|
3441
|
+
case 2:
|
|
3442
|
+
tmp6_local2 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance10(), tmp6_local2);
|
|
3443
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3444
|
+
break;
|
|
3445
|
+
case 3:
|
|
3446
|
+
tmp7_local3 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
3447
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3448
|
+
break;
|
|
3449
|
+
default:
|
|
3450
|
+
throw UnknownFieldException_init_$Create$15(tmp2_index);
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3453
|
+
tmp8_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
3454
|
+
return SharedTextPresencePayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3455
|
+
};
|
|
3456
|
+
protoOf15($).get_descriptor_wjt6a0_k$ = function() {
|
|
3457
|
+
return this.descriptor_1;
|
|
3458
|
+
};
|
|
3459
|
+
protoOf15($).childSerializers_5ghqw5_k$ = function() {
|
|
3460
|
+
return [StringSerializer_getInstance10(), LongSerializer_getInstance12(), get_nullable5(StringSerializer_getInstance10()), LongSerializer_getInstance12()];
|
|
3461
|
+
};
|
|
3462
|
+
protoOf15($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers15;
|
|
3463
|
+
$serializerClass15 = $;
|
|
3464
|
+
}
|
|
3465
|
+
return $serializerClass15;
|
|
3466
|
+
}
|
|
3467
|
+
var $serializer_instance15;
|
|
3468
|
+
function $serializer_getInstance15() {
|
|
3469
|
+
if ($serializer_instance15 == null)
|
|
3470
|
+
new ($serializer15())();
|
|
3471
|
+
return $serializer_instance15;
|
|
3472
|
+
}
|
|
3473
|
+
function SharedTextPresencePayload_init_$Init$(seen0, connectionId, personId, state, textId, serializationConstructorMarker, $this) {
|
|
3474
|
+
if (!(11 === (11 & seen0))) {
|
|
3475
|
+
throwMissingFieldException15(seen0, 11, $serializer_getInstance15().descriptor_1);
|
|
3476
|
+
}
|
|
3477
|
+
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
3478
|
+
$this.connectionId = connectionId;
|
|
3479
|
+
$this.personId = personId;
|
|
3480
|
+
if (0 === (seen0 & 4))
|
|
3481
|
+
$this.state = null;
|
|
3482
|
+
else
|
|
3483
|
+
$this.state = state;
|
|
3484
|
+
$this.textId = textId;
|
|
3485
|
+
return $this;
|
|
3486
|
+
}
|
|
3487
|
+
function SharedTextPresencePayload_init_$Create$(seen0, connectionId, personId, state, textId, serializationConstructorMarker) {
|
|
3488
|
+
return SharedTextPresencePayload_init_$Init$(seen0, connectionId, personId, state, textId, serializationConstructorMarker, objectCreate15(protoOf15(SharedTextPresencePayload())));
|
|
3489
|
+
}
|
|
3490
|
+
var SharedTextPresencePayloadClass;
|
|
3491
|
+
function SharedTextPresencePayload() {
|
|
3492
|
+
if (SharedTextPresencePayloadClass === VOID15) {
|
|
3493
|
+
let $ = function(connectionId, personId, state, textId) {
|
|
3494
|
+
var __soliboProps = arguments.length === 1 && typeof connectionId === "object" && connectionId !== null && connectionId.constructor === Object;
|
|
3495
|
+
var __soliboTmp, __soliboConverted = false;
|
|
3496
|
+
if (__soliboProps) {
|
|
3497
|
+
const props = connectionId;
|
|
3498
|
+
connectionId = "connectionId" in props ? props.connectionId : VOID15;
|
|
3499
|
+
personId = "personId" in props ? props.personId : VOID15;
|
|
3500
|
+
state = "state" in props ? props.state : VOID15;
|
|
3501
|
+
textId = "textId" in props ? props.textId : VOID15;
|
|
3502
|
+
}
|
|
3503
|
+
if ((__soliboTmp = __soliboToKt14(personId, ["bigint"])) !== personId) {
|
|
3504
|
+
personId = __soliboTmp;
|
|
3505
|
+
__soliboConverted = true;
|
|
3506
|
+
}
|
|
3507
|
+
if ((__soliboTmp = __soliboToKt14(textId, ["bigint"])) !== textId) {
|
|
3508
|
+
textId = __soliboTmp;
|
|
3509
|
+
__soliboConverted = true;
|
|
3510
|
+
}
|
|
3511
|
+
state = state === VOID15 ? null : state;
|
|
3512
|
+
WebSocketPayload().call(this);
|
|
3513
|
+
this.connectionId = connectionId;
|
|
3514
|
+
this.personId = personId;
|
|
3515
|
+
this.state = state;
|
|
3516
|
+
this.textId = textId;
|
|
3517
|
+
if (__soliboConverted && !__soliboBoundaryState14.internalConstruction) return __soliboToJs14(this);
|
|
3518
|
+
};
|
|
3519
|
+
initMetadataForClass15($, "SharedTextPresencePayload", VOID15, WebSocketPayload(), VOID15, VOID15, VOID15, { 0: $serializer_getInstance15 });
|
|
3520
|
+
protoOf15($).get_connectionId_yokwf2_k$ = function() {
|
|
3521
|
+
return this.connectionId;
|
|
3522
|
+
};
|
|
3523
|
+
protoOf15($).get_personId_oh37jb_k$ = function() {
|
|
3524
|
+
return this.personId;
|
|
3525
|
+
};
|
|
3526
|
+
protoOf15($).get_state_iypx7s_k$ = function() {
|
|
3527
|
+
return this.state;
|
|
3528
|
+
};
|
|
3529
|
+
protoOf15($).get_textId_jwmjht_k$ = function() {
|
|
3530
|
+
return this.textId;
|
|
3531
|
+
};
|
|
3532
|
+
protoOf15($).component1_7eebsc_k$ = function() {
|
|
3533
|
+
return this.connectionId;
|
|
3534
|
+
};
|
|
3535
|
+
protoOf15($).component2_7eebsb_k$ = function() {
|
|
3536
|
+
return this.personId;
|
|
3537
|
+
};
|
|
3538
|
+
protoOf15($).component3_7eebsa_k$ = function() {
|
|
3539
|
+
return this.state;
|
|
3540
|
+
};
|
|
3541
|
+
protoOf15($).component4_7eebs9_k$ = function() {
|
|
3542
|
+
return this.textId;
|
|
3543
|
+
};
|
|
3544
|
+
protoOf15($).copy_7mbsdw_k$ = function(connectionId, personId, state, textId) {
|
|
3545
|
+
return new (SharedTextPresencePayload())(connectionId, personId, state, textId);
|
|
3546
|
+
};
|
|
3547
|
+
protoOf15($).copy = function(connectionId, personId, state, textId, $super) {
|
|
3548
|
+
connectionId = connectionId === VOID15 ? this.connectionId : connectionId;
|
|
3549
|
+
personId = personId === VOID15 ? this.personId : personId;
|
|
3550
|
+
state = state === VOID15 ? this.state : state;
|
|
3551
|
+
textId = textId === VOID15 ? this.textId : textId;
|
|
3552
|
+
return $super === VOID15 ? this.copy_7mbsdw_k$(connectionId, personId, state, textId) : $super.copy_7mbsdw_k$.call(this, connectionId, personId, state, textId);
|
|
3553
|
+
};
|
|
3554
|
+
protoOf15($).toString = function() {
|
|
3555
|
+
return "SharedTextPresencePayload(connectionId=" + this.connectionId + ", personId=" + this.personId.toString() + ", state=" + this.state + ", textId=" + this.textId.toString() + ")";
|
|
3556
|
+
};
|
|
3557
|
+
protoOf15($).hashCode = function() {
|
|
3558
|
+
var result = getStringHashCode10(this.connectionId);
|
|
3559
|
+
result = imul13(result, 31) + getBigIntHashCode12(this.personId) | 0;
|
|
3560
|
+
result = imul13(result, 31) + (this.state == null ? 0 : getStringHashCode10(this.state)) | 0;
|
|
3561
|
+
result = imul13(result, 31) + getBigIntHashCode12(this.textId) | 0;
|
|
3562
|
+
return result;
|
|
3563
|
+
};
|
|
3564
|
+
protoOf15($).equals = function(other) {
|
|
3565
|
+
if (this === other)
|
|
3566
|
+
return true;
|
|
3567
|
+
if (!(other instanceof SharedTextPresencePayload()))
|
|
3568
|
+
return false;
|
|
3569
|
+
if (!(this.connectionId === other.connectionId))
|
|
3570
|
+
return false;
|
|
3571
|
+
if (!(this.personId === other.personId))
|
|
3572
|
+
return false;
|
|
3573
|
+
if (!(this.state == other.state))
|
|
3574
|
+
return false;
|
|
3575
|
+
if (!(this.textId === other.textId))
|
|
3576
|
+
return false;
|
|
3577
|
+
return true;
|
|
3578
|
+
};
|
|
3579
|
+
Object.defineProperty($, "name", { value: "SharedTextPresencePayload", configurable: true });
|
|
3580
|
+
__soliboRegisterLookup15("SharedTextPresencePayload", () => $);
|
|
3581
|
+
SharedTextPresencePayloadClass = $;
|
|
3582
|
+
}
|
|
3583
|
+
return SharedTextPresencePayloadClass;
|
|
3584
|
+
}
|
|
3585
|
+
Companion_instance15 = new (Companion15())();
|
|
3586
|
+
|
|
3587
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextSyncedPayload.mjs
|
|
3588
|
+
import {
|
|
3589
|
+
protoOf180f3jzyo7rfj as protoOf16,
|
|
3590
|
+
objectCreate1ve4bgxiu4x98 as objectCreate16,
|
|
3591
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode13
|
|
3592
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
3593
|
+
import {
|
|
3594
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion16,
|
|
3595
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject16,
|
|
3596
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass16
|
|
3597
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
3598
|
+
import { VOID3gxj6tk5isa35 as VOID16 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
3599
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor16 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
3600
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE16 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
3601
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$16 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
3602
|
+
import { LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance13 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
3603
|
+
import {
|
|
3604
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers16,
|
|
3605
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer16
|
|
3606
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
3607
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException16 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
3608
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance16 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
3609
|
+
import { SerializableWithd2dap36updxd as SerializableWith16 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
3610
|
+
import { __soliboBoundaryState as __soliboBoundaryState15, __soliboRegisterLookup as __soliboRegisterLookup16, __soliboToJs as __soliboToJs15, __soliboToKt as __soliboToKt15 } from "../solibo-boundary.mjs";
|
|
3611
|
+
var imul14 = Math.imul;
|
|
3612
|
+
var CompanionClass16;
|
|
3613
|
+
function Companion16() {
|
|
3614
|
+
if (CompanionClass16 === VOID16) {
|
|
3615
|
+
let $ = function() {
|
|
3616
|
+
};
|
|
3617
|
+
initMetadataForCompanion16($);
|
|
3618
|
+
CompanionClass16 = $;
|
|
3619
|
+
}
|
|
3620
|
+
return CompanionClass16;
|
|
3621
|
+
}
|
|
3622
|
+
var Companion_instance16;
|
|
3623
|
+
function Companion_getInstance16() {
|
|
3624
|
+
return Companion_instance16;
|
|
3625
|
+
}
|
|
3626
|
+
var $serializerClass16;
|
|
3627
|
+
function $serializer16() {
|
|
3628
|
+
if ($serializerClass16 === VOID16) {
|
|
3629
|
+
let $ = function() {
|
|
3630
|
+
$serializer_instance16 = this;
|
|
3631
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor16())("solibo.common.infrastructure.websockets.SharedTextSyncedPayload", this, 3);
|
|
3632
|
+
tmp0_serialDesc.addElement_5pzumi_k$("generation", false);
|
|
3633
|
+
tmp0_serialDesc.addElement_5pzumi_k$("seq", false);
|
|
3634
|
+
tmp0_serialDesc.addElement_5pzumi_k$("textId", false);
|
|
3635
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
3636
|
+
};
|
|
3637
|
+
initMetadataForObject16($, "$serializer", VOID16, VOID16, [GeneratedSerializer16()]);
|
|
3638
|
+
protoOf16($).serialize_hi6o2v_k$ = function(encoder, value) {
|
|
3639
|
+
var tmp0_desc = this.descriptor_1;
|
|
3640
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
3641
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.generation);
|
|
3642
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.seq);
|
|
3643
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.textId);
|
|
3644
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
3645
|
+
};
|
|
3646
|
+
protoOf16($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
3647
|
+
return this.serialize_hi6o2v_k$(encoder, value instanceof SharedTextSyncedPayload() ? value : THROW_CCE16());
|
|
3648
|
+
};
|
|
3649
|
+
protoOf16($).deserialize_sy6x50_k$ = function(decoder) {
|
|
3650
|
+
var tmp0_desc = this.descriptor_1;
|
|
3651
|
+
var tmp1_flag = true;
|
|
3652
|
+
var tmp2_index = 0;
|
|
3653
|
+
var tmp3_bitMask0 = 0;
|
|
3654
|
+
var tmp4_local0 = 0n;
|
|
3655
|
+
var tmp5_local1 = 0n;
|
|
3656
|
+
var tmp6_local2 = 0n;
|
|
3657
|
+
var tmp7_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
3658
|
+
if (tmp7_input.decodeSequentially_xlblqy_k$()) {
|
|
3659
|
+
tmp4_local0 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
3660
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3661
|
+
tmp5_local1 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
3662
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3663
|
+
tmp6_local2 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
3664
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3665
|
+
} else
|
|
3666
|
+
while (tmp1_flag) {
|
|
3667
|
+
tmp2_index = tmp7_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
3668
|
+
switch (tmp2_index) {
|
|
3669
|
+
case -1:
|
|
3670
|
+
tmp1_flag = false;
|
|
3671
|
+
break;
|
|
3672
|
+
case 0:
|
|
3673
|
+
tmp4_local0 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
3674
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3675
|
+
break;
|
|
3676
|
+
case 1:
|
|
3677
|
+
tmp5_local1 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
3678
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3679
|
+
break;
|
|
3680
|
+
case 2:
|
|
3681
|
+
tmp6_local2 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
3682
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3683
|
+
break;
|
|
3684
|
+
default:
|
|
3685
|
+
throw UnknownFieldException_init_$Create$16(tmp2_index);
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
tmp7_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
3689
|
+
return SharedTextSyncedPayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3690
|
+
};
|
|
3691
|
+
protoOf16($).get_descriptor_wjt6a0_k$ = function() {
|
|
3692
|
+
return this.descriptor_1;
|
|
3693
|
+
};
|
|
3694
|
+
protoOf16($).childSerializers_5ghqw5_k$ = function() {
|
|
3695
|
+
return [LongSerializer_getInstance13(), LongSerializer_getInstance13(), LongSerializer_getInstance13()];
|
|
3696
|
+
};
|
|
3697
|
+
protoOf16($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers16;
|
|
3698
|
+
$serializerClass16 = $;
|
|
3699
|
+
}
|
|
3700
|
+
return $serializerClass16;
|
|
3701
|
+
}
|
|
3702
|
+
var $serializer_instance16;
|
|
3703
|
+
function $serializer_getInstance16() {
|
|
3704
|
+
if ($serializer_instance16 == null)
|
|
3705
|
+
new ($serializer16())();
|
|
3706
|
+
return $serializer_instance16;
|
|
3707
|
+
}
|
|
3708
|
+
function SharedTextSyncedPayload_init_$Init$(seen0, generation, seq, textId, serializationConstructorMarker, $this) {
|
|
3709
|
+
if (!(7 === (7 & seen0))) {
|
|
3710
|
+
throwMissingFieldException16(seen0, 7, $serializer_getInstance16().descriptor_1);
|
|
3711
|
+
}
|
|
3712
|
+
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
3713
|
+
$this.generation = generation;
|
|
3714
|
+
$this.seq = seq;
|
|
3715
|
+
$this.textId = textId;
|
|
3716
|
+
return $this;
|
|
3717
|
+
}
|
|
3718
|
+
function SharedTextSyncedPayload_init_$Create$(seen0, generation, seq, textId, serializationConstructorMarker) {
|
|
3719
|
+
return SharedTextSyncedPayload_init_$Init$(seen0, generation, seq, textId, serializationConstructorMarker, objectCreate16(protoOf16(SharedTextSyncedPayload())));
|
|
3720
|
+
}
|
|
3721
|
+
var SharedTextSyncedPayloadClass;
|
|
3722
|
+
function SharedTextSyncedPayload() {
|
|
3723
|
+
if (SharedTextSyncedPayloadClass === VOID16) {
|
|
3724
|
+
let $ = function(generation, seq, textId) {
|
|
3725
|
+
var __soliboProps = arguments.length === 1 && typeof generation === "object" && generation !== null && generation.constructor === Object;
|
|
3726
|
+
var __soliboTmp, __soliboConverted = false;
|
|
3727
|
+
if (__soliboProps) {
|
|
3728
|
+
const props = generation;
|
|
3729
|
+
generation = "generation" in props ? props.generation : VOID16;
|
|
3730
|
+
seq = "seq" in props ? props.seq : VOID16;
|
|
3731
|
+
textId = "textId" in props ? props.textId : VOID16;
|
|
3732
|
+
}
|
|
3733
|
+
if ((__soliboTmp = __soliboToKt15(generation, ["bigint"])) !== generation) {
|
|
3734
|
+
generation = __soliboTmp;
|
|
3735
|
+
__soliboConverted = true;
|
|
3736
|
+
}
|
|
3737
|
+
if ((__soliboTmp = __soliboToKt15(seq, ["bigint"])) !== seq) {
|
|
3738
|
+
seq = __soliboTmp;
|
|
3739
|
+
__soliboConverted = true;
|
|
3740
|
+
}
|
|
3741
|
+
if ((__soliboTmp = __soliboToKt15(textId, ["bigint"])) !== textId) {
|
|
3742
|
+
textId = __soliboTmp;
|
|
3743
|
+
__soliboConverted = true;
|
|
3744
|
+
}
|
|
3745
|
+
WebSocketPayload().call(this);
|
|
3746
|
+
this.generation = generation;
|
|
3747
|
+
this.seq = seq;
|
|
3748
|
+
this.textId = textId;
|
|
3749
|
+
if (__soliboConverted && !__soliboBoundaryState15.internalConstruction) return __soliboToJs15(this);
|
|
3750
|
+
};
|
|
3751
|
+
initMetadataForClass16($, "SharedTextSyncedPayload", VOID16, WebSocketPayload(), VOID16, VOID16, VOID16, { 0: $serializer_getInstance16 });
|
|
3752
|
+
protoOf16($).get_generation_f48sin_k$ = function() {
|
|
3753
|
+
return this.generation;
|
|
3754
|
+
};
|
|
3755
|
+
protoOf16($).get_seq_18iway_k$ = function() {
|
|
3756
|
+
return this.seq;
|
|
3757
|
+
};
|
|
3758
|
+
protoOf16($).get_textId_jwmjht_k$ = function() {
|
|
3759
|
+
return this.textId;
|
|
3760
|
+
};
|
|
3761
|
+
protoOf16($).component1_7eebsc_k$ = function() {
|
|
3762
|
+
return this.generation;
|
|
3763
|
+
};
|
|
3764
|
+
protoOf16($).component2_7eebsb_k$ = function() {
|
|
3765
|
+
return this.seq;
|
|
3766
|
+
};
|
|
3767
|
+
protoOf16($).component3_7eebsa_k$ = function() {
|
|
3768
|
+
return this.textId;
|
|
3769
|
+
};
|
|
3770
|
+
protoOf16($).copy_1ras9d_k$ = function(generation, seq, textId) {
|
|
3771
|
+
return new (SharedTextSyncedPayload())(generation, seq, textId);
|
|
3772
|
+
};
|
|
3773
|
+
protoOf16($).copy = function(generation, seq, textId, $super) {
|
|
3774
|
+
generation = generation === VOID16 ? this.generation : generation;
|
|
3775
|
+
seq = seq === VOID16 ? this.seq : seq;
|
|
3776
|
+
textId = textId === VOID16 ? this.textId : textId;
|
|
3777
|
+
return $super === VOID16 ? this.copy_1ras9d_k$(generation, seq, textId) : $super.copy_1ras9d_k$.call(this, generation, seq, textId);
|
|
3778
|
+
};
|
|
3779
|
+
protoOf16($).toString = function() {
|
|
3780
|
+
return "SharedTextSyncedPayload(generation=" + this.generation.toString() + ", seq=" + this.seq.toString() + ", textId=" + this.textId.toString() + ")";
|
|
3781
|
+
};
|
|
3782
|
+
protoOf16($).hashCode = function() {
|
|
3783
|
+
var result = getBigIntHashCode13(this.generation);
|
|
3784
|
+
result = imul14(result, 31) + getBigIntHashCode13(this.seq) | 0;
|
|
3785
|
+
result = imul14(result, 31) + getBigIntHashCode13(this.textId) | 0;
|
|
3786
|
+
return result;
|
|
3787
|
+
};
|
|
3788
|
+
protoOf16($).equals = function(other) {
|
|
3789
|
+
if (this === other)
|
|
3790
|
+
return true;
|
|
3791
|
+
if (!(other instanceof SharedTextSyncedPayload()))
|
|
3792
|
+
return false;
|
|
3793
|
+
if (!(this.generation === other.generation))
|
|
3794
|
+
return false;
|
|
3795
|
+
if (!(this.seq === other.seq))
|
|
3796
|
+
return false;
|
|
3797
|
+
if (!(this.textId === other.textId))
|
|
3798
|
+
return false;
|
|
3799
|
+
return true;
|
|
3800
|
+
};
|
|
3801
|
+
Object.defineProperty($, "name", { value: "SharedTextSyncedPayload", configurable: true });
|
|
3802
|
+
__soliboRegisterLookup16("SharedTextSyncedPayload", () => $);
|
|
3803
|
+
SharedTextSyncedPayloadClass = $;
|
|
3804
|
+
}
|
|
3805
|
+
return SharedTextSyncedPayloadClass;
|
|
3806
|
+
}
|
|
3807
|
+
Companion_instance16 = new (Companion16())();
|
|
3808
|
+
|
|
3809
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdatePayload.mjs
|
|
3810
|
+
import {
|
|
3811
|
+
protoOf180f3jzyo7rfj as protoOf17,
|
|
3812
|
+
objectCreate1ve4bgxiu4x98 as objectCreate17,
|
|
3813
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode14,
|
|
3814
|
+
getStringHashCode26igk1bx568vk as getStringHashCode11
|
|
3815
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
3816
|
+
import {
|
|
3817
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion17,
|
|
3818
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject17,
|
|
3819
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass17
|
|
3820
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
3821
|
+
import { VOID3gxj6tk5isa35 as VOID17 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
3822
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor17 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
3823
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE17 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
3824
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$17 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
3825
|
+
import {
|
|
3826
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance14,
|
|
3827
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance11
|
|
3828
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
3829
|
+
import {
|
|
3830
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers17,
|
|
3831
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer17
|
|
3832
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
3833
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException17 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
3834
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance17 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
3835
|
+
import { SerializableWithd2dap36updxd as SerializableWith17 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
3836
|
+
import { __soliboBoundaryState as __soliboBoundaryState16, __soliboRegisterLookup as __soliboRegisterLookup17, __soliboToJs as __soliboToJs16, __soliboToKt as __soliboToKt16 } from "../solibo-boundary.mjs";
|
|
3837
|
+
var imul15 = Math.imul;
|
|
3838
|
+
var CompanionClass17;
|
|
3839
|
+
function Companion17() {
|
|
3840
|
+
if (CompanionClass17 === VOID17) {
|
|
3841
|
+
let $ = function() {
|
|
3842
|
+
};
|
|
3843
|
+
initMetadataForCompanion17($);
|
|
3844
|
+
CompanionClass17 = $;
|
|
3845
|
+
}
|
|
3846
|
+
return CompanionClass17;
|
|
3847
|
+
}
|
|
3848
|
+
var Companion_instance17;
|
|
3849
|
+
function Companion_getInstance17() {
|
|
3850
|
+
return Companion_instance17;
|
|
3851
|
+
}
|
|
3852
|
+
var $serializerClass17;
|
|
3853
|
+
function $serializer17() {
|
|
3854
|
+
if ($serializerClass17 === VOID17) {
|
|
3855
|
+
let $ = function() {
|
|
3856
|
+
$serializer_instance17 = this;
|
|
3857
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor17())("solibo.common.infrastructure.websockets.SharedTextUpdatePayload", this, 4);
|
|
3858
|
+
tmp0_serialDesc.addElement_5pzumi_k$("generation", false);
|
|
3859
|
+
tmp0_serialDesc.addElement_5pzumi_k$("seq", false);
|
|
3860
|
+
tmp0_serialDesc.addElement_5pzumi_k$("textId", false);
|
|
3861
|
+
tmp0_serialDesc.addElement_5pzumi_k$("update", false);
|
|
3862
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
3863
|
+
};
|
|
3864
|
+
initMetadataForObject17($, "$serializer", VOID17, VOID17, [GeneratedSerializer17()]);
|
|
3865
|
+
protoOf17($).serialize_hlk3c_k$ = function(encoder, value) {
|
|
3866
|
+
var tmp0_desc = this.descriptor_1;
|
|
3867
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
3868
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.generation);
|
|
3869
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.seq);
|
|
3870
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.textId);
|
|
3871
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.update);
|
|
3872
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
3873
|
+
};
|
|
3874
|
+
protoOf17($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
3875
|
+
return this.serialize_hlk3c_k$(encoder, value instanceof SharedTextUpdatePayload() ? value : THROW_CCE17());
|
|
3876
|
+
};
|
|
3877
|
+
protoOf17($).deserialize_sy6x50_k$ = function(decoder) {
|
|
3878
|
+
var tmp0_desc = this.descriptor_1;
|
|
3879
|
+
var tmp1_flag = true;
|
|
3880
|
+
var tmp2_index = 0;
|
|
3881
|
+
var tmp3_bitMask0 = 0;
|
|
3882
|
+
var tmp4_local0 = 0n;
|
|
3883
|
+
var tmp5_local1 = 0n;
|
|
3884
|
+
var tmp6_local2 = 0n;
|
|
3885
|
+
var tmp7_local3 = null;
|
|
3886
|
+
var tmp8_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
3887
|
+
if (tmp8_input.decodeSequentially_xlblqy_k$()) {
|
|
3888
|
+
tmp4_local0 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
3889
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3890
|
+
tmp5_local1 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
3891
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3892
|
+
tmp6_local2 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
3893
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3894
|
+
tmp7_local3 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
3895
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3896
|
+
} else
|
|
3897
|
+
while (tmp1_flag) {
|
|
3898
|
+
tmp2_index = tmp8_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
3899
|
+
switch (tmp2_index) {
|
|
3900
|
+
case -1:
|
|
3901
|
+
tmp1_flag = false;
|
|
3902
|
+
break;
|
|
3903
|
+
case 0:
|
|
3904
|
+
tmp4_local0 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
3905
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3906
|
+
break;
|
|
3907
|
+
case 1:
|
|
3908
|
+
tmp5_local1 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
3909
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3910
|
+
break;
|
|
3911
|
+
case 2:
|
|
3912
|
+
tmp6_local2 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
3913
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3914
|
+
break;
|
|
3915
|
+
case 3:
|
|
3916
|
+
tmp7_local3 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
3917
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3918
|
+
break;
|
|
3919
|
+
default:
|
|
3920
|
+
throw UnknownFieldException_init_$Create$17(tmp2_index);
|
|
3921
|
+
}
|
|
3922
|
+
}
|
|
3923
|
+
tmp8_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
3924
|
+
return SharedTextUpdatePayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3925
|
+
};
|
|
3926
|
+
protoOf17($).get_descriptor_wjt6a0_k$ = function() {
|
|
3927
|
+
return this.descriptor_1;
|
|
3928
|
+
};
|
|
3929
|
+
protoOf17($).childSerializers_5ghqw5_k$ = function() {
|
|
3930
|
+
return [LongSerializer_getInstance14(), LongSerializer_getInstance14(), LongSerializer_getInstance14(), StringSerializer_getInstance11()];
|
|
3931
|
+
};
|
|
3932
|
+
protoOf17($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers17;
|
|
3933
|
+
$serializerClass17 = $;
|
|
3934
|
+
}
|
|
3935
|
+
return $serializerClass17;
|
|
3936
|
+
}
|
|
3937
|
+
var $serializer_instance17;
|
|
3938
|
+
function $serializer_getInstance17() {
|
|
3939
|
+
if ($serializer_instance17 == null)
|
|
3940
|
+
new ($serializer17())();
|
|
3941
|
+
return $serializer_instance17;
|
|
3942
|
+
}
|
|
3943
|
+
function SharedTextUpdatePayload_init_$Init$(seen0, generation, seq, textId, update, serializationConstructorMarker, $this) {
|
|
3944
|
+
if (!(15 === (15 & seen0))) {
|
|
3945
|
+
throwMissingFieldException17(seen0, 15, $serializer_getInstance17().descriptor_1);
|
|
3946
|
+
}
|
|
3947
|
+
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
3948
|
+
$this.generation = generation;
|
|
3949
|
+
$this.seq = seq;
|
|
3950
|
+
$this.textId = textId;
|
|
3951
|
+
$this.update = update;
|
|
3952
|
+
return $this;
|
|
3953
|
+
}
|
|
3954
|
+
function SharedTextUpdatePayload_init_$Create$(seen0, generation, seq, textId, update, serializationConstructorMarker) {
|
|
3955
|
+
return SharedTextUpdatePayload_init_$Init$(seen0, generation, seq, textId, update, serializationConstructorMarker, objectCreate17(protoOf17(SharedTextUpdatePayload())));
|
|
3956
|
+
}
|
|
3957
|
+
var SharedTextUpdatePayloadClass;
|
|
3958
|
+
function SharedTextUpdatePayload() {
|
|
3959
|
+
if (SharedTextUpdatePayloadClass === VOID17) {
|
|
3960
|
+
let $ = function(generation, seq, textId, update) {
|
|
3961
|
+
var __soliboProps = arguments.length === 1 && typeof generation === "object" && generation !== null && generation.constructor === Object;
|
|
3962
|
+
var __soliboTmp, __soliboConverted = false;
|
|
3963
|
+
if (__soliboProps) {
|
|
3964
|
+
const props = generation;
|
|
3965
|
+
generation = "generation" in props ? props.generation : VOID17;
|
|
3966
|
+
seq = "seq" in props ? props.seq : VOID17;
|
|
3967
|
+
textId = "textId" in props ? props.textId : VOID17;
|
|
3968
|
+
update = "update" in props ? props.update : VOID17;
|
|
3969
|
+
}
|
|
3970
|
+
if ((__soliboTmp = __soliboToKt16(generation, ["bigint"])) !== generation) {
|
|
3971
|
+
generation = __soliboTmp;
|
|
3972
|
+
__soliboConverted = true;
|
|
3973
|
+
}
|
|
3974
|
+
if ((__soliboTmp = __soliboToKt16(seq, ["bigint"])) !== seq) {
|
|
3975
|
+
seq = __soliboTmp;
|
|
3976
|
+
__soliboConverted = true;
|
|
3977
|
+
}
|
|
3978
|
+
if ((__soliboTmp = __soliboToKt16(textId, ["bigint"])) !== textId) {
|
|
3979
|
+
textId = __soliboTmp;
|
|
3980
|
+
__soliboConverted = true;
|
|
3981
|
+
}
|
|
3982
|
+
WebSocketPayload().call(this);
|
|
3983
|
+
this.generation = generation;
|
|
3984
|
+
this.seq = seq;
|
|
3985
|
+
this.textId = textId;
|
|
3986
|
+
this.update = update;
|
|
3987
|
+
if (__soliboConverted && !__soliboBoundaryState16.internalConstruction) return __soliboToJs16(this);
|
|
3988
|
+
};
|
|
3989
|
+
initMetadataForClass17($, "SharedTextUpdatePayload", VOID17, WebSocketPayload(), VOID17, VOID17, VOID17, { 0: $serializer_getInstance17 });
|
|
3990
|
+
protoOf17($).get_generation_f48sin_k$ = function() {
|
|
3991
|
+
return this.generation;
|
|
3992
|
+
};
|
|
3993
|
+
protoOf17($).get_seq_18iway_k$ = function() {
|
|
3994
|
+
return this.seq;
|
|
3995
|
+
};
|
|
3996
|
+
protoOf17($).get_textId_jwmjht_k$ = function() {
|
|
3997
|
+
return this.textId;
|
|
3998
|
+
};
|
|
3999
|
+
protoOf17($).get_update_kjcrma_k$ = function() {
|
|
4000
|
+
return this.update;
|
|
4001
|
+
};
|
|
4002
|
+
protoOf17($).component1_7eebsc_k$ = function() {
|
|
4003
|
+
return this.generation;
|
|
4004
|
+
};
|
|
4005
|
+
protoOf17($).component2_7eebsb_k$ = function() {
|
|
4006
|
+
return this.seq;
|
|
4007
|
+
};
|
|
4008
|
+
protoOf17($).component3_7eebsa_k$ = function() {
|
|
4009
|
+
return this.textId;
|
|
4010
|
+
};
|
|
4011
|
+
protoOf17($).component4_7eebs9_k$ = function() {
|
|
4012
|
+
return this.update;
|
|
4013
|
+
};
|
|
4014
|
+
protoOf17($).copy_afwlsl_k$ = function(generation, seq, textId, update) {
|
|
4015
|
+
return new (SharedTextUpdatePayload())(generation, seq, textId, update);
|
|
4016
|
+
};
|
|
4017
|
+
protoOf17($).copy = function(generation, seq, textId, update, $super) {
|
|
4018
|
+
generation = generation === VOID17 ? this.generation : generation;
|
|
4019
|
+
seq = seq === VOID17 ? this.seq : seq;
|
|
4020
|
+
textId = textId === VOID17 ? this.textId : textId;
|
|
4021
|
+
update = update === VOID17 ? this.update : update;
|
|
4022
|
+
return $super === VOID17 ? this.copy_afwlsl_k$(generation, seq, textId, update) : $super.copy_afwlsl_k$.call(this, generation, seq, textId, update);
|
|
4023
|
+
};
|
|
4024
|
+
protoOf17($).toString = function() {
|
|
4025
|
+
return "SharedTextUpdatePayload(generation=" + this.generation.toString() + ", seq=" + this.seq.toString() + ", textId=" + this.textId.toString() + ", update=" + this.update + ")";
|
|
4026
|
+
};
|
|
4027
|
+
protoOf17($).hashCode = function() {
|
|
4028
|
+
var result = getBigIntHashCode14(this.generation);
|
|
4029
|
+
result = imul15(result, 31) + getBigIntHashCode14(this.seq) | 0;
|
|
4030
|
+
result = imul15(result, 31) + getBigIntHashCode14(this.textId) | 0;
|
|
4031
|
+
result = imul15(result, 31) + getStringHashCode11(this.update) | 0;
|
|
4032
|
+
return result;
|
|
4033
|
+
};
|
|
4034
|
+
protoOf17($).equals = function(other) {
|
|
4035
|
+
if (this === other)
|
|
4036
|
+
return true;
|
|
4037
|
+
if (!(other instanceof SharedTextUpdatePayload()))
|
|
4038
|
+
return false;
|
|
4039
|
+
if (!(this.generation === other.generation))
|
|
4040
|
+
return false;
|
|
4041
|
+
if (!(this.seq === other.seq))
|
|
4042
|
+
return false;
|
|
4043
|
+
if (!(this.textId === other.textId))
|
|
4044
|
+
return false;
|
|
4045
|
+
if (!(this.update === other.update))
|
|
4046
|
+
return false;
|
|
4047
|
+
return true;
|
|
4048
|
+
};
|
|
4049
|
+
Object.defineProperty($, "name", { value: "SharedTextUpdatePayload", configurable: true });
|
|
4050
|
+
__soliboRegisterLookup17("SharedTextUpdatePayload", () => $);
|
|
4051
|
+
SharedTextUpdatePayloadClass = $;
|
|
4052
|
+
}
|
|
4053
|
+
return SharedTextUpdatePayloadClass;
|
|
4054
|
+
}
|
|
4055
|
+
Companion_instance17 = new (Companion17())();
|
|
4056
|
+
|
|
4057
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscribedPayload.mjs
|
|
4058
|
+
import {
|
|
4059
|
+
protoOf180f3jzyo7rfj as protoOf18,
|
|
4060
|
+
objectCreate1ve4bgxiu4x98 as objectCreate18,
|
|
4061
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode15,
|
|
4062
|
+
getStringHashCode26igk1bx568vk as getStringHashCode12
|
|
4063
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
4064
|
+
import {
|
|
4065
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion18,
|
|
4066
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject18,
|
|
4067
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass18
|
|
4068
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
4069
|
+
import { VOID3gxj6tk5isa35 as VOID18 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
4070
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor18 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
4071
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE18 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
4072
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$18 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
4073
|
+
import {
|
|
4074
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance15,
|
|
4075
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance12
|
|
4076
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
4077
|
+
import {
|
|
4078
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers18,
|
|
4079
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer18
|
|
4080
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
4081
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException18 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
4082
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance18 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
4083
|
+
import { SerializableWithd2dap36updxd as SerializableWith18 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
4084
|
+
import { __soliboBoundaryState as __soliboBoundaryState17, __soliboRegisterLookup as __soliboRegisterLookup18, __soliboToJs as __soliboToJs17, __soliboToKt as __soliboToKt17 } from "../solibo-boundary.mjs";
|
|
4085
|
+
var imul16 = Math.imul;
|
|
4086
|
+
var CompanionClass18;
|
|
4087
|
+
function Companion18() {
|
|
4088
|
+
if (CompanionClass18 === VOID18) {
|
|
4089
|
+
let $ = function() {
|
|
4090
|
+
};
|
|
4091
|
+
initMetadataForCompanion18($);
|
|
4092
|
+
CompanionClass18 = $;
|
|
4093
|
+
}
|
|
4094
|
+
return CompanionClass18;
|
|
4095
|
+
}
|
|
4096
|
+
var Companion_instance18;
|
|
4097
|
+
function Companion_getInstance18() {
|
|
4098
|
+
return Companion_instance18;
|
|
4099
|
+
}
|
|
4100
|
+
var $serializerClass18;
|
|
4101
|
+
function $serializer18() {
|
|
4102
|
+
if ($serializerClass18 === VOID18) {
|
|
4103
|
+
let $ = function() {
|
|
4104
|
+
$serializer_instance18 = this;
|
|
4105
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor18())("solibo.common.infrastructure.websockets.SubscribedPayload", this, 7);
|
|
4106
|
+
tmp0_serialDesc.addElement_5pzumi_k$("ackTimeoutSeconds", false);
|
|
4107
|
+
tmp0_serialDesc.addElement_5pzumi_k$("headSeq", false);
|
|
4108
|
+
tmp0_serialDesc.addElement_5pzumi_k$("heartbeatSeconds", false);
|
|
4109
|
+
tmp0_serialDesc.addElement_5pzumi_k$("maxInFlight", false);
|
|
4110
|
+
tmp0_serialDesc.addElement_5pzumi_k$("oldestRetainedSeq", false);
|
|
4111
|
+
tmp0_serialDesc.addElement_5pzumi_k$("resumedAfter", false);
|
|
4112
|
+
tmp0_serialDesc.addElement_5pzumi_k$("subscriptionKey", false);
|
|
4113
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
4114
|
+
};
|
|
4115
|
+
initMetadataForObject18($, "$serializer", VOID18, VOID18, [GeneratedSerializer18()]);
|
|
4116
|
+
protoOf18($).serialize_oo0qu1_k$ = function(encoder, value) {
|
|
4117
|
+
var tmp0_desc = this.descriptor_1;
|
|
4118
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
4119
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.ackTimeoutSeconds);
|
|
4120
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.headSeq);
|
|
4121
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.heartbeatSeconds);
|
|
4122
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.maxInFlight);
|
|
4123
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 4, value.oldestRetainedSeq);
|
|
4124
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.resumedAfter);
|
|
4125
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 6, value.subscriptionKey);
|
|
4126
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
4127
|
+
};
|
|
4128
|
+
protoOf18($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
4129
|
+
return this.serialize_oo0qu1_k$(encoder, value instanceof SubscribedPayload() ? value : THROW_CCE18());
|
|
4130
|
+
};
|
|
4131
|
+
protoOf18($).deserialize_sy6x50_k$ = function(decoder) {
|
|
4132
|
+
var tmp0_desc = this.descriptor_1;
|
|
4133
|
+
var tmp1_flag = true;
|
|
4134
|
+
var tmp2_index = 0;
|
|
4135
|
+
var tmp3_bitMask0 = 0;
|
|
4136
|
+
var tmp4_local0 = 0n;
|
|
4137
|
+
var tmp5_local1 = 0n;
|
|
4138
|
+
var tmp6_local2 = 0n;
|
|
4139
|
+
var tmp7_local3 = 0n;
|
|
4140
|
+
var tmp8_local4 = 0n;
|
|
4141
|
+
var tmp9_local5 = 0n;
|
|
4142
|
+
var tmp10_local6 = null;
|
|
4143
|
+
var tmp11_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
4144
|
+
if (tmp11_input.decodeSequentially_xlblqy_k$()) {
|
|
4145
|
+
tmp4_local0 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
4146
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4147
|
+
tmp5_local1 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
4148
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4149
|
+
tmp6_local2 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
4150
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4151
|
+
tmp7_local3 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
4152
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4153
|
+
tmp8_local4 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
|
|
4154
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4155
|
+
tmp9_local5 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
4156
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
4157
|
+
tmp10_local6 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 6);
|
|
4158
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
4159
|
+
} else
|
|
4160
|
+
while (tmp1_flag) {
|
|
4161
|
+
tmp2_index = tmp11_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
4162
|
+
switch (tmp2_index) {
|
|
4163
|
+
case -1:
|
|
4164
|
+
tmp1_flag = false;
|
|
4165
|
+
break;
|
|
4166
|
+
case 0:
|
|
4167
|
+
tmp4_local0 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
4168
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4169
|
+
break;
|
|
4170
|
+
case 1:
|
|
4171
|
+
tmp5_local1 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
4172
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4173
|
+
break;
|
|
4174
|
+
case 2:
|
|
4175
|
+
tmp6_local2 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
4176
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4177
|
+
break;
|
|
4178
|
+
case 3:
|
|
4179
|
+
tmp7_local3 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
4180
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4181
|
+
break;
|
|
4182
|
+
case 4:
|
|
4183
|
+
tmp8_local4 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
|
|
4184
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4185
|
+
break;
|
|
4186
|
+
case 5:
|
|
4187
|
+
tmp9_local5 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
4188
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
4189
|
+
break;
|
|
4190
|
+
case 6:
|
|
4191
|
+
tmp10_local6 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 6);
|
|
4192
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
4193
|
+
break;
|
|
4194
|
+
default:
|
|
4195
|
+
throw UnknownFieldException_init_$Create$18(tmp2_index);
|
|
4196
|
+
}
|
|
4197
|
+
}
|
|
4198
|
+
tmp11_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
4199
|
+
return SubscribedPayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
4200
|
+
};
|
|
4201
|
+
protoOf18($).get_descriptor_wjt6a0_k$ = function() {
|
|
4202
|
+
return this.descriptor_1;
|
|
4203
|
+
};
|
|
4204
|
+
protoOf18($).childSerializers_5ghqw5_k$ = function() {
|
|
4205
|
+
return [LongSerializer_getInstance15(), LongSerializer_getInstance15(), LongSerializer_getInstance15(), LongSerializer_getInstance15(), LongSerializer_getInstance15(), LongSerializer_getInstance15(), StringSerializer_getInstance12()];
|
|
4206
|
+
};
|
|
4207
|
+
protoOf18($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers18;
|
|
4208
|
+
$serializerClass18 = $;
|
|
4209
|
+
}
|
|
4210
|
+
return $serializerClass18;
|
|
4211
|
+
}
|
|
4212
|
+
var $serializer_instance18;
|
|
4213
|
+
function $serializer_getInstance18() {
|
|
4214
|
+
if ($serializer_instance18 == null)
|
|
4215
|
+
new ($serializer18())();
|
|
4216
|
+
return $serializer_instance18;
|
|
4217
|
+
}
|
|
4218
|
+
function SubscribedPayload_init_$Init$(seen0, ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey, serializationConstructorMarker, $this) {
|
|
4219
|
+
if (!(127 === (127 & seen0))) {
|
|
4220
|
+
throwMissingFieldException18(seen0, 127, $serializer_getInstance18().descriptor_1);
|
|
4221
|
+
}
|
|
4222
|
+
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
4223
|
+
$this.ackTimeoutSeconds = ackTimeoutSeconds;
|
|
4224
|
+
$this.headSeq = headSeq;
|
|
4225
|
+
$this.heartbeatSeconds = heartbeatSeconds;
|
|
4226
|
+
$this.maxInFlight = maxInFlight;
|
|
4227
|
+
$this.oldestRetainedSeq = oldestRetainedSeq;
|
|
4228
|
+
$this.resumedAfter = resumedAfter;
|
|
4229
|
+
$this.subscriptionKey = subscriptionKey;
|
|
4230
|
+
return $this;
|
|
4231
|
+
}
|
|
4232
|
+
function SubscribedPayload_init_$Create$(seen0, ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey, serializationConstructorMarker) {
|
|
4233
|
+
return SubscribedPayload_init_$Init$(seen0, ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey, serializationConstructorMarker, objectCreate18(protoOf18(SubscribedPayload())));
|
|
4234
|
+
}
|
|
4235
|
+
var SubscribedPayloadClass;
|
|
4236
|
+
function SubscribedPayload() {
|
|
4237
|
+
if (SubscribedPayloadClass === VOID18) {
|
|
4238
|
+
let $ = function(ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey) {
|
|
4239
|
+
var __soliboProps = arguments.length === 1 && typeof ackTimeoutSeconds === "object" && ackTimeoutSeconds !== null && ackTimeoutSeconds.constructor === Object;
|
|
4240
|
+
var __soliboTmp, __soliboConverted = false;
|
|
4241
|
+
if (__soliboProps) {
|
|
4242
|
+
const props = ackTimeoutSeconds;
|
|
4243
|
+
ackTimeoutSeconds = "ackTimeoutSeconds" in props ? props.ackTimeoutSeconds : VOID18;
|
|
4244
|
+
headSeq = "headSeq" in props ? props.headSeq : VOID18;
|
|
4245
|
+
heartbeatSeconds = "heartbeatSeconds" in props ? props.heartbeatSeconds : VOID18;
|
|
4246
|
+
maxInFlight = "maxInFlight" in props ? props.maxInFlight : VOID18;
|
|
4247
|
+
oldestRetainedSeq = "oldestRetainedSeq" in props ? props.oldestRetainedSeq : VOID18;
|
|
4248
|
+
resumedAfter = "resumedAfter" in props ? props.resumedAfter : VOID18;
|
|
4249
|
+
subscriptionKey = "subscriptionKey" in props ? props.subscriptionKey : VOID18;
|
|
4250
|
+
}
|
|
4251
|
+
if ((__soliboTmp = __soliboToKt17(ackTimeoutSeconds, ["bigint"])) !== ackTimeoutSeconds) {
|
|
4252
|
+
ackTimeoutSeconds = __soliboTmp;
|
|
4253
|
+
__soliboConverted = true;
|
|
4254
|
+
}
|
|
4255
|
+
if ((__soliboTmp = __soliboToKt17(headSeq, ["bigint"])) !== headSeq) {
|
|
4256
|
+
headSeq = __soliboTmp;
|
|
4257
|
+
__soliboConverted = true;
|
|
4258
|
+
}
|
|
4259
|
+
if ((__soliboTmp = __soliboToKt17(heartbeatSeconds, ["bigint"])) !== heartbeatSeconds) {
|
|
4260
|
+
heartbeatSeconds = __soliboTmp;
|
|
4261
|
+
__soliboConverted = true;
|
|
4262
|
+
}
|
|
4263
|
+
if ((__soliboTmp = __soliboToKt17(maxInFlight, ["bigint"])) !== maxInFlight) {
|
|
4264
|
+
maxInFlight = __soliboTmp;
|
|
4265
|
+
__soliboConverted = true;
|
|
4266
|
+
}
|
|
4267
|
+
if ((__soliboTmp = __soliboToKt17(oldestRetainedSeq, ["bigint"])) !== oldestRetainedSeq) {
|
|
4268
|
+
oldestRetainedSeq = __soliboTmp;
|
|
4269
|
+
__soliboConverted = true;
|
|
4270
|
+
}
|
|
4271
|
+
if ((__soliboTmp = __soliboToKt17(resumedAfter, ["bigint"])) !== resumedAfter) {
|
|
4272
|
+
resumedAfter = __soliboTmp;
|
|
4273
|
+
__soliboConverted = true;
|
|
4274
|
+
}
|
|
4275
|
+
WebSocketPayload().call(this);
|
|
4276
|
+
this.ackTimeoutSeconds = ackTimeoutSeconds;
|
|
4277
|
+
this.headSeq = headSeq;
|
|
4278
|
+
this.heartbeatSeconds = heartbeatSeconds;
|
|
4279
|
+
this.maxInFlight = maxInFlight;
|
|
4280
|
+
this.oldestRetainedSeq = oldestRetainedSeq;
|
|
4281
|
+
this.resumedAfter = resumedAfter;
|
|
4282
|
+
this.subscriptionKey = subscriptionKey;
|
|
4283
|
+
if (__soliboConverted && !__soliboBoundaryState17.internalConstruction) return __soliboToJs17(this);
|
|
4284
|
+
};
|
|
4285
|
+
initMetadataForClass18($, "SubscribedPayload", VOID18, WebSocketPayload(), VOID18, VOID18, VOID18, { 0: $serializer_getInstance18 });
|
|
4286
|
+
protoOf18($).get_ackTimeoutSeconds_z4lnfm_k$ = function() {
|
|
4287
|
+
return this.ackTimeoutSeconds;
|
|
4288
|
+
};
|
|
4289
|
+
protoOf18($).get_headSeq_ef1rw6_k$ = function() {
|
|
4290
|
+
return this.headSeq;
|
|
4291
|
+
};
|
|
4292
|
+
protoOf18($).get_heartbeatSeconds_d4loks_k$ = function() {
|
|
4293
|
+
return this.heartbeatSeconds;
|
|
4294
|
+
};
|
|
4295
|
+
protoOf18($).get_maxInFlight_z9edcg_k$ = function() {
|
|
4296
|
+
return this.maxInFlight;
|
|
4297
|
+
};
|
|
4298
|
+
protoOf18($).get_oldestRetainedSeq_pjo2q5_k$ = function() {
|
|
4299
|
+
return this.oldestRetainedSeq;
|
|
4300
|
+
};
|
|
4301
|
+
protoOf18($).get_resumedAfter_ydmq9e_k$ = function() {
|
|
4302
|
+
return this.resumedAfter;
|
|
4303
|
+
};
|
|
4304
|
+
protoOf18($).get_subscriptionKey_gjoro9_k$ = function() {
|
|
4305
|
+
return this.subscriptionKey;
|
|
4306
|
+
};
|
|
4307
|
+
protoOf18($).component1_7eebsc_k$ = function() {
|
|
4308
|
+
return this.ackTimeoutSeconds;
|
|
4309
|
+
};
|
|
4310
|
+
protoOf18($).component2_7eebsb_k$ = function() {
|
|
4311
|
+
return this.headSeq;
|
|
4312
|
+
};
|
|
4313
|
+
protoOf18($).component3_7eebsa_k$ = function() {
|
|
4314
|
+
return this.heartbeatSeconds;
|
|
4315
|
+
};
|
|
4316
|
+
protoOf18($).component4_7eebs9_k$ = function() {
|
|
4317
|
+
return this.maxInFlight;
|
|
4318
|
+
};
|
|
4319
|
+
protoOf18($).component5_7eebs8_k$ = function() {
|
|
4320
|
+
return this.oldestRetainedSeq;
|
|
4321
|
+
};
|
|
4322
|
+
protoOf18($).component6_7eebs7_k$ = function() {
|
|
4323
|
+
return this.resumedAfter;
|
|
4324
|
+
};
|
|
4325
|
+
protoOf18($).component7_7eebs6_k$ = function() {
|
|
4326
|
+
return this.subscriptionKey;
|
|
4327
|
+
};
|
|
4328
|
+
protoOf18($).copy_h8kq57_k$ = function(ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey) {
|
|
4329
|
+
return new (SubscribedPayload())(ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey);
|
|
4330
|
+
};
|
|
4331
|
+
protoOf18($).copy = function(ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey, $super) {
|
|
4332
|
+
ackTimeoutSeconds = ackTimeoutSeconds === VOID18 ? this.ackTimeoutSeconds : ackTimeoutSeconds;
|
|
4333
|
+
headSeq = headSeq === VOID18 ? this.headSeq : headSeq;
|
|
4334
|
+
heartbeatSeconds = heartbeatSeconds === VOID18 ? this.heartbeatSeconds : heartbeatSeconds;
|
|
4335
|
+
maxInFlight = maxInFlight === VOID18 ? this.maxInFlight : maxInFlight;
|
|
4336
|
+
oldestRetainedSeq = oldestRetainedSeq === VOID18 ? this.oldestRetainedSeq : oldestRetainedSeq;
|
|
4337
|
+
resumedAfter = resumedAfter === VOID18 ? this.resumedAfter : resumedAfter;
|
|
4338
|
+
subscriptionKey = subscriptionKey === VOID18 ? this.subscriptionKey : subscriptionKey;
|
|
4339
|
+
return $super === VOID18 ? this.copy_h8kq57_k$(ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey) : $super.copy_h8kq57_k$.call(this, ackTimeoutSeconds, headSeq, heartbeatSeconds, maxInFlight, oldestRetainedSeq, resumedAfter, subscriptionKey);
|
|
4340
|
+
};
|
|
4341
|
+
protoOf18($).toString = function() {
|
|
4342
|
+
return "SubscribedPayload(ackTimeoutSeconds=" + this.ackTimeoutSeconds.toString() + ", headSeq=" + this.headSeq.toString() + ", heartbeatSeconds=" + this.heartbeatSeconds.toString() + ", maxInFlight=" + this.maxInFlight.toString() + ", oldestRetainedSeq=" + this.oldestRetainedSeq.toString() + ", resumedAfter=" + this.resumedAfter.toString() + ", subscriptionKey=" + this.subscriptionKey + ")";
|
|
4343
|
+
};
|
|
4344
|
+
protoOf18($).hashCode = function() {
|
|
4345
|
+
var result = getBigIntHashCode15(this.ackTimeoutSeconds);
|
|
4346
|
+
result = imul16(result, 31) + getBigIntHashCode15(this.headSeq) | 0;
|
|
4347
|
+
result = imul16(result, 31) + getBigIntHashCode15(this.heartbeatSeconds) | 0;
|
|
4348
|
+
result = imul16(result, 31) + getBigIntHashCode15(this.maxInFlight) | 0;
|
|
4349
|
+
result = imul16(result, 31) + getBigIntHashCode15(this.oldestRetainedSeq) | 0;
|
|
4350
|
+
result = imul16(result, 31) + getBigIntHashCode15(this.resumedAfter) | 0;
|
|
4351
|
+
result = imul16(result, 31) + getStringHashCode12(this.subscriptionKey) | 0;
|
|
4352
|
+
return result;
|
|
4353
|
+
};
|
|
4354
|
+
protoOf18($).equals = function(other) {
|
|
4355
|
+
if (this === other)
|
|
4356
|
+
return true;
|
|
4357
|
+
if (!(other instanceof SubscribedPayload()))
|
|
4358
|
+
return false;
|
|
4359
|
+
if (!(this.ackTimeoutSeconds === other.ackTimeoutSeconds))
|
|
4360
|
+
return false;
|
|
4361
|
+
if (!(this.headSeq === other.headSeq))
|
|
4362
|
+
return false;
|
|
4363
|
+
if (!(this.heartbeatSeconds === other.heartbeatSeconds))
|
|
4364
|
+
return false;
|
|
4365
|
+
if (!(this.maxInFlight === other.maxInFlight))
|
|
4366
|
+
return false;
|
|
4367
|
+
if (!(this.oldestRetainedSeq === other.oldestRetainedSeq))
|
|
4368
|
+
return false;
|
|
4369
|
+
if (!(this.resumedAfter === other.resumedAfter))
|
|
4370
|
+
return false;
|
|
4371
|
+
if (!(this.subscriptionKey === other.subscriptionKey))
|
|
4372
|
+
return false;
|
|
4373
|
+
return true;
|
|
4374
|
+
};
|
|
4375
|
+
Object.defineProperty($, "name", { value: "SubscribedPayload", configurable: true });
|
|
4376
|
+
__soliboRegisterLookup18("SubscribedPayload", () => $);
|
|
4377
|
+
SubscribedPayloadClass = $;
|
|
4378
|
+
}
|
|
4379
|
+
return SubscribedPayloadClass;
|
|
4380
|
+
}
|
|
4381
|
+
Companion_instance18 = new (Companion18())();
|
|
4382
|
+
|
|
4383
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscriptionEndedPayload.mjs
|
|
4384
|
+
import { Companion_getInstanceniy0vfzb88af as Companion_getInstance19 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EventBusErrorCode.mjs";
|
|
4385
|
+
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance5 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
4386
|
+
import { lazy1261dae0bgscp as lazy5 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
4387
|
+
import {
|
|
4388
|
+
protoOf180f3jzyo7rfj as protoOf19,
|
|
4389
|
+
objectCreate1ve4bgxiu4x98 as objectCreate19,
|
|
4390
|
+
getStringHashCode26igk1bx568vk as getStringHashCode13
|
|
4391
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
4392
|
+
import {
|
|
4393
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion19,
|
|
4394
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject19,
|
|
4395
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass19
|
|
4396
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
4397
|
+
import { VOID3gxj6tk5isa35 as VOID19 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
4398
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor19 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
4399
|
+
import { StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance13 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
4400
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance19 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
4401
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE19 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
4402
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$19 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
4403
|
+
import { get_nullable197rfua9r7fsz as get_nullable6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
4404
|
+
import {
|
|
4405
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers19,
|
|
4406
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer19
|
|
4407
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
4408
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException19 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
4409
|
+
import { SerializableWithd2dap36updxd as SerializableWith19 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
4410
|
+
import { __soliboBoundaryState as __soliboBoundaryState18, __soliboRegisterLookup as __soliboRegisterLookup19, __soliboToJs as __soliboToJs18, __soliboToKt as __soliboToKt18 } from "../solibo-boundary.mjs";
|
|
4411
|
+
import { EventBusErrorCode28kjzlliapex6 as __soliboType_EventBusErrorCode2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EventBusErrorCode.mjs";
|
|
4412
|
+
var imul17 = Math.imul;
|
|
4413
|
+
function SubscriptionEndedPayload$Companion$$childSerializers$_anonymous__t6tgxl() {
|
|
4414
|
+
return Companion_getInstance19().serializer_9w0wvi_k$();
|
|
4415
|
+
}
|
|
4416
|
+
var CompanionClass19;
|
|
4417
|
+
function Companion19() {
|
|
4418
|
+
if (CompanionClass19 === VOID19) {
|
|
4419
|
+
let $ = function() {
|
|
4420
|
+
Companion_instance19 = this;
|
|
4421
|
+
var tmp = this;
|
|
4422
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance5();
|
|
4423
|
+
tmp.$childSerializers_1 = [null, lazy5(tmp_0, SubscriptionEndedPayload$Companion$$childSerializers$_anonymous__t6tgxl), null];
|
|
4424
|
+
};
|
|
4425
|
+
initMetadataForCompanion19($);
|
|
4426
|
+
CompanionClass19 = $;
|
|
4427
|
+
}
|
|
4428
|
+
return CompanionClass19;
|
|
4429
|
+
}
|
|
4430
|
+
var Companion_instance19;
|
|
4431
|
+
function Companion_getInstance_14() {
|
|
4432
|
+
if (Companion_instance19 == null) {
|
|
4433
|
+
Companion_getInstance4();
|
|
4434
|
+
new (Companion19())();
|
|
4435
|
+
}
|
|
4436
|
+
return Companion_instance19;
|
|
4437
|
+
}
|
|
4438
|
+
var $serializerClass19;
|
|
4439
|
+
function $serializer19() {
|
|
4440
|
+
if ($serializerClass19 === VOID19) {
|
|
4441
|
+
let $ = function() {
|
|
4442
|
+
$serializer_instance19 = this;
|
|
4443
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor19())("solibo.common.infrastructure.websockets.SubscriptionEndedPayload", this, 3);
|
|
4444
|
+
tmp0_serialDesc.addElement_5pzumi_k$("message", true);
|
|
4445
|
+
tmp0_serialDesc.addElement_5pzumi_k$("reason", false);
|
|
4446
|
+
tmp0_serialDesc.addElement_5pzumi_k$("subscriptionKey", false);
|
|
4447
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
4448
|
+
};
|
|
4449
|
+
initMetadataForObject19($, "$serializer", VOID19, VOID19, [GeneratedSerializer19()]);
|
|
4450
|
+
protoOf19($).serialize_7b2pmc_k$ = function(encoder, value) {
|
|
4451
|
+
var tmp0_desc = this.descriptor_1;
|
|
4452
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
4453
|
+
var tmp2_cached = Companion_getInstance_14().$childSerializers_1;
|
|
4454
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.message == null)) {
|
|
4455
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, StringSerializer_getInstance13(), value.message);
|
|
4456
|
+
}
|
|
4457
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.reason);
|
|
4458
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.subscriptionKey);
|
|
4459
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
4460
|
+
};
|
|
4461
|
+
protoOf19($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
4462
|
+
return this.serialize_7b2pmc_k$(encoder, value instanceof SubscriptionEndedPayload() ? value : THROW_CCE19());
|
|
4463
|
+
};
|
|
4464
|
+
protoOf19($).deserialize_sy6x50_k$ = function(decoder) {
|
|
4465
|
+
var tmp0_desc = this.descriptor_1;
|
|
4466
|
+
var tmp1_flag = true;
|
|
4467
|
+
var tmp2_index = 0;
|
|
4468
|
+
var tmp3_bitMask0 = 0;
|
|
4469
|
+
var tmp4_local0 = null;
|
|
4470
|
+
var tmp5_local1 = null;
|
|
4471
|
+
var tmp6_local2 = null;
|
|
4472
|
+
var tmp7_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
4473
|
+
var tmp8_cached = Companion_getInstance_14().$childSerializers_1;
|
|
4474
|
+
if (tmp7_input.decodeSequentially_xlblqy_k$()) {
|
|
4475
|
+
tmp4_local0 = tmp7_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance13(), tmp4_local0);
|
|
4476
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4477
|
+
tmp5_local1 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, tmp8_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
4478
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4479
|
+
tmp6_local2 = tmp7_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
4480
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4481
|
+
} else
|
|
4482
|
+
while (tmp1_flag) {
|
|
4483
|
+
tmp2_index = tmp7_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
4484
|
+
switch (tmp2_index) {
|
|
4485
|
+
case -1:
|
|
4486
|
+
tmp1_flag = false;
|
|
4487
|
+
break;
|
|
4488
|
+
case 0:
|
|
4489
|
+
tmp4_local0 = tmp7_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance13(), tmp4_local0);
|
|
4490
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4491
|
+
break;
|
|
4492
|
+
case 1:
|
|
4493
|
+
tmp5_local1 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, tmp8_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
4494
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4495
|
+
break;
|
|
4496
|
+
case 2:
|
|
4497
|
+
tmp6_local2 = tmp7_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
4498
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4499
|
+
break;
|
|
4500
|
+
default:
|
|
4501
|
+
throw UnknownFieldException_init_$Create$19(tmp2_index);
|
|
4502
|
+
}
|
|
4503
|
+
}
|
|
4504
|
+
tmp7_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
4505
|
+
return SubscriptionEndedPayload_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
4506
|
+
};
|
|
4507
|
+
protoOf19($).get_descriptor_wjt6a0_k$ = function() {
|
|
4508
|
+
return this.descriptor_1;
|
|
4509
|
+
};
|
|
4510
|
+
protoOf19($).childSerializers_5ghqw5_k$ = function() {
|
|
4511
|
+
var tmp0_cached = Companion_getInstance_14().$childSerializers_1;
|
|
4512
|
+
return [get_nullable6(StringSerializer_getInstance13()), tmp0_cached[1].get_value_j01efc_k$(), StringSerializer_getInstance13()];
|
|
4513
|
+
};
|
|
4514
|
+
protoOf19($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers19;
|
|
4515
|
+
$serializerClass19 = $;
|
|
4516
|
+
}
|
|
4517
|
+
return $serializerClass19;
|
|
4518
|
+
}
|
|
4519
|
+
var $serializer_instance19;
|
|
4520
|
+
function $serializer_getInstance19() {
|
|
4521
|
+
if ($serializer_instance19 == null)
|
|
4522
|
+
new ($serializer19())();
|
|
4523
|
+
return $serializer_instance19;
|
|
4524
|
+
}
|
|
4525
|
+
function SubscriptionEndedPayload_init_$Init$(seen0, message, reason, subscriptionKey, serializationConstructorMarker, $this) {
|
|
4526
|
+
if (!(6 === (6 & seen0))) {
|
|
4527
|
+
throwMissingFieldException19(seen0, 6, $serializer_getInstance19().descriptor_1);
|
|
4528
|
+
}
|
|
4529
|
+
WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
4530
|
+
if (0 === (seen0 & 1))
|
|
4531
|
+
$this.message = null;
|
|
4532
|
+
else
|
|
4533
|
+
$this.message = message;
|
|
4534
|
+
$this.reason = reason;
|
|
4535
|
+
$this.subscriptionKey = subscriptionKey;
|
|
4536
|
+
return $this;
|
|
4537
|
+
}
|
|
4538
|
+
function SubscriptionEndedPayload_init_$Create$(seen0, message, reason, subscriptionKey, serializationConstructorMarker) {
|
|
4539
|
+
return SubscriptionEndedPayload_init_$Init$(seen0, message, reason, subscriptionKey, serializationConstructorMarker, objectCreate19(protoOf19(SubscriptionEndedPayload())));
|
|
4540
|
+
}
|
|
4541
|
+
var SubscriptionEndedPayloadClass;
|
|
4542
|
+
function SubscriptionEndedPayload() {
|
|
4543
|
+
if (SubscriptionEndedPayloadClass === VOID19) {
|
|
4544
|
+
let $ = function(message, reason, subscriptionKey) {
|
|
4545
|
+
var __soliboProps = arguments.length === 1 && typeof message === "object" && message !== null && message.constructor === Object;
|
|
4546
|
+
var __soliboTmp, __soliboConverted = false;
|
|
4547
|
+
if (__soliboProps) {
|
|
4548
|
+
const props = message;
|
|
4549
|
+
message = "message" in props ? props.message : VOID19;
|
|
4550
|
+
reason = "reason" in props ? props.reason : VOID19;
|
|
4551
|
+
subscriptionKey = "subscriptionKey" in props ? props.subscriptionKey : VOID19;
|
|
4552
|
+
}
|
|
4553
|
+
if ((__soliboTmp = __soliboToKt18(reason, ["enum", "EventBusErrorCode"])) !== reason) {
|
|
4554
|
+
reason = __soliboTmp;
|
|
4555
|
+
__soliboConverted = true;
|
|
4556
|
+
}
|
|
4557
|
+
Companion_getInstance_14();
|
|
4558
|
+
message = message === VOID19 ? null : message;
|
|
4559
|
+
WebSocketPayload().call(this);
|
|
4560
|
+
this.message = message;
|
|
4561
|
+
this.reason = reason;
|
|
4562
|
+
this.subscriptionKey = subscriptionKey;
|
|
4563
|
+
if (__soliboConverted && !__soliboBoundaryState18.internalConstruction) return __soliboToJs18(this);
|
|
4564
|
+
};
|
|
4565
|
+
initMetadataForClass19($, "SubscriptionEndedPayload", VOID19, WebSocketPayload(), VOID19, VOID19, VOID19, { 0: $serializer_getInstance19 });
|
|
4566
|
+
protoOf19($).get_message_h23axq_k$ = function() {
|
|
4567
|
+
return this.message;
|
|
4568
|
+
};
|
|
4569
|
+
protoOf19($).get_reason_iy4m6l_k$ = function() {
|
|
4570
|
+
return this.reason;
|
|
4571
|
+
};
|
|
4572
|
+
protoOf19($).get_subscriptionKey_gjoro9_k$ = function() {
|
|
4573
|
+
return this.subscriptionKey;
|
|
4574
|
+
};
|
|
4575
|
+
protoOf19($).component1_7eebsc_k$ = function() {
|
|
4576
|
+
return this.message;
|
|
4577
|
+
};
|
|
4578
|
+
protoOf19($).component2_7eebsb_k$ = function() {
|
|
4579
|
+
return this.reason;
|
|
4580
|
+
};
|
|
4581
|
+
protoOf19($).component3_7eebsa_k$ = function() {
|
|
4582
|
+
return this.subscriptionKey;
|
|
4583
|
+
};
|
|
4584
|
+
protoOf19($).copy_p7g6q7_k$ = function(message, reason, subscriptionKey) {
|
|
4585
|
+
return new (SubscriptionEndedPayload())(message, reason, subscriptionKey);
|
|
4586
|
+
};
|
|
4587
|
+
protoOf19($).copy = function(message, reason, subscriptionKey, $super) {
|
|
4588
|
+
message = message === VOID19 ? this.message : message;
|
|
4589
|
+
reason = reason === VOID19 ? this.reason : reason;
|
|
4590
|
+
subscriptionKey = subscriptionKey === VOID19 ? this.subscriptionKey : subscriptionKey;
|
|
4591
|
+
return $super === VOID19 ? this.copy_p7g6q7_k$(message, reason, subscriptionKey) : $super.copy_p7g6q7_k$.call(this, message, reason, subscriptionKey);
|
|
4592
|
+
};
|
|
4593
|
+
protoOf19($).toString = function() {
|
|
4594
|
+
return "SubscriptionEndedPayload(message=" + this.message + ", reason=" + this.reason.toString() + ", subscriptionKey=" + this.subscriptionKey + ")";
|
|
4595
|
+
};
|
|
4596
|
+
protoOf19($).hashCode = function() {
|
|
4597
|
+
var result = this.message == null ? 0 : getStringHashCode13(this.message);
|
|
4598
|
+
result = imul17(result, 31) + this.reason.hashCode() | 0;
|
|
4599
|
+
result = imul17(result, 31) + getStringHashCode13(this.subscriptionKey) | 0;
|
|
4600
|
+
return result;
|
|
4601
|
+
};
|
|
4602
|
+
protoOf19($).equals = function(other) {
|
|
4603
|
+
if (this === other)
|
|
4604
|
+
return true;
|
|
4605
|
+
if (!(other instanceof SubscriptionEndedPayload()))
|
|
4606
|
+
return false;
|
|
4607
|
+
if (!(this.message == other.message))
|
|
4608
|
+
return false;
|
|
4609
|
+
if (!this.reason.equals(other.reason))
|
|
4610
|
+
return false;
|
|
4611
|
+
if (!(this.subscriptionKey === other.subscriptionKey))
|
|
4612
|
+
return false;
|
|
4613
|
+
return true;
|
|
4614
|
+
};
|
|
4615
|
+
Object.defineProperty($, "name", { value: "SubscriptionEndedPayload", configurable: true });
|
|
4616
|
+
__soliboRegisterLookup19("SubscriptionEndedPayload", () => $);
|
|
4617
|
+
SubscriptionEndedPayloadClass = $;
|
|
4618
|
+
}
|
|
4619
|
+
return SubscriptionEndedPayloadClass;
|
|
4620
|
+
}
|
|
4621
|
+
__soliboRegisterLookup19("EventBusErrorCode", () => __soliboType_EventBusErrorCode2());
|
|
4622
|
+
|
|
4623
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/WebSocketPayload.mjs
|
|
4624
|
+
import { getKClass3t8tygqu4lcxf as getKClass } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs";
|
|
4625
|
+
import { SealedClassSerializer_init_$Create$15ycao7509ndt as SealedClassSerializer_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs";
|
|
4626
|
+
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance6 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
4627
|
+
import { lazy1261dae0bgscp as lazy6 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
4628
|
+
import { protoOf180f3jzyo7rfj as protoOf20 } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
4629
|
+
import { SerializerFactory1qv9hivitncuv as SerializerFactory } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
4630
|
+
import {
|
|
4631
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion20,
|
|
4632
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass20
|
|
4633
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
4634
|
+
import { VOID3gxj6tk5isa35 as VOID20 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
4635
|
+
import { SerializableWithd2dap36updxd as SerializableWith20 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
4636
|
+
import { __soliboRegisterLookup as __soliboRegisterLookup20 } from "../solibo-boundary.mjs";
|
|
4637
|
+
function _get_$cachedSerializer__te6jhj($this) {
|
|
4638
|
+
return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
|
|
4639
|
+
}
|
|
4640
|
+
function WebSocketPayload$Companion$_anonymous__2flvzc() {
|
|
4641
|
+
var tmp = getKClass(WebSocketPayload());
|
|
4642
|
+
var tmp_0 = [getKClass(AckedPayload()), getKClass(ConversationEventPayload()), getKClass(ConversationMessagePayload()), getKClass(ConversationTypingPayload()), getKClass(ConversationUpdatedPayload()), getKClass(DomainEventPayload()), getKClass(EventBusErrorPayload()), getKClass(GenericPayload()), getKClass(HeartbeatPayload()), getKClass(Pong()), getKClass(ReplayCompletePayload()), getKClass(SharedTextAckedPayload()), getKClass(SharedTextErrorPayload()), getKClass(SharedTextOpenedPayload()), getKClass(SharedTextPresencePayload()), getKClass(SharedTextSyncedPayload()), getKClass(SharedTextUpdatePayload()), getKClass(SubscribedPayload()), getKClass(SubscriptionEndedPayload())];
|
|
4643
|
+
var tmp_1 = [$serializer_getInstance(), $serializer_getInstance_0(), $serializer_getInstance_02(), $serializer_getInstance4(), $serializer_getInstance5(), $serializer_getInstance_03(), $serializer_getInstance7(), $serializer_getInstance8(), $serializer_getInstance9(), $serializer_getInstance10(), $serializer_getInstance11(), $serializer_getInstance12(), $serializer_getInstance13(), $serializer_getInstance14(), $serializer_getInstance15(), $serializer_getInstance16(), $serializer_getInstance17(), $serializer_getInstance18(), $serializer_getInstance19()];
|
|
4644
|
+
var tmp$ret$6 = [];
|
|
4645
|
+
return SealedClassSerializer_init_$Create$("no.solibo.oss.sdk.api.gen.models.WebSocketPayload", tmp, tmp_0, tmp_1, tmp$ret$6);
|
|
4646
|
+
}
|
|
4647
|
+
var CompanionClass20;
|
|
4648
|
+
function Companion20() {
|
|
4649
|
+
if (CompanionClass20 === VOID20) {
|
|
4650
|
+
let $ = function() {
|
|
4651
|
+
Companion_instance20 = this;
|
|
4652
|
+
var tmp = this;
|
|
4653
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance6();
|
|
4654
|
+
tmp.$cachedSerializer$delegate_1 = lazy6(tmp_0, WebSocketPayload$Companion$_anonymous__2flvzc);
|
|
4655
|
+
};
|
|
4656
|
+
initMetadataForCompanion20($, VOID20, [SerializerFactory()]);
|
|
4657
|
+
protoOf20($).serializer_9w0wvi_k$ = function() {
|
|
4658
|
+
return _get_$cachedSerializer__te6jhj(this);
|
|
4659
|
+
};
|
|
4660
|
+
protoOf20($).serializer_nv39qc_k$ = function(typeParamsSerializers) {
|
|
4661
|
+
return this.serializer_9w0wvi_k$();
|
|
4662
|
+
};
|
|
4663
|
+
CompanionClass20 = $;
|
|
4664
|
+
}
|
|
4665
|
+
return CompanionClass20;
|
|
4666
|
+
}
|
|
4667
|
+
var Companion_instance20;
|
|
4668
|
+
function Companion_getInstance4() {
|
|
4669
|
+
if (Companion_instance20 == null)
|
|
4670
|
+
new (Companion20())();
|
|
4671
|
+
return Companion_instance20;
|
|
4672
|
+
}
|
|
2765
4673
|
function WebSocketPayload_init_$Init$(seen0, serializationConstructorMarker, $this) {
|
|
2766
4674
|
return $this;
|
|
2767
4675
|
}
|
|
2768
4676
|
var WebSocketPayloadClass;
|
|
2769
4677
|
function WebSocketPayload() {
|
|
2770
|
-
if (WebSocketPayloadClass ===
|
|
4678
|
+
if (WebSocketPayloadClass === VOID20) {
|
|
2771
4679
|
let $ = function() {
|
|
2772
4680
|
Companion_getInstance4();
|
|
2773
4681
|
};
|
|
2774
|
-
|
|
4682
|
+
initMetadataForClass20($, "WebSocketPayload", VOID20, VOID20, VOID20, VOID20, VOID20, { 0: Companion_getInstance4 });
|
|
2775
4683
|
Object.defineProperty($, "name", { value: "WebSocketPayload", configurable: true });
|
|
2776
|
-
|
|
4684
|
+
__soliboRegisterLookup20("WebSocketPayload", () => $);
|
|
2777
4685
|
WebSocketPayloadClass = $;
|
|
2778
4686
|
}
|
|
2779
4687
|
return WebSocketPayloadClass;
|
|
@@ -2782,14 +4690,21 @@ export {
|
|
|
2782
4690
|
$serializer_getInstance5 as $serializer_getInstance109bqcyj1caxk,
|
|
2783
4691
|
$serializer_getInstance11 as $serializer_getInstance132zvwvyxgz8c,
|
|
2784
4692
|
$serializer_getInstance_03 as $serializer_getInstance168yzo5uz6j43,
|
|
4693
|
+
$serializer_getInstance14 as $serializer_getInstance1bce6s6fepocm,
|
|
2785
4694
|
$serializer_getInstance9 as $serializer_getInstance1lqt9w8mwbtlo,
|
|
2786
4695
|
$serializer_getInstance8 as $serializer_getInstance1mkxou91yq6kz,
|
|
4696
|
+
$serializer_getInstance13 as $serializer_getInstance2508zxecuek0t,
|
|
2787
4697
|
$serializer_getInstance10 as $serializer_getInstance26pkfftqrsd3p,
|
|
4698
|
+
$serializer_getInstance19 as $serializer_getInstance28zcjat7cf27b,
|
|
4699
|
+
$serializer_getInstance12 as $serializer_getInstance2bjc3rucqz8mx,
|
|
4700
|
+
$serializer_getInstance15 as $serializer_getInstance2bys5d2r6s7ym,
|
|
2788
4701
|
$serializer_getInstance4 as $serializer_getInstance320mihjo6874e,
|
|
4702
|
+
$serializer_getInstance17 as $serializer_getInstance32y9v4v3e9r9n,
|
|
2789
4703
|
$serializer_getInstance_0 as $serializer_getInstance3qlqnro5j8v4g,
|
|
2790
4704
|
$serializer_getInstance7 as $serializer_getInstance3up9xeq3jjmye,
|
|
2791
4705
|
$serializer_getInstance as $serializer_getInstancea9ood9x4kvr2,
|
|
2792
|
-
$
|
|
4706
|
+
$serializer_getInstance16 as $serializer_getInstanced7oa1k3cuy7s,
|
|
4707
|
+
$serializer_getInstance18 as $serializer_getInstancelcydhupc86af,
|
|
2793
4708
|
$serializer_getInstance_02 as $serializer_getInstancexoyzex1tul6f,
|
|
2794
4709
|
AckedPayload as AckedPayload336emu9o6im3o,
|
|
2795
4710
|
Companion_getInstance4 as Companion_getInstancexm2bhfwnwbme,
|
|
@@ -2803,7 +4718,14 @@ export {
|
|
|
2803
4718
|
HeartbeatPayload as HeartbeatPayload3o5onvn0c50gc,
|
|
2804
4719
|
Pong as Pong1m2n2tdg8m64m,
|
|
2805
4720
|
ReplayCompletePayload as ReplayCompletePayload282fd0236zru4,
|
|
4721
|
+
SharedTextAckedPayload as SharedTextAckedPayloadaaf3vtac01h7,
|
|
4722
|
+
SharedTextErrorPayload as SharedTextErrorPayload2bjq67xxdddlo,
|
|
4723
|
+
SharedTextOpenedPayload as SharedTextOpenedPayload2qfab6zeifff6,
|
|
4724
|
+
SharedTextPresencePayload as SharedTextPresencePayload2onnkw3xgepds,
|
|
4725
|
+
SharedTextSyncedPayload as SharedTextSyncedPayload2tgpg7h09ti9d,
|
|
4726
|
+
SharedTextUpdatePayload as SharedTextUpdatePayload3eqf0zsbcot4y,
|
|
2806
4727
|
SubscribedPayload as SubscribedPayload136mdqadj8d9j,
|
|
4728
|
+
SubscriptionEndedPayload as SubscriptionEndedPayload1vc7tin4sqp7u,
|
|
2807
4729
|
WebSocketPayload as WebSocketPayload3gjes2g0wxa9x,
|
|
2808
4730
|
WebSocketPayload_init_$Init$ as WebSocketPayload_init_$Init$2wf4owafe93kj
|
|
2809
4731
|
};
|