Organization

Properties

NameType
idnumber
createdAtDate
updatedAtDate
namestring
slugstring
phoneNumberstring
streetstring
citystring
postalCodestring
countrystring
isActiveboolean
usersobject
templatesobject
documentsobject
variablesobject

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]