Skip to content

Commit

Permalink
chore(integration-templates): Automated commit updating flows.yaml ba…
Browse files Browse the repository at this point in the history
…sed on changes in NangoHQ/integration-templates@5f29fa5 by Victor Lang'at. Commit message: feat(netsuite-tba): add netsuite actions (#226)
  • Loading branch information
github-actions[bot] committed Feb 21, 2025
1 parent 4a847a0 commit 979b8ab
Show file tree
Hide file tree
Showing 2 changed files with 194 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs-v2/snippets/generated/netsuite-tba/PreBuiltUseCases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
<AccordionGroup>


<Accordion title="Bills">
| Endpoint | Description | Readme |
| - | - | - |
| `POST /bills` | Creates a vendor bill in Netsuite. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/netsuite-tba/actions/bill-create.md) |
| `PUT /bills` | Updates an existing vendor bill in Netsuite. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/netsuite-tba/actions/bill-update.md) |
</Accordion>


<Accordion title="Credit Notes">
| Endpoint | Description | Readme |
| - | - | - |
Expand Down Expand Up @@ -40,6 +48,14 @@
</Accordion>


<Accordion title="Purchase Orders">
| Endpoint | Description | Readme |
| - | - | - |
| `POST /purchase-orders` | Creates a purchase order in Netsuite | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/netsuite-tba/actions/purchase-order-create.md) |
| `PUT /purchase-orders` | Updates an existing purchase order in Netsuite. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/netsuite-tba/actions/purchase-order-update.md) |
</Accordion>


<Accordion title="Others">
| Endpoint | Description | Readme |
| - | - | - |
Expand Down
178 changes: 178 additions & 0 deletions packages/shared/flows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10360,6 +10360,45 @@ integrations:
method: PUT
path: /credit-notes
group: Credit Notes
purchase-order-create:
version: 1.0.0
description: |
Creates a purchase order in Netsuite
input: NetsuitePurchaseOrderCreateInput
output: NetsuitePurchaseOrderCreateOutput
endpoint:
method: POST
path: /purchase-orders
group: Purchase Orders
purchase-order-update:
version: 1.0.0
description: Updates an existing purchase order in Netsuite.
input: NetsuitePurchaseOrderUpdateInput
output: NetsuitePurchaseOrderUpdateOutput
endpoint:
method: PUT
path: /purchase-orders
group: Purchase Orders
bill-create:
version: 1.0.0
description: |
Creates a vendor bill in Netsuite.
input: NetsuiteBillCreateInput
output: NetsuiteBillCreateOutput
endpoint:
method: POST
path: /bills
group: Bills
bill-update:
version: 1.0.0
description: |
Updates an existing vendor bill in Netsuite.
input: NetsuiteBillUpdateInput
output: NetsuiteBillUpdateOutput
endpoint:
method: PUT
path: /bills
group: Bills
models:
NetsuiteMetadata:
timezone?: string | undefined
Expand Down Expand Up @@ -10558,6 +10597,145 @@ integrations:
credit?: number
debit?: number
description: string
PurchaseOrderLine:
itemId: string
quantity: number
amount: number
description?: string
locationId?: string
rate?: number
department?: string
class?: string
createWorkOrder?: boolean
inventoryDetail?: InventoryDetail | null
InventoryDetail:
binNumber?: string
expirationDate?: string
quantity?: number
serialNumber?: string
toBinNumber?: string
NetsuitePurchaseOrderCreateInput:
vendorId: string
currency?: string
description?: string
status: string
tranDate?: string
dueDate?: string
lines: PurchaseOrderLine[]
customForm?: string
location?: string
subsidiary?: string
department?: string
class?: string
taxDetails?: TaxDetails | null
billingAddress?: Address
shippingAddress?: Address
TaxDetails:
taxCode?: string
taxRate?: number
Address:
addr1?: string
addr2?: string
addr3?: string
city?: string
state?: string
zip?: string
country?: string
NetsuitePurchaseOrderCreateOutput:
id: string
NetsuitePurchaseOrderUpdateInput:
id: string
vendorId?: string
currency?: string
description?: string
status?: string
tranDate?: string
dueDate?: string
lines?: PurchaseOrderLine[]
customForm?: string
location?: string
subsidiary?: string
department?: string
class?: string
billingAddress?: Address | null
shippingAddress?: Address | null
taxDetails?: TaxDetails | null
NetsuitePurchaseOrderUpdateOutput:
success: boolean
NetsuiteBillLine:
itemId: string
quantity: number
amount: number
description?: string
rate?: number
locationId?: string
departmentId?: string
classId?: string
customerId?: string
isBillable?: boolean
taxDetails?:
taxCode?: string
taxRate?: number
inventoryDetail?:
binNumber?: string
expirationDate?: string
quantity?: number
serialNumber?: string
NetsuiteBillCreateInput:
vendorId: string
tranDate: string
currency: string
dueDate?: string
status?: string
memo?: string
externalId?: string
location?: string
subsidiary?: string
department?: string
class?: string
terms?: string
lines: NetsuiteBillLine[]
billingAddress?:
addr1?: string
addr2?: string
addr3?: string
city?: string
state?: string
zip?: string
country?: string
taxDetails?:
taxCode?: string
taxRate?: number
NetsuiteBillCreateOutput:
id: string
NetsuiteBillUpdateInput:
id: string
vendorId?: string
tranDate?: string
currency?: string
dueDate?: string
status?: string
memo?: string
externalId?: string
location?: string
subsidiary?: string
department?: string
class?: string
terms?: string
lines?: NetsuiteBillLine[]
billingAddress?:
addr1?: string
addr2?: string
addr3?: string
city?: string
state?: string
zip?: string
country?: string
taxDetails?:
taxCode?: string
taxRate?: number
NetsuiteBillUpdateOutput:
success: boolean
next-cloud-ocs:
syncs:
users:
Expand Down

0 comments on commit 979b8ab

Please # to comment.