Organization
Properties
| Name | Type |
|---|---|
id | number |
createdAt | Date |
updatedAt | Date |
name | string |
slug | string |
phoneNumber | string |
street | string |
city | string |
postalCode | string |
country | string |
isActive | boolean |
users | object |
templates | object |
documents | object |
variables | object |
Example
import type { Organization } from '@pdf-generator/client'
// TODO: Update the object below with actual values
const example = {
"id": null,
"createdAt": null,
"updatedAt": null,
"name": null,
"slug": null,
"phoneNumber": null,
"street": null,
"city": null,
"postalCode": null,
"country": null,
"isActive": null,
"users": null,
"templates": null,
"documents": null,
"variables": null,
} satisfies Organization
console.log(example)
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as Organization
console.log(exampleParsed)
[Back to top] [Back to API list] [Back to Model list] [Back to README]