@oxyhq/services 22.4.1 → 22.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/lib/commonjs/ui/components/ProfileButton.js +1 -1
  2. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
  3. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +2 -2
  4. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  5. package/lib/commonjs/ui/hooks/queries/queryKeys.js +9 -0
  6. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
  7. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +15 -2
  8. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  9. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +1 -1
  10. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  11. package/lib/commonjs/ui/screens/CreateAccountScreen.js +5 -5
  12. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
  13. package/lib/module/ui/components/ProfileButton.js +1 -1
  14. package/lib/module/ui/components/ProfileButton.js.map +1 -1
  15. package/lib/module/ui/components/payment/PaymentDetailsStep.js +2 -2
  16. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  17. package/lib/module/ui/hooks/queries/queryKeys.js +9 -0
  18. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
  19. package/lib/module/ui/hooks/queries/useAccountQueries.js +15 -2
  20. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  21. package/lib/module/ui/screens/ConnectedAppsScreen.js +1 -1
  22. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  23. package/lib/module/ui/screens/CreateAccountScreen.js +5 -5
  24. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
  25. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
  26. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +9 -0
  27. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  28. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +14 -1
  29. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  30. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  31. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
  32. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +9 -0
  33. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  34. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +14 -1
  35. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  36. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  37. package/package.json +1 -1
  38. package/src/ui/components/ProfileButton.tsx +1 -2
  39. package/src/ui/components/payment/PaymentDetailsStep.tsx +2 -2
  40. package/src/ui/hooks/queries/queryKeys.ts +17 -0
  41. package/src/ui/hooks/queries/useAccountQueries.ts +15 -2
  42. package/src/ui/screens/ConnectedAppsScreen.tsx +0 -1
  43. package/src/ui/screens/CreateAccountScreen.tsx +5 -5
@@ -79,13 +79,13 @@ const organizationCategoryLabel = (
79
79
  ): string => {
80
80
  switch (category) {
81
81
  case 'agency':
82
- return t('accounts.organizationCategory.agency') || 'Real estate agency';
82
+ return t('accounts.organizationCategory.agency');
83
83
  case 'cooperative':
84
- return t('accounts.organizationCategory.cooperative') || 'Housing cooperative';
84
+ return t('accounts.organizationCategory.cooperative');
85
85
  case 'landlord':
86
- return t('accounts.organizationCategory.landlord') || 'Landlord / property manager';
86
+ return t('accounts.organizationCategory.landlord');
87
87
  default:
88
- return t('accounts.organizationCategory.other') || 'Other organization';
88
+ return t('accounts.organizationCategory.other');
89
89
  }
90
90
  };
91
91
 
@@ -309,7 +309,7 @@ const CreateAccountScreen: React.FC<BaseScreenProps> = ({
309
309
  {kind === 'organization' ? (
310
310
  <View className="gap-space-8">
311
311
  <Text className="text-body font-bodyBold text-text">
312
- {t('accounts.create.organizationCategory.label') || 'Organization type'}
312
+ {t('accounts.create.organizationCategory.label')}
313
313
  </Text>
314
314
  <View className="flex-row flex-wrap gap-space-8">
315
315
  {ORGANIZATION_CATEGORY_OPTIONS.map((option) => {