@mergeapi/merge-node-client 0.1.3 → 0.1.5
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/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/accounts/client/Client.js +4 -4
- package/api/resources/accounting/resources/addresses/client/Client.js +1 -1
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/accounting/resources/attachments/client/Client.js +4 -4
- package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
- package/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
- package/api/resources/accounting/resources/contacts/client/Client.js +11 -5
- package/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/accounting/resources/expenses/client/Client.js +4 -4
- package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
- package/api/resources/accounting/resources/invoices/client/Client.js +4 -4
- package/api/resources/accounting/resources/issues/client/Client.js +2 -2
- package/api/resources/accounting/resources/items/client/Client.js +2 -2
- package/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
- package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/api/resources/accounting/resources/payments/client/Client.js +4 -4
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
- package/api/resources/accounting/resources/transactions/client/Client.js +2 -2
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/accounting/types/CreditNote.d.ts +2 -2
- package/api/resources/accounting/types/CreditNoteApplyLine.d.ts +21 -0
- package/api/resources/accounting/types/CreditNoteApplyLine.js +5 -0
- package/api/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +5 -0
- package/api/resources/accounting/types/CreditNoteApplyLineInvoice.js +5 -0
- package/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +9 -1
- package/api/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
- package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +9 -1
- package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
- package/api/resources/accounting/types/Expense.d.ts +4 -0
- package/api/resources/accounting/types/ExpenseLine.d.ts +311 -0
- package/api/resources/accounting/types/ExpenseLineCurrency.d.ts +315 -0
- package/api/resources/accounting/types/ExpenseLineCurrency.js +5 -0
- package/api/resources/accounting/types/ExpenseLineRequest.d.ts +311 -0
- package/api/resources/accounting/types/ExpenseRequest.d.ts +4 -0
- package/api/resources/accounting/types/Invoice.d.ts +11 -0
- package/api/resources/accounting/types/InvoiceRequest.d.ts +11 -0
- package/api/resources/accounting/types/InvoiceRequestStatus.d.ts +15 -0
- package/api/resources/accounting/types/InvoiceRequestStatus.js +5 -0
- package/api/resources/accounting/types/InvoiceStatusEnum.d.ts +20 -0
- package/api/resources/accounting/types/InvoiceStatusEnum.js +14 -0
- package/api/resources/accounting/types/JournalEntry.d.ts +2 -0
- package/api/resources/accounting/types/JournalEntryRequest.d.ts +3 -0
- package/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +5 -0
- package/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +5 -0
- package/api/resources/accounting/types/JournalLine.d.ts +311 -0
- package/api/resources/accounting/types/JournalLineCurrency.d.ts +315 -0
- package/api/resources/accounting/types/JournalLineCurrency.js +5 -0
- package/api/resources/accounting/types/JournalLineRequest.d.ts +311 -0
- package/api/resources/accounting/types/JournalLineRequestCurrency.d.ts +315 -0
- package/api/resources/accounting/types/JournalLineRequestCurrency.js +5 -0
- package/api/resources/accounting/types/Payment.d.ts +1 -0
- package/api/resources/accounting/types/PaymentLineItem.d.ts +26 -0
- package/api/resources/accounting/types/PaymentLineItem.js +5 -0
- package/api/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +5 -0
- package/api/resources/accounting/types/PaymentLineItemRelatedObjectType.js +5 -0
- package/api/resources/accounting/types/PaymentLineItemRequest.d.ts +25 -0
- package/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
- package/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +5 -0
- package/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +5 -0
- package/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +17 -1
- package/api/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
- package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +17 -1
- package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
- package/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
- package/api/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
- package/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +5 -0
- package/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +5 -0
- package/api/resources/accounting/types/RelatedObjectTypeEnum.d.ts +16 -0
- package/api/resources/accounting/types/RelatedObjectTypeEnum.js +12 -0
- package/api/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/api/resources/accounting/types/VendorCreditApplyLine.d.ts +21 -0
- package/api/resources/accounting/types/VendorCreditApplyLine.js +5 -0
- package/api/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +5 -0
- package/api/resources/accounting/types/VendorCreditApplyLineInvoice.js +5 -0
- package/api/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +17 -1
- package/api/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
- package/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +17 -1
- package/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
- package/api/resources/accounting/types/index.d.ts +16 -0
- package/api/resources/accounting/types/index.js +16 -0
- package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ats/resources/activities/client/Client.js +4 -4
- package/api/resources/ats/resources/applications/client/Client.js +5 -5
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ats/resources/attachments/client/Client.js +4 -4
- package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ats/resources/candidates/client/Client.js +7 -7
- package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ats/resources/departments/client/Client.js +2 -2
- package/api/resources/ats/resources/eeocs/client/Client.js +2 -2
- package/api/resources/ats/resources/forceResync/client/Client.js +1 -1
- package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/interviews/client/Client.js +4 -4
- package/api/resources/ats/resources/issues/client/Client.js +2 -2
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
- package/api/resources/ats/resources/jobs/client/Client.js +2 -2
- package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ats/resources/offers/client/Client.js +2 -2
- package/api/resources/ats/resources/offices/client/Client.js +2 -2
- package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
- package/api/resources/ats/resources/scorecards/client/Client.js +2 -2
- package/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/api/resources/ats/resources/users/client/Client.js +2 -2
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/api/resources/crm/resources/accounts/client/Client.js +7 -7
- package/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
- package/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/api/resources/crm/resources/contacts/client/Client.js +15 -9
- package/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +3 -3
- package/api/resources/crm/resources/customObjects/client/Client.js +6 -6
- package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
- package/api/resources/crm/resources/engagements/client/Client.js +7 -7
- package/api/resources/crm/resources/forceResync/client/Client.js +1 -1
- package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/issues/client/Client.js +2 -2
- package/api/resources/crm/resources/leads/client/Client.js +12 -6
- package/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +8 -0
- package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/crm/resources/notes/client/Client.js +5 -5
- package/api/resources/crm/resources/opportunities/client/Client.js +7 -7
- package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/crm/resources/stages/client/Client.js +3 -3
- package/api/resources/crm/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/crm/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/crm/resources/tasks/client/Client.js +7 -7
- package/api/resources/crm/resources/users/client/Client.js +4 -4
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/crm/types/AccountRequest.d.ts +2 -0
- package/api/resources/crm/types/RemoteField.d.ts +2 -2
- package/api/resources/crm/types/RemoteFieldRemoteFieldClass.d.ts +5 -0
- package/api/resources/crm/types/RemoteFieldRemoteFieldClass.js +5 -0
- package/api/resources/crm/types/index.d.ts +1 -0
- package/api/resources/crm/types/index.js +1 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/filestorage/resources/drives/client/Client.js +2 -2
- package/api/resources/filestorage/resources/files/client/Client.js +5 -5
- package/api/resources/filestorage/resources/folders/client/Client.js +4 -4
- package/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
- package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/groups/client/Client.js +2 -2
- package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/filestorage/resources/users/client/Client.js +3 -3
- package/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +1 -1
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/filestorage/types/FilePermissions.d.ts +8 -0
- package/api/resources/filestorage/types/FilePermissions.js +5 -0
- package/api/resources/filestorage/types/FilePermissionsItem.d.ts +5 -0
- package/api/resources/filestorage/types/FilePermissionsItem.js +5 -0
- package/api/resources/filestorage/types/FileRequest.d.ts +2 -1
- package/api/resources/filestorage/types/FileRequestPermissions.d.ts +8 -0
- package/api/resources/filestorage/types/FileRequestPermissions.js +5 -0
- package/api/resources/filestorage/types/FileRequestPermissionsItem.d.ts +5 -0
- package/api/resources/filestorage/types/FileRequestPermissionsItem.js +5 -0
- package/api/resources/filestorage/types/File_.d.ts +2 -1
- package/api/resources/filestorage/types/Folder.d.ts +2 -1
- package/api/resources/filestorage/types/FolderPermissions.d.ts +8 -0
- package/api/resources/filestorage/types/FolderPermissions.js +5 -0
- package/api/resources/filestorage/types/FolderPermissionsItem.d.ts +5 -0
- package/api/resources/filestorage/types/FolderPermissionsItem.js +5 -0
- package/api/resources/filestorage/types/FolderRequest.d.ts +2 -1
- package/api/resources/filestorage/types/FolderRequestPermissions.d.ts +8 -0
- package/api/resources/filestorage/types/FolderRequestPermissions.js +5 -0
- package/api/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +5 -0
- package/api/resources/filestorage/types/FolderRequestPermissionsItem.js +5 -0
- package/api/resources/filestorage/types/Permission.d.ts +34 -0
- package/api/resources/filestorage/types/Permission.js +5 -0
- package/api/resources/filestorage/types/PermissionRequest.d.ts +33 -0
- package/api/resources/filestorage/types/PermissionRequest.js +5 -0
- package/api/resources/filestorage/types/RolesEnum.d.ts +14 -0
- package/api/resources/filestorage/types/RolesEnum.js +11 -0
- package/api/resources/filestorage/types/TypeEnum.d.ts +16 -0
- package/api/resources/filestorage/types/TypeEnum.js +12 -0
- package/api/resources/filestorage/types/index.d.ts +12 -0
- package/api/resources/filestorage/types/index.js +12 -0
- package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
- package/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
- package/api/resources/hris/resources/benefits/client/Client.js +2 -2
- package/api/resources/hris/resources/companies/client/Client.js +2 -2
- package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/hris/resources/dependents/client/Client.js +2 -2
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
- package/api/resources/hris/resources/employees/client/Client.js +15 -6
- package/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +12 -0
- package/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
- package/api/resources/hris/resources/employments/client/Client.js +2 -2
- package/api/resources/hris/resources/forceResync/client/Client.js +1 -1
- package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/groups/client/Client.js +2 -2
- package/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/hris/resources/locations/client/Client.js +2 -2
- package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/api/resources/hris/resources/payGroups/client/Client.js +2 -2
- package/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
- package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/hris/resources/teams/client/Client.js +2 -2
- package/api/resources/hris/resources/timeOff/client/Client.js +4 -4
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/hris/types/Employee.d.ts +2 -0
- package/api/resources/hris/types/EmployeeRequest.d.ts +2 -0
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
- package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ticketing/resources/collections/client/Client.js +3 -3
- package/api/resources/ticketing/resources/comments/client/Client.js +4 -4
- package/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
- package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ticketing/resources/projects/client/Client.js +3 -3
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/ticketing/resources/tags/client/Client.js +2 -2
- package/api/resources/ticketing/resources/teams/client/Client.js +2 -2
- package/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
- package/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/ticketing/types/RemoteField.d.ts +2 -2
- package/api/resources/ticketing/types/RemoteFieldRemoteFieldClass.d.ts +5 -0
- package/api/resources/ticketing/types/RemoteFieldRemoteFieldClass.js +5 -0
- package/api/resources/ticketing/types/index.d.ts +1 -0
- package/api/resources/ticketing/types/index.js +1 -0
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +11 -5
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/items/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/payments/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/accounting/types/CreditNote.d.ts +2 -2
- package/dist/api/resources/accounting/types/CreditNoteApplyLine.d.ts +21 -0
- package/dist/api/resources/accounting/types/CreditNoteApplyLine.js +5 -0
- package/dist/api/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +5 -0
- package/dist/api/resources/accounting/types/CreditNoteApplyLineInvoice.js +5 -0
- package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +9 -1
- package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
- package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +9 -1
- package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
- package/dist/api/resources/accounting/types/Expense.d.ts +4 -0
- package/dist/api/resources/accounting/types/ExpenseLine.d.ts +311 -0
- package/dist/api/resources/accounting/types/ExpenseLineCurrency.d.ts +315 -0
- package/dist/api/resources/accounting/types/ExpenseLineCurrency.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseLineRequest.d.ts +311 -0
- package/dist/api/resources/accounting/types/ExpenseRequest.d.ts +4 -0
- package/dist/api/resources/accounting/types/Invoice.d.ts +11 -0
- package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +11 -0
- package/dist/api/resources/accounting/types/InvoiceRequestStatus.d.ts +15 -0
- package/dist/api/resources/accounting/types/InvoiceRequestStatus.js +5 -0
- package/dist/api/resources/accounting/types/InvoiceStatusEnum.d.ts +20 -0
- package/dist/api/resources/accounting/types/InvoiceStatusEnum.js +14 -0
- package/dist/api/resources/accounting/types/JournalEntry.d.ts +2 -0
- package/dist/api/resources/accounting/types/JournalEntryRequest.d.ts +3 -0
- package/dist/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +5 -0
- package/dist/api/resources/accounting/types/JournalLine.d.ts +311 -0
- package/dist/api/resources/accounting/types/JournalLineCurrency.d.ts +315 -0
- package/dist/api/resources/accounting/types/JournalLineCurrency.js +5 -0
- package/dist/api/resources/accounting/types/JournalLineRequest.d.ts +311 -0
- package/dist/api/resources/accounting/types/JournalLineRequestCurrency.d.ts +315 -0
- package/dist/api/resources/accounting/types/JournalLineRequestCurrency.js +5 -0
- package/dist/api/resources/accounting/types/Payment.d.ts +1 -0
- package/dist/api/resources/accounting/types/PaymentLineItem.d.ts +26 -0
- package/dist/api/resources/accounting/types/PaymentLineItem.js +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRelatedObjectType.js +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRequest.d.ts +25 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +5 -0
- package/dist/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +17 -1
- package/dist/api/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
- package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +17 -1
- package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
- package/dist/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +5 -0
- package/dist/api/resources/accounting/types/RelatedObjectTypeEnum.d.ts +16 -0
- package/dist/api/resources/accounting/types/RelatedObjectTypeEnum.js +12 -0
- package/dist/api/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/dist/api/resources/accounting/types/VendorCreditApplyLine.d.ts +21 -0
- package/dist/api/resources/accounting/types/VendorCreditApplyLine.js +5 -0
- package/dist/api/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +5 -0
- package/dist/api/resources/accounting/types/VendorCreditApplyLineInvoice.js +5 -0
- package/dist/api/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +17 -1
- package/dist/api/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
- package/dist/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +17 -1
- package/dist/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
- package/dist/api/resources/accounting/types/index.d.ts +16 -0
- package/dist/api/resources/accounting/types/index.js +16 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/activities/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/applications/client/Client.js +5 -5
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/attachments/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/candidates/client/Client.js +7 -7
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/departments/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/interviews/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobs/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/offers/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/offices/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/users/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accounts/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/contacts/client/Client.js +15 -9
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +6 -6
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/engagements/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/leads/client/Client.js +12 -6
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +8 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/notes/client/Client.js +5 -5
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/stages/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/tasks/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/users/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/crm/types/AccountRequest.d.ts +2 -0
- package/dist/api/resources/crm/types/RemoteField.d.ts +2 -2
- package/dist/api/resources/crm/types/RemoteFieldRemoteFieldClass.d.ts +5 -0
- package/dist/api/resources/crm/types/RemoteFieldRemoteFieldClass.js +5 -0
- package/dist/api/resources/crm/types/index.d.ts +1 -0
- package/dist/api/resources/crm/types/index.js +1 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/files/client/Client.js +5 -5
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/users/client/Client.js +3 -3
- package/dist/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +1 -1
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/filestorage/types/FilePermissions.d.ts +8 -0
- package/dist/api/resources/filestorage/types/FilePermissions.js +5 -0
- package/dist/api/resources/filestorage/types/FilePermissionsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/FilePermissionsItem.js +5 -0
- package/dist/api/resources/filestorage/types/FileRequest.d.ts +2 -1
- package/dist/api/resources/filestorage/types/FileRequestPermissions.d.ts +8 -0
- package/dist/api/resources/filestorage/types/FileRequestPermissions.js +5 -0
- package/dist/api/resources/filestorage/types/FileRequestPermissionsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/FileRequestPermissionsItem.js +5 -0
- package/dist/api/resources/filestorage/types/File_.d.ts +2 -1
- package/dist/api/resources/filestorage/types/Folder.d.ts +2 -1
- package/dist/api/resources/filestorage/types/FolderPermissions.d.ts +8 -0
- package/dist/api/resources/filestorage/types/FolderPermissions.js +5 -0
- package/dist/api/resources/filestorage/types/FolderPermissionsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/FolderPermissionsItem.js +5 -0
- package/dist/api/resources/filestorage/types/FolderRequest.d.ts +2 -1
- package/dist/api/resources/filestorage/types/FolderRequestPermissions.d.ts +8 -0
- package/dist/api/resources/filestorage/types/FolderRequestPermissions.js +5 -0
- package/dist/api/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/FolderRequestPermissionsItem.js +5 -0
- package/dist/api/resources/filestorage/types/Permission.d.ts +34 -0
- package/dist/api/resources/filestorage/types/Permission.js +5 -0
- package/dist/api/resources/filestorage/types/PermissionRequest.d.ts +33 -0
- package/dist/api/resources/filestorage/types/PermissionRequest.js +5 -0
- package/dist/api/resources/filestorage/types/RolesEnum.d.ts +14 -0
- package/dist/api/resources/filestorage/types/RolesEnum.js +11 -0
- package/dist/api/resources/filestorage/types/TypeEnum.d.ts +16 -0
- package/dist/api/resources/filestorage/types/TypeEnum.js +12 -0
- package/dist/api/resources/filestorage/types/index.d.ts +12 -0
- package/dist/api/resources/filestorage/types/index.js +12 -0
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/benefits/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/companies/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/dependents/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employees/client/Client.js +15 -6
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +12 -0
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employments/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/locations/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/teams/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/hris/types/Employee.d.ts +2 -0
- package/dist/api/resources/hris/types/EmployeeRequest.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/ticketing/types/RemoteField.d.ts +2 -2
- package/dist/api/resources/ticketing/types/RemoteFieldRemoteFieldClass.d.ts +5 -0
- package/dist/api/resources/ticketing/types/RemoteFieldRemoteFieldClass.js +5 -0
- package/dist/api/resources/ticketing/types/index.d.ts +1 -0
- package/dist/api/resources/ticketing/types/index.js +1 -0
- package/dist/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/CreditNote.js +3 -0
- package/dist/serialization/resources/accounting/types/CreditNoteApplyLine.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/CreditNoteApplyLine.js +47 -0
- package/dist/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.js +43 -0
- package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
- package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
- package/dist/serialization/resources/accounting/types/Expense.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/Expense.js +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.js +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineCurrency.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineCurrency.js +43 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequest.js +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseRequest.js +2 -0
- package/dist/serialization/resources/accounting/types/Invoice.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/Invoice.js +1 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.js +1 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequestStatus.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequestStatus.js +43 -0
- package/dist/serialization/resources/accounting/types/InvoiceStatusEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/InvoiceStatusEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/JournalEntry.js +1 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequest.js +6 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +43 -0
- package/dist/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/JournalLine.js +1 -0
- package/dist/serialization/resources/accounting/types/JournalLineCurrency.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/JournalLineCurrency.js +43 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequest.js +3 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequestCurrency.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequestCurrency.js +43 -0
- package/dist/serialization/resources/accounting/types/Payment.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/Payment.js +3 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItem.d.ts +18 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItem.js +50 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.js +43 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.js +50 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +43 -0
- package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PaymentRequest.js +3 -0
- package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
- package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrder.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrder.js +1 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.js +5 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +43 -0
- package/dist/serialization/resources/accounting/types/RelatedObjectTypeEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/RelatedObjectTypeEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/VendorCredit.js +3 -0
- package/dist/serialization/resources/accounting/types/VendorCreditApplyLine.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/VendorCreditApplyLine.js +47 -0
- package/dist/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.js +43 -0
- package/dist/serialization/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
- package/dist/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
- package/dist/serialization/resources/accounting/types/index.d.ts +16 -0
- package/dist/serialization/resources/accounting/types/index.js +16 -0
- package/dist/serialization/resources/crm/types/AccountRequest.d.ts +2 -0
- package/dist/serialization/resources/crm/types/AccountRequest.js +6 -0
- package/dist/serialization/resources/crm/types/RemoteField.d.ts +2 -2
- package/dist/serialization/resources/crm/types/RemoteField.js +2 -2
- package/dist/serialization/resources/crm/types/RemoteFieldRemoteFieldClass.d.ts +10 -0
- package/dist/serialization/resources/crm/types/RemoteFieldRemoteFieldClass.js +43 -0
- package/dist/serialization/resources/crm/types/index.d.ts +1 -0
- package/dist/serialization/resources/crm/types/index.js +1 -0
- package/dist/serialization/resources/filestorage/types/FilePermissions.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FilePermissions.js +44 -0
- package/dist/serialization/resources/filestorage/types/FilePermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FilePermissionsItem.js +43 -0
- package/dist/serialization/resources/filestorage/types/FileRequest.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/FileRequest.js +12 -1
- package/dist/serialization/resources/filestorage/types/FileRequestPermissions.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FileRequestPermissions.js +44 -0
- package/dist/serialization/resources/filestorage/types/FileRequestPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FileRequestPermissionsItem.js +43 -0
- package/dist/serialization/resources/filestorage/types/File_.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/File_.js +12 -1
- package/dist/serialization/resources/filestorage/types/Folder.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/Folder.js +12 -1
- package/dist/serialization/resources/filestorage/types/FolderPermissions.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FolderPermissions.js +44 -0
- package/dist/serialization/resources/filestorage/types/FolderPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FolderPermissionsItem.js +43 -0
- package/dist/serialization/resources/filestorage/types/FolderRequest.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/FolderRequest.js +12 -1
- package/dist/serialization/resources/filestorage/types/FolderRequestPermissions.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FolderRequestPermissions.js +44 -0
- package/dist/serialization/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FolderRequestPermissionsItem.js +43 -0
- package/dist/serialization/resources/filestorage/types/Permission.d.ts +18 -0
- package/dist/serialization/resources/filestorage/types/Permission.js +50 -0
- package/dist/serialization/resources/filestorage/types/PermissionRequest.d.ts +18 -0
- package/dist/serialization/resources/filestorage/types/PermissionRequest.js +50 -0
- package/dist/serialization/resources/filestorage/types/RolesEnum.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/RolesEnum.js +31 -0
- package/dist/serialization/resources/filestorage/types/TypeEnum.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/TypeEnum.js +31 -0
- package/dist/serialization/resources/filestorage/types/index.d.ts +12 -0
- package/dist/serialization/resources/filestorage/types/index.js +12 -0
- package/dist/serialization/resources/hris/types/Employee.d.ts +1 -0
- package/dist/serialization/resources/hris/types/Employee.js +1 -0
- package/dist/serialization/resources/hris/types/EmployeeRequest.d.ts +1 -0
- package/dist/serialization/resources/hris/types/EmployeeRequest.js +1 -0
- package/dist/serialization/resources/ticketing/types/RemoteField.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/RemoteField.js +2 -2
- package/dist/serialization/resources/ticketing/types/RemoteFieldRemoteFieldClass.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/RemoteFieldRemoteFieldClass.js +43 -0
- package/dist/serialization/resources/ticketing/types/index.d.ts +1 -0
- package/dist/serialization/resources/ticketing/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
- package/serialization/resources/accounting/types/CreditNote.js +3 -0
- package/serialization/resources/accounting/types/CreditNoteApplyLine.d.ts +15 -0
- package/serialization/resources/accounting/types/CreditNoteApplyLine.js +47 -0
- package/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +10 -0
- package/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.js +43 -0
- package/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
- package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
- package/serialization/resources/accounting/types/Expense.d.ts +2 -0
- package/serialization/resources/accounting/types/Expense.js +2 -0
- package/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/serialization/resources/accounting/types/ExpenseLine.js +1 -0
- package/serialization/resources/accounting/types/ExpenseLineCurrency.d.ts +10 -0
- package/serialization/resources/accounting/types/ExpenseLineCurrency.js +43 -0
- package/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/ExpenseLineRequest.js +1 -0
- package/serialization/resources/accounting/types/ExpenseRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/ExpenseRequest.js +2 -0
- package/serialization/resources/accounting/types/Invoice.d.ts +1 -0
- package/serialization/resources/accounting/types/Invoice.js +1 -0
- package/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/InvoiceRequest.js +1 -0
- package/serialization/resources/accounting/types/InvoiceRequestStatus.d.ts +10 -0
- package/serialization/resources/accounting/types/InvoiceRequestStatus.js +43 -0
- package/serialization/resources/accounting/types/InvoiceStatusEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/InvoiceStatusEnum.js +31 -0
- package/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
- package/serialization/resources/accounting/types/JournalEntry.js +1 -0
- package/serialization/resources/accounting/types/JournalEntryRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/JournalEntryRequest.js +6 -0
- package/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +10 -0
- package/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +43 -0
- package/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
- package/serialization/resources/accounting/types/JournalLine.js +1 -0
- package/serialization/resources/accounting/types/JournalLineCurrency.d.ts +10 -0
- package/serialization/resources/accounting/types/JournalLineCurrency.js +43 -0
- package/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/JournalLineRequest.js +3 -0
- package/serialization/resources/accounting/types/JournalLineRequestCurrency.d.ts +10 -0
- package/serialization/resources/accounting/types/JournalLineRequestCurrency.js +43 -0
- package/serialization/resources/accounting/types/Payment.d.ts +1 -0
- package/serialization/resources/accounting/types/Payment.js +3 -0
- package/serialization/resources/accounting/types/PaymentLineItem.d.ts +18 -0
- package/serialization/resources/accounting/types/PaymentLineItem.js +50 -0
- package/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +10 -0
- package/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.js +43 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequest.js +50 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +10 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +43 -0
- package/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/PaymentRequest.js +3 -0
- package/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
- package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
- package/serialization/resources/accounting/types/PurchaseOrder.d.ts +1 -0
- package/serialization/resources/accounting/types/PurchaseOrder.js +1 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequest.js +5 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +10 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +43 -0
- package/serialization/resources/accounting/types/RelatedObjectTypeEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/RelatedObjectTypeEnum.js +31 -0
- package/serialization/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/serialization/resources/accounting/types/VendorCredit.js +3 -0
- package/serialization/resources/accounting/types/VendorCreditApplyLine.d.ts +15 -0
- package/serialization/resources/accounting/types/VendorCreditApplyLine.js +47 -0
- package/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +10 -0
- package/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.js +43 -0
- package/serialization/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
- package/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
- package/serialization/resources/accounting/types/index.d.ts +16 -0
- package/serialization/resources/accounting/types/index.js +16 -0
- package/serialization/resources/crm/types/AccountRequest.d.ts +2 -0
- package/serialization/resources/crm/types/AccountRequest.js +6 -0
- package/serialization/resources/crm/types/RemoteField.d.ts +2 -2
- package/serialization/resources/crm/types/RemoteField.js +2 -2
- package/serialization/resources/crm/types/RemoteFieldRemoteFieldClass.d.ts +10 -0
- package/serialization/resources/crm/types/RemoteFieldRemoteFieldClass.js +43 -0
- package/serialization/resources/crm/types/index.d.ts +1 -0
- package/serialization/resources/crm/types/index.js +1 -0
- package/serialization/resources/filestorage/types/FilePermissions.d.ts +10 -0
- package/serialization/resources/filestorage/types/FilePermissions.js +44 -0
- package/serialization/resources/filestorage/types/FilePermissionsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/FilePermissionsItem.js +43 -0
- package/serialization/resources/filestorage/types/FileRequest.d.ts +1 -1
- package/serialization/resources/filestorage/types/FileRequest.js +12 -1
- package/serialization/resources/filestorage/types/FileRequestPermissions.d.ts +10 -0
- package/serialization/resources/filestorage/types/FileRequestPermissions.js +44 -0
- package/serialization/resources/filestorage/types/FileRequestPermissionsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/FileRequestPermissionsItem.js +43 -0
- package/serialization/resources/filestorage/types/File_.d.ts +1 -1
- package/serialization/resources/filestorage/types/File_.js +12 -1
- package/serialization/resources/filestorage/types/Folder.d.ts +1 -1
- package/serialization/resources/filestorage/types/Folder.js +12 -1
- package/serialization/resources/filestorage/types/FolderPermissions.d.ts +10 -0
- package/serialization/resources/filestorage/types/FolderPermissions.js +44 -0
- package/serialization/resources/filestorage/types/FolderPermissionsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/FolderPermissionsItem.js +43 -0
- package/serialization/resources/filestorage/types/FolderRequest.d.ts +1 -1
- package/serialization/resources/filestorage/types/FolderRequest.js +12 -1
- package/serialization/resources/filestorage/types/FolderRequestPermissions.d.ts +10 -0
- package/serialization/resources/filestorage/types/FolderRequestPermissions.js +44 -0
- package/serialization/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/FolderRequestPermissionsItem.js +43 -0
- package/serialization/resources/filestorage/types/Permission.d.ts +18 -0
- package/serialization/resources/filestorage/types/Permission.js +50 -0
- package/serialization/resources/filestorage/types/PermissionRequest.d.ts +18 -0
- package/serialization/resources/filestorage/types/PermissionRequest.js +50 -0
- package/serialization/resources/filestorage/types/RolesEnum.d.ts +10 -0
- package/serialization/resources/filestorage/types/RolesEnum.js +31 -0
- package/serialization/resources/filestorage/types/TypeEnum.d.ts +10 -0
- package/serialization/resources/filestorage/types/TypeEnum.js +31 -0
- package/serialization/resources/filestorage/types/index.d.ts +12 -0
- package/serialization/resources/filestorage/types/index.js +12 -0
- package/serialization/resources/hris/types/Employee.d.ts +1 -0
- package/serialization/resources/hris/types/Employee.js +1 -0
- package/serialization/resources/hris/types/EmployeeRequest.d.ts +1 -0
- package/serialization/resources/hris/types/EmployeeRequest.js +1 -0
- package/serialization/resources/ticketing/types/RemoteField.d.ts +2 -2
- package/serialization/resources/ticketing/types/RemoteField.js +2 -2
- package/serialization/resources/ticketing/types/RemoteFieldRemoteFieldClass.d.ts +10 -0
- package/serialization/resources/ticketing/types/RemoteFieldRemoteFieldClass.js +43 -0
- package/serialization/resources/ticketing/types/index.d.ts +1 -0
- package/serialization/resources/ticketing/types/index.js +1 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const FileRequestPermissions: core.serialization.Schema<serializers.filestorage.FileRequestPermissions.Raw, Merge.filestorage.FileRequestPermissions>;
|
|
8
|
+
export declare namespace FileRequestPermissions {
|
|
9
|
+
type Raw = string | unknown | serializers.filestorage.FileRequestPermissionsItem.Raw[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.FileRequestPermissions = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.FileRequestPermissions = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.string(),
|
|
42
|
+
core.serialization.unknown(),
|
|
43
|
+
core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FileRequestPermissionsItem; }))),
|
|
44
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const FileRequestPermissionsItem: core.serialization.Schema<serializers.filestorage.FileRequestPermissionsItem.Raw, Merge.filestorage.FileRequestPermissionsItem>;
|
|
8
|
+
export declare namespace FileRequestPermissionsItem {
|
|
9
|
+
type Raw = string | serializers.filestorage.PermissionRequest.Raw;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.FileRequestPermissionsItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.FileRequestPermissionsItem = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.string(),
|
|
42
|
+
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.PermissionRequest; })),
|
|
43
|
+
]);
|
|
@@ -16,7 +16,7 @@ export declare namespace File_ {
|
|
|
16
16
|
mime_type?: string | null;
|
|
17
17
|
description?: string | null;
|
|
18
18
|
folder?: string | null;
|
|
19
|
-
permissions
|
|
19
|
+
permissions?: serializers.filestorage.FilePermissions.Raw | null;
|
|
20
20
|
drive?: string | null;
|
|
21
21
|
remote_created_at?: string | null;
|
|
22
22
|
remote_updated_at?: string | null;
|
|
@@ -25,6 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
38
|
exports.File_ = void 0;
|
|
30
39
|
const core = __importStar(require("../../../../core"));
|
|
@@ -38,7 +47,9 @@ exports.File_ = core.serialization.object({
|
|
|
38
47
|
mimeType: core.serialization.property("mime_type", core.serialization.string().optional()),
|
|
39
48
|
description: core.serialization.string().optional(),
|
|
40
49
|
folder: core.serialization.string().optional(),
|
|
41
|
-
permissions: core.serialization
|
|
50
|
+
permissions: core.serialization
|
|
51
|
+
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FilePermissions; }))
|
|
52
|
+
.optional(),
|
|
42
53
|
drive: core.serialization.string().optional(),
|
|
43
54
|
remoteCreatedAt: core.serialization.property("remote_created_at", core.serialization.date().optional()),
|
|
44
55
|
remoteUpdatedAt: core.serialization.property("remote_updated_at", core.serialization.date().optional()),
|
|
@@ -15,7 +15,7 @@ export declare namespace Folder {
|
|
|
15
15
|
description?: string | null;
|
|
16
16
|
parent_folder?: string | null;
|
|
17
17
|
drive?: string | null;
|
|
18
|
-
permissions
|
|
18
|
+
permissions?: serializers.filestorage.FolderPermissions.Raw | null;
|
|
19
19
|
remote_created_at?: string | null;
|
|
20
20
|
remote_updated_at?: string | null;
|
|
21
21
|
remote_was_deleted?: boolean | null;
|
|
@@ -25,6 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
38
|
exports.Folder = void 0;
|
|
30
39
|
const core = __importStar(require("../../../../core"));
|
|
@@ -37,7 +46,9 @@ exports.Folder = core.serialization.object({
|
|
|
37
46
|
description: core.serialization.string().optional(),
|
|
38
47
|
parentFolder: core.serialization.property("parent_folder", core.serialization.string().optional()),
|
|
39
48
|
drive: core.serialization.string().optional(),
|
|
40
|
-
permissions: core.serialization
|
|
49
|
+
permissions: core.serialization
|
|
50
|
+
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FolderPermissions; }))
|
|
51
|
+
.optional(),
|
|
41
52
|
remoteCreatedAt: core.serialization.property("remote_created_at", core.serialization.date().optional()),
|
|
42
53
|
remoteUpdatedAt: core.serialization.property("remote_updated_at", core.serialization.date().optional()),
|
|
43
54
|
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const FolderPermissions: core.serialization.Schema<serializers.filestorage.FolderPermissions.Raw, Merge.filestorage.FolderPermissions>;
|
|
8
|
+
export declare namespace FolderPermissions {
|
|
9
|
+
type Raw = string | unknown | serializers.filestorage.FolderPermissionsItem.Raw[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.FolderPermissions = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.FolderPermissions = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.string(),
|
|
42
|
+
core.serialization.unknown(),
|
|
43
|
+
core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FolderPermissionsItem; }))),
|
|
44
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const FolderPermissionsItem: core.serialization.Schema<serializers.filestorage.FolderPermissionsItem.Raw, Merge.filestorage.FolderPermissionsItem>;
|
|
8
|
+
export declare namespace FolderPermissionsItem {
|
|
9
|
+
type Raw = string | serializers.filestorage.PermissionRequest.Raw;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.FolderPermissionsItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.FolderPermissionsItem = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.string(),
|
|
42
|
+
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.PermissionRequest; })),
|
|
43
|
+
]);
|
|
@@ -13,7 +13,7 @@ export declare namespace FolderRequest {
|
|
|
13
13
|
description?: string | null;
|
|
14
14
|
parent_folder?: string | null;
|
|
15
15
|
drive?: string | null;
|
|
16
|
-
permissions
|
|
16
|
+
permissions?: serializers.filestorage.FolderRequestPermissions.Raw | null;
|
|
17
17
|
integration_params?: Record<string, unknown> | null;
|
|
18
18
|
linked_account_params?: Record<string, unknown> | null;
|
|
19
19
|
}
|
|
@@ -25,6 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
38
|
exports.FolderRequest = void 0;
|
|
30
39
|
const core = __importStar(require("../../../../core"));
|
|
@@ -35,7 +44,9 @@ exports.FolderRequest = core.serialization.object({
|
|
|
35
44
|
description: core.serialization.string().optional(),
|
|
36
45
|
parentFolder: core.serialization.property("parent_folder", core.serialization.string().optional()),
|
|
37
46
|
drive: core.serialization.string().optional(),
|
|
38
|
-
permissions: core.serialization
|
|
47
|
+
permissions: core.serialization
|
|
48
|
+
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FolderRequestPermissions; }))
|
|
49
|
+
.optional(),
|
|
39
50
|
integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
40
51
|
linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
41
52
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const FolderRequestPermissions: core.serialization.Schema<serializers.filestorage.FolderRequestPermissions.Raw, Merge.filestorage.FolderRequestPermissions>;
|
|
8
|
+
export declare namespace FolderRequestPermissions {
|
|
9
|
+
type Raw = string | unknown | serializers.filestorage.FolderRequestPermissionsItem.Raw[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.FolderRequestPermissions = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.FolderRequestPermissions = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.string(),
|
|
42
|
+
core.serialization.unknown(),
|
|
43
|
+
core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FolderRequestPermissionsItem; }))),
|
|
44
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const FolderRequestPermissionsItem: core.serialization.Schema<serializers.filestorage.FolderRequestPermissionsItem.Raw, Merge.filestorage.FolderRequestPermissionsItem>;
|
|
8
|
+
export declare namespace FolderRequestPermissionsItem {
|
|
9
|
+
type Raw = string | serializers.filestorage.PermissionRequest.Raw;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.FolderRequestPermissionsItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.FolderRequestPermissionsItem = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.string(),
|
|
42
|
+
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.PermissionRequest; })),
|
|
43
|
+
]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Permission: core.serialization.ObjectSchema<serializers.filestorage.Permission.Raw, Merge.filestorage.Permission>;
|
|
8
|
+
export declare namespace Permission {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id?: string | null;
|
|
11
|
+
remote_id?: string | null;
|
|
12
|
+
user?: string | null;
|
|
13
|
+
group?: string | null;
|
|
14
|
+
type?: serializers.filestorage.TypeEnum.Raw | null;
|
|
15
|
+
roles?: (serializers.filestorage.RolesEnum.Raw | null | undefined)[] | null;
|
|
16
|
+
modified_at?: string | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.Permission = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.Permission = core.serialization.object({
|
|
41
|
+
id: core.serialization.string().optional(),
|
|
42
|
+
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
43
|
+
user: core.serialization.string().optional(),
|
|
44
|
+
group: core.serialization.string().optional(),
|
|
45
|
+
type: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.TypeEnum; })).optional(),
|
|
46
|
+
roles: core.serialization
|
|
47
|
+
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.RolesEnum; })).optional())
|
|
48
|
+
.optional(),
|
|
49
|
+
modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
|
|
50
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const PermissionRequest: core.serialization.ObjectSchema<serializers.filestorage.PermissionRequest.Raw, Merge.filestorage.PermissionRequest>;
|
|
8
|
+
export declare namespace PermissionRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
remote_id?: string | null;
|
|
11
|
+
user?: string | null;
|
|
12
|
+
group?: string | null;
|
|
13
|
+
type?: serializers.filestorage.TypeEnum.Raw | null;
|
|
14
|
+
roles?: (serializers.filestorage.RolesEnum.Raw | null | undefined)[] | null;
|
|
15
|
+
integration_params?: Record<string, unknown> | null;
|
|
16
|
+
linked_account_params?: Record<string, unknown> | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.PermissionRequest = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.PermissionRequest = core.serialization.object({
|
|
41
|
+
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
42
|
+
user: core.serialization.string().optional(),
|
|
43
|
+
group: core.serialization.string().optional(),
|
|
44
|
+
type: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.TypeEnum; })).optional(),
|
|
45
|
+
roles: core.serialization
|
|
46
|
+
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.RolesEnum; })).optional())
|
|
47
|
+
.optional(),
|
|
48
|
+
integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
49
|
+
linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
50
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const RolesEnum: core.serialization.Schema<serializers.filestorage.RolesEnum.Raw, Merge.filestorage.RolesEnum>;
|
|
8
|
+
export declare namespace RolesEnum {
|
|
9
|
+
type Raw = "READ" | "WRITE" | "OWNER";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.RolesEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.RolesEnum = core.serialization.enum_(["READ", "WRITE", "OWNER"]);
|