@unified-api/typescript-sdk 2.62.0 → 2.66.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/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/atsmetadata.d.ts +386 -8
- package/sdk/models/shared/atsmetadata.d.ts.map +1 -1
- package/sdk/models/shared/atsmetadata.js +586 -9
- package/sdk/models/shared/atsmetadata.js.map +1 -1
- package/sdk/models/shared/commercemetadata.d.ts +386 -8
- package/sdk/models/shared/commercemetadata.d.ts.map +1 -1
- package/sdk/models/shared/commercemetadata.js +616 -9
- package/sdk/models/shared/commercemetadata.js.map +1 -1
- 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/crmmetadata.d.ts +386 -8
- package/sdk/models/shared/crmmetadata.d.ts.map +1 -1
- package/sdk/models/shared/crmmetadata.js +595 -9
- package/sdk/models/shared/crmmetadata.js.map +1 -1
- package/sdk/models/shared/hrismetadata.d.ts +386 -8
- package/sdk/models/shared/hrismetadata.d.ts.map +1 -1
- package/sdk/models/shared/hrismetadata.js +607 -9
- package/sdk/models/shared/hrismetadata.js.map +1 -1
- package/sdk/models/shared/index.d.ts +2 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +2 -0
- package/sdk/models/shared/index.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/atsmetadata.ts +1092 -16
- package/src/sdk/models/shared/commercemetadata.ts +1225 -16
- package/src/sdk/models/shared/commercereview.ts +238 -0
- package/src/sdk/models/shared/commercereviewcomment.ts +189 -0
- package/src/sdk/models/shared/crmmetadata.ts +1167 -16
- package/src/sdk/models/shared/hrismetadata.ts +1179 -16
- package/src/sdk/models/shared/index.ts +2 -0
- package/src/sdk/review.ts +100 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -8,36 +8,636 @@ 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
10
|
|
|
11
|
-
export type
|
|
11
|
+
export type CommerceMetadataSchemasExtraData52 = {};
|
|
12
12
|
|
|
13
|
-
export type
|
|
13
|
+
export type CommerceMetadata5 = CommerceMetadataSchemasExtraData52 | Array<any>;
|
|
14
|
+
|
|
15
|
+
export type CommerceMetadataSchemasExtraData2 = {};
|
|
16
|
+
|
|
17
|
+
export type CommerceMetadata4 = CommerceMetadataSchemasExtraData2 | boolean;
|
|
18
|
+
|
|
19
|
+
export type CommerceMetadataSchemasExtraData32 = {};
|
|
20
|
+
|
|
21
|
+
export type CommerceMetadata3 = CommerceMetadataSchemasExtraData32 | number;
|
|
22
|
+
|
|
23
|
+
export type CommerceMetadataSchemasExtraData22 = {};
|
|
24
|
+
|
|
25
|
+
export type CommerceMetadata2 = CommerceMetadataSchemasExtraData22 | string;
|
|
26
|
+
|
|
27
|
+
export type CommerceMetadata1 = {};
|
|
28
|
+
|
|
29
|
+
export type CommerceMetadataExtraData =
|
|
30
|
+
| CommerceMetadata1
|
|
31
|
+
| CommerceMetadataSchemasExtraData22
|
|
32
|
+
| string
|
|
33
|
+
| CommerceMetadataSchemasExtraData32
|
|
34
|
+
| number
|
|
35
|
+
| CommerceMetadataSchemasExtraData2
|
|
36
|
+
| boolean
|
|
37
|
+
| CommerceMetadataSchemasExtraData52
|
|
38
|
+
| Array<any>;
|
|
39
|
+
|
|
40
|
+
export type CommerceMetadataSchemasValue52 = {};
|
|
41
|
+
|
|
42
|
+
export type CommerceMetadataSchemas5 =
|
|
43
|
+
| CommerceMetadataSchemasValue52
|
|
44
|
+
| Array<any>;
|
|
45
|
+
|
|
46
|
+
export type CommerceMetadataSchemasValue42 = {};
|
|
47
|
+
|
|
48
|
+
export type CommerceMetadataSchemas4 = CommerceMetadataSchemasValue42 | boolean;
|
|
49
|
+
|
|
50
|
+
export type CommerceMetadataSchemasValue32 = {};
|
|
51
|
+
|
|
52
|
+
export type CommerceMetadataSchemas3 = CommerceMetadataSchemasValue32 | number;
|
|
53
|
+
|
|
54
|
+
export type CommerceMetadataSchemasValue2 = {};
|
|
55
|
+
|
|
56
|
+
export type CommerceMetadataSchemas2 = CommerceMetadataSchemasValue2 | string;
|
|
57
|
+
|
|
58
|
+
export type CommerceMetadataSchemas1 = {};
|
|
59
|
+
|
|
60
|
+
export type CommerceMetadataValue =
|
|
61
|
+
| CommerceMetadataSchemas1
|
|
62
|
+
| CommerceMetadataSchemasValue2
|
|
63
|
+
| string
|
|
64
|
+
| CommerceMetadataSchemasValue32
|
|
65
|
+
| number
|
|
66
|
+
| CommerceMetadataSchemasValue42
|
|
67
|
+
| boolean
|
|
68
|
+
| CommerceMetadataSchemasValue52
|
|
69
|
+
| Array<any>;
|
|
14
70
|
|
|
15
71
|
export type CommerceMetadata = {
|
|
16
|
-
extraData?:
|
|
72
|
+
extraData?:
|
|
73
|
+
| CommerceMetadata1
|
|
74
|
+
| CommerceMetadataSchemasExtraData22
|
|
75
|
+
| string
|
|
76
|
+
| CommerceMetadataSchemasExtraData32
|
|
77
|
+
| number
|
|
78
|
+
| CommerceMetadataSchemasExtraData2
|
|
79
|
+
| boolean
|
|
80
|
+
| CommerceMetadataSchemasExtraData52
|
|
81
|
+
| Array<any>
|
|
82
|
+
| undefined;
|
|
17
83
|
id?: string | undefined;
|
|
18
84
|
key?: string | undefined;
|
|
19
85
|
namespace?: string | undefined;
|
|
20
86
|
slug?: string | undefined;
|
|
21
87
|
type?: string | undefined;
|
|
22
|
-
value?:
|
|
88
|
+
value?:
|
|
89
|
+
| CommerceMetadataSchemas1
|
|
90
|
+
| CommerceMetadataSchemasValue2
|
|
91
|
+
| string
|
|
92
|
+
| CommerceMetadataSchemasValue32
|
|
93
|
+
| number
|
|
94
|
+
| CommerceMetadataSchemasValue42
|
|
95
|
+
| boolean
|
|
96
|
+
| CommerceMetadataSchemasValue52
|
|
97
|
+
| Array<any>
|
|
98
|
+
| undefined;
|
|
23
99
|
};
|
|
24
100
|
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const CommerceMetadataSchemasExtraData52$inboundSchema: z.ZodType<
|
|
103
|
+
CommerceMetadataSchemasExtraData52,
|
|
104
|
+
z.ZodTypeDef,
|
|
105
|
+
unknown
|
|
106
|
+
> = z.object({});
|
|
107
|
+
|
|
108
|
+
/** @internal */
|
|
109
|
+
export type CommerceMetadataSchemasExtraData52$Outbound = {};
|
|
110
|
+
|
|
111
|
+
/** @internal */
|
|
112
|
+
export const CommerceMetadataSchemasExtraData52$outboundSchema: z.ZodType<
|
|
113
|
+
CommerceMetadataSchemasExtraData52$Outbound,
|
|
114
|
+
z.ZodTypeDef,
|
|
115
|
+
CommerceMetadataSchemasExtraData52
|
|
116
|
+
> = z.object({});
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
121
|
+
*/
|
|
122
|
+
export namespace CommerceMetadataSchemasExtraData52$ {
|
|
123
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData52$inboundSchema` instead. */
|
|
124
|
+
export const inboundSchema = CommerceMetadataSchemasExtraData52$inboundSchema;
|
|
125
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData52$outboundSchema` instead. */
|
|
126
|
+
export const outboundSchema =
|
|
127
|
+
CommerceMetadataSchemasExtraData52$outboundSchema;
|
|
128
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData52$Outbound` instead. */
|
|
129
|
+
export type Outbound = CommerceMetadataSchemasExtraData52$Outbound;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function commerceMetadataSchemasExtraData52ToJSON(
|
|
133
|
+
commerceMetadataSchemasExtraData52: CommerceMetadataSchemasExtraData52,
|
|
134
|
+
): string {
|
|
135
|
+
return JSON.stringify(
|
|
136
|
+
CommerceMetadataSchemasExtraData52$outboundSchema.parse(
|
|
137
|
+
commerceMetadataSchemasExtraData52,
|
|
138
|
+
),
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export function commerceMetadataSchemasExtraData52FromJSON(
|
|
143
|
+
jsonString: string,
|
|
144
|
+
): SafeParseResult<CommerceMetadataSchemasExtraData52, SDKValidationError> {
|
|
145
|
+
return safeParse(
|
|
146
|
+
jsonString,
|
|
147
|
+
(x) =>
|
|
148
|
+
CommerceMetadataSchemasExtraData52$inboundSchema.parse(JSON.parse(x)),
|
|
149
|
+
`Failed to parse 'CommerceMetadataSchemasExtraData52' from JSON`,
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/** @internal */
|
|
154
|
+
export const CommerceMetadata5$inboundSchema: z.ZodType<
|
|
155
|
+
CommerceMetadata5,
|
|
156
|
+
z.ZodTypeDef,
|
|
157
|
+
unknown
|
|
158
|
+
> = z.union([
|
|
159
|
+
z.lazy(() => CommerceMetadataSchemasExtraData52$inboundSchema),
|
|
160
|
+
z.array(z.any()),
|
|
161
|
+
]);
|
|
162
|
+
|
|
163
|
+
/** @internal */
|
|
164
|
+
export type CommerceMetadata5$Outbound =
|
|
165
|
+
| CommerceMetadataSchemasExtraData52$Outbound
|
|
166
|
+
| Array<any>;
|
|
167
|
+
|
|
168
|
+
/** @internal */
|
|
169
|
+
export const CommerceMetadata5$outboundSchema: z.ZodType<
|
|
170
|
+
CommerceMetadata5$Outbound,
|
|
171
|
+
z.ZodTypeDef,
|
|
172
|
+
CommerceMetadata5
|
|
173
|
+
> = z.union([
|
|
174
|
+
z.lazy(() => CommerceMetadataSchemasExtraData52$outboundSchema),
|
|
175
|
+
z.array(z.any()),
|
|
176
|
+
]);
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @internal
|
|
180
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
181
|
+
*/
|
|
182
|
+
export namespace CommerceMetadata5$ {
|
|
183
|
+
/** @deprecated use `CommerceMetadata5$inboundSchema` instead. */
|
|
184
|
+
export const inboundSchema = CommerceMetadata5$inboundSchema;
|
|
185
|
+
/** @deprecated use `CommerceMetadata5$outboundSchema` instead. */
|
|
186
|
+
export const outboundSchema = CommerceMetadata5$outboundSchema;
|
|
187
|
+
/** @deprecated use `CommerceMetadata5$Outbound` instead. */
|
|
188
|
+
export type Outbound = CommerceMetadata5$Outbound;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export function commerceMetadata5ToJSON(
|
|
192
|
+
commerceMetadata5: CommerceMetadata5,
|
|
193
|
+
): string {
|
|
194
|
+
return JSON.stringify(
|
|
195
|
+
CommerceMetadata5$outboundSchema.parse(commerceMetadata5),
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export function commerceMetadata5FromJSON(
|
|
200
|
+
jsonString: string,
|
|
201
|
+
): SafeParseResult<CommerceMetadata5, SDKValidationError> {
|
|
202
|
+
return safeParse(
|
|
203
|
+
jsonString,
|
|
204
|
+
(x) => CommerceMetadata5$inboundSchema.parse(JSON.parse(x)),
|
|
205
|
+
`Failed to parse 'CommerceMetadata5' from JSON`,
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/** @internal */
|
|
210
|
+
export const CommerceMetadataSchemasExtraData2$inboundSchema: z.ZodType<
|
|
211
|
+
CommerceMetadataSchemasExtraData2,
|
|
212
|
+
z.ZodTypeDef,
|
|
213
|
+
unknown
|
|
214
|
+
> = z.object({});
|
|
215
|
+
|
|
216
|
+
/** @internal */
|
|
217
|
+
export type CommerceMetadataSchemasExtraData2$Outbound = {};
|
|
218
|
+
|
|
219
|
+
/** @internal */
|
|
220
|
+
export const CommerceMetadataSchemasExtraData2$outboundSchema: z.ZodType<
|
|
221
|
+
CommerceMetadataSchemasExtraData2$Outbound,
|
|
222
|
+
z.ZodTypeDef,
|
|
223
|
+
CommerceMetadataSchemasExtraData2
|
|
224
|
+
> = z.object({});
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @internal
|
|
228
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
229
|
+
*/
|
|
230
|
+
export namespace CommerceMetadataSchemasExtraData2$ {
|
|
231
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData2$inboundSchema` instead. */
|
|
232
|
+
export const inboundSchema = CommerceMetadataSchemasExtraData2$inboundSchema;
|
|
233
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData2$outboundSchema` instead. */
|
|
234
|
+
export const outboundSchema =
|
|
235
|
+
CommerceMetadataSchemasExtraData2$outboundSchema;
|
|
236
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData2$Outbound` instead. */
|
|
237
|
+
export type Outbound = CommerceMetadataSchemasExtraData2$Outbound;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export function commerceMetadataSchemasExtraData2ToJSON(
|
|
241
|
+
commerceMetadataSchemasExtraData2: CommerceMetadataSchemasExtraData2,
|
|
242
|
+
): string {
|
|
243
|
+
return JSON.stringify(
|
|
244
|
+
CommerceMetadataSchemasExtraData2$outboundSchema.parse(
|
|
245
|
+
commerceMetadataSchemasExtraData2,
|
|
246
|
+
),
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export function commerceMetadataSchemasExtraData2FromJSON(
|
|
251
|
+
jsonString: string,
|
|
252
|
+
): SafeParseResult<CommerceMetadataSchemasExtraData2, SDKValidationError> {
|
|
253
|
+
return safeParse(
|
|
254
|
+
jsonString,
|
|
255
|
+
(x) => CommerceMetadataSchemasExtraData2$inboundSchema.parse(JSON.parse(x)),
|
|
256
|
+
`Failed to parse 'CommerceMetadataSchemasExtraData2' from JSON`,
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/** @internal */
|
|
261
|
+
export const CommerceMetadata4$inboundSchema: z.ZodType<
|
|
262
|
+
CommerceMetadata4,
|
|
263
|
+
z.ZodTypeDef,
|
|
264
|
+
unknown
|
|
265
|
+
> = z.union([
|
|
266
|
+
z.lazy(() => CommerceMetadataSchemasExtraData2$inboundSchema),
|
|
267
|
+
z.boolean(),
|
|
268
|
+
]);
|
|
269
|
+
|
|
270
|
+
/** @internal */
|
|
271
|
+
export type CommerceMetadata4$Outbound =
|
|
272
|
+
| CommerceMetadataSchemasExtraData2$Outbound
|
|
273
|
+
| boolean;
|
|
274
|
+
|
|
275
|
+
/** @internal */
|
|
276
|
+
export const CommerceMetadata4$outboundSchema: z.ZodType<
|
|
277
|
+
CommerceMetadata4$Outbound,
|
|
278
|
+
z.ZodTypeDef,
|
|
279
|
+
CommerceMetadata4
|
|
280
|
+
> = z.union([
|
|
281
|
+
z.lazy(() => CommerceMetadataSchemasExtraData2$outboundSchema),
|
|
282
|
+
z.boolean(),
|
|
283
|
+
]);
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @internal
|
|
287
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
288
|
+
*/
|
|
289
|
+
export namespace CommerceMetadata4$ {
|
|
290
|
+
/** @deprecated use `CommerceMetadata4$inboundSchema` instead. */
|
|
291
|
+
export const inboundSchema = CommerceMetadata4$inboundSchema;
|
|
292
|
+
/** @deprecated use `CommerceMetadata4$outboundSchema` instead. */
|
|
293
|
+
export const outboundSchema = CommerceMetadata4$outboundSchema;
|
|
294
|
+
/** @deprecated use `CommerceMetadata4$Outbound` instead. */
|
|
295
|
+
export type Outbound = CommerceMetadata4$Outbound;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export function commerceMetadata4ToJSON(
|
|
299
|
+
commerceMetadata4: CommerceMetadata4,
|
|
300
|
+
): string {
|
|
301
|
+
return JSON.stringify(
|
|
302
|
+
CommerceMetadata4$outboundSchema.parse(commerceMetadata4),
|
|
303
|
+
);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export function commerceMetadata4FromJSON(
|
|
307
|
+
jsonString: string,
|
|
308
|
+
): SafeParseResult<CommerceMetadata4, SDKValidationError> {
|
|
309
|
+
return safeParse(
|
|
310
|
+
jsonString,
|
|
311
|
+
(x) => CommerceMetadata4$inboundSchema.parse(JSON.parse(x)),
|
|
312
|
+
`Failed to parse 'CommerceMetadata4' from JSON`,
|
|
313
|
+
);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/** @internal */
|
|
317
|
+
export const CommerceMetadataSchemasExtraData32$inboundSchema: z.ZodType<
|
|
318
|
+
CommerceMetadataSchemasExtraData32,
|
|
319
|
+
z.ZodTypeDef,
|
|
320
|
+
unknown
|
|
321
|
+
> = z.object({});
|
|
322
|
+
|
|
323
|
+
/** @internal */
|
|
324
|
+
export type CommerceMetadataSchemasExtraData32$Outbound = {};
|
|
325
|
+
|
|
326
|
+
/** @internal */
|
|
327
|
+
export const CommerceMetadataSchemasExtraData32$outboundSchema: z.ZodType<
|
|
328
|
+
CommerceMetadataSchemasExtraData32$Outbound,
|
|
329
|
+
z.ZodTypeDef,
|
|
330
|
+
CommerceMetadataSchemasExtraData32
|
|
331
|
+
> = z.object({});
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* @internal
|
|
335
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
336
|
+
*/
|
|
337
|
+
export namespace CommerceMetadataSchemasExtraData32$ {
|
|
338
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData32$inboundSchema` instead. */
|
|
339
|
+
export const inboundSchema = CommerceMetadataSchemasExtraData32$inboundSchema;
|
|
340
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData32$outboundSchema` instead. */
|
|
341
|
+
export const outboundSchema =
|
|
342
|
+
CommerceMetadataSchemasExtraData32$outboundSchema;
|
|
343
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData32$Outbound` instead. */
|
|
344
|
+
export type Outbound = CommerceMetadataSchemasExtraData32$Outbound;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export function commerceMetadataSchemasExtraData32ToJSON(
|
|
348
|
+
commerceMetadataSchemasExtraData32: CommerceMetadataSchemasExtraData32,
|
|
349
|
+
): string {
|
|
350
|
+
return JSON.stringify(
|
|
351
|
+
CommerceMetadataSchemasExtraData32$outboundSchema.parse(
|
|
352
|
+
commerceMetadataSchemasExtraData32,
|
|
353
|
+
),
|
|
354
|
+
);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export function commerceMetadataSchemasExtraData32FromJSON(
|
|
358
|
+
jsonString: string,
|
|
359
|
+
): SafeParseResult<CommerceMetadataSchemasExtraData32, SDKValidationError> {
|
|
360
|
+
return safeParse(
|
|
361
|
+
jsonString,
|
|
362
|
+
(x) =>
|
|
363
|
+
CommerceMetadataSchemasExtraData32$inboundSchema.parse(JSON.parse(x)),
|
|
364
|
+
`Failed to parse 'CommerceMetadataSchemasExtraData32' from JSON`,
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/** @internal */
|
|
369
|
+
export const CommerceMetadata3$inboundSchema: z.ZodType<
|
|
370
|
+
CommerceMetadata3,
|
|
371
|
+
z.ZodTypeDef,
|
|
372
|
+
unknown
|
|
373
|
+
> = z.union([
|
|
374
|
+
z.lazy(() => CommerceMetadataSchemasExtraData32$inboundSchema),
|
|
375
|
+
z.number(),
|
|
376
|
+
]);
|
|
377
|
+
|
|
378
|
+
/** @internal */
|
|
379
|
+
export type CommerceMetadata3$Outbound =
|
|
380
|
+
| CommerceMetadataSchemasExtraData32$Outbound
|
|
381
|
+
| number;
|
|
382
|
+
|
|
383
|
+
/** @internal */
|
|
384
|
+
export const CommerceMetadata3$outboundSchema: z.ZodType<
|
|
385
|
+
CommerceMetadata3$Outbound,
|
|
386
|
+
z.ZodTypeDef,
|
|
387
|
+
CommerceMetadata3
|
|
388
|
+
> = z.union([
|
|
389
|
+
z.lazy(() => CommerceMetadataSchemasExtraData32$outboundSchema),
|
|
390
|
+
z.number(),
|
|
391
|
+
]);
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* @internal
|
|
395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
396
|
+
*/
|
|
397
|
+
export namespace CommerceMetadata3$ {
|
|
398
|
+
/** @deprecated use `CommerceMetadata3$inboundSchema` instead. */
|
|
399
|
+
export const inboundSchema = CommerceMetadata3$inboundSchema;
|
|
400
|
+
/** @deprecated use `CommerceMetadata3$outboundSchema` instead. */
|
|
401
|
+
export const outboundSchema = CommerceMetadata3$outboundSchema;
|
|
402
|
+
/** @deprecated use `CommerceMetadata3$Outbound` instead. */
|
|
403
|
+
export type Outbound = CommerceMetadata3$Outbound;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export function commerceMetadata3ToJSON(
|
|
407
|
+
commerceMetadata3: CommerceMetadata3,
|
|
408
|
+
): string {
|
|
409
|
+
return JSON.stringify(
|
|
410
|
+
CommerceMetadata3$outboundSchema.parse(commerceMetadata3),
|
|
411
|
+
);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export function commerceMetadata3FromJSON(
|
|
415
|
+
jsonString: string,
|
|
416
|
+
): SafeParseResult<CommerceMetadata3, SDKValidationError> {
|
|
417
|
+
return safeParse(
|
|
418
|
+
jsonString,
|
|
419
|
+
(x) => CommerceMetadata3$inboundSchema.parse(JSON.parse(x)),
|
|
420
|
+
`Failed to parse 'CommerceMetadata3' from JSON`,
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/** @internal */
|
|
425
|
+
export const CommerceMetadataSchemasExtraData22$inboundSchema: z.ZodType<
|
|
426
|
+
CommerceMetadataSchemasExtraData22,
|
|
427
|
+
z.ZodTypeDef,
|
|
428
|
+
unknown
|
|
429
|
+
> = z.object({});
|
|
430
|
+
|
|
431
|
+
/** @internal */
|
|
432
|
+
export type CommerceMetadataSchemasExtraData22$Outbound = {};
|
|
433
|
+
|
|
434
|
+
/** @internal */
|
|
435
|
+
export const CommerceMetadataSchemasExtraData22$outboundSchema: z.ZodType<
|
|
436
|
+
CommerceMetadataSchemasExtraData22$Outbound,
|
|
437
|
+
z.ZodTypeDef,
|
|
438
|
+
CommerceMetadataSchemasExtraData22
|
|
439
|
+
> = z.object({});
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* @internal
|
|
443
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
444
|
+
*/
|
|
445
|
+
export namespace CommerceMetadataSchemasExtraData22$ {
|
|
446
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData22$inboundSchema` instead. */
|
|
447
|
+
export const inboundSchema = CommerceMetadataSchemasExtraData22$inboundSchema;
|
|
448
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData22$outboundSchema` instead. */
|
|
449
|
+
export const outboundSchema =
|
|
450
|
+
CommerceMetadataSchemasExtraData22$outboundSchema;
|
|
451
|
+
/** @deprecated use `CommerceMetadataSchemasExtraData22$Outbound` instead. */
|
|
452
|
+
export type Outbound = CommerceMetadataSchemasExtraData22$Outbound;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export function commerceMetadataSchemasExtraData22ToJSON(
|
|
456
|
+
commerceMetadataSchemasExtraData22: CommerceMetadataSchemasExtraData22,
|
|
457
|
+
): string {
|
|
458
|
+
return JSON.stringify(
|
|
459
|
+
CommerceMetadataSchemasExtraData22$outboundSchema.parse(
|
|
460
|
+
commerceMetadataSchemasExtraData22,
|
|
461
|
+
),
|
|
462
|
+
);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export function commerceMetadataSchemasExtraData22FromJSON(
|
|
466
|
+
jsonString: string,
|
|
467
|
+
): SafeParseResult<CommerceMetadataSchemasExtraData22, SDKValidationError> {
|
|
468
|
+
return safeParse(
|
|
469
|
+
jsonString,
|
|
470
|
+
(x) =>
|
|
471
|
+
CommerceMetadataSchemasExtraData22$inboundSchema.parse(JSON.parse(x)),
|
|
472
|
+
`Failed to parse 'CommerceMetadataSchemasExtraData22' from JSON`,
|
|
473
|
+
);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/** @internal */
|
|
477
|
+
export const CommerceMetadata2$inboundSchema: z.ZodType<
|
|
478
|
+
CommerceMetadata2,
|
|
479
|
+
z.ZodTypeDef,
|
|
480
|
+
unknown
|
|
481
|
+
> = z.union([
|
|
482
|
+
z.lazy(() => CommerceMetadataSchemasExtraData22$inboundSchema),
|
|
483
|
+
z.string(),
|
|
484
|
+
]);
|
|
485
|
+
|
|
486
|
+
/** @internal */
|
|
487
|
+
export type CommerceMetadata2$Outbound =
|
|
488
|
+
| CommerceMetadataSchemasExtraData22$Outbound
|
|
489
|
+
| string;
|
|
490
|
+
|
|
491
|
+
/** @internal */
|
|
492
|
+
export const CommerceMetadata2$outboundSchema: z.ZodType<
|
|
493
|
+
CommerceMetadata2$Outbound,
|
|
494
|
+
z.ZodTypeDef,
|
|
495
|
+
CommerceMetadata2
|
|
496
|
+
> = z.union([
|
|
497
|
+
z.lazy(() => CommerceMetadataSchemasExtraData22$outboundSchema),
|
|
498
|
+
z.string(),
|
|
499
|
+
]);
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @internal
|
|
503
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
504
|
+
*/
|
|
505
|
+
export namespace CommerceMetadata2$ {
|
|
506
|
+
/** @deprecated use `CommerceMetadata2$inboundSchema` instead. */
|
|
507
|
+
export const inboundSchema = CommerceMetadata2$inboundSchema;
|
|
508
|
+
/** @deprecated use `CommerceMetadata2$outboundSchema` instead. */
|
|
509
|
+
export const outboundSchema = CommerceMetadata2$outboundSchema;
|
|
510
|
+
/** @deprecated use `CommerceMetadata2$Outbound` instead. */
|
|
511
|
+
export type Outbound = CommerceMetadata2$Outbound;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export function commerceMetadata2ToJSON(
|
|
515
|
+
commerceMetadata2: CommerceMetadata2,
|
|
516
|
+
): string {
|
|
517
|
+
return JSON.stringify(
|
|
518
|
+
CommerceMetadata2$outboundSchema.parse(commerceMetadata2),
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export function commerceMetadata2FromJSON(
|
|
523
|
+
jsonString: string,
|
|
524
|
+
): SafeParseResult<CommerceMetadata2, SDKValidationError> {
|
|
525
|
+
return safeParse(
|
|
526
|
+
jsonString,
|
|
527
|
+
(x) => CommerceMetadata2$inboundSchema.parse(JSON.parse(x)),
|
|
528
|
+
`Failed to parse 'CommerceMetadata2' from JSON`,
|
|
529
|
+
);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/** @internal */
|
|
533
|
+
export const CommerceMetadata1$inboundSchema: z.ZodType<
|
|
534
|
+
CommerceMetadata1,
|
|
535
|
+
z.ZodTypeDef,
|
|
536
|
+
unknown
|
|
537
|
+
> = z.object({});
|
|
538
|
+
|
|
539
|
+
/** @internal */
|
|
540
|
+
export type CommerceMetadata1$Outbound = {};
|
|
541
|
+
|
|
542
|
+
/** @internal */
|
|
543
|
+
export const CommerceMetadata1$outboundSchema: z.ZodType<
|
|
544
|
+
CommerceMetadata1$Outbound,
|
|
545
|
+
z.ZodTypeDef,
|
|
546
|
+
CommerceMetadata1
|
|
547
|
+
> = z.object({});
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* @internal
|
|
551
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
552
|
+
*/
|
|
553
|
+
export namespace CommerceMetadata1$ {
|
|
554
|
+
/** @deprecated use `CommerceMetadata1$inboundSchema` instead. */
|
|
555
|
+
export const inboundSchema = CommerceMetadata1$inboundSchema;
|
|
556
|
+
/** @deprecated use `CommerceMetadata1$outboundSchema` instead. */
|
|
557
|
+
export const outboundSchema = CommerceMetadata1$outboundSchema;
|
|
558
|
+
/** @deprecated use `CommerceMetadata1$Outbound` instead. */
|
|
559
|
+
export type Outbound = CommerceMetadata1$Outbound;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export function commerceMetadata1ToJSON(
|
|
563
|
+
commerceMetadata1: CommerceMetadata1,
|
|
564
|
+
): string {
|
|
565
|
+
return JSON.stringify(
|
|
566
|
+
CommerceMetadata1$outboundSchema.parse(commerceMetadata1),
|
|
567
|
+
);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export function commerceMetadata1FromJSON(
|
|
571
|
+
jsonString: string,
|
|
572
|
+
): SafeParseResult<CommerceMetadata1, SDKValidationError> {
|
|
573
|
+
return safeParse(
|
|
574
|
+
jsonString,
|
|
575
|
+
(x) => CommerceMetadata1$inboundSchema.parse(JSON.parse(x)),
|
|
576
|
+
`Failed to parse 'CommerceMetadata1' from JSON`,
|
|
577
|
+
);
|
|
578
|
+
}
|
|
579
|
+
|
|
25
580
|
/** @internal */
|
|
26
581
|
export const CommerceMetadataExtraData$inboundSchema: z.ZodType<
|
|
27
582
|
CommerceMetadataExtraData,
|
|
28
583
|
z.ZodTypeDef,
|
|
29
584
|
unknown
|
|
30
|
-
> = z.
|
|
585
|
+
> = z.union([
|
|
586
|
+
z.lazy(() => CommerceMetadata1$inboundSchema),
|
|
587
|
+
z.union([
|
|
588
|
+
z.lazy(() => CommerceMetadataSchemasExtraData22$inboundSchema),
|
|
589
|
+
z.string(),
|
|
590
|
+
]),
|
|
591
|
+
z.union([
|
|
592
|
+
z.lazy(() => CommerceMetadataSchemasExtraData32$inboundSchema),
|
|
593
|
+
z.number(),
|
|
594
|
+
]),
|
|
595
|
+
z.union([
|
|
596
|
+
z.lazy(() => CommerceMetadataSchemasExtraData2$inboundSchema),
|
|
597
|
+
z.boolean(),
|
|
598
|
+
]),
|
|
599
|
+
z.union([
|
|
600
|
+
z.lazy(() => CommerceMetadataSchemasExtraData52$inboundSchema),
|
|
601
|
+
z.array(z.any()),
|
|
602
|
+
]),
|
|
603
|
+
]);
|
|
31
604
|
|
|
32
605
|
/** @internal */
|
|
33
|
-
export type CommerceMetadataExtraData$Outbound =
|
|
606
|
+
export type CommerceMetadataExtraData$Outbound =
|
|
607
|
+
| CommerceMetadata1$Outbound
|
|
608
|
+
| CommerceMetadataSchemasExtraData22$Outbound
|
|
609
|
+
| string
|
|
610
|
+
| CommerceMetadataSchemasExtraData32$Outbound
|
|
611
|
+
| number
|
|
612
|
+
| CommerceMetadataSchemasExtraData2$Outbound
|
|
613
|
+
| boolean
|
|
614
|
+
| CommerceMetadataSchemasExtraData52$Outbound
|
|
615
|
+
| Array<any>;
|
|
34
616
|
|
|
35
617
|
/** @internal */
|
|
36
618
|
export const CommerceMetadataExtraData$outboundSchema: z.ZodType<
|
|
37
619
|
CommerceMetadataExtraData$Outbound,
|
|
38
620
|
z.ZodTypeDef,
|
|
39
621
|
CommerceMetadataExtraData
|
|
40
|
-
> = z.
|
|
622
|
+
> = z.union([
|
|
623
|
+
z.lazy(() => CommerceMetadata1$outboundSchema),
|
|
624
|
+
z.union([
|
|
625
|
+
z.lazy(() => CommerceMetadataSchemasExtraData22$outboundSchema),
|
|
626
|
+
z.string(),
|
|
627
|
+
]),
|
|
628
|
+
z.union([
|
|
629
|
+
z.lazy(() => CommerceMetadataSchemasExtraData32$outboundSchema),
|
|
630
|
+
z.number(),
|
|
631
|
+
]),
|
|
632
|
+
z.union([
|
|
633
|
+
z.lazy(() => CommerceMetadataSchemasExtraData2$outboundSchema),
|
|
634
|
+
z.boolean(),
|
|
635
|
+
]),
|
|
636
|
+
z.union([
|
|
637
|
+
z.lazy(() => CommerceMetadataSchemasExtraData52$outboundSchema),
|
|
638
|
+
z.array(z.any()),
|
|
639
|
+
]),
|
|
640
|
+
]);
|
|
41
641
|
|
|
42
642
|
/**
|
|
43
643
|
* @internal
|
|
@@ -70,22 +670,539 @@ export function commerceMetadataExtraDataFromJSON(
|
|
|
70
670
|
);
|
|
71
671
|
}
|
|
72
672
|
|
|
673
|
+
/** @internal */
|
|
674
|
+
export const CommerceMetadataSchemasValue52$inboundSchema: z.ZodType<
|
|
675
|
+
CommerceMetadataSchemasValue52,
|
|
676
|
+
z.ZodTypeDef,
|
|
677
|
+
unknown
|
|
678
|
+
> = z.object({});
|
|
679
|
+
|
|
680
|
+
/** @internal */
|
|
681
|
+
export type CommerceMetadataSchemasValue52$Outbound = {};
|
|
682
|
+
|
|
683
|
+
/** @internal */
|
|
684
|
+
export const CommerceMetadataSchemasValue52$outboundSchema: z.ZodType<
|
|
685
|
+
CommerceMetadataSchemasValue52$Outbound,
|
|
686
|
+
z.ZodTypeDef,
|
|
687
|
+
CommerceMetadataSchemasValue52
|
|
688
|
+
> = z.object({});
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* @internal
|
|
692
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
693
|
+
*/
|
|
694
|
+
export namespace CommerceMetadataSchemasValue52$ {
|
|
695
|
+
/** @deprecated use `CommerceMetadataSchemasValue52$inboundSchema` instead. */
|
|
696
|
+
export const inboundSchema = CommerceMetadataSchemasValue52$inboundSchema;
|
|
697
|
+
/** @deprecated use `CommerceMetadataSchemasValue52$outboundSchema` instead. */
|
|
698
|
+
export const outboundSchema = CommerceMetadataSchemasValue52$outboundSchema;
|
|
699
|
+
/** @deprecated use `CommerceMetadataSchemasValue52$Outbound` instead. */
|
|
700
|
+
export type Outbound = CommerceMetadataSchemasValue52$Outbound;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export function commerceMetadataSchemasValue52ToJSON(
|
|
704
|
+
commerceMetadataSchemasValue52: CommerceMetadataSchemasValue52,
|
|
705
|
+
): string {
|
|
706
|
+
return JSON.stringify(
|
|
707
|
+
CommerceMetadataSchemasValue52$outboundSchema.parse(
|
|
708
|
+
commerceMetadataSchemasValue52,
|
|
709
|
+
),
|
|
710
|
+
);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export function commerceMetadataSchemasValue52FromJSON(
|
|
714
|
+
jsonString: string,
|
|
715
|
+
): SafeParseResult<CommerceMetadataSchemasValue52, SDKValidationError> {
|
|
716
|
+
return safeParse(
|
|
717
|
+
jsonString,
|
|
718
|
+
(x) => CommerceMetadataSchemasValue52$inboundSchema.parse(JSON.parse(x)),
|
|
719
|
+
`Failed to parse 'CommerceMetadataSchemasValue52' from JSON`,
|
|
720
|
+
);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/** @internal */
|
|
724
|
+
export const CommerceMetadataSchemas5$inboundSchema: z.ZodType<
|
|
725
|
+
CommerceMetadataSchemas5,
|
|
726
|
+
z.ZodTypeDef,
|
|
727
|
+
unknown
|
|
728
|
+
> = z.union([
|
|
729
|
+
z.lazy(() => CommerceMetadataSchemasValue52$inboundSchema),
|
|
730
|
+
z.array(z.any()),
|
|
731
|
+
]);
|
|
732
|
+
|
|
733
|
+
/** @internal */
|
|
734
|
+
export type CommerceMetadataSchemas5$Outbound =
|
|
735
|
+
| CommerceMetadataSchemasValue52$Outbound
|
|
736
|
+
| Array<any>;
|
|
737
|
+
|
|
738
|
+
/** @internal */
|
|
739
|
+
export const CommerceMetadataSchemas5$outboundSchema: z.ZodType<
|
|
740
|
+
CommerceMetadataSchemas5$Outbound,
|
|
741
|
+
z.ZodTypeDef,
|
|
742
|
+
CommerceMetadataSchemas5
|
|
743
|
+
> = z.union([
|
|
744
|
+
z.lazy(() => CommerceMetadataSchemasValue52$outboundSchema),
|
|
745
|
+
z.array(z.any()),
|
|
746
|
+
]);
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* @internal
|
|
750
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
751
|
+
*/
|
|
752
|
+
export namespace CommerceMetadataSchemas5$ {
|
|
753
|
+
/** @deprecated use `CommerceMetadataSchemas5$inboundSchema` instead. */
|
|
754
|
+
export const inboundSchema = CommerceMetadataSchemas5$inboundSchema;
|
|
755
|
+
/** @deprecated use `CommerceMetadataSchemas5$outboundSchema` instead. */
|
|
756
|
+
export const outboundSchema = CommerceMetadataSchemas5$outboundSchema;
|
|
757
|
+
/** @deprecated use `CommerceMetadataSchemas5$Outbound` instead. */
|
|
758
|
+
export type Outbound = CommerceMetadataSchemas5$Outbound;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
export function commerceMetadataSchemas5ToJSON(
|
|
762
|
+
commerceMetadataSchemas5: CommerceMetadataSchemas5,
|
|
763
|
+
): string {
|
|
764
|
+
return JSON.stringify(
|
|
765
|
+
CommerceMetadataSchemas5$outboundSchema.parse(commerceMetadataSchemas5),
|
|
766
|
+
);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
export function commerceMetadataSchemas5FromJSON(
|
|
770
|
+
jsonString: string,
|
|
771
|
+
): SafeParseResult<CommerceMetadataSchemas5, SDKValidationError> {
|
|
772
|
+
return safeParse(
|
|
773
|
+
jsonString,
|
|
774
|
+
(x) => CommerceMetadataSchemas5$inboundSchema.parse(JSON.parse(x)),
|
|
775
|
+
`Failed to parse 'CommerceMetadataSchemas5' from JSON`,
|
|
776
|
+
);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/** @internal */
|
|
780
|
+
export const CommerceMetadataSchemasValue42$inboundSchema: z.ZodType<
|
|
781
|
+
CommerceMetadataSchemasValue42,
|
|
782
|
+
z.ZodTypeDef,
|
|
783
|
+
unknown
|
|
784
|
+
> = z.object({});
|
|
785
|
+
|
|
786
|
+
/** @internal */
|
|
787
|
+
export type CommerceMetadataSchemasValue42$Outbound = {};
|
|
788
|
+
|
|
789
|
+
/** @internal */
|
|
790
|
+
export const CommerceMetadataSchemasValue42$outboundSchema: z.ZodType<
|
|
791
|
+
CommerceMetadataSchemasValue42$Outbound,
|
|
792
|
+
z.ZodTypeDef,
|
|
793
|
+
CommerceMetadataSchemasValue42
|
|
794
|
+
> = z.object({});
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* @internal
|
|
798
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
799
|
+
*/
|
|
800
|
+
export namespace CommerceMetadataSchemasValue42$ {
|
|
801
|
+
/** @deprecated use `CommerceMetadataSchemasValue42$inboundSchema` instead. */
|
|
802
|
+
export const inboundSchema = CommerceMetadataSchemasValue42$inboundSchema;
|
|
803
|
+
/** @deprecated use `CommerceMetadataSchemasValue42$outboundSchema` instead. */
|
|
804
|
+
export const outboundSchema = CommerceMetadataSchemasValue42$outboundSchema;
|
|
805
|
+
/** @deprecated use `CommerceMetadataSchemasValue42$Outbound` instead. */
|
|
806
|
+
export type Outbound = CommerceMetadataSchemasValue42$Outbound;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
export function commerceMetadataSchemasValue42ToJSON(
|
|
810
|
+
commerceMetadataSchemasValue42: CommerceMetadataSchemasValue42,
|
|
811
|
+
): string {
|
|
812
|
+
return JSON.stringify(
|
|
813
|
+
CommerceMetadataSchemasValue42$outboundSchema.parse(
|
|
814
|
+
commerceMetadataSchemasValue42,
|
|
815
|
+
),
|
|
816
|
+
);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
export function commerceMetadataSchemasValue42FromJSON(
|
|
820
|
+
jsonString: string,
|
|
821
|
+
): SafeParseResult<CommerceMetadataSchemasValue42, SDKValidationError> {
|
|
822
|
+
return safeParse(
|
|
823
|
+
jsonString,
|
|
824
|
+
(x) => CommerceMetadataSchemasValue42$inboundSchema.parse(JSON.parse(x)),
|
|
825
|
+
`Failed to parse 'CommerceMetadataSchemasValue42' from JSON`,
|
|
826
|
+
);
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
/** @internal */
|
|
830
|
+
export const CommerceMetadataSchemas4$inboundSchema: z.ZodType<
|
|
831
|
+
CommerceMetadataSchemas4,
|
|
832
|
+
z.ZodTypeDef,
|
|
833
|
+
unknown
|
|
834
|
+
> = z.union([
|
|
835
|
+
z.lazy(() => CommerceMetadataSchemasValue42$inboundSchema),
|
|
836
|
+
z.boolean(),
|
|
837
|
+
]);
|
|
838
|
+
|
|
839
|
+
/** @internal */
|
|
840
|
+
export type CommerceMetadataSchemas4$Outbound =
|
|
841
|
+
| CommerceMetadataSchemasValue42$Outbound
|
|
842
|
+
| boolean;
|
|
843
|
+
|
|
844
|
+
/** @internal */
|
|
845
|
+
export const CommerceMetadataSchemas4$outboundSchema: z.ZodType<
|
|
846
|
+
CommerceMetadataSchemas4$Outbound,
|
|
847
|
+
z.ZodTypeDef,
|
|
848
|
+
CommerceMetadataSchemas4
|
|
849
|
+
> = z.union([
|
|
850
|
+
z.lazy(() => CommerceMetadataSchemasValue42$outboundSchema),
|
|
851
|
+
z.boolean(),
|
|
852
|
+
]);
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* @internal
|
|
856
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
857
|
+
*/
|
|
858
|
+
export namespace CommerceMetadataSchemas4$ {
|
|
859
|
+
/** @deprecated use `CommerceMetadataSchemas4$inboundSchema` instead. */
|
|
860
|
+
export const inboundSchema = CommerceMetadataSchemas4$inboundSchema;
|
|
861
|
+
/** @deprecated use `CommerceMetadataSchemas4$outboundSchema` instead. */
|
|
862
|
+
export const outboundSchema = CommerceMetadataSchemas4$outboundSchema;
|
|
863
|
+
/** @deprecated use `CommerceMetadataSchemas4$Outbound` instead. */
|
|
864
|
+
export type Outbound = CommerceMetadataSchemas4$Outbound;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
export function commerceMetadataSchemas4ToJSON(
|
|
868
|
+
commerceMetadataSchemas4: CommerceMetadataSchemas4,
|
|
869
|
+
): string {
|
|
870
|
+
return JSON.stringify(
|
|
871
|
+
CommerceMetadataSchemas4$outboundSchema.parse(commerceMetadataSchemas4),
|
|
872
|
+
);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export function commerceMetadataSchemas4FromJSON(
|
|
876
|
+
jsonString: string,
|
|
877
|
+
): SafeParseResult<CommerceMetadataSchemas4, SDKValidationError> {
|
|
878
|
+
return safeParse(
|
|
879
|
+
jsonString,
|
|
880
|
+
(x) => CommerceMetadataSchemas4$inboundSchema.parse(JSON.parse(x)),
|
|
881
|
+
`Failed to parse 'CommerceMetadataSchemas4' from JSON`,
|
|
882
|
+
);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
/** @internal */
|
|
886
|
+
export const CommerceMetadataSchemasValue32$inboundSchema: z.ZodType<
|
|
887
|
+
CommerceMetadataSchemasValue32,
|
|
888
|
+
z.ZodTypeDef,
|
|
889
|
+
unknown
|
|
890
|
+
> = z.object({});
|
|
891
|
+
|
|
892
|
+
/** @internal */
|
|
893
|
+
export type CommerceMetadataSchemasValue32$Outbound = {};
|
|
894
|
+
|
|
895
|
+
/** @internal */
|
|
896
|
+
export const CommerceMetadataSchemasValue32$outboundSchema: z.ZodType<
|
|
897
|
+
CommerceMetadataSchemasValue32$Outbound,
|
|
898
|
+
z.ZodTypeDef,
|
|
899
|
+
CommerceMetadataSchemasValue32
|
|
900
|
+
> = z.object({});
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* @internal
|
|
904
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
905
|
+
*/
|
|
906
|
+
export namespace CommerceMetadataSchemasValue32$ {
|
|
907
|
+
/** @deprecated use `CommerceMetadataSchemasValue32$inboundSchema` instead. */
|
|
908
|
+
export const inboundSchema = CommerceMetadataSchemasValue32$inboundSchema;
|
|
909
|
+
/** @deprecated use `CommerceMetadataSchemasValue32$outboundSchema` instead. */
|
|
910
|
+
export const outboundSchema = CommerceMetadataSchemasValue32$outboundSchema;
|
|
911
|
+
/** @deprecated use `CommerceMetadataSchemasValue32$Outbound` instead. */
|
|
912
|
+
export type Outbound = CommerceMetadataSchemasValue32$Outbound;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
export function commerceMetadataSchemasValue32ToJSON(
|
|
916
|
+
commerceMetadataSchemasValue32: CommerceMetadataSchemasValue32,
|
|
917
|
+
): string {
|
|
918
|
+
return JSON.stringify(
|
|
919
|
+
CommerceMetadataSchemasValue32$outboundSchema.parse(
|
|
920
|
+
commerceMetadataSchemasValue32,
|
|
921
|
+
),
|
|
922
|
+
);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export function commerceMetadataSchemasValue32FromJSON(
|
|
926
|
+
jsonString: string,
|
|
927
|
+
): SafeParseResult<CommerceMetadataSchemasValue32, SDKValidationError> {
|
|
928
|
+
return safeParse(
|
|
929
|
+
jsonString,
|
|
930
|
+
(x) => CommerceMetadataSchemasValue32$inboundSchema.parse(JSON.parse(x)),
|
|
931
|
+
`Failed to parse 'CommerceMetadataSchemasValue32' from JSON`,
|
|
932
|
+
);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
/** @internal */
|
|
936
|
+
export const CommerceMetadataSchemas3$inboundSchema: z.ZodType<
|
|
937
|
+
CommerceMetadataSchemas3,
|
|
938
|
+
z.ZodTypeDef,
|
|
939
|
+
unknown
|
|
940
|
+
> = z.union([
|
|
941
|
+
z.lazy(() => CommerceMetadataSchemasValue32$inboundSchema),
|
|
942
|
+
z.number(),
|
|
943
|
+
]);
|
|
944
|
+
|
|
945
|
+
/** @internal */
|
|
946
|
+
export type CommerceMetadataSchemas3$Outbound =
|
|
947
|
+
| CommerceMetadataSchemasValue32$Outbound
|
|
948
|
+
| number;
|
|
949
|
+
|
|
950
|
+
/** @internal */
|
|
951
|
+
export const CommerceMetadataSchemas3$outboundSchema: z.ZodType<
|
|
952
|
+
CommerceMetadataSchemas3$Outbound,
|
|
953
|
+
z.ZodTypeDef,
|
|
954
|
+
CommerceMetadataSchemas3
|
|
955
|
+
> = z.union([
|
|
956
|
+
z.lazy(() => CommerceMetadataSchemasValue32$outboundSchema),
|
|
957
|
+
z.number(),
|
|
958
|
+
]);
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* @internal
|
|
962
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
963
|
+
*/
|
|
964
|
+
export namespace CommerceMetadataSchemas3$ {
|
|
965
|
+
/** @deprecated use `CommerceMetadataSchemas3$inboundSchema` instead. */
|
|
966
|
+
export const inboundSchema = CommerceMetadataSchemas3$inboundSchema;
|
|
967
|
+
/** @deprecated use `CommerceMetadataSchemas3$outboundSchema` instead. */
|
|
968
|
+
export const outboundSchema = CommerceMetadataSchemas3$outboundSchema;
|
|
969
|
+
/** @deprecated use `CommerceMetadataSchemas3$Outbound` instead. */
|
|
970
|
+
export type Outbound = CommerceMetadataSchemas3$Outbound;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
export function commerceMetadataSchemas3ToJSON(
|
|
974
|
+
commerceMetadataSchemas3: CommerceMetadataSchemas3,
|
|
975
|
+
): string {
|
|
976
|
+
return JSON.stringify(
|
|
977
|
+
CommerceMetadataSchemas3$outboundSchema.parse(commerceMetadataSchemas3),
|
|
978
|
+
);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
export function commerceMetadataSchemas3FromJSON(
|
|
982
|
+
jsonString: string,
|
|
983
|
+
): SafeParseResult<CommerceMetadataSchemas3, SDKValidationError> {
|
|
984
|
+
return safeParse(
|
|
985
|
+
jsonString,
|
|
986
|
+
(x) => CommerceMetadataSchemas3$inboundSchema.parse(JSON.parse(x)),
|
|
987
|
+
`Failed to parse 'CommerceMetadataSchemas3' from JSON`,
|
|
988
|
+
);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/** @internal */
|
|
992
|
+
export const CommerceMetadataSchemasValue2$inboundSchema: z.ZodType<
|
|
993
|
+
CommerceMetadataSchemasValue2,
|
|
994
|
+
z.ZodTypeDef,
|
|
995
|
+
unknown
|
|
996
|
+
> = z.object({});
|
|
997
|
+
|
|
998
|
+
/** @internal */
|
|
999
|
+
export type CommerceMetadataSchemasValue2$Outbound = {};
|
|
1000
|
+
|
|
1001
|
+
/** @internal */
|
|
1002
|
+
export const CommerceMetadataSchemasValue2$outboundSchema: z.ZodType<
|
|
1003
|
+
CommerceMetadataSchemasValue2$Outbound,
|
|
1004
|
+
z.ZodTypeDef,
|
|
1005
|
+
CommerceMetadataSchemasValue2
|
|
1006
|
+
> = z.object({});
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* @internal
|
|
1010
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1011
|
+
*/
|
|
1012
|
+
export namespace CommerceMetadataSchemasValue2$ {
|
|
1013
|
+
/** @deprecated use `CommerceMetadataSchemasValue2$inboundSchema` instead. */
|
|
1014
|
+
export const inboundSchema = CommerceMetadataSchemasValue2$inboundSchema;
|
|
1015
|
+
/** @deprecated use `CommerceMetadataSchemasValue2$outboundSchema` instead. */
|
|
1016
|
+
export const outboundSchema = CommerceMetadataSchemasValue2$outboundSchema;
|
|
1017
|
+
/** @deprecated use `CommerceMetadataSchemasValue2$Outbound` instead. */
|
|
1018
|
+
export type Outbound = CommerceMetadataSchemasValue2$Outbound;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
export function commerceMetadataSchemasValue2ToJSON(
|
|
1022
|
+
commerceMetadataSchemasValue2: CommerceMetadataSchemasValue2,
|
|
1023
|
+
): string {
|
|
1024
|
+
return JSON.stringify(
|
|
1025
|
+
CommerceMetadataSchemasValue2$outboundSchema.parse(
|
|
1026
|
+
commerceMetadataSchemasValue2,
|
|
1027
|
+
),
|
|
1028
|
+
);
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
export function commerceMetadataSchemasValue2FromJSON(
|
|
1032
|
+
jsonString: string,
|
|
1033
|
+
): SafeParseResult<CommerceMetadataSchemasValue2, SDKValidationError> {
|
|
1034
|
+
return safeParse(
|
|
1035
|
+
jsonString,
|
|
1036
|
+
(x) => CommerceMetadataSchemasValue2$inboundSchema.parse(JSON.parse(x)),
|
|
1037
|
+
`Failed to parse 'CommerceMetadataSchemasValue2' from JSON`,
|
|
1038
|
+
);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/** @internal */
|
|
1042
|
+
export const CommerceMetadataSchemas2$inboundSchema: z.ZodType<
|
|
1043
|
+
CommerceMetadataSchemas2,
|
|
1044
|
+
z.ZodTypeDef,
|
|
1045
|
+
unknown
|
|
1046
|
+
> = z.union([
|
|
1047
|
+
z.lazy(() => CommerceMetadataSchemasValue2$inboundSchema),
|
|
1048
|
+
z.string(),
|
|
1049
|
+
]);
|
|
1050
|
+
|
|
1051
|
+
/** @internal */
|
|
1052
|
+
export type CommerceMetadataSchemas2$Outbound =
|
|
1053
|
+
| CommerceMetadataSchemasValue2$Outbound
|
|
1054
|
+
| string;
|
|
1055
|
+
|
|
1056
|
+
/** @internal */
|
|
1057
|
+
export const CommerceMetadataSchemas2$outboundSchema: z.ZodType<
|
|
1058
|
+
CommerceMetadataSchemas2$Outbound,
|
|
1059
|
+
z.ZodTypeDef,
|
|
1060
|
+
CommerceMetadataSchemas2
|
|
1061
|
+
> = z.union([
|
|
1062
|
+
z.lazy(() => CommerceMetadataSchemasValue2$outboundSchema),
|
|
1063
|
+
z.string(),
|
|
1064
|
+
]);
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* @internal
|
|
1068
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1069
|
+
*/
|
|
1070
|
+
export namespace CommerceMetadataSchemas2$ {
|
|
1071
|
+
/** @deprecated use `CommerceMetadataSchemas2$inboundSchema` instead. */
|
|
1072
|
+
export const inboundSchema = CommerceMetadataSchemas2$inboundSchema;
|
|
1073
|
+
/** @deprecated use `CommerceMetadataSchemas2$outboundSchema` instead. */
|
|
1074
|
+
export const outboundSchema = CommerceMetadataSchemas2$outboundSchema;
|
|
1075
|
+
/** @deprecated use `CommerceMetadataSchemas2$Outbound` instead. */
|
|
1076
|
+
export type Outbound = CommerceMetadataSchemas2$Outbound;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
export function commerceMetadataSchemas2ToJSON(
|
|
1080
|
+
commerceMetadataSchemas2: CommerceMetadataSchemas2,
|
|
1081
|
+
): string {
|
|
1082
|
+
return JSON.stringify(
|
|
1083
|
+
CommerceMetadataSchemas2$outboundSchema.parse(commerceMetadataSchemas2),
|
|
1084
|
+
);
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export function commerceMetadataSchemas2FromJSON(
|
|
1088
|
+
jsonString: string,
|
|
1089
|
+
): SafeParseResult<CommerceMetadataSchemas2, SDKValidationError> {
|
|
1090
|
+
return safeParse(
|
|
1091
|
+
jsonString,
|
|
1092
|
+
(x) => CommerceMetadataSchemas2$inboundSchema.parse(JSON.parse(x)),
|
|
1093
|
+
`Failed to parse 'CommerceMetadataSchemas2' from JSON`,
|
|
1094
|
+
);
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/** @internal */
|
|
1098
|
+
export const CommerceMetadataSchemas1$inboundSchema: z.ZodType<
|
|
1099
|
+
CommerceMetadataSchemas1,
|
|
1100
|
+
z.ZodTypeDef,
|
|
1101
|
+
unknown
|
|
1102
|
+
> = z.object({});
|
|
1103
|
+
|
|
1104
|
+
/** @internal */
|
|
1105
|
+
export type CommerceMetadataSchemas1$Outbound = {};
|
|
1106
|
+
|
|
1107
|
+
/** @internal */
|
|
1108
|
+
export const CommerceMetadataSchemas1$outboundSchema: z.ZodType<
|
|
1109
|
+
CommerceMetadataSchemas1$Outbound,
|
|
1110
|
+
z.ZodTypeDef,
|
|
1111
|
+
CommerceMetadataSchemas1
|
|
1112
|
+
> = z.object({});
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* @internal
|
|
1116
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1117
|
+
*/
|
|
1118
|
+
export namespace CommerceMetadataSchemas1$ {
|
|
1119
|
+
/** @deprecated use `CommerceMetadataSchemas1$inboundSchema` instead. */
|
|
1120
|
+
export const inboundSchema = CommerceMetadataSchemas1$inboundSchema;
|
|
1121
|
+
/** @deprecated use `CommerceMetadataSchemas1$outboundSchema` instead. */
|
|
1122
|
+
export const outboundSchema = CommerceMetadataSchemas1$outboundSchema;
|
|
1123
|
+
/** @deprecated use `CommerceMetadataSchemas1$Outbound` instead. */
|
|
1124
|
+
export type Outbound = CommerceMetadataSchemas1$Outbound;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
export function commerceMetadataSchemas1ToJSON(
|
|
1128
|
+
commerceMetadataSchemas1: CommerceMetadataSchemas1,
|
|
1129
|
+
): string {
|
|
1130
|
+
return JSON.stringify(
|
|
1131
|
+
CommerceMetadataSchemas1$outboundSchema.parse(commerceMetadataSchemas1),
|
|
1132
|
+
);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
export function commerceMetadataSchemas1FromJSON(
|
|
1136
|
+
jsonString: string,
|
|
1137
|
+
): SafeParseResult<CommerceMetadataSchemas1, SDKValidationError> {
|
|
1138
|
+
return safeParse(
|
|
1139
|
+
jsonString,
|
|
1140
|
+
(x) => CommerceMetadataSchemas1$inboundSchema.parse(JSON.parse(x)),
|
|
1141
|
+
`Failed to parse 'CommerceMetadataSchemas1' from JSON`,
|
|
1142
|
+
);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
73
1145
|
/** @internal */
|
|
74
1146
|
export const CommerceMetadataValue$inboundSchema: z.ZodType<
|
|
75
1147
|
CommerceMetadataValue,
|
|
76
1148
|
z.ZodTypeDef,
|
|
77
1149
|
unknown
|
|
78
|
-
> = z.
|
|
1150
|
+
> = z.union([
|
|
1151
|
+
z.lazy(() => CommerceMetadataSchemas1$inboundSchema),
|
|
1152
|
+
z.union([
|
|
1153
|
+
z.lazy(() => CommerceMetadataSchemasValue2$inboundSchema),
|
|
1154
|
+
z.string(),
|
|
1155
|
+
]),
|
|
1156
|
+
z.union([
|
|
1157
|
+
z.lazy(() => CommerceMetadataSchemasValue32$inboundSchema),
|
|
1158
|
+
z.number(),
|
|
1159
|
+
]),
|
|
1160
|
+
z.union([
|
|
1161
|
+
z.lazy(() => CommerceMetadataSchemasValue42$inboundSchema),
|
|
1162
|
+
z.boolean(),
|
|
1163
|
+
]),
|
|
1164
|
+
z.union([
|
|
1165
|
+
z.lazy(() => CommerceMetadataSchemasValue52$inboundSchema),
|
|
1166
|
+
z.array(z.any()),
|
|
1167
|
+
]),
|
|
1168
|
+
]);
|
|
79
1169
|
|
|
80
1170
|
/** @internal */
|
|
81
|
-
export type CommerceMetadataValue$Outbound =
|
|
1171
|
+
export type CommerceMetadataValue$Outbound =
|
|
1172
|
+
| CommerceMetadataSchemas1$Outbound
|
|
1173
|
+
| CommerceMetadataSchemasValue2$Outbound
|
|
1174
|
+
| string
|
|
1175
|
+
| CommerceMetadataSchemasValue32$Outbound
|
|
1176
|
+
| number
|
|
1177
|
+
| CommerceMetadataSchemasValue42$Outbound
|
|
1178
|
+
| boolean
|
|
1179
|
+
| CommerceMetadataSchemasValue52$Outbound
|
|
1180
|
+
| Array<any>;
|
|
82
1181
|
|
|
83
1182
|
/** @internal */
|
|
84
1183
|
export const CommerceMetadataValue$outboundSchema: z.ZodType<
|
|
85
1184
|
CommerceMetadataValue$Outbound,
|
|
86
1185
|
z.ZodTypeDef,
|
|
87
1186
|
CommerceMetadataValue
|
|
88
|
-
> = z.
|
|
1187
|
+
> = z.union([
|
|
1188
|
+
z.lazy(() => CommerceMetadataSchemas1$outboundSchema),
|
|
1189
|
+
z.union([
|
|
1190
|
+
z.lazy(() => CommerceMetadataSchemasValue2$outboundSchema),
|
|
1191
|
+
z.string(),
|
|
1192
|
+
]),
|
|
1193
|
+
z.union([
|
|
1194
|
+
z.lazy(() => CommerceMetadataSchemasValue32$outboundSchema),
|
|
1195
|
+
z.number(),
|
|
1196
|
+
]),
|
|
1197
|
+
z.union([
|
|
1198
|
+
z.lazy(() => CommerceMetadataSchemasValue42$outboundSchema),
|
|
1199
|
+
z.boolean(),
|
|
1200
|
+
]),
|
|
1201
|
+
z.union([
|
|
1202
|
+
z.lazy(() => CommerceMetadataSchemasValue52$outboundSchema),
|
|
1203
|
+
z.array(z.any()),
|
|
1204
|
+
]),
|
|
1205
|
+
]);
|
|
89
1206
|
|
|
90
1207
|
/**
|
|
91
1208
|
* @internal
|
|
@@ -124,13 +1241,49 @@ export const CommerceMetadata$inboundSchema: z.ZodType<
|
|
|
124
1241
|
z.ZodTypeDef,
|
|
125
1242
|
unknown
|
|
126
1243
|
> = z.object({
|
|
127
|
-
extra_data: z.
|
|
1244
|
+
extra_data: z.union([
|
|
1245
|
+
z.lazy(() => CommerceMetadata1$inboundSchema),
|
|
1246
|
+
z.union([
|
|
1247
|
+
z.lazy(() => CommerceMetadataSchemasExtraData22$inboundSchema),
|
|
1248
|
+
z.string(),
|
|
1249
|
+
]),
|
|
1250
|
+
z.union([
|
|
1251
|
+
z.lazy(() => CommerceMetadataSchemasExtraData32$inboundSchema),
|
|
1252
|
+
z.number(),
|
|
1253
|
+
]),
|
|
1254
|
+
z.union([
|
|
1255
|
+
z.lazy(() => CommerceMetadataSchemasExtraData2$inboundSchema),
|
|
1256
|
+
z.boolean(),
|
|
1257
|
+
]),
|
|
1258
|
+
z.union([
|
|
1259
|
+
z.lazy(() => CommerceMetadataSchemasExtraData52$inboundSchema),
|
|
1260
|
+
z.array(z.any()),
|
|
1261
|
+
]),
|
|
1262
|
+
]).optional(),
|
|
128
1263
|
id: z.string().optional(),
|
|
129
1264
|
key: z.string().optional(),
|
|
130
1265
|
namespace: z.string().optional(),
|
|
131
1266
|
slug: z.string().optional(),
|
|
132
1267
|
type: z.string().optional(),
|
|
133
|
-
value: z.
|
|
1268
|
+
value: z.union([
|
|
1269
|
+
z.lazy(() => CommerceMetadataSchemas1$inboundSchema),
|
|
1270
|
+
z.union([
|
|
1271
|
+
z.lazy(() => CommerceMetadataSchemasValue2$inboundSchema),
|
|
1272
|
+
z.string(),
|
|
1273
|
+
]),
|
|
1274
|
+
z.union([
|
|
1275
|
+
z.lazy(() => CommerceMetadataSchemasValue32$inboundSchema),
|
|
1276
|
+
z.number(),
|
|
1277
|
+
]),
|
|
1278
|
+
z.union([
|
|
1279
|
+
z.lazy(() => CommerceMetadataSchemasValue42$inboundSchema),
|
|
1280
|
+
z.boolean(),
|
|
1281
|
+
]),
|
|
1282
|
+
z.union([
|
|
1283
|
+
z.lazy(() => CommerceMetadataSchemasValue52$inboundSchema),
|
|
1284
|
+
z.array(z.any()),
|
|
1285
|
+
]),
|
|
1286
|
+
]).optional(),
|
|
134
1287
|
}).transform((v) => {
|
|
135
1288
|
return remap$(v, {
|
|
136
1289
|
"extra_data": "extraData",
|
|
@@ -139,13 +1292,33 @@ export const CommerceMetadata$inboundSchema: z.ZodType<
|
|
|
139
1292
|
|
|
140
1293
|
/** @internal */
|
|
141
1294
|
export type CommerceMetadata$Outbound = {
|
|
142
|
-
extra_data?:
|
|
1295
|
+
extra_data?:
|
|
1296
|
+
| CommerceMetadata1$Outbound
|
|
1297
|
+
| CommerceMetadataSchemasExtraData22$Outbound
|
|
1298
|
+
| string
|
|
1299
|
+
| CommerceMetadataSchemasExtraData32$Outbound
|
|
1300
|
+
| number
|
|
1301
|
+
| CommerceMetadataSchemasExtraData2$Outbound
|
|
1302
|
+
| boolean
|
|
1303
|
+
| CommerceMetadataSchemasExtraData52$Outbound
|
|
1304
|
+
| Array<any>
|
|
1305
|
+
| undefined;
|
|
143
1306
|
id?: string | undefined;
|
|
144
1307
|
key?: string | undefined;
|
|
145
1308
|
namespace?: string | undefined;
|
|
146
1309
|
slug?: string | undefined;
|
|
147
1310
|
type?: string | undefined;
|
|
148
|
-
value?:
|
|
1311
|
+
value?:
|
|
1312
|
+
| CommerceMetadataSchemas1$Outbound
|
|
1313
|
+
| CommerceMetadataSchemasValue2$Outbound
|
|
1314
|
+
| string
|
|
1315
|
+
| CommerceMetadataSchemasValue32$Outbound
|
|
1316
|
+
| number
|
|
1317
|
+
| CommerceMetadataSchemasValue42$Outbound
|
|
1318
|
+
| boolean
|
|
1319
|
+
| CommerceMetadataSchemasValue52$Outbound
|
|
1320
|
+
| Array<any>
|
|
1321
|
+
| undefined;
|
|
149
1322
|
};
|
|
150
1323
|
|
|
151
1324
|
/** @internal */
|
|
@@ -154,13 +1327,49 @@ export const CommerceMetadata$outboundSchema: z.ZodType<
|
|
|
154
1327
|
z.ZodTypeDef,
|
|
155
1328
|
CommerceMetadata
|
|
156
1329
|
> = z.object({
|
|
157
|
-
extraData: z.
|
|
1330
|
+
extraData: z.union([
|
|
1331
|
+
z.lazy(() => CommerceMetadata1$outboundSchema),
|
|
1332
|
+
z.union([
|
|
1333
|
+
z.lazy(() => CommerceMetadataSchemasExtraData22$outboundSchema),
|
|
1334
|
+
z.string(),
|
|
1335
|
+
]),
|
|
1336
|
+
z.union([
|
|
1337
|
+
z.lazy(() => CommerceMetadataSchemasExtraData32$outboundSchema),
|
|
1338
|
+
z.number(),
|
|
1339
|
+
]),
|
|
1340
|
+
z.union([
|
|
1341
|
+
z.lazy(() => CommerceMetadataSchemasExtraData2$outboundSchema),
|
|
1342
|
+
z.boolean(),
|
|
1343
|
+
]),
|
|
1344
|
+
z.union([
|
|
1345
|
+
z.lazy(() => CommerceMetadataSchemasExtraData52$outboundSchema),
|
|
1346
|
+
z.array(z.any()),
|
|
1347
|
+
]),
|
|
1348
|
+
]).optional(),
|
|
158
1349
|
id: z.string().optional(),
|
|
159
1350
|
key: z.string().optional(),
|
|
160
1351
|
namespace: z.string().optional(),
|
|
161
1352
|
slug: z.string().optional(),
|
|
162
1353
|
type: z.string().optional(),
|
|
163
|
-
value: z.
|
|
1354
|
+
value: z.union([
|
|
1355
|
+
z.lazy(() => CommerceMetadataSchemas1$outboundSchema),
|
|
1356
|
+
z.union([
|
|
1357
|
+
z.lazy(() => CommerceMetadataSchemasValue2$outboundSchema),
|
|
1358
|
+
z.string(),
|
|
1359
|
+
]),
|
|
1360
|
+
z.union([
|
|
1361
|
+
z.lazy(() => CommerceMetadataSchemasValue32$outboundSchema),
|
|
1362
|
+
z.number(),
|
|
1363
|
+
]),
|
|
1364
|
+
z.union([
|
|
1365
|
+
z.lazy(() => CommerceMetadataSchemasValue42$outboundSchema),
|
|
1366
|
+
z.boolean(),
|
|
1367
|
+
]),
|
|
1368
|
+
z.union([
|
|
1369
|
+
z.lazy(() => CommerceMetadataSchemasValue52$outboundSchema),
|
|
1370
|
+
z.array(z.any()),
|
|
1371
|
+
]),
|
|
1372
|
+
]).optional(),
|
|
164
1373
|
}).transform((v) => {
|
|
165
1374
|
return remap$(v, {
|
|
166
1375
|
extraData: "extra_data",
|