HelloAsso.ts 725 B

12345678910111213141516171819202122232425262728293031
  1. import { Num, Uid, Str } from 'pinia-orm/dist/decorators'
  2. import ApiResource from '~/models/ApiResource'
  3. import { IdField } from '~/models/decorators'
  4. /**
  5. * The Mobyt user status of an organization
  6. *
  7. * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/ApiResources/Mobyt/MobytUserStatus.php
  8. */
  9. export default class HelloAsso extends ApiResource {
  10. static override entity = 'helloasso'
  11. @Uid()
  12. declare id: number | string | null
  13. @IdField()
  14. @Num(0, { notNullable: true })
  15. declare organizationId: number
  16. @Str(null)
  17. declare challengeVerifier: string
  18. @Str(null)
  19. declare token: string
  20. @Str(null)
  21. declare refreshToken: string
  22. @Str(null)
  23. declare organizationSlug: string
  24. }