HelloAsso.ts 769 B

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