@unified-api/typescript-sdk 2.64.0 → 2.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/docs/sdks/commerce/README.md +512 -0
- package/docs/sdks/review/README.md +519 -0
- package/docs/sdks/unified/README.md +2 -2
- package/docs/sdks/webhook/README.md +2 -2
- package/funcs/accountingListAccountingContacts.js +1 -0
- package/funcs/accountingListAccountingContacts.js.map +1 -1
- package/funcs/commerceCreateCommerceReview.d.ts +14 -0
- package/funcs/commerceCreateCommerceReview.d.ts.map +1 -0
- package/funcs/commerceCreateCommerceReview.js +110 -0
- package/funcs/commerceCreateCommerceReview.js.map +1 -0
- package/funcs/commerceGetCommerceReview.d.ts +14 -0
- package/funcs/commerceGetCommerceReview.d.ts.map +1 -0
- package/funcs/commerceGetCommerceReview.js +113 -0
- package/funcs/commerceGetCommerceReview.js.map +1 -0
- package/funcs/commerceListCommerceReviews.d.ts +14 -0
- package/funcs/commerceListCommerceReviews.d.ts.map +1 -0
- package/funcs/commerceListCommerceReviews.js +118 -0
- package/funcs/commerceListCommerceReviews.js.map +1 -0
- package/funcs/commercePatchCommerceReview.d.ts +14 -0
- package/funcs/commercePatchCommerceReview.d.ts.map +1 -0
- package/funcs/commercePatchCommerceReview.js +114 -0
- package/funcs/commercePatchCommerceReview.js.map +1 -0
- package/funcs/commerceRemoveCommerceReview.d.ts +13 -0
- package/funcs/commerceRemoveCommerceReview.d.ts.map +1 -0
- package/funcs/commerceRemoveCommerceReview.js +110 -0
- package/funcs/commerceRemoveCommerceReview.js.map +1 -0
- package/funcs/commerceUpdateCommerceReview.d.ts +14 -0
- package/funcs/commerceUpdateCommerceReview.d.ts.map +1 -0
- package/funcs/commerceUpdateCommerceReview.js +114 -0
- package/funcs/commerceUpdateCommerceReview.js.map +1 -0
- package/funcs/contactListAccountingContacts.js +1 -0
- package/funcs/contactListAccountingContacts.js.map +1 -1
- package/funcs/instructorListLmsInstructors.js +0 -1
- package/funcs/instructorListLmsInstructors.js.map +1 -1
- package/funcs/lmsListLmsInstructors.js +0 -1
- package/funcs/lmsListLmsInstructors.js.map +1 -1
- package/funcs/lmsListLmsStudents.js +0 -1
- package/funcs/lmsListLmsStudents.js.map +1 -1
- package/funcs/recordingListUcRecordings.js +1 -0
- package/funcs/recordingListUcRecordings.js.map +1 -1
- package/funcs/reviewCreateCommerceReview.d.ts +14 -0
- package/funcs/reviewCreateCommerceReview.d.ts.map +1 -0
- package/funcs/reviewCreateCommerceReview.js +110 -0
- package/funcs/reviewCreateCommerceReview.js.map +1 -0
- package/funcs/reviewGetCommerceReview.d.ts +14 -0
- package/funcs/reviewGetCommerceReview.d.ts.map +1 -0
- package/funcs/reviewGetCommerceReview.js +113 -0
- package/funcs/reviewGetCommerceReview.js.map +1 -0
- package/funcs/reviewListCommerceReviews.d.ts +14 -0
- package/funcs/reviewListCommerceReviews.d.ts.map +1 -0
- package/funcs/reviewListCommerceReviews.js +118 -0
- package/funcs/reviewListCommerceReviews.js.map +1 -0
- package/funcs/reviewPatchCommerceReview.d.ts +14 -0
- package/funcs/reviewPatchCommerceReview.d.ts.map +1 -0
- package/funcs/reviewPatchCommerceReview.js +114 -0
- package/funcs/reviewPatchCommerceReview.js.map +1 -0
- package/funcs/reviewRemoveCommerceReview.d.ts +13 -0
- package/funcs/reviewRemoveCommerceReview.d.ts.map +1 -0
- package/funcs/reviewRemoveCommerceReview.js +110 -0
- package/funcs/reviewRemoveCommerceReview.js.map +1 -0
- package/funcs/reviewUpdateCommerceReview.d.ts +14 -0
- package/funcs/reviewUpdateCommerceReview.d.ts.map +1 -0
- package/funcs/reviewUpdateCommerceReview.js +114 -0
- package/funcs/reviewUpdateCommerceReview.js.map +1 -0
- package/funcs/studentListLmsStudents.js +0 -1
- package/funcs/studentListLmsStudents.js.map +1 -1
- package/funcs/ucListUcRecordings.js +1 -0
- package/funcs/ucListUcRecordings.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/package.json +1 -1
- package/sdk/commerce.d.ts +24 -0
- package/sdk/commerce.d.ts.map +1 -1
- package/sdk/commerce.js +42 -0
- package/sdk/commerce.js.map +1 -1
- package/sdk/models/operations/createcommercereview.d.ts +45 -0
- package/sdk/models/operations/createcommercereview.d.ts.map +1 -0
- package/sdk/models/operations/createcommercereview.js +77 -0
- package/sdk/models/operations/createcommercereview.js.map +1 -0
- package/sdk/models/operations/getcommercereview.d.ts +47 -0
- package/sdk/models/operations/getcommercereview.d.ts.map +1 -0
- package/sdk/models/operations/getcommercereview.js +74 -0
- package/sdk/models/operations/getcommercereview.js.map +1 -0
- package/sdk/models/operations/index.d.ts +6 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +6 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listaccountingaccounts.d.ts +3 -0
- package/sdk/models/operations/listaccountingaccounts.d.ts.map +1 -1
- package/sdk/models/operations/listaccountingaccounts.js.map +1 -1
- package/sdk/models/operations/listaccountingcontacts.d.ts +5 -0
- package/sdk/models/operations/listaccountingcontacts.d.ts.map +1 -1
- package/sdk/models/operations/listaccountingcontacts.js +4 -0
- package/sdk/models/operations/listaccountingcontacts.js.map +1 -1
- package/sdk/models/operations/listaccountinginvoices.d.ts +3 -0
- package/sdk/models/operations/listaccountinginvoices.d.ts.map +1 -1
- package/sdk/models/operations/listaccountinginvoices.js.map +1 -1
- package/sdk/models/operations/listaccountingreports.d.ts +6 -0
- package/sdk/models/operations/listaccountingreports.d.ts.map +1 -1
- package/sdk/models/operations/listaccountingreports.js.map +1 -1
- package/sdk/models/operations/listaccountingtransactions.d.ts +3 -0
- package/sdk/models/operations/listaccountingtransactions.d.ts.map +1 -1
- package/sdk/models/operations/listaccountingtransactions.js.map +1 -1
- package/sdk/models/operations/listatsactivities.d.ts +18 -0
- package/sdk/models/operations/listatsactivities.d.ts.map +1 -1
- package/sdk/models/operations/listatsactivities.js.map +1 -1
- package/sdk/models/operations/listatsapplications.d.ts +6 -0
- package/sdk/models/operations/listatsapplications.d.ts.map +1 -1
- package/sdk/models/operations/listatsapplications.js.map +1 -1
- package/sdk/models/operations/listatsdocuments.d.ts +9 -0
- package/sdk/models/operations/listatsdocuments.d.ts.map +1 -1
- package/sdk/models/operations/listatsdocuments.js.map +1 -1
- package/sdk/models/operations/listatsinterviews.d.ts +3 -0
- package/sdk/models/operations/listatsinterviews.d.ts.map +1 -1
- package/sdk/models/operations/listatsinterviews.js.map +1 -1
- package/sdk/models/operations/listatsjobs.d.ts +3 -0
- package/sdk/models/operations/listatsjobs.d.ts.map +1 -1
- package/sdk/models/operations/listatsjobs.js.map +1 -1
- package/sdk/models/operations/listatsscorecards.d.ts +12 -0
- package/sdk/models/operations/listatsscorecards.d.ts.map +1 -1
- package/sdk/models/operations/listatsscorecards.js.map +1 -1
- package/sdk/models/operations/listcalendarbusies.d.ts +9 -0
- package/sdk/models/operations/listcalendarbusies.d.ts.map +1 -1
- package/sdk/models/operations/listcalendarbusies.js.map +1 -1
- package/sdk/models/operations/listcalendarevents.d.ts +9 -0
- package/sdk/models/operations/listcalendarevents.d.ts.map +1 -1
- package/sdk/models/operations/listcalendarevents.js.map +1 -1
- package/sdk/models/operations/listcalendarrecordings.d.ts +9 -0
- package/sdk/models/operations/listcalendarrecordings.d.ts.map +1 -1
- package/sdk/models/operations/listcalendarrecordings.js.map +1 -1
- package/sdk/models/operations/listcommercecollections.d.ts +3 -0
- package/sdk/models/operations/listcommercecollections.d.ts.map +1 -1
- package/sdk/models/operations/listcommercecollections.js.map +1 -1
- package/sdk/models/operations/listcommerceinventories.d.ts +6 -0
- package/sdk/models/operations/listcommerceinventories.d.ts.map +1 -1
- package/sdk/models/operations/listcommerceinventories.js.map +1 -1
- package/sdk/models/operations/listcommerceitems.d.ts +3 -0
- package/sdk/models/operations/listcommerceitems.d.ts.map +1 -1
- package/sdk/models/operations/listcommerceitems.js.map +1 -1
- package/sdk/models/operations/listcommercereviews.d.ts +70 -0
- package/sdk/models/operations/listcommercereviews.d.ts.map +1 -0
- package/sdk/models/operations/listcommercereviews.js +95 -0
- package/sdk/models/operations/listcommercereviews.js.map +1 -0
- package/sdk/models/operations/listcrmcompanies.d.ts +9 -0
- package/sdk/models/operations/listcrmcompanies.d.ts.map +1 -1
- package/sdk/models/operations/listcrmcompanies.js.map +1 -1
- package/sdk/models/operations/listcrmcontacts.d.ts +9 -0
- package/sdk/models/operations/listcrmcontacts.d.ts.map +1 -1
- package/sdk/models/operations/listcrmcontacts.js.map +1 -1
- package/sdk/models/operations/listcrmdeals.d.ts +9 -0
- package/sdk/models/operations/listcrmdeals.d.ts.map +1 -1
- package/sdk/models/operations/listcrmdeals.js.map +1 -1
- package/sdk/models/operations/listcrmevents.d.ts +15 -0
- package/sdk/models/operations/listcrmevents.d.ts.map +1 -1
- package/sdk/models/operations/listcrmevents.js.map +1 -1
- package/sdk/models/operations/listcrmleads.d.ts +9 -0
- package/sdk/models/operations/listcrmleads.d.ts.map +1 -1
- package/sdk/models/operations/listcrmleads.js.map +1 -1
- package/sdk/models/operations/listhrisdevices.d.ts +3 -0
- package/sdk/models/operations/listhrisdevices.d.ts.map +1 -1
- package/sdk/models/operations/listhrisdevices.js.map +1 -1
- package/sdk/models/operations/listhrisemployees.d.ts +3 -0
- package/sdk/models/operations/listhrisemployees.d.ts.map +1 -1
- package/sdk/models/operations/listhrisemployees.js.map +1 -1
- package/sdk/models/operations/listhrisgroups.d.ts +3 -0
- package/sdk/models/operations/listhrisgroups.d.ts.map +1 -1
- package/sdk/models/operations/listhrisgroups.js.map +1 -1
- package/sdk/models/operations/listhrispayslips.d.ts +6 -0
- package/sdk/models/operations/listhrispayslips.d.ts.map +1 -1
- package/sdk/models/operations/listhrispayslips.js.map +1 -1
- package/sdk/models/operations/listhristimeoffs.d.ts +6 -0
- package/sdk/models/operations/listhristimeoffs.d.ts.map +1 -1
- package/sdk/models/operations/listhristimeoffs.js.map +1 -1
- package/sdk/models/operations/listkmscomments.d.ts +9 -0
- package/sdk/models/operations/listkmscomments.d.ts.map +1 -1
- package/sdk/models/operations/listkmscomments.js.map +1 -1
- package/sdk/models/operations/listkmspages.d.ts +6 -0
- package/sdk/models/operations/listkmspages.d.ts.map +1 -1
- package/sdk/models/operations/listkmspages.js.map +1 -1
- package/sdk/models/operations/listkmsspaces.d.ts +3 -0
- package/sdk/models/operations/listkmsspaces.d.ts.map +1 -1
- package/sdk/models/operations/listkmsspaces.js.map +1 -1
- package/sdk/models/operations/listlmsclasses.d.ts +6 -0
- package/sdk/models/operations/listlmsclasses.d.ts.map +1 -1
- package/sdk/models/operations/listlmsclasses.js.map +1 -1
- package/sdk/models/operations/listlmscourses.d.ts +9 -0
- package/sdk/models/operations/listlmscourses.d.ts.map +1 -1
- package/sdk/models/operations/listlmscourses.js.map +1 -1
- package/sdk/models/operations/listlmsinstructors.d.ts +12 -2
- package/sdk/models/operations/listlmsinstructors.d.ts.map +1 -1
- package/sdk/models/operations/listlmsinstructors.js +0 -4
- package/sdk/models/operations/listlmsinstructors.js.map +1 -1
- package/sdk/models/operations/listlmsstudents.d.ts +9 -2
- package/sdk/models/operations/listlmsstudents.d.ts.map +1 -1
- package/sdk/models/operations/listlmsstudents.js +0 -4
- package/sdk/models/operations/listlmsstudents.js.map +1 -1
- package/sdk/models/operations/listmartechmembers.d.ts +3 -0
- package/sdk/models/operations/listmartechmembers.d.ts.map +1 -1
- package/sdk/models/operations/listmartechmembers.js.map +1 -1
- package/sdk/models/operations/listmessagingchannels.d.ts +3 -0
- package/sdk/models/operations/listmessagingchannels.d.ts.map +1 -1
- package/sdk/models/operations/listmessagingchannels.js.map +1 -1
- package/sdk/models/operations/listmessagingmessages.d.ts +12 -0
- package/sdk/models/operations/listmessagingmessages.d.ts.map +1 -1
- package/sdk/models/operations/listmessagingmessages.js.map +1 -1
- package/sdk/models/operations/listmetadatametadatas.d.ts +3 -0
- package/sdk/models/operations/listmetadatametadatas.d.ts.map +1 -1
- package/sdk/models/operations/listmetadatametadatas.js.map +1 -1
- package/sdk/models/operations/listpaymentlinks.d.ts +6 -0
- package/sdk/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/sdk/models/operations/listpaymentlinks.js.map +1 -1
- package/sdk/models/operations/listpaymentpayments.d.ts +6 -0
- package/sdk/models/operations/listpaymentpayments.d.ts.map +1 -1
- package/sdk/models/operations/listpaymentpayments.js.map +1 -1
- package/sdk/models/operations/listpaymentrefunds.d.ts +3 -0
- package/sdk/models/operations/listpaymentrefunds.d.ts.map +1 -1
- package/sdk/models/operations/listpaymentrefunds.js.map +1 -1
- package/sdk/models/operations/listpaymentsubscriptions.d.ts +3 -0
- package/sdk/models/operations/listpaymentsubscriptions.d.ts.map +1 -1
- package/sdk/models/operations/listpaymentsubscriptions.js.map +1 -1
- package/sdk/models/operations/listrepobranches.d.ts +3 -0
- package/sdk/models/operations/listrepobranches.d.ts.map +1 -1
- package/sdk/models/operations/listrepobranches.js.map +1 -1
- package/sdk/models/operations/listrepocommits.d.ts +6 -0
- package/sdk/models/operations/listrepocommits.d.ts.map +1 -1
- package/sdk/models/operations/listrepocommits.js.map +1 -1
- package/sdk/models/operations/listrepopullrequests.d.ts +3 -0
- package/sdk/models/operations/listrepopullrequests.d.ts.map +1 -1
- package/sdk/models/operations/listrepopullrequests.js.map +1 -1
- package/sdk/models/operations/listreporepositories.d.ts +3 -0
- package/sdk/models/operations/listreporepositories.d.ts.map +1 -1
- package/sdk/models/operations/listreporepositories.js.map +1 -1
- package/sdk/models/operations/liststoragefiles.d.ts +6 -0
- package/sdk/models/operations/liststoragefiles.d.ts.map +1 -1
- package/sdk/models/operations/liststoragefiles.js.map +1 -1
- package/sdk/models/operations/listtaskcomments.d.ts +3 -0
- package/sdk/models/operations/listtaskcomments.d.ts.map +1 -1
- package/sdk/models/operations/listtaskcomments.js.map +1 -1
- package/sdk/models/operations/listtaskprojects.d.ts +3 -0
- package/sdk/models/operations/listtaskprojects.d.ts.map +1 -1
- package/sdk/models/operations/listtaskprojects.js.map +1 -1
- package/sdk/models/operations/listtasktasks.d.ts +9 -0
- package/sdk/models/operations/listtasktasks.d.ts.map +1 -1
- package/sdk/models/operations/listtasktasks.js.map +1 -1
- package/sdk/models/operations/listticketingnotes.d.ts +6 -0
- package/sdk/models/operations/listticketingnotes.d.ts.map +1 -1
- package/sdk/models/operations/listticketingnotes.js.map +1 -1
- package/sdk/models/operations/listticketingtickets.d.ts +6 -0
- package/sdk/models/operations/listticketingtickets.d.ts.map +1 -1
- package/sdk/models/operations/listticketingtickets.js.map +1 -1
- package/sdk/models/operations/listuccalls.d.ts +6 -0
- package/sdk/models/operations/listuccalls.d.ts.map +1 -1
- package/sdk/models/operations/listuccalls.js.map +1 -1
- package/sdk/models/operations/listuccomments.d.ts +6 -0
- package/sdk/models/operations/listuccomments.d.ts.map +1 -1
- package/sdk/models/operations/listuccomments.js.map +1 -1
- package/sdk/models/operations/listuccontacts.d.ts +3 -0
- package/sdk/models/operations/listuccontacts.d.ts.map +1 -1
- package/sdk/models/operations/listuccontacts.js.map +1 -1
- package/sdk/models/operations/listucrecordings.d.ts +17 -0
- package/sdk/models/operations/listucrecordings.d.ts.map +1 -1
- package/sdk/models/operations/listucrecordings.js +4 -0
- package/sdk/models/operations/listucrecordings.js.map +1 -1
- package/sdk/models/operations/patchcommercereview.d.ts +50 -0
- package/sdk/models/operations/patchcommercereview.d.ts.map +1 -0
- package/sdk/models/operations/patchcommercereview.js +79 -0
- package/sdk/models/operations/patchcommercereview.js.map +1 -0
- package/sdk/models/operations/removecommercereview.d.ts +66 -0
- package/sdk/models/operations/removecommercereview.d.ts.map +1 -0
- package/sdk/models/operations/removecommercereview.js +105 -0
- package/sdk/models/operations/removecommercereview.js.map +1 -0
- package/sdk/models/operations/updatecommercereview.d.ts +50 -0
- package/sdk/models/operations/updatecommercereview.d.ts.map +1 -0
- package/sdk/models/operations/updatecommercereview.js +79 -0
- package/sdk/models/operations/updatecommercereview.js.map +1 -0
- package/sdk/models/shared/commercereview.d.ts +115 -0
- package/sdk/models/shared/commercereview.d.ts.map +1 -0
- package/sdk/models/shared/commercereview.js +164 -0
- package/sdk/models/shared/commercereview.js.map +1 -0
- package/sdk/models/shared/commercereviewcomment.d.ts +94 -0
- package/sdk/models/shared/commercereviewcomment.d.ts.map +1 -0
- package/sdk/models/shared/commercereviewcomment.js +138 -0
- package/sdk/models/shared/commercereviewcomment.js.map +1 -0
- package/sdk/models/shared/index.d.ts +2 -5
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +2 -5
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/integration.d.ts +638 -9
- package/sdk/models/shared/integration.d.ts.map +1 -1
- package/sdk/models/shared/integration.js +935 -6
- package/sdk/models/shared/integration.js.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.d.ts +6 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/sdk/models/shared/webhook.d.ts +3 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +1 -0
- package/sdk/models/shared/webhook.js.map +1 -1
- package/sdk/review.d.ts +30 -0
- package/sdk/review.d.ts.map +1 -0
- package/sdk/review.js +54 -0
- package/sdk/review.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/accountingListAccountingContacts.ts +1 -0
- package/src/funcs/commerceCreateCommerceReview.ts +165 -0
- package/src/funcs/commerceGetCommerceReview.ts +167 -0
- package/src/funcs/commerceListCommerceReviews.ts +173 -0
- package/src/funcs/commercePatchCommerceReview.ts +169 -0
- package/src/funcs/commerceRemoveCommerceReview.ts +173 -0
- package/src/funcs/commerceUpdateCommerceReview.ts +169 -0
- package/src/funcs/contactListAccountingContacts.ts +1 -0
- package/src/funcs/instructorListLmsInstructors.ts +0 -1
- package/src/funcs/lmsListLmsInstructors.ts +0 -1
- package/src/funcs/lmsListLmsStudents.ts +0 -1
- package/src/funcs/recordingListUcRecordings.ts +1 -0
- package/src/funcs/reviewCreateCommerceReview.ts +165 -0
- package/src/funcs/reviewGetCommerceReview.ts +167 -0
- package/src/funcs/reviewListCommerceReviews.ts +173 -0
- package/src/funcs/reviewPatchCommerceReview.ts +169 -0
- package/src/funcs/reviewRemoveCommerceReview.ts +173 -0
- package/src/funcs/reviewUpdateCommerceReview.ts +169 -0
- package/src/funcs/studentListLmsStudents.ts +0 -1
- package/src/funcs/ucListUcRecordings.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/commerce.ts +90 -0
- package/src/sdk/models/operations/createcommercereview.ts +101 -0
- package/src/sdk/models/operations/getcommercereview.ts +99 -0
- package/src/sdk/models/operations/index.ts +6 -0
- package/src/sdk/models/operations/listaccountingaccounts.ts +3 -0
- package/src/sdk/models/operations/listaccountingcontacts.ts +9 -0
- package/src/sdk/models/operations/listaccountinginvoices.ts +3 -0
- package/src/sdk/models/operations/listaccountingreports.ts +6 -0
- package/src/sdk/models/operations/listaccountingtransactions.ts +3 -0
- package/src/sdk/models/operations/listatsactivities.ts +18 -0
- package/src/sdk/models/operations/listatsapplications.ts +6 -0
- package/src/sdk/models/operations/listatsdocuments.ts +9 -0
- package/src/sdk/models/operations/listatsinterviews.ts +3 -0
- package/src/sdk/models/operations/listatsjobs.ts +3 -0
- package/src/sdk/models/operations/listatsscorecards.ts +12 -0
- package/src/sdk/models/operations/listcalendarbusies.ts +9 -0
- package/src/sdk/models/operations/listcalendarevents.ts +9 -0
- package/src/sdk/models/operations/listcalendarrecordings.ts +9 -0
- package/src/sdk/models/operations/listcommercecollections.ts +3 -0
- package/src/sdk/models/operations/listcommerceinventories.ts +6 -0
- package/src/sdk/models/operations/listcommerceitems.ts +3 -0
- package/src/sdk/models/operations/listcommercereviews.ts +143 -0
- package/src/sdk/models/operations/listcrmcompanies.ts +9 -0
- package/src/sdk/models/operations/listcrmcontacts.ts +9 -0
- package/src/sdk/models/operations/listcrmdeals.ts +9 -0
- package/src/sdk/models/operations/listcrmevents.ts +15 -0
- package/src/sdk/models/operations/listcrmleads.ts +9 -0
- package/src/sdk/models/operations/listhrisdevices.ts +3 -0
- package/src/sdk/models/operations/listhrisemployees.ts +3 -0
- package/src/sdk/models/operations/listhrisgroups.ts +3 -0
- package/src/sdk/models/operations/listhrispayslips.ts +6 -0
- package/src/sdk/models/operations/listhristimeoffs.ts +6 -0
- package/src/sdk/models/operations/listkmscomments.ts +9 -0
- package/src/sdk/models/operations/listkmspages.ts +6 -0
- package/src/sdk/models/operations/listkmsspaces.ts +3 -0
- package/src/sdk/models/operations/listlmsclasses.ts +6 -0
- package/src/sdk/models/operations/listlmscourses.ts +9 -0
- package/src/sdk/models/operations/listlmsinstructors.ts +12 -6
- package/src/sdk/models/operations/listlmsstudents.ts +9 -6
- package/src/sdk/models/operations/listmartechmembers.ts +3 -0
- package/src/sdk/models/operations/listmessagingchannels.ts +3 -0
- package/src/sdk/models/operations/listmessagingmessages.ts +12 -0
- package/src/sdk/models/operations/listmetadatametadatas.ts +3 -0
- package/src/sdk/models/operations/listpaymentlinks.ts +6 -0
- package/src/sdk/models/operations/listpaymentpayments.ts +6 -0
- package/src/sdk/models/operations/listpaymentrefunds.ts +3 -0
- package/src/sdk/models/operations/listpaymentsubscriptions.ts +3 -0
- package/src/sdk/models/operations/listrepobranches.ts +3 -0
- package/src/sdk/models/operations/listrepocommits.ts +6 -0
- package/src/sdk/models/operations/listrepopullrequests.ts +3 -0
- package/src/sdk/models/operations/listreporepositories.ts +3 -0
- package/src/sdk/models/operations/liststoragefiles.ts +6 -0
- package/src/sdk/models/operations/listtaskcomments.ts +3 -0
- package/src/sdk/models/operations/listtaskprojects.ts +3 -0
- package/src/sdk/models/operations/listtasktasks.ts +9 -0
- package/src/sdk/models/operations/listticketingnotes.ts +6 -0
- package/src/sdk/models/operations/listticketingtickets.ts +6 -0
- package/src/sdk/models/operations/listuccalls.ts +6 -0
- package/src/sdk/models/operations/listuccomments.ts +6 -0
- package/src/sdk/models/operations/listuccontacts.ts +3 -0
- package/src/sdk/models/operations/listucrecordings.ts +21 -0
- package/src/sdk/models/operations/patchcommercereview.ts +106 -0
- package/src/sdk/models/operations/removecommercereview.ts +155 -0
- package/src/sdk/models/operations/updatecommercereview.ts +108 -0
- package/src/sdk/models/shared/commercereview.ts +238 -0
- package/src/sdk/models/shared/commercereviewcomment.ts +189 -0
- package/src/sdk/models/shared/index.ts +2 -5
- package/src/sdk/models/shared/integration.ts +1860 -14
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
- package/src/sdk/models/shared/webhook.ts +1 -0
- package/src/sdk/review.ts +100 -0
- package/src/sdk/sdk.ts +6 -0
- package/sdk/models/shared/integrationsupport.d.ts +0 -2036
- package/sdk/models/shared/integrationsupport.d.ts.map +0 -1
- package/sdk/models/shared/integrationsupport.js +0 -1704
- package/sdk/models/shared/integrationsupport.js.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookevents.d.ts +0 -36
- package/sdk/models/shared/propertyintegrationsupportwebhookevents.d.ts.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookevents.js +0 -69
- package/sdk/models/shared/propertyintegrationsupportwebhookevents.js.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.d.ts +0 -28
- package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.d.ts.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.js +0 -51
- package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.js.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.d.ts +0 -28
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.d.ts.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.js +0 -51
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.js.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.d.ts +0 -28
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.d.ts.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.js +0 -51
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.js.map +0 -1
- package/src/sdk/models/shared/integrationsupport.ts +0 -2308
- package/src/sdk/models/shared/propertyintegrationsupportwebhookevents.ts +0 -109
- package/src/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.ts +0 -37
- package/src/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.ts +0 -37
- package/src/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.ts +0 -37
|
@@ -7,24 +7,117 @@ import { remap as remap$ } from "../../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
IntegrationSupport,
|
|
12
|
-
IntegrationSupport$inboundSchema,
|
|
13
|
-
IntegrationSupport$Outbound,
|
|
14
|
-
IntegrationSupport$outboundSchema,
|
|
15
|
-
} from "./integrationsupport.js";
|
|
16
10
|
import {
|
|
17
11
|
PropertyIntegrationCategories,
|
|
18
12
|
PropertyIntegrationCategories$inboundSchema,
|
|
19
13
|
PropertyIntegrationCategories$outboundSchema,
|
|
20
14
|
} from "./propertyintegrationcategories.js";
|
|
21
15
|
|
|
16
|
+
export type IntegrationSchemasApi52 = {};
|
|
17
|
+
|
|
18
|
+
export type Integration5 = IntegrationSchemasApi52 | Array<any>;
|
|
19
|
+
|
|
20
|
+
export type IntegrationSchemasApi2 = {};
|
|
21
|
+
|
|
22
|
+
export type Integration4 = IntegrationSchemasApi2 | boolean;
|
|
23
|
+
|
|
24
|
+
export type IntegrationSchemasApi32 = {};
|
|
25
|
+
|
|
26
|
+
export type Integration3 = IntegrationSchemasApi32 | number;
|
|
27
|
+
|
|
28
|
+
export type IntegrationSchemasApi22 = {};
|
|
29
|
+
|
|
30
|
+
export type Integration2 = IntegrationSchemasApi22 | string;
|
|
31
|
+
|
|
32
|
+
export type Integration1 = {};
|
|
33
|
+
|
|
34
|
+
export type Api =
|
|
35
|
+
| Integration1
|
|
36
|
+
| IntegrationSchemasApi22
|
|
37
|
+
| string
|
|
38
|
+
| IntegrationSchemasApi32
|
|
39
|
+
| number
|
|
40
|
+
| IntegrationSchemasApi2
|
|
41
|
+
| boolean
|
|
42
|
+
| IntegrationSchemasApi52
|
|
43
|
+
| Array<any>;
|
|
44
|
+
|
|
45
|
+
export type IntegrationSchemasPartnership52 = {};
|
|
46
|
+
|
|
47
|
+
export type IntegrationSchemas5 = IntegrationSchemasPartnership52 | Array<any>;
|
|
48
|
+
|
|
49
|
+
export type IntegrationSchemasPartnership42 = {};
|
|
50
|
+
|
|
51
|
+
export type IntegrationSchemas4 = IntegrationSchemasPartnership42 | boolean;
|
|
52
|
+
|
|
53
|
+
export type IntegrationSchemasPartnership32 = {};
|
|
54
|
+
|
|
55
|
+
export type IntegrationSchemas3 = IntegrationSchemasPartnership32 | number;
|
|
56
|
+
|
|
57
|
+
export type IntegrationSchemasPartnership2 = {};
|
|
58
|
+
|
|
59
|
+
export type IntegrationSchemas2 = IntegrationSchemasPartnership2 | string;
|
|
60
|
+
|
|
61
|
+
export type IntegrationSchemas1 = {};
|
|
62
|
+
|
|
63
|
+
export type Partnership =
|
|
64
|
+
| IntegrationSchemas1
|
|
65
|
+
| IntegrationSchemasPartnership2
|
|
66
|
+
| string
|
|
67
|
+
| IntegrationSchemasPartnership32
|
|
68
|
+
| number
|
|
69
|
+
| IntegrationSchemasPartnership42
|
|
70
|
+
| boolean
|
|
71
|
+
| IntegrationSchemasPartnership52
|
|
72
|
+
| Array<any>;
|
|
73
|
+
|
|
74
|
+
export type IntegrationSchemasSandbox52 = {};
|
|
75
|
+
|
|
76
|
+
export type IntegrationSchemasSandbox5 =
|
|
77
|
+
| IntegrationSchemasSandbox52
|
|
78
|
+
| Array<any>;
|
|
79
|
+
|
|
80
|
+
export type IntegrationSchemasSandbox42 = {};
|
|
81
|
+
|
|
82
|
+
export type IntegrationSchemasSandbox4 = IntegrationSchemasSandbox42 | boolean;
|
|
83
|
+
|
|
84
|
+
export type IntegrationSchemasSandbox32 = {};
|
|
85
|
+
|
|
86
|
+
export type IntegrationSchemasSandbox3 = IntegrationSchemasSandbox32 | number;
|
|
87
|
+
|
|
88
|
+
export type IntegrationSchemasSandbox22 = {};
|
|
89
|
+
|
|
90
|
+
export type IntegrationSchemasSandbox2 = IntegrationSchemasSandbox22 | string;
|
|
91
|
+
|
|
92
|
+
export type IntegrationSchemasSandbox1 = {};
|
|
93
|
+
|
|
94
|
+
export type Sandbox =
|
|
95
|
+
| IntegrationSchemasSandbox1
|
|
96
|
+
| IntegrationSchemasSandbox22
|
|
97
|
+
| string
|
|
98
|
+
| IntegrationSchemasSandbox32
|
|
99
|
+
| number
|
|
100
|
+
| IntegrationSchemasSandbox42
|
|
101
|
+
| boolean
|
|
102
|
+
| IntegrationSchemasSandbox52
|
|
103
|
+
| Array<any>;
|
|
104
|
+
|
|
22
105
|
/**
|
|
23
106
|
* Informational object for supported integrations.
|
|
24
107
|
*/
|
|
25
108
|
export type Integration = {
|
|
26
109
|
activeHealthyConnections?: number | undefined;
|
|
27
|
-
api?:
|
|
110
|
+
api?:
|
|
111
|
+
| Integration1
|
|
112
|
+
| IntegrationSchemasApi22
|
|
113
|
+
| string
|
|
114
|
+
| IntegrationSchemasApi32
|
|
115
|
+
| number
|
|
116
|
+
| IntegrationSchemasApi2
|
|
117
|
+
| boolean
|
|
118
|
+
| IntegrationSchemasApi52
|
|
119
|
+
| Array<any>
|
|
120
|
+
| undefined;
|
|
28
121
|
apiDocsUrl?: string | undefined;
|
|
29
122
|
beta?: boolean | undefined;
|
|
30
123
|
/**
|
|
@@ -40,9 +133,31 @@ export type Integration = {
|
|
|
40
133
|
isActive?: boolean | undefined;
|
|
41
134
|
logoUrl?: string | undefined;
|
|
42
135
|
name: string;
|
|
136
|
+
partnership?:
|
|
137
|
+
| IntegrationSchemas1
|
|
138
|
+
| IntegrationSchemasPartnership2
|
|
139
|
+
| string
|
|
140
|
+
| IntegrationSchemasPartnership32
|
|
141
|
+
| number
|
|
142
|
+
| IntegrationSchemasPartnership42
|
|
143
|
+
| boolean
|
|
144
|
+
| IntegrationSchemasPartnership52
|
|
145
|
+
| Array<any>
|
|
146
|
+
| undefined;
|
|
43
147
|
popularity?: number | undefined;
|
|
44
148
|
rateLimitDescription?: string | undefined;
|
|
45
|
-
|
|
149
|
+
sandbox?:
|
|
150
|
+
| IntegrationSchemasSandbox1
|
|
151
|
+
| IntegrationSchemasSandbox22
|
|
152
|
+
| string
|
|
153
|
+
| IntegrationSchemasSandbox32
|
|
154
|
+
| number
|
|
155
|
+
| IntegrationSchemasSandbox42
|
|
156
|
+
| boolean
|
|
157
|
+
| IntegrationSchemasSandbox52
|
|
158
|
+
| Array<any>
|
|
159
|
+
| undefined;
|
|
160
|
+
support?: { [k: string]: any } | undefined;
|
|
46
161
|
testedAt?: Date | undefined;
|
|
47
162
|
textColor?: string | undefined;
|
|
48
163
|
/**
|
|
@@ -58,6 +173,1611 @@ export type Integration = {
|
|
|
58
173
|
webUrl?: string | undefined;
|
|
59
174
|
};
|
|
60
175
|
|
|
176
|
+
/** @internal */
|
|
177
|
+
export const IntegrationSchemasApi52$inboundSchema: z.ZodType<
|
|
178
|
+
IntegrationSchemasApi52,
|
|
179
|
+
z.ZodTypeDef,
|
|
180
|
+
unknown
|
|
181
|
+
> = z.object({});
|
|
182
|
+
|
|
183
|
+
/** @internal */
|
|
184
|
+
export type IntegrationSchemasApi52$Outbound = {};
|
|
185
|
+
|
|
186
|
+
/** @internal */
|
|
187
|
+
export const IntegrationSchemasApi52$outboundSchema: z.ZodType<
|
|
188
|
+
IntegrationSchemasApi52$Outbound,
|
|
189
|
+
z.ZodTypeDef,
|
|
190
|
+
IntegrationSchemasApi52
|
|
191
|
+
> = z.object({});
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
196
|
+
*/
|
|
197
|
+
export namespace IntegrationSchemasApi52$ {
|
|
198
|
+
/** @deprecated use `IntegrationSchemasApi52$inboundSchema` instead. */
|
|
199
|
+
export const inboundSchema = IntegrationSchemasApi52$inboundSchema;
|
|
200
|
+
/** @deprecated use `IntegrationSchemasApi52$outboundSchema` instead. */
|
|
201
|
+
export const outboundSchema = IntegrationSchemasApi52$outboundSchema;
|
|
202
|
+
/** @deprecated use `IntegrationSchemasApi52$Outbound` instead. */
|
|
203
|
+
export type Outbound = IntegrationSchemasApi52$Outbound;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export function integrationSchemasApi52ToJSON(
|
|
207
|
+
integrationSchemasApi52: IntegrationSchemasApi52,
|
|
208
|
+
): string {
|
|
209
|
+
return JSON.stringify(
|
|
210
|
+
IntegrationSchemasApi52$outboundSchema.parse(integrationSchemasApi52),
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export function integrationSchemasApi52FromJSON(
|
|
215
|
+
jsonString: string,
|
|
216
|
+
): SafeParseResult<IntegrationSchemasApi52, SDKValidationError> {
|
|
217
|
+
return safeParse(
|
|
218
|
+
jsonString,
|
|
219
|
+
(x) => IntegrationSchemasApi52$inboundSchema.parse(JSON.parse(x)),
|
|
220
|
+
`Failed to parse 'IntegrationSchemasApi52' from JSON`,
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/** @internal */
|
|
225
|
+
export const Integration5$inboundSchema: z.ZodType<
|
|
226
|
+
Integration5,
|
|
227
|
+
z.ZodTypeDef,
|
|
228
|
+
unknown
|
|
229
|
+
> = z.union([
|
|
230
|
+
z.lazy(() => IntegrationSchemasApi52$inboundSchema),
|
|
231
|
+
z.array(z.any()),
|
|
232
|
+
]);
|
|
233
|
+
|
|
234
|
+
/** @internal */
|
|
235
|
+
export type Integration5$Outbound =
|
|
236
|
+
| IntegrationSchemasApi52$Outbound
|
|
237
|
+
| Array<any>;
|
|
238
|
+
|
|
239
|
+
/** @internal */
|
|
240
|
+
export const Integration5$outboundSchema: z.ZodType<
|
|
241
|
+
Integration5$Outbound,
|
|
242
|
+
z.ZodTypeDef,
|
|
243
|
+
Integration5
|
|
244
|
+
> = z.union([
|
|
245
|
+
z.lazy(() => IntegrationSchemasApi52$outboundSchema),
|
|
246
|
+
z.array(z.any()),
|
|
247
|
+
]);
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
252
|
+
*/
|
|
253
|
+
export namespace Integration5$ {
|
|
254
|
+
/** @deprecated use `Integration5$inboundSchema` instead. */
|
|
255
|
+
export const inboundSchema = Integration5$inboundSchema;
|
|
256
|
+
/** @deprecated use `Integration5$outboundSchema` instead. */
|
|
257
|
+
export const outboundSchema = Integration5$outboundSchema;
|
|
258
|
+
/** @deprecated use `Integration5$Outbound` instead. */
|
|
259
|
+
export type Outbound = Integration5$Outbound;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export function integration5ToJSON(integration5: Integration5): string {
|
|
263
|
+
return JSON.stringify(Integration5$outboundSchema.parse(integration5));
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export function integration5FromJSON(
|
|
267
|
+
jsonString: string,
|
|
268
|
+
): SafeParseResult<Integration5, SDKValidationError> {
|
|
269
|
+
return safeParse(
|
|
270
|
+
jsonString,
|
|
271
|
+
(x) => Integration5$inboundSchema.parse(JSON.parse(x)),
|
|
272
|
+
`Failed to parse 'Integration5' from JSON`,
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** @internal */
|
|
277
|
+
export const IntegrationSchemasApi2$inboundSchema: z.ZodType<
|
|
278
|
+
IntegrationSchemasApi2,
|
|
279
|
+
z.ZodTypeDef,
|
|
280
|
+
unknown
|
|
281
|
+
> = z.object({});
|
|
282
|
+
|
|
283
|
+
/** @internal */
|
|
284
|
+
export type IntegrationSchemasApi2$Outbound = {};
|
|
285
|
+
|
|
286
|
+
/** @internal */
|
|
287
|
+
export const IntegrationSchemasApi2$outboundSchema: z.ZodType<
|
|
288
|
+
IntegrationSchemasApi2$Outbound,
|
|
289
|
+
z.ZodTypeDef,
|
|
290
|
+
IntegrationSchemasApi2
|
|
291
|
+
> = z.object({});
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @internal
|
|
295
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
296
|
+
*/
|
|
297
|
+
export namespace IntegrationSchemasApi2$ {
|
|
298
|
+
/** @deprecated use `IntegrationSchemasApi2$inboundSchema` instead. */
|
|
299
|
+
export const inboundSchema = IntegrationSchemasApi2$inboundSchema;
|
|
300
|
+
/** @deprecated use `IntegrationSchemasApi2$outboundSchema` instead. */
|
|
301
|
+
export const outboundSchema = IntegrationSchemasApi2$outboundSchema;
|
|
302
|
+
/** @deprecated use `IntegrationSchemasApi2$Outbound` instead. */
|
|
303
|
+
export type Outbound = IntegrationSchemasApi2$Outbound;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export function integrationSchemasApi2ToJSON(
|
|
307
|
+
integrationSchemasApi2: IntegrationSchemasApi2,
|
|
308
|
+
): string {
|
|
309
|
+
return JSON.stringify(
|
|
310
|
+
IntegrationSchemasApi2$outboundSchema.parse(integrationSchemasApi2),
|
|
311
|
+
);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export function integrationSchemasApi2FromJSON(
|
|
315
|
+
jsonString: string,
|
|
316
|
+
): SafeParseResult<IntegrationSchemasApi2, SDKValidationError> {
|
|
317
|
+
return safeParse(
|
|
318
|
+
jsonString,
|
|
319
|
+
(x) => IntegrationSchemasApi2$inboundSchema.parse(JSON.parse(x)),
|
|
320
|
+
`Failed to parse 'IntegrationSchemasApi2' from JSON`,
|
|
321
|
+
);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/** @internal */
|
|
325
|
+
export const Integration4$inboundSchema: z.ZodType<
|
|
326
|
+
Integration4,
|
|
327
|
+
z.ZodTypeDef,
|
|
328
|
+
unknown
|
|
329
|
+
> = z.union([z.lazy(() => IntegrationSchemasApi2$inboundSchema), z.boolean()]);
|
|
330
|
+
|
|
331
|
+
/** @internal */
|
|
332
|
+
export type Integration4$Outbound = IntegrationSchemasApi2$Outbound | boolean;
|
|
333
|
+
|
|
334
|
+
/** @internal */
|
|
335
|
+
export const Integration4$outboundSchema: z.ZodType<
|
|
336
|
+
Integration4$Outbound,
|
|
337
|
+
z.ZodTypeDef,
|
|
338
|
+
Integration4
|
|
339
|
+
> = z.union([z.lazy(() => IntegrationSchemasApi2$outboundSchema), z.boolean()]);
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @internal
|
|
343
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
344
|
+
*/
|
|
345
|
+
export namespace Integration4$ {
|
|
346
|
+
/** @deprecated use `Integration4$inboundSchema` instead. */
|
|
347
|
+
export const inboundSchema = Integration4$inboundSchema;
|
|
348
|
+
/** @deprecated use `Integration4$outboundSchema` instead. */
|
|
349
|
+
export const outboundSchema = Integration4$outboundSchema;
|
|
350
|
+
/** @deprecated use `Integration4$Outbound` instead. */
|
|
351
|
+
export type Outbound = Integration4$Outbound;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export function integration4ToJSON(integration4: Integration4): string {
|
|
355
|
+
return JSON.stringify(Integration4$outboundSchema.parse(integration4));
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export function integration4FromJSON(
|
|
359
|
+
jsonString: string,
|
|
360
|
+
): SafeParseResult<Integration4, SDKValidationError> {
|
|
361
|
+
return safeParse(
|
|
362
|
+
jsonString,
|
|
363
|
+
(x) => Integration4$inboundSchema.parse(JSON.parse(x)),
|
|
364
|
+
`Failed to parse 'Integration4' from JSON`,
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/** @internal */
|
|
369
|
+
export const IntegrationSchemasApi32$inboundSchema: z.ZodType<
|
|
370
|
+
IntegrationSchemasApi32,
|
|
371
|
+
z.ZodTypeDef,
|
|
372
|
+
unknown
|
|
373
|
+
> = z.object({});
|
|
374
|
+
|
|
375
|
+
/** @internal */
|
|
376
|
+
export type IntegrationSchemasApi32$Outbound = {};
|
|
377
|
+
|
|
378
|
+
/** @internal */
|
|
379
|
+
export const IntegrationSchemasApi32$outboundSchema: z.ZodType<
|
|
380
|
+
IntegrationSchemasApi32$Outbound,
|
|
381
|
+
z.ZodTypeDef,
|
|
382
|
+
IntegrationSchemasApi32
|
|
383
|
+
> = z.object({});
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @internal
|
|
387
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
388
|
+
*/
|
|
389
|
+
export namespace IntegrationSchemasApi32$ {
|
|
390
|
+
/** @deprecated use `IntegrationSchemasApi32$inboundSchema` instead. */
|
|
391
|
+
export const inboundSchema = IntegrationSchemasApi32$inboundSchema;
|
|
392
|
+
/** @deprecated use `IntegrationSchemasApi32$outboundSchema` instead. */
|
|
393
|
+
export const outboundSchema = IntegrationSchemasApi32$outboundSchema;
|
|
394
|
+
/** @deprecated use `IntegrationSchemasApi32$Outbound` instead. */
|
|
395
|
+
export type Outbound = IntegrationSchemasApi32$Outbound;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export function integrationSchemasApi32ToJSON(
|
|
399
|
+
integrationSchemasApi32: IntegrationSchemasApi32,
|
|
400
|
+
): string {
|
|
401
|
+
return JSON.stringify(
|
|
402
|
+
IntegrationSchemasApi32$outboundSchema.parse(integrationSchemasApi32),
|
|
403
|
+
);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export function integrationSchemasApi32FromJSON(
|
|
407
|
+
jsonString: string,
|
|
408
|
+
): SafeParseResult<IntegrationSchemasApi32, SDKValidationError> {
|
|
409
|
+
return safeParse(
|
|
410
|
+
jsonString,
|
|
411
|
+
(x) => IntegrationSchemasApi32$inboundSchema.parse(JSON.parse(x)),
|
|
412
|
+
`Failed to parse 'IntegrationSchemasApi32' from JSON`,
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/** @internal */
|
|
417
|
+
export const Integration3$inboundSchema: z.ZodType<
|
|
418
|
+
Integration3,
|
|
419
|
+
z.ZodTypeDef,
|
|
420
|
+
unknown
|
|
421
|
+
> = z.union([z.lazy(() => IntegrationSchemasApi32$inboundSchema), z.number()]);
|
|
422
|
+
|
|
423
|
+
/** @internal */
|
|
424
|
+
export type Integration3$Outbound = IntegrationSchemasApi32$Outbound | number;
|
|
425
|
+
|
|
426
|
+
/** @internal */
|
|
427
|
+
export const Integration3$outboundSchema: z.ZodType<
|
|
428
|
+
Integration3$Outbound,
|
|
429
|
+
z.ZodTypeDef,
|
|
430
|
+
Integration3
|
|
431
|
+
> = z.union([z.lazy(() => IntegrationSchemasApi32$outboundSchema), z.number()]);
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @internal
|
|
435
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
436
|
+
*/
|
|
437
|
+
export namespace Integration3$ {
|
|
438
|
+
/** @deprecated use `Integration3$inboundSchema` instead. */
|
|
439
|
+
export const inboundSchema = Integration3$inboundSchema;
|
|
440
|
+
/** @deprecated use `Integration3$outboundSchema` instead. */
|
|
441
|
+
export const outboundSchema = Integration3$outboundSchema;
|
|
442
|
+
/** @deprecated use `Integration3$Outbound` instead. */
|
|
443
|
+
export type Outbound = Integration3$Outbound;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export function integration3ToJSON(integration3: Integration3): string {
|
|
447
|
+
return JSON.stringify(Integration3$outboundSchema.parse(integration3));
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export function integration3FromJSON(
|
|
451
|
+
jsonString: string,
|
|
452
|
+
): SafeParseResult<Integration3, SDKValidationError> {
|
|
453
|
+
return safeParse(
|
|
454
|
+
jsonString,
|
|
455
|
+
(x) => Integration3$inboundSchema.parse(JSON.parse(x)),
|
|
456
|
+
`Failed to parse 'Integration3' from JSON`,
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/** @internal */
|
|
461
|
+
export const IntegrationSchemasApi22$inboundSchema: z.ZodType<
|
|
462
|
+
IntegrationSchemasApi22,
|
|
463
|
+
z.ZodTypeDef,
|
|
464
|
+
unknown
|
|
465
|
+
> = z.object({});
|
|
466
|
+
|
|
467
|
+
/** @internal */
|
|
468
|
+
export type IntegrationSchemasApi22$Outbound = {};
|
|
469
|
+
|
|
470
|
+
/** @internal */
|
|
471
|
+
export const IntegrationSchemasApi22$outboundSchema: z.ZodType<
|
|
472
|
+
IntegrationSchemasApi22$Outbound,
|
|
473
|
+
z.ZodTypeDef,
|
|
474
|
+
IntegrationSchemasApi22
|
|
475
|
+
> = z.object({});
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @internal
|
|
479
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
480
|
+
*/
|
|
481
|
+
export namespace IntegrationSchemasApi22$ {
|
|
482
|
+
/** @deprecated use `IntegrationSchemasApi22$inboundSchema` instead. */
|
|
483
|
+
export const inboundSchema = IntegrationSchemasApi22$inboundSchema;
|
|
484
|
+
/** @deprecated use `IntegrationSchemasApi22$outboundSchema` instead. */
|
|
485
|
+
export const outboundSchema = IntegrationSchemasApi22$outboundSchema;
|
|
486
|
+
/** @deprecated use `IntegrationSchemasApi22$Outbound` instead. */
|
|
487
|
+
export type Outbound = IntegrationSchemasApi22$Outbound;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export function integrationSchemasApi22ToJSON(
|
|
491
|
+
integrationSchemasApi22: IntegrationSchemasApi22,
|
|
492
|
+
): string {
|
|
493
|
+
return JSON.stringify(
|
|
494
|
+
IntegrationSchemasApi22$outboundSchema.parse(integrationSchemasApi22),
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export function integrationSchemasApi22FromJSON(
|
|
499
|
+
jsonString: string,
|
|
500
|
+
): SafeParseResult<IntegrationSchemasApi22, SDKValidationError> {
|
|
501
|
+
return safeParse(
|
|
502
|
+
jsonString,
|
|
503
|
+
(x) => IntegrationSchemasApi22$inboundSchema.parse(JSON.parse(x)),
|
|
504
|
+
`Failed to parse 'IntegrationSchemasApi22' from JSON`,
|
|
505
|
+
);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/** @internal */
|
|
509
|
+
export const Integration2$inboundSchema: z.ZodType<
|
|
510
|
+
Integration2,
|
|
511
|
+
z.ZodTypeDef,
|
|
512
|
+
unknown
|
|
513
|
+
> = z.union([z.lazy(() => IntegrationSchemasApi22$inboundSchema), z.string()]);
|
|
514
|
+
|
|
515
|
+
/** @internal */
|
|
516
|
+
export type Integration2$Outbound = IntegrationSchemasApi22$Outbound | string;
|
|
517
|
+
|
|
518
|
+
/** @internal */
|
|
519
|
+
export const Integration2$outboundSchema: z.ZodType<
|
|
520
|
+
Integration2$Outbound,
|
|
521
|
+
z.ZodTypeDef,
|
|
522
|
+
Integration2
|
|
523
|
+
> = z.union([z.lazy(() => IntegrationSchemasApi22$outboundSchema), z.string()]);
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @internal
|
|
527
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
528
|
+
*/
|
|
529
|
+
export namespace Integration2$ {
|
|
530
|
+
/** @deprecated use `Integration2$inboundSchema` instead. */
|
|
531
|
+
export const inboundSchema = Integration2$inboundSchema;
|
|
532
|
+
/** @deprecated use `Integration2$outboundSchema` instead. */
|
|
533
|
+
export const outboundSchema = Integration2$outboundSchema;
|
|
534
|
+
/** @deprecated use `Integration2$Outbound` instead. */
|
|
535
|
+
export type Outbound = Integration2$Outbound;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
export function integration2ToJSON(integration2: Integration2): string {
|
|
539
|
+
return JSON.stringify(Integration2$outboundSchema.parse(integration2));
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export function integration2FromJSON(
|
|
543
|
+
jsonString: string,
|
|
544
|
+
): SafeParseResult<Integration2, SDKValidationError> {
|
|
545
|
+
return safeParse(
|
|
546
|
+
jsonString,
|
|
547
|
+
(x) => Integration2$inboundSchema.parse(JSON.parse(x)),
|
|
548
|
+
`Failed to parse 'Integration2' from JSON`,
|
|
549
|
+
);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/** @internal */
|
|
553
|
+
export const Integration1$inboundSchema: z.ZodType<
|
|
554
|
+
Integration1,
|
|
555
|
+
z.ZodTypeDef,
|
|
556
|
+
unknown
|
|
557
|
+
> = z.object({});
|
|
558
|
+
|
|
559
|
+
/** @internal */
|
|
560
|
+
export type Integration1$Outbound = {};
|
|
561
|
+
|
|
562
|
+
/** @internal */
|
|
563
|
+
export const Integration1$outboundSchema: z.ZodType<
|
|
564
|
+
Integration1$Outbound,
|
|
565
|
+
z.ZodTypeDef,
|
|
566
|
+
Integration1
|
|
567
|
+
> = z.object({});
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* @internal
|
|
571
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
572
|
+
*/
|
|
573
|
+
export namespace Integration1$ {
|
|
574
|
+
/** @deprecated use `Integration1$inboundSchema` instead. */
|
|
575
|
+
export const inboundSchema = Integration1$inboundSchema;
|
|
576
|
+
/** @deprecated use `Integration1$outboundSchema` instead. */
|
|
577
|
+
export const outboundSchema = Integration1$outboundSchema;
|
|
578
|
+
/** @deprecated use `Integration1$Outbound` instead. */
|
|
579
|
+
export type Outbound = Integration1$Outbound;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export function integration1ToJSON(integration1: Integration1): string {
|
|
583
|
+
return JSON.stringify(Integration1$outboundSchema.parse(integration1));
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export function integration1FromJSON(
|
|
587
|
+
jsonString: string,
|
|
588
|
+
): SafeParseResult<Integration1, SDKValidationError> {
|
|
589
|
+
return safeParse(
|
|
590
|
+
jsonString,
|
|
591
|
+
(x) => Integration1$inboundSchema.parse(JSON.parse(x)),
|
|
592
|
+
`Failed to parse 'Integration1' from JSON`,
|
|
593
|
+
);
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/** @internal */
|
|
597
|
+
export const Api$inboundSchema: z.ZodType<Api, z.ZodTypeDef, unknown> = z.union(
|
|
598
|
+
[
|
|
599
|
+
z.lazy(() => Integration1$inboundSchema),
|
|
600
|
+
z.union([z.lazy(() => IntegrationSchemasApi22$inboundSchema), z.string()]),
|
|
601
|
+
z.union([z.lazy(() => IntegrationSchemasApi32$inboundSchema), z.number()]),
|
|
602
|
+
z.union([z.lazy(() => IntegrationSchemasApi2$inboundSchema), z.boolean()]),
|
|
603
|
+
z.union([
|
|
604
|
+
z.lazy(() => IntegrationSchemasApi52$inboundSchema),
|
|
605
|
+
z.array(z.any()),
|
|
606
|
+
]),
|
|
607
|
+
],
|
|
608
|
+
);
|
|
609
|
+
|
|
610
|
+
/** @internal */
|
|
611
|
+
export type Api$Outbound =
|
|
612
|
+
| Integration1$Outbound
|
|
613
|
+
| IntegrationSchemasApi22$Outbound
|
|
614
|
+
| string
|
|
615
|
+
| IntegrationSchemasApi32$Outbound
|
|
616
|
+
| number
|
|
617
|
+
| IntegrationSchemasApi2$Outbound
|
|
618
|
+
| boolean
|
|
619
|
+
| IntegrationSchemasApi52$Outbound
|
|
620
|
+
| Array<any>;
|
|
621
|
+
|
|
622
|
+
/** @internal */
|
|
623
|
+
export const Api$outboundSchema: z.ZodType<Api$Outbound, z.ZodTypeDef, Api> = z
|
|
624
|
+
.union([
|
|
625
|
+
z.lazy(() => Integration1$outboundSchema),
|
|
626
|
+
z.union([z.lazy(() => IntegrationSchemasApi22$outboundSchema), z.string()]),
|
|
627
|
+
z.union([z.lazy(() => IntegrationSchemasApi32$outboundSchema), z.number()]),
|
|
628
|
+
z.union([z.lazy(() => IntegrationSchemasApi2$outboundSchema), z.boolean()]),
|
|
629
|
+
z.union([
|
|
630
|
+
z.lazy(() => IntegrationSchemasApi52$outboundSchema),
|
|
631
|
+
z.array(z.any()),
|
|
632
|
+
]),
|
|
633
|
+
]);
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @internal
|
|
637
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
638
|
+
*/
|
|
639
|
+
export namespace Api$ {
|
|
640
|
+
/** @deprecated use `Api$inboundSchema` instead. */
|
|
641
|
+
export const inboundSchema = Api$inboundSchema;
|
|
642
|
+
/** @deprecated use `Api$outboundSchema` instead. */
|
|
643
|
+
export const outboundSchema = Api$outboundSchema;
|
|
644
|
+
/** @deprecated use `Api$Outbound` instead. */
|
|
645
|
+
export type Outbound = Api$Outbound;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export function apiToJSON(api: Api): string {
|
|
649
|
+
return JSON.stringify(Api$outboundSchema.parse(api));
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export function apiFromJSON(
|
|
653
|
+
jsonString: string,
|
|
654
|
+
): SafeParseResult<Api, SDKValidationError> {
|
|
655
|
+
return safeParse(
|
|
656
|
+
jsonString,
|
|
657
|
+
(x) => Api$inboundSchema.parse(JSON.parse(x)),
|
|
658
|
+
`Failed to parse 'Api' from JSON`,
|
|
659
|
+
);
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/** @internal */
|
|
663
|
+
export const IntegrationSchemasPartnership52$inboundSchema: z.ZodType<
|
|
664
|
+
IntegrationSchemasPartnership52,
|
|
665
|
+
z.ZodTypeDef,
|
|
666
|
+
unknown
|
|
667
|
+
> = z.object({});
|
|
668
|
+
|
|
669
|
+
/** @internal */
|
|
670
|
+
export type IntegrationSchemasPartnership52$Outbound = {};
|
|
671
|
+
|
|
672
|
+
/** @internal */
|
|
673
|
+
export const IntegrationSchemasPartnership52$outboundSchema: z.ZodType<
|
|
674
|
+
IntegrationSchemasPartnership52$Outbound,
|
|
675
|
+
z.ZodTypeDef,
|
|
676
|
+
IntegrationSchemasPartnership52
|
|
677
|
+
> = z.object({});
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @internal
|
|
681
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
682
|
+
*/
|
|
683
|
+
export namespace IntegrationSchemasPartnership52$ {
|
|
684
|
+
/** @deprecated use `IntegrationSchemasPartnership52$inboundSchema` instead. */
|
|
685
|
+
export const inboundSchema = IntegrationSchemasPartnership52$inboundSchema;
|
|
686
|
+
/** @deprecated use `IntegrationSchemasPartnership52$outboundSchema` instead. */
|
|
687
|
+
export const outboundSchema = IntegrationSchemasPartnership52$outboundSchema;
|
|
688
|
+
/** @deprecated use `IntegrationSchemasPartnership52$Outbound` instead. */
|
|
689
|
+
export type Outbound = IntegrationSchemasPartnership52$Outbound;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export function integrationSchemasPartnership52ToJSON(
|
|
693
|
+
integrationSchemasPartnership52: IntegrationSchemasPartnership52,
|
|
694
|
+
): string {
|
|
695
|
+
return JSON.stringify(
|
|
696
|
+
IntegrationSchemasPartnership52$outboundSchema.parse(
|
|
697
|
+
integrationSchemasPartnership52,
|
|
698
|
+
),
|
|
699
|
+
);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export function integrationSchemasPartnership52FromJSON(
|
|
703
|
+
jsonString: string,
|
|
704
|
+
): SafeParseResult<IntegrationSchemasPartnership52, SDKValidationError> {
|
|
705
|
+
return safeParse(
|
|
706
|
+
jsonString,
|
|
707
|
+
(x) => IntegrationSchemasPartnership52$inboundSchema.parse(JSON.parse(x)),
|
|
708
|
+
`Failed to parse 'IntegrationSchemasPartnership52' from JSON`,
|
|
709
|
+
);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/** @internal */
|
|
713
|
+
export const IntegrationSchemas5$inboundSchema: z.ZodType<
|
|
714
|
+
IntegrationSchemas5,
|
|
715
|
+
z.ZodTypeDef,
|
|
716
|
+
unknown
|
|
717
|
+
> = z.union([
|
|
718
|
+
z.lazy(() => IntegrationSchemasPartnership52$inboundSchema),
|
|
719
|
+
z.array(z.any()),
|
|
720
|
+
]);
|
|
721
|
+
|
|
722
|
+
/** @internal */
|
|
723
|
+
export type IntegrationSchemas5$Outbound =
|
|
724
|
+
| IntegrationSchemasPartnership52$Outbound
|
|
725
|
+
| Array<any>;
|
|
726
|
+
|
|
727
|
+
/** @internal */
|
|
728
|
+
export const IntegrationSchemas5$outboundSchema: z.ZodType<
|
|
729
|
+
IntegrationSchemas5$Outbound,
|
|
730
|
+
z.ZodTypeDef,
|
|
731
|
+
IntegrationSchemas5
|
|
732
|
+
> = z.union([
|
|
733
|
+
z.lazy(() => IntegrationSchemasPartnership52$outboundSchema),
|
|
734
|
+
z.array(z.any()),
|
|
735
|
+
]);
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* @internal
|
|
739
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
740
|
+
*/
|
|
741
|
+
export namespace IntegrationSchemas5$ {
|
|
742
|
+
/** @deprecated use `IntegrationSchemas5$inboundSchema` instead. */
|
|
743
|
+
export const inboundSchema = IntegrationSchemas5$inboundSchema;
|
|
744
|
+
/** @deprecated use `IntegrationSchemas5$outboundSchema` instead. */
|
|
745
|
+
export const outboundSchema = IntegrationSchemas5$outboundSchema;
|
|
746
|
+
/** @deprecated use `IntegrationSchemas5$Outbound` instead. */
|
|
747
|
+
export type Outbound = IntegrationSchemas5$Outbound;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export function integrationSchemas5ToJSON(
|
|
751
|
+
integrationSchemas5: IntegrationSchemas5,
|
|
752
|
+
): string {
|
|
753
|
+
return JSON.stringify(
|
|
754
|
+
IntegrationSchemas5$outboundSchema.parse(integrationSchemas5),
|
|
755
|
+
);
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
export function integrationSchemas5FromJSON(
|
|
759
|
+
jsonString: string,
|
|
760
|
+
): SafeParseResult<IntegrationSchemas5, SDKValidationError> {
|
|
761
|
+
return safeParse(
|
|
762
|
+
jsonString,
|
|
763
|
+
(x) => IntegrationSchemas5$inboundSchema.parse(JSON.parse(x)),
|
|
764
|
+
`Failed to parse 'IntegrationSchemas5' from JSON`,
|
|
765
|
+
);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/** @internal */
|
|
769
|
+
export const IntegrationSchemasPartnership42$inboundSchema: z.ZodType<
|
|
770
|
+
IntegrationSchemasPartnership42,
|
|
771
|
+
z.ZodTypeDef,
|
|
772
|
+
unknown
|
|
773
|
+
> = z.object({});
|
|
774
|
+
|
|
775
|
+
/** @internal */
|
|
776
|
+
export type IntegrationSchemasPartnership42$Outbound = {};
|
|
777
|
+
|
|
778
|
+
/** @internal */
|
|
779
|
+
export const IntegrationSchemasPartnership42$outboundSchema: z.ZodType<
|
|
780
|
+
IntegrationSchemasPartnership42$Outbound,
|
|
781
|
+
z.ZodTypeDef,
|
|
782
|
+
IntegrationSchemasPartnership42
|
|
783
|
+
> = z.object({});
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* @internal
|
|
787
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
788
|
+
*/
|
|
789
|
+
export namespace IntegrationSchemasPartnership42$ {
|
|
790
|
+
/** @deprecated use `IntegrationSchemasPartnership42$inboundSchema` instead. */
|
|
791
|
+
export const inboundSchema = IntegrationSchemasPartnership42$inboundSchema;
|
|
792
|
+
/** @deprecated use `IntegrationSchemasPartnership42$outboundSchema` instead. */
|
|
793
|
+
export const outboundSchema = IntegrationSchemasPartnership42$outboundSchema;
|
|
794
|
+
/** @deprecated use `IntegrationSchemasPartnership42$Outbound` instead. */
|
|
795
|
+
export type Outbound = IntegrationSchemasPartnership42$Outbound;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
export function integrationSchemasPartnership42ToJSON(
|
|
799
|
+
integrationSchemasPartnership42: IntegrationSchemasPartnership42,
|
|
800
|
+
): string {
|
|
801
|
+
return JSON.stringify(
|
|
802
|
+
IntegrationSchemasPartnership42$outboundSchema.parse(
|
|
803
|
+
integrationSchemasPartnership42,
|
|
804
|
+
),
|
|
805
|
+
);
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export function integrationSchemasPartnership42FromJSON(
|
|
809
|
+
jsonString: string,
|
|
810
|
+
): SafeParseResult<IntegrationSchemasPartnership42, SDKValidationError> {
|
|
811
|
+
return safeParse(
|
|
812
|
+
jsonString,
|
|
813
|
+
(x) => IntegrationSchemasPartnership42$inboundSchema.parse(JSON.parse(x)),
|
|
814
|
+
`Failed to parse 'IntegrationSchemasPartnership42' from JSON`,
|
|
815
|
+
);
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/** @internal */
|
|
819
|
+
export const IntegrationSchemas4$inboundSchema: z.ZodType<
|
|
820
|
+
IntegrationSchemas4,
|
|
821
|
+
z.ZodTypeDef,
|
|
822
|
+
unknown
|
|
823
|
+
> = z.union([
|
|
824
|
+
z.lazy(() => IntegrationSchemasPartnership42$inboundSchema),
|
|
825
|
+
z.boolean(),
|
|
826
|
+
]);
|
|
827
|
+
|
|
828
|
+
/** @internal */
|
|
829
|
+
export type IntegrationSchemas4$Outbound =
|
|
830
|
+
| IntegrationSchemasPartnership42$Outbound
|
|
831
|
+
| boolean;
|
|
832
|
+
|
|
833
|
+
/** @internal */
|
|
834
|
+
export const IntegrationSchemas4$outboundSchema: z.ZodType<
|
|
835
|
+
IntegrationSchemas4$Outbound,
|
|
836
|
+
z.ZodTypeDef,
|
|
837
|
+
IntegrationSchemas4
|
|
838
|
+
> = z.union([
|
|
839
|
+
z.lazy(() => IntegrationSchemasPartnership42$outboundSchema),
|
|
840
|
+
z.boolean(),
|
|
841
|
+
]);
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* @internal
|
|
845
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
846
|
+
*/
|
|
847
|
+
export namespace IntegrationSchemas4$ {
|
|
848
|
+
/** @deprecated use `IntegrationSchemas4$inboundSchema` instead. */
|
|
849
|
+
export const inboundSchema = IntegrationSchemas4$inboundSchema;
|
|
850
|
+
/** @deprecated use `IntegrationSchemas4$outboundSchema` instead. */
|
|
851
|
+
export const outboundSchema = IntegrationSchemas4$outboundSchema;
|
|
852
|
+
/** @deprecated use `IntegrationSchemas4$Outbound` instead. */
|
|
853
|
+
export type Outbound = IntegrationSchemas4$Outbound;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
export function integrationSchemas4ToJSON(
|
|
857
|
+
integrationSchemas4: IntegrationSchemas4,
|
|
858
|
+
): string {
|
|
859
|
+
return JSON.stringify(
|
|
860
|
+
IntegrationSchemas4$outboundSchema.parse(integrationSchemas4),
|
|
861
|
+
);
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export function integrationSchemas4FromJSON(
|
|
865
|
+
jsonString: string,
|
|
866
|
+
): SafeParseResult<IntegrationSchemas4, SDKValidationError> {
|
|
867
|
+
return safeParse(
|
|
868
|
+
jsonString,
|
|
869
|
+
(x) => IntegrationSchemas4$inboundSchema.parse(JSON.parse(x)),
|
|
870
|
+
`Failed to parse 'IntegrationSchemas4' from JSON`,
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/** @internal */
|
|
875
|
+
export const IntegrationSchemasPartnership32$inboundSchema: z.ZodType<
|
|
876
|
+
IntegrationSchemasPartnership32,
|
|
877
|
+
z.ZodTypeDef,
|
|
878
|
+
unknown
|
|
879
|
+
> = z.object({});
|
|
880
|
+
|
|
881
|
+
/** @internal */
|
|
882
|
+
export type IntegrationSchemasPartnership32$Outbound = {};
|
|
883
|
+
|
|
884
|
+
/** @internal */
|
|
885
|
+
export const IntegrationSchemasPartnership32$outboundSchema: z.ZodType<
|
|
886
|
+
IntegrationSchemasPartnership32$Outbound,
|
|
887
|
+
z.ZodTypeDef,
|
|
888
|
+
IntegrationSchemasPartnership32
|
|
889
|
+
> = z.object({});
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* @internal
|
|
893
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
894
|
+
*/
|
|
895
|
+
export namespace IntegrationSchemasPartnership32$ {
|
|
896
|
+
/** @deprecated use `IntegrationSchemasPartnership32$inboundSchema` instead. */
|
|
897
|
+
export const inboundSchema = IntegrationSchemasPartnership32$inboundSchema;
|
|
898
|
+
/** @deprecated use `IntegrationSchemasPartnership32$outboundSchema` instead. */
|
|
899
|
+
export const outboundSchema = IntegrationSchemasPartnership32$outboundSchema;
|
|
900
|
+
/** @deprecated use `IntegrationSchemasPartnership32$Outbound` instead. */
|
|
901
|
+
export type Outbound = IntegrationSchemasPartnership32$Outbound;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
export function integrationSchemasPartnership32ToJSON(
|
|
905
|
+
integrationSchemasPartnership32: IntegrationSchemasPartnership32,
|
|
906
|
+
): string {
|
|
907
|
+
return JSON.stringify(
|
|
908
|
+
IntegrationSchemasPartnership32$outboundSchema.parse(
|
|
909
|
+
integrationSchemasPartnership32,
|
|
910
|
+
),
|
|
911
|
+
);
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
export function integrationSchemasPartnership32FromJSON(
|
|
915
|
+
jsonString: string,
|
|
916
|
+
): SafeParseResult<IntegrationSchemasPartnership32, SDKValidationError> {
|
|
917
|
+
return safeParse(
|
|
918
|
+
jsonString,
|
|
919
|
+
(x) => IntegrationSchemasPartnership32$inboundSchema.parse(JSON.parse(x)),
|
|
920
|
+
`Failed to parse 'IntegrationSchemasPartnership32' from JSON`,
|
|
921
|
+
);
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/** @internal */
|
|
925
|
+
export const IntegrationSchemas3$inboundSchema: z.ZodType<
|
|
926
|
+
IntegrationSchemas3,
|
|
927
|
+
z.ZodTypeDef,
|
|
928
|
+
unknown
|
|
929
|
+
> = z.union([
|
|
930
|
+
z.lazy(() => IntegrationSchemasPartnership32$inboundSchema),
|
|
931
|
+
z.number(),
|
|
932
|
+
]);
|
|
933
|
+
|
|
934
|
+
/** @internal */
|
|
935
|
+
export type IntegrationSchemas3$Outbound =
|
|
936
|
+
| IntegrationSchemasPartnership32$Outbound
|
|
937
|
+
| number;
|
|
938
|
+
|
|
939
|
+
/** @internal */
|
|
940
|
+
export const IntegrationSchemas3$outboundSchema: z.ZodType<
|
|
941
|
+
IntegrationSchemas3$Outbound,
|
|
942
|
+
z.ZodTypeDef,
|
|
943
|
+
IntegrationSchemas3
|
|
944
|
+
> = z.union([
|
|
945
|
+
z.lazy(() => IntegrationSchemasPartnership32$outboundSchema),
|
|
946
|
+
z.number(),
|
|
947
|
+
]);
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* @internal
|
|
951
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
952
|
+
*/
|
|
953
|
+
export namespace IntegrationSchemas3$ {
|
|
954
|
+
/** @deprecated use `IntegrationSchemas3$inboundSchema` instead. */
|
|
955
|
+
export const inboundSchema = IntegrationSchemas3$inboundSchema;
|
|
956
|
+
/** @deprecated use `IntegrationSchemas3$outboundSchema` instead. */
|
|
957
|
+
export const outboundSchema = IntegrationSchemas3$outboundSchema;
|
|
958
|
+
/** @deprecated use `IntegrationSchemas3$Outbound` instead. */
|
|
959
|
+
export type Outbound = IntegrationSchemas3$Outbound;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export function integrationSchemas3ToJSON(
|
|
963
|
+
integrationSchemas3: IntegrationSchemas3,
|
|
964
|
+
): string {
|
|
965
|
+
return JSON.stringify(
|
|
966
|
+
IntegrationSchemas3$outboundSchema.parse(integrationSchemas3),
|
|
967
|
+
);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
export function integrationSchemas3FromJSON(
|
|
971
|
+
jsonString: string,
|
|
972
|
+
): SafeParseResult<IntegrationSchemas3, SDKValidationError> {
|
|
973
|
+
return safeParse(
|
|
974
|
+
jsonString,
|
|
975
|
+
(x) => IntegrationSchemas3$inboundSchema.parse(JSON.parse(x)),
|
|
976
|
+
`Failed to parse 'IntegrationSchemas3' from JSON`,
|
|
977
|
+
);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
/** @internal */
|
|
981
|
+
export const IntegrationSchemasPartnership2$inboundSchema: z.ZodType<
|
|
982
|
+
IntegrationSchemasPartnership2,
|
|
983
|
+
z.ZodTypeDef,
|
|
984
|
+
unknown
|
|
985
|
+
> = z.object({});
|
|
986
|
+
|
|
987
|
+
/** @internal */
|
|
988
|
+
export type IntegrationSchemasPartnership2$Outbound = {};
|
|
989
|
+
|
|
990
|
+
/** @internal */
|
|
991
|
+
export const IntegrationSchemasPartnership2$outboundSchema: z.ZodType<
|
|
992
|
+
IntegrationSchemasPartnership2$Outbound,
|
|
993
|
+
z.ZodTypeDef,
|
|
994
|
+
IntegrationSchemasPartnership2
|
|
995
|
+
> = z.object({});
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* @internal
|
|
999
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1000
|
+
*/
|
|
1001
|
+
export namespace IntegrationSchemasPartnership2$ {
|
|
1002
|
+
/** @deprecated use `IntegrationSchemasPartnership2$inboundSchema` instead. */
|
|
1003
|
+
export const inboundSchema = IntegrationSchemasPartnership2$inboundSchema;
|
|
1004
|
+
/** @deprecated use `IntegrationSchemasPartnership2$outboundSchema` instead. */
|
|
1005
|
+
export const outboundSchema = IntegrationSchemasPartnership2$outboundSchema;
|
|
1006
|
+
/** @deprecated use `IntegrationSchemasPartnership2$Outbound` instead. */
|
|
1007
|
+
export type Outbound = IntegrationSchemasPartnership2$Outbound;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
export function integrationSchemasPartnership2ToJSON(
|
|
1011
|
+
integrationSchemasPartnership2: IntegrationSchemasPartnership2,
|
|
1012
|
+
): string {
|
|
1013
|
+
return JSON.stringify(
|
|
1014
|
+
IntegrationSchemasPartnership2$outboundSchema.parse(
|
|
1015
|
+
integrationSchemasPartnership2,
|
|
1016
|
+
),
|
|
1017
|
+
);
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
export function integrationSchemasPartnership2FromJSON(
|
|
1021
|
+
jsonString: string,
|
|
1022
|
+
): SafeParseResult<IntegrationSchemasPartnership2, SDKValidationError> {
|
|
1023
|
+
return safeParse(
|
|
1024
|
+
jsonString,
|
|
1025
|
+
(x) => IntegrationSchemasPartnership2$inboundSchema.parse(JSON.parse(x)),
|
|
1026
|
+
`Failed to parse 'IntegrationSchemasPartnership2' from JSON`,
|
|
1027
|
+
);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/** @internal */
|
|
1031
|
+
export const IntegrationSchemas2$inboundSchema: z.ZodType<
|
|
1032
|
+
IntegrationSchemas2,
|
|
1033
|
+
z.ZodTypeDef,
|
|
1034
|
+
unknown
|
|
1035
|
+
> = z.union([
|
|
1036
|
+
z.lazy(() => IntegrationSchemasPartnership2$inboundSchema),
|
|
1037
|
+
z.string(),
|
|
1038
|
+
]);
|
|
1039
|
+
|
|
1040
|
+
/** @internal */
|
|
1041
|
+
export type IntegrationSchemas2$Outbound =
|
|
1042
|
+
| IntegrationSchemasPartnership2$Outbound
|
|
1043
|
+
| string;
|
|
1044
|
+
|
|
1045
|
+
/** @internal */
|
|
1046
|
+
export const IntegrationSchemas2$outboundSchema: z.ZodType<
|
|
1047
|
+
IntegrationSchemas2$Outbound,
|
|
1048
|
+
z.ZodTypeDef,
|
|
1049
|
+
IntegrationSchemas2
|
|
1050
|
+
> = z.union([
|
|
1051
|
+
z.lazy(() => IntegrationSchemasPartnership2$outboundSchema),
|
|
1052
|
+
z.string(),
|
|
1053
|
+
]);
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* @internal
|
|
1057
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1058
|
+
*/
|
|
1059
|
+
export namespace IntegrationSchemas2$ {
|
|
1060
|
+
/** @deprecated use `IntegrationSchemas2$inboundSchema` instead. */
|
|
1061
|
+
export const inboundSchema = IntegrationSchemas2$inboundSchema;
|
|
1062
|
+
/** @deprecated use `IntegrationSchemas2$outboundSchema` instead. */
|
|
1063
|
+
export const outboundSchema = IntegrationSchemas2$outboundSchema;
|
|
1064
|
+
/** @deprecated use `IntegrationSchemas2$Outbound` instead. */
|
|
1065
|
+
export type Outbound = IntegrationSchemas2$Outbound;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
export function integrationSchemas2ToJSON(
|
|
1069
|
+
integrationSchemas2: IntegrationSchemas2,
|
|
1070
|
+
): string {
|
|
1071
|
+
return JSON.stringify(
|
|
1072
|
+
IntegrationSchemas2$outboundSchema.parse(integrationSchemas2),
|
|
1073
|
+
);
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
export function integrationSchemas2FromJSON(
|
|
1077
|
+
jsonString: string,
|
|
1078
|
+
): SafeParseResult<IntegrationSchemas2, SDKValidationError> {
|
|
1079
|
+
return safeParse(
|
|
1080
|
+
jsonString,
|
|
1081
|
+
(x) => IntegrationSchemas2$inboundSchema.parse(JSON.parse(x)),
|
|
1082
|
+
`Failed to parse 'IntegrationSchemas2' from JSON`,
|
|
1083
|
+
);
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
/** @internal */
|
|
1087
|
+
export const IntegrationSchemas1$inboundSchema: z.ZodType<
|
|
1088
|
+
IntegrationSchemas1,
|
|
1089
|
+
z.ZodTypeDef,
|
|
1090
|
+
unknown
|
|
1091
|
+
> = z.object({});
|
|
1092
|
+
|
|
1093
|
+
/** @internal */
|
|
1094
|
+
export type IntegrationSchemas1$Outbound = {};
|
|
1095
|
+
|
|
1096
|
+
/** @internal */
|
|
1097
|
+
export const IntegrationSchemas1$outboundSchema: z.ZodType<
|
|
1098
|
+
IntegrationSchemas1$Outbound,
|
|
1099
|
+
z.ZodTypeDef,
|
|
1100
|
+
IntegrationSchemas1
|
|
1101
|
+
> = z.object({});
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* @internal
|
|
1105
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1106
|
+
*/
|
|
1107
|
+
export namespace IntegrationSchemas1$ {
|
|
1108
|
+
/** @deprecated use `IntegrationSchemas1$inboundSchema` instead. */
|
|
1109
|
+
export const inboundSchema = IntegrationSchemas1$inboundSchema;
|
|
1110
|
+
/** @deprecated use `IntegrationSchemas1$outboundSchema` instead. */
|
|
1111
|
+
export const outboundSchema = IntegrationSchemas1$outboundSchema;
|
|
1112
|
+
/** @deprecated use `IntegrationSchemas1$Outbound` instead. */
|
|
1113
|
+
export type Outbound = IntegrationSchemas1$Outbound;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
export function integrationSchemas1ToJSON(
|
|
1117
|
+
integrationSchemas1: IntegrationSchemas1,
|
|
1118
|
+
): string {
|
|
1119
|
+
return JSON.stringify(
|
|
1120
|
+
IntegrationSchemas1$outboundSchema.parse(integrationSchemas1),
|
|
1121
|
+
);
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export function integrationSchemas1FromJSON(
|
|
1125
|
+
jsonString: string,
|
|
1126
|
+
): SafeParseResult<IntegrationSchemas1, SDKValidationError> {
|
|
1127
|
+
return safeParse(
|
|
1128
|
+
jsonString,
|
|
1129
|
+
(x) => IntegrationSchemas1$inboundSchema.parse(JSON.parse(x)),
|
|
1130
|
+
`Failed to parse 'IntegrationSchemas1' from JSON`,
|
|
1131
|
+
);
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
/** @internal */
|
|
1135
|
+
export const Partnership$inboundSchema: z.ZodType<
|
|
1136
|
+
Partnership,
|
|
1137
|
+
z.ZodTypeDef,
|
|
1138
|
+
unknown
|
|
1139
|
+
> = z.union([
|
|
1140
|
+
z.lazy(() => IntegrationSchemas1$inboundSchema),
|
|
1141
|
+
z.union([
|
|
1142
|
+
z.lazy(() => IntegrationSchemasPartnership2$inboundSchema),
|
|
1143
|
+
z.string(),
|
|
1144
|
+
]),
|
|
1145
|
+
z.union([
|
|
1146
|
+
z.lazy(() => IntegrationSchemasPartnership32$inboundSchema),
|
|
1147
|
+
z.number(),
|
|
1148
|
+
]),
|
|
1149
|
+
z.union([
|
|
1150
|
+
z.lazy(() => IntegrationSchemasPartnership42$inboundSchema),
|
|
1151
|
+
z.boolean(),
|
|
1152
|
+
]),
|
|
1153
|
+
z.union([
|
|
1154
|
+
z.lazy(() => IntegrationSchemasPartnership52$inboundSchema),
|
|
1155
|
+
z.array(z.any()),
|
|
1156
|
+
]),
|
|
1157
|
+
]);
|
|
1158
|
+
|
|
1159
|
+
/** @internal */
|
|
1160
|
+
export type Partnership$Outbound =
|
|
1161
|
+
| IntegrationSchemas1$Outbound
|
|
1162
|
+
| IntegrationSchemasPartnership2$Outbound
|
|
1163
|
+
| string
|
|
1164
|
+
| IntegrationSchemasPartnership32$Outbound
|
|
1165
|
+
| number
|
|
1166
|
+
| IntegrationSchemasPartnership42$Outbound
|
|
1167
|
+
| boolean
|
|
1168
|
+
| IntegrationSchemasPartnership52$Outbound
|
|
1169
|
+
| Array<any>;
|
|
1170
|
+
|
|
1171
|
+
/** @internal */
|
|
1172
|
+
export const Partnership$outboundSchema: z.ZodType<
|
|
1173
|
+
Partnership$Outbound,
|
|
1174
|
+
z.ZodTypeDef,
|
|
1175
|
+
Partnership
|
|
1176
|
+
> = z.union([
|
|
1177
|
+
z.lazy(() => IntegrationSchemas1$outboundSchema),
|
|
1178
|
+
z.union([
|
|
1179
|
+
z.lazy(() => IntegrationSchemasPartnership2$outboundSchema),
|
|
1180
|
+
z.string(),
|
|
1181
|
+
]),
|
|
1182
|
+
z.union([
|
|
1183
|
+
z.lazy(() => IntegrationSchemasPartnership32$outboundSchema),
|
|
1184
|
+
z.number(),
|
|
1185
|
+
]),
|
|
1186
|
+
z.union([
|
|
1187
|
+
z.lazy(() => IntegrationSchemasPartnership42$outboundSchema),
|
|
1188
|
+
z.boolean(),
|
|
1189
|
+
]),
|
|
1190
|
+
z.union([
|
|
1191
|
+
z.lazy(() => IntegrationSchemasPartnership52$outboundSchema),
|
|
1192
|
+
z.array(z.any()),
|
|
1193
|
+
]),
|
|
1194
|
+
]);
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* @internal
|
|
1198
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1199
|
+
*/
|
|
1200
|
+
export namespace Partnership$ {
|
|
1201
|
+
/** @deprecated use `Partnership$inboundSchema` instead. */
|
|
1202
|
+
export const inboundSchema = Partnership$inboundSchema;
|
|
1203
|
+
/** @deprecated use `Partnership$outboundSchema` instead. */
|
|
1204
|
+
export const outboundSchema = Partnership$outboundSchema;
|
|
1205
|
+
/** @deprecated use `Partnership$Outbound` instead. */
|
|
1206
|
+
export type Outbound = Partnership$Outbound;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
export function partnershipToJSON(partnership: Partnership): string {
|
|
1210
|
+
return JSON.stringify(Partnership$outboundSchema.parse(partnership));
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
export function partnershipFromJSON(
|
|
1214
|
+
jsonString: string,
|
|
1215
|
+
): SafeParseResult<Partnership, SDKValidationError> {
|
|
1216
|
+
return safeParse(
|
|
1217
|
+
jsonString,
|
|
1218
|
+
(x) => Partnership$inboundSchema.parse(JSON.parse(x)),
|
|
1219
|
+
`Failed to parse 'Partnership' from JSON`,
|
|
1220
|
+
);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
export const IntegrationSchemasSandbox52$inboundSchema: z.ZodType<
|
|
1225
|
+
IntegrationSchemasSandbox52,
|
|
1226
|
+
z.ZodTypeDef,
|
|
1227
|
+
unknown
|
|
1228
|
+
> = z.object({});
|
|
1229
|
+
|
|
1230
|
+
/** @internal */
|
|
1231
|
+
export type IntegrationSchemasSandbox52$Outbound = {};
|
|
1232
|
+
|
|
1233
|
+
/** @internal */
|
|
1234
|
+
export const IntegrationSchemasSandbox52$outboundSchema: z.ZodType<
|
|
1235
|
+
IntegrationSchemasSandbox52$Outbound,
|
|
1236
|
+
z.ZodTypeDef,
|
|
1237
|
+
IntegrationSchemasSandbox52
|
|
1238
|
+
> = z.object({});
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* @internal
|
|
1242
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1243
|
+
*/
|
|
1244
|
+
export namespace IntegrationSchemasSandbox52$ {
|
|
1245
|
+
/** @deprecated use `IntegrationSchemasSandbox52$inboundSchema` instead. */
|
|
1246
|
+
export const inboundSchema = IntegrationSchemasSandbox52$inboundSchema;
|
|
1247
|
+
/** @deprecated use `IntegrationSchemasSandbox52$outboundSchema` instead. */
|
|
1248
|
+
export const outboundSchema = IntegrationSchemasSandbox52$outboundSchema;
|
|
1249
|
+
/** @deprecated use `IntegrationSchemasSandbox52$Outbound` instead. */
|
|
1250
|
+
export type Outbound = IntegrationSchemasSandbox52$Outbound;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
export function integrationSchemasSandbox52ToJSON(
|
|
1254
|
+
integrationSchemasSandbox52: IntegrationSchemasSandbox52,
|
|
1255
|
+
): string {
|
|
1256
|
+
return JSON.stringify(
|
|
1257
|
+
IntegrationSchemasSandbox52$outboundSchema.parse(
|
|
1258
|
+
integrationSchemasSandbox52,
|
|
1259
|
+
),
|
|
1260
|
+
);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
export function integrationSchemasSandbox52FromJSON(
|
|
1264
|
+
jsonString: string,
|
|
1265
|
+
): SafeParseResult<IntegrationSchemasSandbox52, SDKValidationError> {
|
|
1266
|
+
return safeParse(
|
|
1267
|
+
jsonString,
|
|
1268
|
+
(x) => IntegrationSchemasSandbox52$inboundSchema.parse(JSON.parse(x)),
|
|
1269
|
+
`Failed to parse 'IntegrationSchemasSandbox52' from JSON`,
|
|
1270
|
+
);
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/** @internal */
|
|
1274
|
+
export const IntegrationSchemasSandbox5$inboundSchema: z.ZodType<
|
|
1275
|
+
IntegrationSchemasSandbox5,
|
|
1276
|
+
z.ZodTypeDef,
|
|
1277
|
+
unknown
|
|
1278
|
+
> = z.union([
|
|
1279
|
+
z.lazy(() => IntegrationSchemasSandbox52$inboundSchema),
|
|
1280
|
+
z.array(z.any()),
|
|
1281
|
+
]);
|
|
1282
|
+
|
|
1283
|
+
/** @internal */
|
|
1284
|
+
export type IntegrationSchemasSandbox5$Outbound =
|
|
1285
|
+
| IntegrationSchemasSandbox52$Outbound
|
|
1286
|
+
| Array<any>;
|
|
1287
|
+
|
|
1288
|
+
/** @internal */
|
|
1289
|
+
export const IntegrationSchemasSandbox5$outboundSchema: z.ZodType<
|
|
1290
|
+
IntegrationSchemasSandbox5$Outbound,
|
|
1291
|
+
z.ZodTypeDef,
|
|
1292
|
+
IntegrationSchemasSandbox5
|
|
1293
|
+
> = z.union([
|
|
1294
|
+
z.lazy(() => IntegrationSchemasSandbox52$outboundSchema),
|
|
1295
|
+
z.array(z.any()),
|
|
1296
|
+
]);
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* @internal
|
|
1300
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1301
|
+
*/
|
|
1302
|
+
export namespace IntegrationSchemasSandbox5$ {
|
|
1303
|
+
/** @deprecated use `IntegrationSchemasSandbox5$inboundSchema` instead. */
|
|
1304
|
+
export const inboundSchema = IntegrationSchemasSandbox5$inboundSchema;
|
|
1305
|
+
/** @deprecated use `IntegrationSchemasSandbox5$outboundSchema` instead. */
|
|
1306
|
+
export const outboundSchema = IntegrationSchemasSandbox5$outboundSchema;
|
|
1307
|
+
/** @deprecated use `IntegrationSchemasSandbox5$Outbound` instead. */
|
|
1308
|
+
export type Outbound = IntegrationSchemasSandbox5$Outbound;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
export function integrationSchemasSandbox5ToJSON(
|
|
1312
|
+
integrationSchemasSandbox5: IntegrationSchemasSandbox5,
|
|
1313
|
+
): string {
|
|
1314
|
+
return JSON.stringify(
|
|
1315
|
+
IntegrationSchemasSandbox5$outboundSchema.parse(integrationSchemasSandbox5),
|
|
1316
|
+
);
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
export function integrationSchemasSandbox5FromJSON(
|
|
1320
|
+
jsonString: string,
|
|
1321
|
+
): SafeParseResult<IntegrationSchemasSandbox5, SDKValidationError> {
|
|
1322
|
+
return safeParse(
|
|
1323
|
+
jsonString,
|
|
1324
|
+
(x) => IntegrationSchemasSandbox5$inboundSchema.parse(JSON.parse(x)),
|
|
1325
|
+
`Failed to parse 'IntegrationSchemasSandbox5' from JSON`,
|
|
1326
|
+
);
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/** @internal */
|
|
1330
|
+
export const IntegrationSchemasSandbox42$inboundSchema: z.ZodType<
|
|
1331
|
+
IntegrationSchemasSandbox42,
|
|
1332
|
+
z.ZodTypeDef,
|
|
1333
|
+
unknown
|
|
1334
|
+
> = z.object({});
|
|
1335
|
+
|
|
1336
|
+
/** @internal */
|
|
1337
|
+
export type IntegrationSchemasSandbox42$Outbound = {};
|
|
1338
|
+
|
|
1339
|
+
/** @internal */
|
|
1340
|
+
export const IntegrationSchemasSandbox42$outboundSchema: z.ZodType<
|
|
1341
|
+
IntegrationSchemasSandbox42$Outbound,
|
|
1342
|
+
z.ZodTypeDef,
|
|
1343
|
+
IntegrationSchemasSandbox42
|
|
1344
|
+
> = z.object({});
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* @internal
|
|
1348
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1349
|
+
*/
|
|
1350
|
+
export namespace IntegrationSchemasSandbox42$ {
|
|
1351
|
+
/** @deprecated use `IntegrationSchemasSandbox42$inboundSchema` instead. */
|
|
1352
|
+
export const inboundSchema = IntegrationSchemasSandbox42$inboundSchema;
|
|
1353
|
+
/** @deprecated use `IntegrationSchemasSandbox42$outboundSchema` instead. */
|
|
1354
|
+
export const outboundSchema = IntegrationSchemasSandbox42$outboundSchema;
|
|
1355
|
+
/** @deprecated use `IntegrationSchemasSandbox42$Outbound` instead. */
|
|
1356
|
+
export type Outbound = IntegrationSchemasSandbox42$Outbound;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
export function integrationSchemasSandbox42ToJSON(
|
|
1360
|
+
integrationSchemasSandbox42: IntegrationSchemasSandbox42,
|
|
1361
|
+
): string {
|
|
1362
|
+
return JSON.stringify(
|
|
1363
|
+
IntegrationSchemasSandbox42$outboundSchema.parse(
|
|
1364
|
+
integrationSchemasSandbox42,
|
|
1365
|
+
),
|
|
1366
|
+
);
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
export function integrationSchemasSandbox42FromJSON(
|
|
1370
|
+
jsonString: string,
|
|
1371
|
+
): SafeParseResult<IntegrationSchemasSandbox42, SDKValidationError> {
|
|
1372
|
+
return safeParse(
|
|
1373
|
+
jsonString,
|
|
1374
|
+
(x) => IntegrationSchemasSandbox42$inboundSchema.parse(JSON.parse(x)),
|
|
1375
|
+
`Failed to parse 'IntegrationSchemasSandbox42' from JSON`,
|
|
1376
|
+
);
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
/** @internal */
|
|
1380
|
+
export const IntegrationSchemasSandbox4$inboundSchema: z.ZodType<
|
|
1381
|
+
IntegrationSchemasSandbox4,
|
|
1382
|
+
z.ZodTypeDef,
|
|
1383
|
+
unknown
|
|
1384
|
+
> = z.union([
|
|
1385
|
+
z.lazy(() => IntegrationSchemasSandbox42$inboundSchema),
|
|
1386
|
+
z.boolean(),
|
|
1387
|
+
]);
|
|
1388
|
+
|
|
1389
|
+
/** @internal */
|
|
1390
|
+
export type IntegrationSchemasSandbox4$Outbound =
|
|
1391
|
+
| IntegrationSchemasSandbox42$Outbound
|
|
1392
|
+
| boolean;
|
|
1393
|
+
|
|
1394
|
+
/** @internal */
|
|
1395
|
+
export const IntegrationSchemasSandbox4$outboundSchema: z.ZodType<
|
|
1396
|
+
IntegrationSchemasSandbox4$Outbound,
|
|
1397
|
+
z.ZodTypeDef,
|
|
1398
|
+
IntegrationSchemasSandbox4
|
|
1399
|
+
> = z.union([
|
|
1400
|
+
z.lazy(() => IntegrationSchemasSandbox42$outboundSchema),
|
|
1401
|
+
z.boolean(),
|
|
1402
|
+
]);
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* @internal
|
|
1406
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1407
|
+
*/
|
|
1408
|
+
export namespace IntegrationSchemasSandbox4$ {
|
|
1409
|
+
/** @deprecated use `IntegrationSchemasSandbox4$inboundSchema` instead. */
|
|
1410
|
+
export const inboundSchema = IntegrationSchemasSandbox4$inboundSchema;
|
|
1411
|
+
/** @deprecated use `IntegrationSchemasSandbox4$outboundSchema` instead. */
|
|
1412
|
+
export const outboundSchema = IntegrationSchemasSandbox4$outboundSchema;
|
|
1413
|
+
/** @deprecated use `IntegrationSchemasSandbox4$Outbound` instead. */
|
|
1414
|
+
export type Outbound = IntegrationSchemasSandbox4$Outbound;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
export function integrationSchemasSandbox4ToJSON(
|
|
1418
|
+
integrationSchemasSandbox4: IntegrationSchemasSandbox4,
|
|
1419
|
+
): string {
|
|
1420
|
+
return JSON.stringify(
|
|
1421
|
+
IntegrationSchemasSandbox4$outboundSchema.parse(integrationSchemasSandbox4),
|
|
1422
|
+
);
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
export function integrationSchemasSandbox4FromJSON(
|
|
1426
|
+
jsonString: string,
|
|
1427
|
+
): SafeParseResult<IntegrationSchemasSandbox4, SDKValidationError> {
|
|
1428
|
+
return safeParse(
|
|
1429
|
+
jsonString,
|
|
1430
|
+
(x) => IntegrationSchemasSandbox4$inboundSchema.parse(JSON.parse(x)),
|
|
1431
|
+
`Failed to parse 'IntegrationSchemasSandbox4' from JSON`,
|
|
1432
|
+
);
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/** @internal */
|
|
1436
|
+
export const IntegrationSchemasSandbox32$inboundSchema: z.ZodType<
|
|
1437
|
+
IntegrationSchemasSandbox32,
|
|
1438
|
+
z.ZodTypeDef,
|
|
1439
|
+
unknown
|
|
1440
|
+
> = z.object({});
|
|
1441
|
+
|
|
1442
|
+
/** @internal */
|
|
1443
|
+
export type IntegrationSchemasSandbox32$Outbound = {};
|
|
1444
|
+
|
|
1445
|
+
/** @internal */
|
|
1446
|
+
export const IntegrationSchemasSandbox32$outboundSchema: z.ZodType<
|
|
1447
|
+
IntegrationSchemasSandbox32$Outbound,
|
|
1448
|
+
z.ZodTypeDef,
|
|
1449
|
+
IntegrationSchemasSandbox32
|
|
1450
|
+
> = z.object({});
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* @internal
|
|
1454
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1455
|
+
*/
|
|
1456
|
+
export namespace IntegrationSchemasSandbox32$ {
|
|
1457
|
+
/** @deprecated use `IntegrationSchemasSandbox32$inboundSchema` instead. */
|
|
1458
|
+
export const inboundSchema = IntegrationSchemasSandbox32$inboundSchema;
|
|
1459
|
+
/** @deprecated use `IntegrationSchemasSandbox32$outboundSchema` instead. */
|
|
1460
|
+
export const outboundSchema = IntegrationSchemasSandbox32$outboundSchema;
|
|
1461
|
+
/** @deprecated use `IntegrationSchemasSandbox32$Outbound` instead. */
|
|
1462
|
+
export type Outbound = IntegrationSchemasSandbox32$Outbound;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
export function integrationSchemasSandbox32ToJSON(
|
|
1466
|
+
integrationSchemasSandbox32: IntegrationSchemasSandbox32,
|
|
1467
|
+
): string {
|
|
1468
|
+
return JSON.stringify(
|
|
1469
|
+
IntegrationSchemasSandbox32$outboundSchema.parse(
|
|
1470
|
+
integrationSchemasSandbox32,
|
|
1471
|
+
),
|
|
1472
|
+
);
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export function integrationSchemasSandbox32FromJSON(
|
|
1476
|
+
jsonString: string,
|
|
1477
|
+
): SafeParseResult<IntegrationSchemasSandbox32, SDKValidationError> {
|
|
1478
|
+
return safeParse(
|
|
1479
|
+
jsonString,
|
|
1480
|
+
(x) => IntegrationSchemasSandbox32$inboundSchema.parse(JSON.parse(x)),
|
|
1481
|
+
`Failed to parse 'IntegrationSchemasSandbox32' from JSON`,
|
|
1482
|
+
);
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/** @internal */
|
|
1486
|
+
export const IntegrationSchemasSandbox3$inboundSchema: z.ZodType<
|
|
1487
|
+
IntegrationSchemasSandbox3,
|
|
1488
|
+
z.ZodTypeDef,
|
|
1489
|
+
unknown
|
|
1490
|
+
> = z.union([
|
|
1491
|
+
z.lazy(() => IntegrationSchemasSandbox32$inboundSchema),
|
|
1492
|
+
z.number(),
|
|
1493
|
+
]);
|
|
1494
|
+
|
|
1495
|
+
/** @internal */
|
|
1496
|
+
export type IntegrationSchemasSandbox3$Outbound =
|
|
1497
|
+
| IntegrationSchemasSandbox32$Outbound
|
|
1498
|
+
| number;
|
|
1499
|
+
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export const IntegrationSchemasSandbox3$outboundSchema: z.ZodType<
|
|
1502
|
+
IntegrationSchemasSandbox3$Outbound,
|
|
1503
|
+
z.ZodTypeDef,
|
|
1504
|
+
IntegrationSchemasSandbox3
|
|
1505
|
+
> = z.union([
|
|
1506
|
+
z.lazy(() => IntegrationSchemasSandbox32$outboundSchema),
|
|
1507
|
+
z.number(),
|
|
1508
|
+
]);
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* @internal
|
|
1512
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1513
|
+
*/
|
|
1514
|
+
export namespace IntegrationSchemasSandbox3$ {
|
|
1515
|
+
/** @deprecated use `IntegrationSchemasSandbox3$inboundSchema` instead. */
|
|
1516
|
+
export const inboundSchema = IntegrationSchemasSandbox3$inboundSchema;
|
|
1517
|
+
/** @deprecated use `IntegrationSchemasSandbox3$outboundSchema` instead. */
|
|
1518
|
+
export const outboundSchema = IntegrationSchemasSandbox3$outboundSchema;
|
|
1519
|
+
/** @deprecated use `IntegrationSchemasSandbox3$Outbound` instead. */
|
|
1520
|
+
export type Outbound = IntegrationSchemasSandbox3$Outbound;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
export function integrationSchemasSandbox3ToJSON(
|
|
1524
|
+
integrationSchemasSandbox3: IntegrationSchemasSandbox3,
|
|
1525
|
+
): string {
|
|
1526
|
+
return JSON.stringify(
|
|
1527
|
+
IntegrationSchemasSandbox3$outboundSchema.parse(integrationSchemasSandbox3),
|
|
1528
|
+
);
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
export function integrationSchemasSandbox3FromJSON(
|
|
1532
|
+
jsonString: string,
|
|
1533
|
+
): SafeParseResult<IntegrationSchemasSandbox3, SDKValidationError> {
|
|
1534
|
+
return safeParse(
|
|
1535
|
+
jsonString,
|
|
1536
|
+
(x) => IntegrationSchemasSandbox3$inboundSchema.parse(JSON.parse(x)),
|
|
1537
|
+
`Failed to parse 'IntegrationSchemasSandbox3' from JSON`,
|
|
1538
|
+
);
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
/** @internal */
|
|
1542
|
+
export const IntegrationSchemasSandbox22$inboundSchema: z.ZodType<
|
|
1543
|
+
IntegrationSchemasSandbox22,
|
|
1544
|
+
z.ZodTypeDef,
|
|
1545
|
+
unknown
|
|
1546
|
+
> = z.object({});
|
|
1547
|
+
|
|
1548
|
+
/** @internal */
|
|
1549
|
+
export type IntegrationSchemasSandbox22$Outbound = {};
|
|
1550
|
+
|
|
1551
|
+
/** @internal */
|
|
1552
|
+
export const IntegrationSchemasSandbox22$outboundSchema: z.ZodType<
|
|
1553
|
+
IntegrationSchemasSandbox22$Outbound,
|
|
1554
|
+
z.ZodTypeDef,
|
|
1555
|
+
IntegrationSchemasSandbox22
|
|
1556
|
+
> = z.object({});
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* @internal
|
|
1560
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1561
|
+
*/
|
|
1562
|
+
export namespace IntegrationSchemasSandbox22$ {
|
|
1563
|
+
/** @deprecated use `IntegrationSchemasSandbox22$inboundSchema` instead. */
|
|
1564
|
+
export const inboundSchema = IntegrationSchemasSandbox22$inboundSchema;
|
|
1565
|
+
/** @deprecated use `IntegrationSchemasSandbox22$outboundSchema` instead. */
|
|
1566
|
+
export const outboundSchema = IntegrationSchemasSandbox22$outboundSchema;
|
|
1567
|
+
/** @deprecated use `IntegrationSchemasSandbox22$Outbound` instead. */
|
|
1568
|
+
export type Outbound = IntegrationSchemasSandbox22$Outbound;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
export function integrationSchemasSandbox22ToJSON(
|
|
1572
|
+
integrationSchemasSandbox22: IntegrationSchemasSandbox22,
|
|
1573
|
+
): string {
|
|
1574
|
+
return JSON.stringify(
|
|
1575
|
+
IntegrationSchemasSandbox22$outboundSchema.parse(
|
|
1576
|
+
integrationSchemasSandbox22,
|
|
1577
|
+
),
|
|
1578
|
+
);
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
export function integrationSchemasSandbox22FromJSON(
|
|
1582
|
+
jsonString: string,
|
|
1583
|
+
): SafeParseResult<IntegrationSchemasSandbox22, SDKValidationError> {
|
|
1584
|
+
return safeParse(
|
|
1585
|
+
jsonString,
|
|
1586
|
+
(x) => IntegrationSchemasSandbox22$inboundSchema.parse(JSON.parse(x)),
|
|
1587
|
+
`Failed to parse 'IntegrationSchemasSandbox22' from JSON`,
|
|
1588
|
+
);
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
/** @internal */
|
|
1592
|
+
export const IntegrationSchemasSandbox2$inboundSchema: z.ZodType<
|
|
1593
|
+
IntegrationSchemasSandbox2,
|
|
1594
|
+
z.ZodTypeDef,
|
|
1595
|
+
unknown
|
|
1596
|
+
> = z.union([
|
|
1597
|
+
z.lazy(() => IntegrationSchemasSandbox22$inboundSchema),
|
|
1598
|
+
z.string(),
|
|
1599
|
+
]);
|
|
1600
|
+
|
|
1601
|
+
/** @internal */
|
|
1602
|
+
export type IntegrationSchemasSandbox2$Outbound =
|
|
1603
|
+
| IntegrationSchemasSandbox22$Outbound
|
|
1604
|
+
| string;
|
|
1605
|
+
|
|
1606
|
+
/** @internal */
|
|
1607
|
+
export const IntegrationSchemasSandbox2$outboundSchema: z.ZodType<
|
|
1608
|
+
IntegrationSchemasSandbox2$Outbound,
|
|
1609
|
+
z.ZodTypeDef,
|
|
1610
|
+
IntegrationSchemasSandbox2
|
|
1611
|
+
> = z.union([
|
|
1612
|
+
z.lazy(() => IntegrationSchemasSandbox22$outboundSchema),
|
|
1613
|
+
z.string(),
|
|
1614
|
+
]);
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* @internal
|
|
1618
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1619
|
+
*/
|
|
1620
|
+
export namespace IntegrationSchemasSandbox2$ {
|
|
1621
|
+
/** @deprecated use `IntegrationSchemasSandbox2$inboundSchema` instead. */
|
|
1622
|
+
export const inboundSchema = IntegrationSchemasSandbox2$inboundSchema;
|
|
1623
|
+
/** @deprecated use `IntegrationSchemasSandbox2$outboundSchema` instead. */
|
|
1624
|
+
export const outboundSchema = IntegrationSchemasSandbox2$outboundSchema;
|
|
1625
|
+
/** @deprecated use `IntegrationSchemasSandbox2$Outbound` instead. */
|
|
1626
|
+
export type Outbound = IntegrationSchemasSandbox2$Outbound;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
export function integrationSchemasSandbox2ToJSON(
|
|
1630
|
+
integrationSchemasSandbox2: IntegrationSchemasSandbox2,
|
|
1631
|
+
): string {
|
|
1632
|
+
return JSON.stringify(
|
|
1633
|
+
IntegrationSchemasSandbox2$outboundSchema.parse(integrationSchemasSandbox2),
|
|
1634
|
+
);
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
export function integrationSchemasSandbox2FromJSON(
|
|
1638
|
+
jsonString: string,
|
|
1639
|
+
): SafeParseResult<IntegrationSchemasSandbox2, SDKValidationError> {
|
|
1640
|
+
return safeParse(
|
|
1641
|
+
jsonString,
|
|
1642
|
+
(x) => IntegrationSchemasSandbox2$inboundSchema.parse(JSON.parse(x)),
|
|
1643
|
+
`Failed to parse 'IntegrationSchemasSandbox2' from JSON`,
|
|
1644
|
+
);
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
/** @internal */
|
|
1648
|
+
export const IntegrationSchemasSandbox1$inboundSchema: z.ZodType<
|
|
1649
|
+
IntegrationSchemasSandbox1,
|
|
1650
|
+
z.ZodTypeDef,
|
|
1651
|
+
unknown
|
|
1652
|
+
> = z.object({});
|
|
1653
|
+
|
|
1654
|
+
/** @internal */
|
|
1655
|
+
export type IntegrationSchemasSandbox1$Outbound = {};
|
|
1656
|
+
|
|
1657
|
+
/** @internal */
|
|
1658
|
+
export const IntegrationSchemasSandbox1$outboundSchema: z.ZodType<
|
|
1659
|
+
IntegrationSchemasSandbox1$Outbound,
|
|
1660
|
+
z.ZodTypeDef,
|
|
1661
|
+
IntegrationSchemasSandbox1
|
|
1662
|
+
> = z.object({});
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* @internal
|
|
1666
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1667
|
+
*/
|
|
1668
|
+
export namespace IntegrationSchemasSandbox1$ {
|
|
1669
|
+
/** @deprecated use `IntegrationSchemasSandbox1$inboundSchema` instead. */
|
|
1670
|
+
export const inboundSchema = IntegrationSchemasSandbox1$inboundSchema;
|
|
1671
|
+
/** @deprecated use `IntegrationSchemasSandbox1$outboundSchema` instead. */
|
|
1672
|
+
export const outboundSchema = IntegrationSchemasSandbox1$outboundSchema;
|
|
1673
|
+
/** @deprecated use `IntegrationSchemasSandbox1$Outbound` instead. */
|
|
1674
|
+
export type Outbound = IntegrationSchemasSandbox1$Outbound;
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
export function integrationSchemasSandbox1ToJSON(
|
|
1678
|
+
integrationSchemasSandbox1: IntegrationSchemasSandbox1,
|
|
1679
|
+
): string {
|
|
1680
|
+
return JSON.stringify(
|
|
1681
|
+
IntegrationSchemasSandbox1$outboundSchema.parse(integrationSchemasSandbox1),
|
|
1682
|
+
);
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
export function integrationSchemasSandbox1FromJSON(
|
|
1686
|
+
jsonString: string,
|
|
1687
|
+
): SafeParseResult<IntegrationSchemasSandbox1, SDKValidationError> {
|
|
1688
|
+
return safeParse(
|
|
1689
|
+
jsonString,
|
|
1690
|
+
(x) => IntegrationSchemasSandbox1$inboundSchema.parse(JSON.parse(x)),
|
|
1691
|
+
`Failed to parse 'IntegrationSchemasSandbox1' from JSON`,
|
|
1692
|
+
);
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
/** @internal */
|
|
1696
|
+
export const Sandbox$inboundSchema: z.ZodType<Sandbox, z.ZodTypeDef, unknown> =
|
|
1697
|
+
z.union([
|
|
1698
|
+
z.lazy(() => IntegrationSchemasSandbox1$inboundSchema),
|
|
1699
|
+
z.union([
|
|
1700
|
+
z.lazy(() => IntegrationSchemasSandbox22$inboundSchema),
|
|
1701
|
+
z.string(),
|
|
1702
|
+
]),
|
|
1703
|
+
z.union([
|
|
1704
|
+
z.lazy(() => IntegrationSchemasSandbox32$inboundSchema),
|
|
1705
|
+
z.number(),
|
|
1706
|
+
]),
|
|
1707
|
+
z.union([
|
|
1708
|
+
z.lazy(() => IntegrationSchemasSandbox42$inboundSchema),
|
|
1709
|
+
z.boolean(),
|
|
1710
|
+
]),
|
|
1711
|
+
z.union([
|
|
1712
|
+
z.lazy(() => IntegrationSchemasSandbox52$inboundSchema),
|
|
1713
|
+
z.array(z.any()),
|
|
1714
|
+
]),
|
|
1715
|
+
]);
|
|
1716
|
+
|
|
1717
|
+
/** @internal */
|
|
1718
|
+
export type Sandbox$Outbound =
|
|
1719
|
+
| IntegrationSchemasSandbox1$Outbound
|
|
1720
|
+
| IntegrationSchemasSandbox22$Outbound
|
|
1721
|
+
| string
|
|
1722
|
+
| IntegrationSchemasSandbox32$Outbound
|
|
1723
|
+
| number
|
|
1724
|
+
| IntegrationSchemasSandbox42$Outbound
|
|
1725
|
+
| boolean
|
|
1726
|
+
| IntegrationSchemasSandbox52$Outbound
|
|
1727
|
+
| Array<any>;
|
|
1728
|
+
|
|
1729
|
+
/** @internal */
|
|
1730
|
+
export const Sandbox$outboundSchema: z.ZodType<
|
|
1731
|
+
Sandbox$Outbound,
|
|
1732
|
+
z.ZodTypeDef,
|
|
1733
|
+
Sandbox
|
|
1734
|
+
> = z.union([
|
|
1735
|
+
z.lazy(() => IntegrationSchemasSandbox1$outboundSchema),
|
|
1736
|
+
z.union([
|
|
1737
|
+
z.lazy(() => IntegrationSchemasSandbox22$outboundSchema),
|
|
1738
|
+
z.string(),
|
|
1739
|
+
]),
|
|
1740
|
+
z.union([
|
|
1741
|
+
z.lazy(() => IntegrationSchemasSandbox32$outboundSchema),
|
|
1742
|
+
z.number(),
|
|
1743
|
+
]),
|
|
1744
|
+
z.union([
|
|
1745
|
+
z.lazy(() => IntegrationSchemasSandbox42$outboundSchema),
|
|
1746
|
+
z.boolean(),
|
|
1747
|
+
]),
|
|
1748
|
+
z.union([
|
|
1749
|
+
z.lazy(() => IntegrationSchemasSandbox52$outboundSchema),
|
|
1750
|
+
z.array(z.any()),
|
|
1751
|
+
]),
|
|
1752
|
+
]);
|
|
1753
|
+
|
|
1754
|
+
/**
|
|
1755
|
+
* @internal
|
|
1756
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1757
|
+
*/
|
|
1758
|
+
export namespace Sandbox$ {
|
|
1759
|
+
/** @deprecated use `Sandbox$inboundSchema` instead. */
|
|
1760
|
+
export const inboundSchema = Sandbox$inboundSchema;
|
|
1761
|
+
/** @deprecated use `Sandbox$outboundSchema` instead. */
|
|
1762
|
+
export const outboundSchema = Sandbox$outboundSchema;
|
|
1763
|
+
/** @deprecated use `Sandbox$Outbound` instead. */
|
|
1764
|
+
export type Outbound = Sandbox$Outbound;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
export function sandboxToJSON(sandbox: Sandbox): string {
|
|
1768
|
+
return JSON.stringify(Sandbox$outboundSchema.parse(sandbox));
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
export function sandboxFromJSON(
|
|
1772
|
+
jsonString: string,
|
|
1773
|
+
): SafeParseResult<Sandbox, SDKValidationError> {
|
|
1774
|
+
return safeParse(
|
|
1775
|
+
jsonString,
|
|
1776
|
+
(x) => Sandbox$inboundSchema.parse(JSON.parse(x)),
|
|
1777
|
+
`Failed to parse 'Sandbox' from JSON`,
|
|
1778
|
+
);
|
|
1779
|
+
}
|
|
1780
|
+
|
|
61
1781
|
/** @internal */
|
|
62
1782
|
export const Integration$inboundSchema: z.ZodType<
|
|
63
1783
|
Integration,
|
|
@@ -65,7 +1785,16 @@ export const Integration$inboundSchema: z.ZodType<
|
|
|
65
1785
|
unknown
|
|
66
1786
|
> = z.object({
|
|
67
1787
|
active_healthy_connections: z.number().optional(),
|
|
68
|
-
api: z.
|
|
1788
|
+
api: z.union([
|
|
1789
|
+
z.lazy(() => Integration1$inboundSchema),
|
|
1790
|
+
z.union([z.lazy(() => IntegrationSchemasApi22$inboundSchema), z.string()]),
|
|
1791
|
+
z.union([z.lazy(() => IntegrationSchemasApi32$inboundSchema), z.number()]),
|
|
1792
|
+
z.union([z.lazy(() => IntegrationSchemasApi2$inboundSchema), z.boolean()]),
|
|
1793
|
+
z.union([
|
|
1794
|
+
z.lazy(() => IntegrationSchemasApi52$inboundSchema),
|
|
1795
|
+
z.array(z.any()),
|
|
1796
|
+
]),
|
|
1797
|
+
]).optional(),
|
|
69
1798
|
api_docs_url: z.string().optional(),
|
|
70
1799
|
beta: z.boolean().optional(),
|
|
71
1800
|
categories: z.array(PropertyIntegrationCategories$inboundSchema),
|
|
@@ -78,9 +1807,47 @@ export const Integration$inboundSchema: z.ZodType<
|
|
|
78
1807
|
is_active: z.boolean().optional(),
|
|
79
1808
|
logo_url: z.string().optional(),
|
|
80
1809
|
name: z.string(),
|
|
1810
|
+
partnership: z.union([
|
|
1811
|
+
z.lazy(() => IntegrationSchemas1$inboundSchema),
|
|
1812
|
+
z.union([
|
|
1813
|
+
z.lazy(() => IntegrationSchemasPartnership2$inboundSchema),
|
|
1814
|
+
z.string(),
|
|
1815
|
+
]),
|
|
1816
|
+
z.union([
|
|
1817
|
+
z.lazy(() => IntegrationSchemasPartnership32$inboundSchema),
|
|
1818
|
+
z.number(),
|
|
1819
|
+
]),
|
|
1820
|
+
z.union([
|
|
1821
|
+
z.lazy(() => IntegrationSchemasPartnership42$inboundSchema),
|
|
1822
|
+
z.boolean(),
|
|
1823
|
+
]),
|
|
1824
|
+
z.union([
|
|
1825
|
+
z.lazy(() => IntegrationSchemasPartnership52$inboundSchema),
|
|
1826
|
+
z.array(z.any()),
|
|
1827
|
+
]),
|
|
1828
|
+
]).optional(),
|
|
81
1829
|
popularity: z.number().optional(),
|
|
82
1830
|
rate_limit_description: z.string().optional(),
|
|
83
|
-
|
|
1831
|
+
sandbox: z.union([
|
|
1832
|
+
z.lazy(() => IntegrationSchemasSandbox1$inboundSchema),
|
|
1833
|
+
z.union([
|
|
1834
|
+
z.lazy(() => IntegrationSchemasSandbox22$inboundSchema),
|
|
1835
|
+
z.string(),
|
|
1836
|
+
]),
|
|
1837
|
+
z.union([
|
|
1838
|
+
z.lazy(() => IntegrationSchemasSandbox32$inboundSchema),
|
|
1839
|
+
z.number(),
|
|
1840
|
+
]),
|
|
1841
|
+
z.union([
|
|
1842
|
+
z.lazy(() => IntegrationSchemasSandbox42$inboundSchema),
|
|
1843
|
+
z.boolean(),
|
|
1844
|
+
]),
|
|
1845
|
+
z.union([
|
|
1846
|
+
z.lazy(() => IntegrationSchemasSandbox52$inboundSchema),
|
|
1847
|
+
z.array(z.any()),
|
|
1848
|
+
]),
|
|
1849
|
+
]).optional(),
|
|
1850
|
+
support: z.record(z.any()).optional(),
|
|
84
1851
|
tested_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
85
1852
|
.optional(),
|
|
86
1853
|
text_color: z.string().optional(),
|
|
@@ -111,7 +1878,17 @@ export const Integration$inboundSchema: z.ZodType<
|
|
|
111
1878
|
/** @internal */
|
|
112
1879
|
export type Integration$Outbound = {
|
|
113
1880
|
active_healthy_connections?: number | undefined;
|
|
114
|
-
api?:
|
|
1881
|
+
api?:
|
|
1882
|
+
| Integration1$Outbound
|
|
1883
|
+
| IntegrationSchemasApi22$Outbound
|
|
1884
|
+
| string
|
|
1885
|
+
| IntegrationSchemasApi32$Outbound
|
|
1886
|
+
| number
|
|
1887
|
+
| IntegrationSchemasApi2$Outbound
|
|
1888
|
+
| boolean
|
|
1889
|
+
| IntegrationSchemasApi52$Outbound
|
|
1890
|
+
| Array<any>
|
|
1891
|
+
| undefined;
|
|
115
1892
|
api_docs_url?: string | undefined;
|
|
116
1893
|
beta?: boolean | undefined;
|
|
117
1894
|
categories: Array<string>;
|
|
@@ -124,9 +1901,31 @@ export type Integration$Outbound = {
|
|
|
124
1901
|
is_active?: boolean | undefined;
|
|
125
1902
|
logo_url?: string | undefined;
|
|
126
1903
|
name: string;
|
|
1904
|
+
partnership?:
|
|
1905
|
+
| IntegrationSchemas1$Outbound
|
|
1906
|
+
| IntegrationSchemasPartnership2$Outbound
|
|
1907
|
+
| string
|
|
1908
|
+
| IntegrationSchemasPartnership32$Outbound
|
|
1909
|
+
| number
|
|
1910
|
+
| IntegrationSchemasPartnership42$Outbound
|
|
1911
|
+
| boolean
|
|
1912
|
+
| IntegrationSchemasPartnership52$Outbound
|
|
1913
|
+
| Array<any>
|
|
1914
|
+
| undefined;
|
|
127
1915
|
popularity?: number | undefined;
|
|
128
1916
|
rate_limit_description?: string | undefined;
|
|
129
|
-
|
|
1917
|
+
sandbox?:
|
|
1918
|
+
| IntegrationSchemasSandbox1$Outbound
|
|
1919
|
+
| IntegrationSchemasSandbox22$Outbound
|
|
1920
|
+
| string
|
|
1921
|
+
| IntegrationSchemasSandbox32$Outbound
|
|
1922
|
+
| number
|
|
1923
|
+
| IntegrationSchemasSandbox42$Outbound
|
|
1924
|
+
| boolean
|
|
1925
|
+
| IntegrationSchemasSandbox52$Outbound
|
|
1926
|
+
| Array<any>
|
|
1927
|
+
| undefined;
|
|
1928
|
+
support?: { [k: string]: any } | undefined;
|
|
130
1929
|
tested_at?: string | undefined;
|
|
131
1930
|
text_color?: string | undefined;
|
|
132
1931
|
token_instructions?: Array<string> | undefined;
|
|
@@ -143,7 +1942,16 @@ export const Integration$outboundSchema: z.ZodType<
|
|
|
143
1942
|
Integration
|
|
144
1943
|
> = z.object({
|
|
145
1944
|
activeHealthyConnections: z.number().optional(),
|
|
146
|
-
api: z.
|
|
1945
|
+
api: z.union([
|
|
1946
|
+
z.lazy(() => Integration1$outboundSchema),
|
|
1947
|
+
z.union([z.lazy(() => IntegrationSchemasApi22$outboundSchema), z.string()]),
|
|
1948
|
+
z.union([z.lazy(() => IntegrationSchemasApi32$outboundSchema), z.number()]),
|
|
1949
|
+
z.union([z.lazy(() => IntegrationSchemasApi2$outboundSchema), z.boolean()]),
|
|
1950
|
+
z.union([
|
|
1951
|
+
z.lazy(() => IntegrationSchemasApi52$outboundSchema),
|
|
1952
|
+
z.array(z.any()),
|
|
1953
|
+
]),
|
|
1954
|
+
]).optional(),
|
|
147
1955
|
apiDocsUrl: z.string().optional(),
|
|
148
1956
|
beta: z.boolean().optional(),
|
|
149
1957
|
categories: z.array(PropertyIntegrationCategories$outboundSchema),
|
|
@@ -156,9 +1964,47 @@ export const Integration$outboundSchema: z.ZodType<
|
|
|
156
1964
|
isActive: z.boolean().optional(),
|
|
157
1965
|
logoUrl: z.string().optional(),
|
|
158
1966
|
name: z.string(),
|
|
1967
|
+
partnership: z.union([
|
|
1968
|
+
z.lazy(() => IntegrationSchemas1$outboundSchema),
|
|
1969
|
+
z.union([
|
|
1970
|
+
z.lazy(() => IntegrationSchemasPartnership2$outboundSchema),
|
|
1971
|
+
z.string(),
|
|
1972
|
+
]),
|
|
1973
|
+
z.union([
|
|
1974
|
+
z.lazy(() => IntegrationSchemasPartnership32$outboundSchema),
|
|
1975
|
+
z.number(),
|
|
1976
|
+
]),
|
|
1977
|
+
z.union([
|
|
1978
|
+
z.lazy(() => IntegrationSchemasPartnership42$outboundSchema),
|
|
1979
|
+
z.boolean(),
|
|
1980
|
+
]),
|
|
1981
|
+
z.union([
|
|
1982
|
+
z.lazy(() => IntegrationSchemasPartnership52$outboundSchema),
|
|
1983
|
+
z.array(z.any()),
|
|
1984
|
+
]),
|
|
1985
|
+
]).optional(),
|
|
159
1986
|
popularity: z.number().optional(),
|
|
160
1987
|
rateLimitDescription: z.string().optional(),
|
|
161
|
-
|
|
1988
|
+
sandbox: z.union([
|
|
1989
|
+
z.lazy(() => IntegrationSchemasSandbox1$outboundSchema),
|
|
1990
|
+
z.union([
|
|
1991
|
+
z.lazy(() => IntegrationSchemasSandbox22$outboundSchema),
|
|
1992
|
+
z.string(),
|
|
1993
|
+
]),
|
|
1994
|
+
z.union([
|
|
1995
|
+
z.lazy(() => IntegrationSchemasSandbox32$outboundSchema),
|
|
1996
|
+
z.number(),
|
|
1997
|
+
]),
|
|
1998
|
+
z.union([
|
|
1999
|
+
z.lazy(() => IntegrationSchemasSandbox42$outboundSchema),
|
|
2000
|
+
z.boolean(),
|
|
2001
|
+
]),
|
|
2002
|
+
z.union([
|
|
2003
|
+
z.lazy(() => IntegrationSchemasSandbox52$outboundSchema),
|
|
2004
|
+
z.array(z.any()),
|
|
2005
|
+
]),
|
|
2006
|
+
]).optional(),
|
|
2007
|
+
support: z.record(z.any()).optional(),
|
|
162
2008
|
testedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
163
2009
|
textColor: z.string().optional(),
|
|
164
2010
|
tokenInstructions: z.array(z.string()).optional(),
|