Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

feat: add objects and records common models #32

Merged
merged 3 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,049 changes: 1,536 additions & 1,513 deletions index.d.ts

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,105 +310,105 @@ if (!nativeBinding) {
throw new Error(`Failed to load native binding`)
}

const { UnifiedApi, IntegrationOS, TargetType, ChannelAvailability, CustomerSelection, Roles, TransactionMethod, Status, Gender, TargetSelection, AllocationMethod, AccountType, SkuValidation, CustomerEligibility, Format, AppliesTo, MinimumRequirements, Country, GlobalTaxType, IdentityProvider, AccountEngagementLevel, ReviewApprovalStatus, StakeholderType, AccountStatus, CampaignStatus, CustomerType, MessageContentType, ReactionType, SupportTicketPriority, IssueLifecycleStatus, OrderStatus, DiscountType, FulfillmentStatus, ProductAvailabilityStatus, ExpenseApprovalStatus, FinancialChargeType, BillingStatus, InvoiceAdjustmentType, DataType, EmploymentType, TimeCycle, FinancialTrackingCategories, CampaignType, ContactAddressType, LeadLifecycleStatus, ParticipantEngagementStatus, ItemEntityStatus, Currency, CustomerEligibilityStatus, ItemCondition, TransactionType, EntityLifecycleStatus, JournalEntryStatus, DayOfWeek, AccountingAccountType, MessageReadStatus, MessageDeliveryStatus, SupportQueryType, ImageMimeType, OrderingCriteria, ChatType, ItemAvailabilityStatus, FinancialAccountStatus, TransactionStatus, CreditNoteStatus, PaymentTerm, EmploymentAndCandidateStatus, OrganizationalRole, CustomerStatus, SocialPlatform, ConversationStatus, CommunicationRole, LifecycleStatus, PaymentMethod, FinancialTransactionStatus, AuditOpinionType, InventoryStorageType, VisibilityScope, PaymentStatus, TransactionChannel, FinancialDisputeStatus, DeviceUsageType, FinancialTransactionType, AccessControlModel, ParticipantType, PriorityLevel, PrerequisiteRangeType, ContentVisibility, EntityCategory, GenderIdentity, CommunicationMethod, EmailCategoryType, UniversalIdentifierType, TaskStatus, UserStatus, PromotionType, MimeType, TaxType, ModifierType, CardType, PrepaidType, EntryMethod, CvvStatus, AvcStatus, CreditType } = nativeBinding
const { UnifiedApi, IntegrationOS, AllocationMethod, Status, TargetType, Format, MinimumRequirements, TargetSelection, Gender, Roles, CustomerSelection, ChannelAvailability, AccountType, SkuValidation, CustomerEligibility, TransactionMethod, AppliesTo, Country, GlobalTaxType, JournalEntryStatus, IdentityProvider, DayOfWeek, AccountEngagementLevel, ReviewApprovalStatus, StakeholderType, AccountStatus, CampaignStatus, CustomerType, AccountingAccountType, MessageReadStatus, MessageContentType, MessageDeliveryStatus, ReactionType, SupportTicketPriority, IssueLifecycleStatus, SupportQueryType, OrderStatus, DiscountType, ImageMimeType, FulfillmentStatus, OrderingCriteria, ChatType, ProductAvailabilityStatus, ExpenseApprovalStatus, FinancialChargeType, ItemAvailabilityStatus, BillingStatus, FinancialAccountStatus, TransactionStatus, InvoiceAdjustmentType, DataType, EmploymentType, TimeCycle, FinancialTrackingCategories, CreditNoteStatus, PaymentTerm, EmploymentAndCandidateStatus, OrganizationalRole, CampaignType, ContactAddressType, CustomerStatus, SocialPlatform, LeadLifecycleStatus, ConversationStatus, CommunicationRole, ParticipantEngagementStatus, ItemEntityStatus, Currency, CustomerEligibilityStatus, LifecycleStatus, PaymentMethod, FinancialTransactionStatus, AuditOpinionType, InventoryStorageType, ItemCondition, TransactionType, VisibilityScope, PaymentStatus, EntityLifecycleStatus, TransactionChannel, FinancialDisputeStatus, ContentVisibility, DeviceUsageType, EntityCategory, GenderIdentity, CommunicationMethod, FinancialTransactionType, EmailCategoryType, UniversalIdentifierType, AccessControlModel, ParticipantType, PriorityLevel, TaskStatus, UserStatus, PromotionType, MimeType, PrerequisiteRangeType, TaxType, ModifierType, CardType, PrepaidType, EntryMethod, CvvStatus, AvcStatus, CreditType } = nativeBinding

module.exports.UnifiedApi = UnifiedApi
module.exports.IntegrationOS = IntegrationOS
module.exports.TargetType = TargetType
module.exports.ChannelAvailability = ChannelAvailability
module.exports.CustomerSelection = CustomerSelection
module.exports.Roles = Roles
module.exports.TransactionMethod = TransactionMethod
module.exports.AllocationMethod = AllocationMethod
module.exports.Status = Status
module.exports.Gender = Gender
module.exports.TargetType = TargetType
module.exports.Format = Format
module.exports.MinimumRequirements = MinimumRequirements
module.exports.TargetSelection = TargetSelection
module.exports.AllocationMethod = AllocationMethod
module.exports.Gender = Gender
module.exports.Roles = Roles
module.exports.CustomerSelection = CustomerSelection
module.exports.ChannelAvailability = ChannelAvailability
module.exports.AccountType = AccountType
module.exports.SkuValidation = SkuValidation
module.exports.CustomerEligibility = CustomerEligibility
module.exports.Format = Format
module.exports.TransactionMethod = TransactionMethod
module.exports.AppliesTo = AppliesTo
module.exports.MinimumRequirements = MinimumRequirements
module.exports.Country = Country
module.exports.GlobalTaxType = GlobalTaxType
module.exports.JournalEntryStatus = JournalEntryStatus
module.exports.IdentityProvider = IdentityProvider
module.exports.DayOfWeek = DayOfWeek
module.exports.AccountEngagementLevel = AccountEngagementLevel
module.exports.ReviewApprovalStatus = ReviewApprovalStatus
module.exports.StakeholderType = StakeholderType
module.exports.AccountStatus = AccountStatus
module.exports.CampaignStatus = CampaignStatus
module.exports.CustomerType = CustomerType
module.exports.AccountingAccountType = AccountingAccountType
module.exports.MessageReadStatus = MessageReadStatus
module.exports.MessageContentType = MessageContentType
module.exports.MessageDeliveryStatus = MessageDeliveryStatus
module.exports.ReactionType = ReactionType
module.exports.SupportTicketPriority = SupportTicketPriority
module.exports.IssueLifecycleStatus = IssueLifecycleStatus
module.exports.SupportQueryType = SupportQueryType
module.exports.OrderStatus = OrderStatus
module.exports.DiscountType = DiscountType
module.exports.ImageMimeType = ImageMimeType
module.exports.FulfillmentStatus = FulfillmentStatus
module.exports.OrderingCriteria = OrderingCriteria
module.exports.ChatType = ChatType
module.exports.ProductAvailabilityStatus = ProductAvailabilityStatus
module.exports.ExpenseApprovalStatus = ExpenseApprovalStatus
module.exports.FinancialChargeType = FinancialChargeType
module.exports.ItemAvailabilityStatus = ItemAvailabilityStatus
module.exports.BillingStatus = BillingStatus
module.exports.FinancialAccountStatus = FinancialAccountStatus
module.exports.TransactionStatus = TransactionStatus
module.exports.InvoiceAdjustmentType = InvoiceAdjustmentType
module.exports.DataType = DataType
module.exports.EmploymentType = EmploymentType
module.exports.TimeCycle = TimeCycle
module.exports.FinancialTrackingCategories = FinancialTrackingCategories
module.exports.CampaignType = CampaignType
module.exports.ContactAddressType = ContactAddressType
module.exports.LeadLifecycleStatus = LeadLifecycleStatus
module.exports.ParticipantEngagementStatus = ParticipantEngagementStatus
module.exports.ItemEntityStatus = ItemEntityStatus
module.exports.Currency = Currency
module.exports.CustomerEligibilityStatus = CustomerEligibilityStatus
module.exports.ItemCondition = ItemCondition
module.exports.TransactionType = TransactionType
module.exports.EntityLifecycleStatus = EntityLifecycleStatus
module.exports.JournalEntryStatus = JournalEntryStatus
module.exports.DayOfWeek = DayOfWeek
module.exports.AccountingAccountType = AccountingAccountType
module.exports.MessageReadStatus = MessageReadStatus
module.exports.MessageDeliveryStatus = MessageDeliveryStatus
module.exports.SupportQueryType = SupportQueryType
module.exports.ImageMimeType = ImageMimeType
module.exports.OrderingCriteria = OrderingCriteria
module.exports.ChatType = ChatType
module.exports.ItemAvailabilityStatus = ItemAvailabilityStatus
module.exports.FinancialAccountStatus = FinancialAccountStatus
module.exports.TransactionStatus = TransactionStatus
module.exports.CreditNoteStatus = CreditNoteStatus
module.exports.PaymentTerm = PaymentTerm
module.exports.EmploymentAndCandidateStatus = EmploymentAndCandidateStatus
module.exports.OrganizationalRole = OrganizationalRole
module.exports.CampaignType = CampaignType
module.exports.ContactAddressType = ContactAddressType
module.exports.CustomerStatus = CustomerStatus
module.exports.SocialPlatform = SocialPlatform
module.exports.LeadLifecycleStatus = LeadLifecycleStatus
module.exports.ConversationStatus = ConversationStatus
module.exports.CommunicationRole = CommunicationRole
module.exports.ParticipantEngagementStatus = ParticipantEngagementStatus
module.exports.ItemEntityStatus = ItemEntityStatus
module.exports.Currency = Currency
module.exports.CustomerEligibilityStatus = CustomerEligibilityStatus
module.exports.LifecycleStatus = LifecycleStatus
module.exports.PaymentMethod = PaymentMethod
module.exports.FinancialTransactionStatus = FinancialTransactionStatus
module.exports.AuditOpinionType = AuditOpinionType
module.exports.InventoryStorageType = InventoryStorageType
module.exports.ItemCondition = ItemCondition
module.exports.TransactionType = TransactionType
module.exports.VisibilityScope = VisibilityScope
module.exports.PaymentStatus = PaymentStatus
module.exports.EntityLifecycleStatus = EntityLifecycleStatus
module.exports.TransactionChannel = TransactionChannel
module.exports.FinancialDisputeStatus = FinancialDisputeStatus
module.exports.DeviceUsageType = DeviceUsageType
module.exports.FinancialTransactionType = FinancialTransactionType
module.exports.AccessControlModel = AccessControlModel
module.exports.ParticipantType = ParticipantType
module.exports.PriorityLevel = PriorityLevel
module.exports.PrerequisiteRangeType = PrerequisiteRangeType
module.exports.ContentVisibility = ContentVisibility
module.exports.DeviceUsageType = DeviceUsageType
module.exports.EntityCategory = EntityCategory
module.exports.GenderIdentity = GenderIdentity
module.exports.CommunicationMethod = CommunicationMethod
module.exports.FinancialTransactionType = FinancialTransactionType
module.exports.EmailCategoryType = EmailCategoryType
module.exports.UniversalIdentifierType = UniversalIdentifierType
module.exports.AccessControlModel = AccessControlModel
module.exports.ParticipantType = ParticipantType
module.exports.PriorityLevel = PriorityLevel
module.exports.TaskStatus = TaskStatus
module.exports.UserStatus = UserStatus
module.exports.PromotionType = PromotionType
module.exports.MimeType = MimeType
module.exports.PrerequisiteRangeType = PrerequisiteRangeType
module.exports.TaxType = TaxType
module.exports.ModifierType = ModifierType
module.exports.CardType = CardType
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ proc-macro = true
[dependencies]
anyhow = "1.0"
futures-util = "0.3"
integrationos-domain = "5.0.1"
integrationos-domain = "6.0.1"
proc-macro2 = "1.0"
quote = "1.0"
regex = "1.10"
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@integrationos/node-darwin-arm64",
"version": "3.8.8",
"version": "3.8.9",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@integrationos/node-darwin-x64",
"version": "3.8.8",
"version": "3.8.9",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@integrationos/node-linux-arm64-gnu",
"version": "3.8.8",
"version": "3.8.9",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@integrationos/node-linux-x64-gnu",
"version": "3.8.8",
"version": "3.8.9",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@integrationos/node-win32-arm64-msvc",
"version": "3.8.8",
"version": "3.8.9",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@integrationos/node-win32-x64-msvc",
"version": "3.8.8",
"version": "3.8.9",
"os": [
"win32"
],
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@integrationos/node",
"version": "3.8.8",
"version": "3.8.9",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down