@gymspace/sdk 1.2.4 → 1.2.8

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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- import { PaginationParams as PaginationParams$1, ContractStatus, LeadStatus } from '@gymspace/shared';
2
+ import { PaginationParams as PaginationParams$1, ListCollaboratorsParams, Collaborator, UpdateCollaboratorDto, UpdateCollaboratorRoleDto, UpdateCollaboratorStatusDto, ActivityQueryParams, ActivityItem, StatsQueryParams, CollaboratorStats, Role, ContractStatus, CreateInvitationDto, Invitation, ValidateByCodeDto, AcceptInvitationDto, LeadStatus } from '@gymspace/shared';
3
3
  export * from '@gymspace/shared';
4
4
 
5
5
  interface GymSpaceConfig {
@@ -73,8 +73,15 @@ interface LoginDto {
73
73
  interface LoginResponseDto {
74
74
  access_token: string;
75
75
  refresh_token: string;
76
- user: any;
77
- redirectPath: string;
76
+ user: {
77
+ id: string;
78
+ email: string;
79
+ name?: string;
80
+ userType: string;
81
+ };
82
+ lastActiveGymId?: string;
83
+ lastActiveOrganizationId?: string;
84
+ redirectPath?: string;
78
85
  }
79
86
  interface VerifyEmailDto {
80
87
  email: string;
@@ -142,6 +149,13 @@ interface InvitationValidationResponse {
142
149
  email: string;
143
150
  };
144
151
  }
152
+ interface CollaboratorRoleDto {
153
+ collaboratorId: string;
154
+ roleId: string;
155
+ roleName: string;
156
+ gymId: string;
157
+ gymName: string;
158
+ }
145
159
  interface CurrentSessionResponse {
146
160
  accessToken: string;
147
161
  refreshToken?: string;
@@ -199,6 +213,7 @@ interface CurrentSessionResponse {
199
213
  isActive: boolean;
200
214
  };
201
215
  permissions: string[];
216
+ collaborator?: CollaboratorRoleDto;
202
217
  isAuthenticated: boolean;
203
218
  }
204
219
 
@@ -534,6 +549,37 @@ declare class GymsResource extends BaseResource {
534
549
  updateGymSocialMedia(id: string, data: UpdateGymSocialMediaDto, options?: RequestOptions): Promise<Gym>;
535
550
  }
536
551
 
552
+ declare class CollaboratorsResource extends BaseResource {
553
+ private basePath;
554
+ list(params?: ListCollaboratorsParams, options?: RequestOptions): Promise<PaginatedResponseDto<Collaborator>>;
555
+ get(id: string, options?: RequestOptions): Promise<Collaborator>;
556
+ update(id: string, data: UpdateCollaboratorDto, options?: RequestOptions): Promise<Collaborator>;
557
+ updateRole(id: string, data: UpdateCollaboratorRoleDto, options?: RequestOptions): Promise<Collaborator>;
558
+ updateStatus(id: string, data: UpdateCollaboratorStatusDto, options?: RequestOptions): Promise<Collaborator>;
559
+ getActivity(id: string, params?: ActivityQueryParams, options?: RequestOptions): Promise<ActivityItem[]>;
560
+ getStats(id: string, params?: StatsQueryParams, options?: RequestOptions): Promise<CollaboratorStats>;
561
+ }
562
+
563
+ interface PermissionsGroup {
564
+ [category: string]: string[];
565
+ }
566
+
567
+ declare class RolesResource extends BaseResource {
568
+ private basePath;
569
+ /**
570
+ * Get all roles of the organization (without pagination)
571
+ */
572
+ getRoles(options?: RequestOptions): Promise<Role[]>;
573
+ /**
574
+ * Get a specific role by ID
575
+ */
576
+ getRole(id: string, options?: RequestOptions): Promise<Role>;
577
+ /**
578
+ * Get all available permissions organized by category
579
+ */
580
+ getAvailablePermissions(options?: RequestOptions): Promise<PermissionsGroup>;
581
+ }
582
+
537
583
  interface CreateClientDto {
538
584
  name: string;
539
585
  email?: string;
@@ -653,7 +699,7 @@ interface ClientStats {
653
699
  };
654
700
  }>;
655
701
  }
656
- interface SearchClientsParams extends PaginationQueryDto {
702
+ interface SearchClientsParams {
657
703
  search?: string;
658
704
  activeOnly?: boolean;
659
705
  clientNumber?: string;
@@ -662,20 +708,11 @@ interface SearchClientsParams extends PaginationQueryDto {
662
708
  notCheckedInToday?: boolean;
663
709
  checkedInToday?: boolean;
664
710
  }
665
- interface ClientSearchForCheckInResponse {
666
- data: Client[];
667
- pagination: {
668
- total: number;
669
- page: number;
670
- limit: number;
671
- totalPages: number;
672
- };
673
- }
674
711
 
675
712
  declare class ClientsResource extends BaseResource {
676
713
  private basePath;
677
714
  createClient(data: CreateClientDto, options?: RequestOptions): Promise<Client>;
678
- searchClients(params?: SearchClientsParams, options?: RequestOptions): Promise<PaginatedResponseDto<Client>>;
715
+ searchClients(params?: SearchClientsParams, options?: RequestOptions): Promise<Client[]>;
679
716
  getClient(id: string, options?: RequestOptions): Promise<Client>;
680
717
  updateClient(id: string, data: UpdateClientDto, options?: RequestOptions): Promise<Client>;
681
718
  toggleClientStatus(id: string, options?: RequestOptions): Promise<Client>;
@@ -683,7 +720,7 @@ declare class ClientsResource extends BaseResource {
683
720
  getClientStat(id: string, statKey: string, options?: RequestOptions): Promise<ClientStat>;
684
721
  getClientStatsByCategory(id: string, category: string, options?: RequestOptions): Promise<ClientStat[]>;
685
722
  getAvailableStats(options?: RequestOptions): Promise<ClientStat[]>;
686
- searchClientsForCheckIn(params?: SearchClientsParams, options?: RequestOptions): Promise<ClientSearchForCheckInResponse>;
723
+ searchClientsForCheckIn(params?: SearchClientsParams, options?: RequestOptions): Promise<Client[]>;
687
724
  }
688
725
 
689
726
  interface CreateMembershipPlanDto {
@@ -850,6 +887,10 @@ declare class ContractsResource extends BaseResource {
850
887
  cancelContract(id: string, data: {
851
888
  reason: string;
852
889
  }, options?: RequestOptions): Promise<Contract>;
890
+ resendWhatsAppNotification(contractId: string, options?: RequestOptions): Promise<{
891
+ success: boolean;
892
+ message: string;
893
+ }>;
853
894
  }
854
895
 
855
896
  interface DashboardStats {
@@ -1123,38 +1164,20 @@ declare class CheckInsResource extends BaseResource {
1123
1164
  getClientCheckInHistory(clientId: string, params?: GetClientCheckInHistoryParams, options?: RequestOptions): Promise<ClientCheckInHistory>;
1124
1165
  }
1125
1166
 
1126
- interface CreateInvitationDto {
1127
- email: string;
1128
- gymId: string;
1129
- roleId: string;
1130
- }
1131
- interface AcceptInvitationDto {
1132
- name: string;
1133
- phone: string;
1134
- password: string;
1135
- }
1136
- interface Invitation {
1137
- id: string;
1138
- email: string;
1139
- gymId: string;
1140
- roleId: string;
1141
- token: string;
1142
- status: 'pending' | 'accepted' | 'cancelled' | 'expired';
1143
- invitedById: string;
1144
- acceptedAt?: string;
1145
- expiresAt: string;
1146
- createdAt: string;
1147
- updatedAt: string;
1148
- }
1149
1167
  interface GetGymInvitationsParams {
1150
1168
  gymId: string;
1151
1169
  }
1152
-
1153
1170
  declare class InvitationsResource extends BaseResource {
1154
1171
  private basePath;
1155
1172
  createInvitation(data: CreateInvitationDto, options?: RequestOptions): Promise<Invitation>;
1156
1173
  getGymInvitations(params: GetGymInvitationsParams, options?: RequestOptions): Promise<Invitation[]>;
1157
- acceptInvitation(token: string, data: AcceptInvitationDto, options?: RequestOptions): Promise<void>;
1174
+ validateByCode(data: ValidateByCodeDto, options?: RequestOptions): Promise<{
1175
+ email: string;
1176
+ gymName: string;
1177
+ roleName: string;
1178
+ token: string;
1179
+ }>;
1180
+ acceptInvitation(data: AcceptInvitationDto, options?: RequestOptions): Promise<void>;
1158
1181
  cancelInvitation(id: string, options?: RequestOptions): Promise<void>;
1159
1182
  }
1160
1183
 
@@ -1893,6 +1916,10 @@ declare class SalesResource extends BaseResource {
1893
1916
  getSalesStats(startDate?: string, endDate?: string, options?: RequestOptions): Promise<SalesStats>;
1894
1917
  getTopSellingProducts(limit?: number, startDate?: string, endDate?: string, options?: RequestOptions): Promise<TopSellingProduct[]>;
1895
1918
  getSalesByCustomer(startDate?: string, endDate?: string, options?: RequestOptions): Promise<CustomerSalesReport>;
1919
+ resendWhatsAppNotification(saleId: string, options?: RequestOptions): Promise<{
1920
+ success: boolean;
1921
+ message: string;
1922
+ }>;
1896
1923
  }
1897
1924
 
1898
1925
  interface CreateSupplierDto {
@@ -2185,14 +2212,27 @@ interface UpdatePaymentMethodDto {
2185
2212
  }
2186
2213
  interface PaymentMethod {
2187
2214
  id: string;
2188
- gymId: string;
2215
+ organizationId: string;
2189
2216
  name: string;
2190
2217
  description?: string;
2191
2218
  code: string;
2192
2219
  enabled: boolean;
2193
2220
  metadata?: Record<string, any>;
2221
+ createdByUserId: string;
2222
+ updatedByUserId?: string | null;
2194
2223
  createdAt: string;
2195
2224
  updatedAt: string;
2225
+ deletedAt?: string | null;
2226
+ createdBy?: {
2227
+ id: string;
2228
+ name: string;
2229
+ email: string;
2230
+ };
2231
+ updatedBy?: {
2232
+ id: string;
2233
+ name: string;
2234
+ email: string;
2235
+ } | null;
2196
2236
  }
2197
2237
  interface SearchPaymentMethodsParams extends PaginationQueryDto {
2198
2238
  search?: string;
@@ -2216,11 +2256,205 @@ declare class PaymentMethodsResource extends BaseResource {
2216
2256
  getPaymentMethodStats(options?: RequestOptions): Promise<PaymentMethodStats>;
2217
2257
  }
2218
2258
 
2259
+ type TemplateCode$1 = string;
2260
+ type TemplateType = string;
2261
+ interface WhatsAppConfig {
2262
+ id: string;
2263
+ gymId: string;
2264
+ instanceName: string;
2265
+ phoneNumber?: string;
2266
+ isActive: boolean;
2267
+ connectionStatus: string;
2268
+ lastConnectedAt?: string;
2269
+ settings?: Record<string, any>;
2270
+ createdByUserId: string;
2271
+ updatedByUserId?: string;
2272
+ createdAt: string;
2273
+ updatedAt: string;
2274
+ }
2275
+ interface CreateWhatsAppConfigDto {
2276
+ settings?: Record<string, any>;
2277
+ }
2278
+ interface UpdateWhatsAppConfigDto {
2279
+ settings?: Record<string, any>;
2280
+ }
2281
+ interface ConnectionStatusResponse {
2282
+ status: 'connected' | 'waiting_qr_scan' | 'connecting' | 'not_initialized' | 'disconnected';
2283
+ qrCode?: string;
2284
+ isActive?: boolean;
2285
+ connectionStatus?: string;
2286
+ lastConnectedAt?: string;
2287
+ message?: string;
2288
+ }
2289
+ interface InitializeConnectionResponse {
2290
+ status: 'connected' | 'waiting_qr_scan' | 'connecting' | 'not_initialized' | 'disconnected';
2291
+ qrCode?: string;
2292
+ isActive?: boolean;
2293
+ connectionStatus?: string;
2294
+ lastConnectedAt?: string;
2295
+ message?: string;
2296
+ }
2297
+ interface WhatsAppTemplate {
2298
+ id: string;
2299
+ gymId: string;
2300
+ code: TemplateCode$1;
2301
+ name: string;
2302
+ type: TemplateType;
2303
+ message: string;
2304
+ variables: string[];
2305
+ isActive: boolean;
2306
+ metadata?: Record<string, any>;
2307
+ createdByUserId: string;
2308
+ updatedByUserId?: string;
2309
+ createdAt: string;
2310
+ updatedAt: string;
2311
+ }
2312
+ interface CreateTemplateDto {
2313
+ code: TemplateCode$1;
2314
+ name: string;
2315
+ type: TemplateType;
2316
+ message: string;
2317
+ variables?: string[];
2318
+ isActive?: boolean;
2319
+ }
2320
+ interface UpdateTemplateDto {
2321
+ name?: string;
2322
+ type?: TemplateType;
2323
+ message?: string;
2324
+ variables?: string[];
2325
+ isActive?: boolean;
2326
+ }
2327
+ interface SearchTemplatesDto extends PaginationQueryDto {
2328
+ code?: TemplateCode$1;
2329
+ type?: TemplateType;
2330
+ isActive?: boolean;
2331
+ }
2332
+ interface PreviewTemplateResponse {
2333
+ content: string;
2334
+ }
2335
+ interface WhatsAppMessage {
2336
+ id: string;
2337
+ gymId: string;
2338
+ clientId?: string;
2339
+ templateId?: string;
2340
+ phoneNumber: string;
2341
+ content: string;
2342
+ direction: 'incoming' | 'outgoing';
2343
+ status: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
2344
+ externalMessageId?: string;
2345
+ metadata?: Record<string, any>;
2346
+ sentAt?: string;
2347
+ deliveredAt?: string;
2348
+ readAt?: string;
2349
+ failedAt?: string;
2350
+ failureReason?: string;
2351
+ createdAt: string;
2352
+ }
2353
+ interface SendWhatsAppMessageDto {
2354
+ clientId?: string;
2355
+ phoneNumber: string;
2356
+ content?: string;
2357
+ templateId?: string;
2358
+ variables?: Record<string, any>;
2359
+ }
2360
+ interface SearchWhatsAppMessagesDto extends PaginationQueryDto {
2361
+ clientId?: string;
2362
+ status?: string;
2363
+ direction?: string;
2364
+ phoneNumber?: string;
2365
+ }
2366
+ interface Contact {
2367
+ id: string;
2368
+ name: string;
2369
+ pushname: string;
2370
+ phoneNumber?: string;
2371
+ }
2372
+ type ListContactsResponse = Contact[];
2373
+ interface DisconnectResponse {
2374
+ success: boolean;
2375
+ message: string;
2376
+ }
2377
+
2378
+ declare class WhatsAppResource extends BaseResource {
2379
+ private basePath;
2380
+ /**
2381
+ * Get WhatsApp configuration for the current gym
2382
+ */
2383
+ getConfig(options?: RequestOptions): Promise<WhatsAppConfig>;
2384
+ /**
2385
+ * Initialize WhatsApp connection
2386
+ * Returns QR code if needed
2387
+ */
2388
+ initializeConnection(options?: RequestOptions): Promise<InitializeConnectionResponse>;
2389
+ /**
2390
+ * Update WhatsApp configuration
2391
+ */
2392
+ updateConfig(data: UpdateWhatsAppConfigDto, options?: RequestOptions): Promise<WhatsAppConfig>;
2393
+ /**
2394
+ * Get WhatsApp connection status
2395
+ */
2396
+ getConnectionStatus(options?: RequestOptions): Promise<ConnectionStatusResponse>;
2397
+ /**
2398
+ * Send a WhatsApp message
2399
+ */
2400
+ sendMessage(data: SendWhatsAppMessageDto, options?: RequestOptions): Promise<WhatsAppMessage>;
2401
+ /**
2402
+ * Get WhatsApp messages with pagination and filters
2403
+ */
2404
+ getMessages(params?: SearchWhatsAppMessagesDto, options?: RequestOptions): Promise<PaginatedResponseDto<WhatsAppMessage>>;
2405
+ /**
2406
+ * Get a specific WhatsApp message by ID
2407
+ */
2408
+ getMessage(id: string, options?: RequestOptions): Promise<WhatsAppMessage>;
2409
+ listContacts(options?: RequestOptions): Promise<Contact[]>;
2410
+ /**
2411
+ * Disconnect WhatsApp instance
2412
+ * Logs out from WhatsApp without deleting the instance
2413
+ */
2414
+ disconnect(options?: RequestOptions): Promise<DisconnectResponse>;
2415
+ }
2416
+
2417
+ type TemplateCode = string;
2418
+ declare class WhatsAppTemplatesResource extends BaseResource {
2419
+ private basePath;
2420
+ /**
2421
+ * Create a new WhatsApp template
2422
+ */
2423
+ create(data: CreateTemplateDto, options?: RequestOptions): Promise<WhatsAppTemplate>;
2424
+ /**
2425
+ * Get all WhatsApp templates with pagination and filters
2426
+ */
2427
+ findAll(params?: SearchTemplatesDto, options?: RequestOptions): Promise<PaginatedResponseDto<WhatsAppTemplate>>;
2428
+ /**
2429
+ * Get a specific WhatsApp template by ID
2430
+ */
2431
+ findOne(id: string, options?: RequestOptions): Promise<WhatsAppTemplate>;
2432
+ /**
2433
+ * Get a WhatsApp template by code
2434
+ */
2435
+ findByCode(code: TemplateCode, options?: RequestOptions): Promise<WhatsAppTemplate>;
2436
+ /**
2437
+ * Update a WhatsApp template
2438
+ */
2439
+ update(id: string, data: UpdateTemplateDto, options?: RequestOptions): Promise<WhatsAppTemplate>;
2440
+ /**
2441
+ * Delete a WhatsApp template
2442
+ */
2443
+ remove(id: string, options?: RequestOptions): Promise<void>;
2444
+ /**
2445
+ * Preview a template with variables
2446
+ */
2447
+ preview(id: string, variables: Record<string, any>, options?: RequestOptions): Promise<PreviewTemplateResponse>;
2448
+ }
2449
+
2219
2450
  declare class GymSpaceSdk {
2220
2451
  client: ApiClient;
2452
+ private expoFetch?;
2221
2453
  auth: AuthResource;
2222
2454
  organizations: OrganizationsResource;
2223
2455
  gyms: GymsResource;
2456
+ collaborators: CollaboratorsResource;
2457
+ roles: RolesResource;
2224
2458
  clients: ClientsResource;
2225
2459
  membershipPlans: MembershipPlansResource;
2226
2460
  contracts: ContractsResource;
@@ -2242,6 +2476,8 @@ declare class GymSpaceSdk {
2242
2476
  subscriptionPlans: SubscriptionPlansResource;
2243
2477
  adminSubscriptionManagement: AdminSubscriptionManagementResource;
2244
2478
  paymentMethods: PaymentMethodsResource;
2479
+ whatsapp: WhatsAppResource;
2480
+ whatsappTemplates: WhatsAppTemplatesResource;
2245
2481
  constructor(config: GymSpaceConfig);
2246
2482
  /**
2247
2483
  * Set the authentication token
@@ -2263,6 +2499,17 @@ declare class GymSpaceSdk {
2263
2499
  * Clear authentication
2264
2500
  */
2265
2501
  clearAuth(): void;
2502
+ /**
2503
+ * Set Expo fetch for React Native environments
2504
+ * Should be called once during app initialization
2505
+ */
2506
+ setExpoFetch(fetchFn: typeof globalThis.fetch): void;
2507
+ /**
2508
+ * Create a fetch function for agent endpoints
2509
+ * Uses the /agent/* proxy that includes request context
2510
+ * Automatically uses Expo fetch if set
2511
+ */
2512
+ createAgentFetch(): (path: string, options?: RequestInit) => Promise<Response>;
2266
2513
  /**
2267
2514
  * Get the underlying API client
2268
2515
  */
@@ -2296,4 +2543,4 @@ declare class NetworkError extends GymSpaceError {
2296
2543
  constructor(message?: string);
2297
2544
  }
2298
2545
 
2299
- export { type AcceptInvitationDto, type ActivateRenewalDto, AdminSubscriptionManagementResource, type AdminSubscriptionStatusDto, type AffiliateOrganizationDto, type Amenities, ApiClient, type ApiResponse, type AssetResponseDto, AssetsResource, AuthResource, AuthenticationError, AuthorizationError, type AvailablePlanDto, type BusinessHours, type CancelSubscriptionDto, type CatalogGym, type ChangePasswordDto, type ChangePasswordResponseDto, type CheckIn, type CheckInListResponse, type CheckInStats, type CheckInSystemFeatures, type CheckIns, CheckInsResource, type CheckLimitResponse, type CityWithGyms, type Client, type ClientCheckInHistory, type ClientManagementFeatures, type ClientSearchForCheckInResponse, type ClientStat, type ClientStats, ClientsResource, type CompleteGuidedSetupData, type ConfigureFeaturesData, type Contract, ContractsResource, type ContractsRevenue, type CreateCheckInDto, type CreateClientDto, type CreateContractDto, type CreateEvaluationDto, type CreateGymDto, type CreateInvitationDto, type CreateLeadDto, type CreateMembershipPlanDto, type CreatePaymentMethodDto, type CreateProductCategoryDto, type CreateProductDto, type CreateSaleDto, type CreateServiceDto, type CreateSubscriptionPlanDto, type CreateSupplierDto, type CurrentSessionResponse, type CurrentlyInGymResponse, type CustomerSalesReport, DashboardResource, type DashboardStats, type DateRangeParams, type DaySchedule, type Debts, type Evaluation, type EvaluationHealthMetrics, type EvaluationMeasurements, type EvaluationPerformanceMetrics, type EvaluationReport, type EvaluationSystemFeatures, EvaluationsResource, type ExpiringContract, type FileResponseDto, FilesResource, type FreezeContractDto, type GetCheckInStatsParams, type GetClientCheckInHistoryParams, type GetClientEvaluationsParams, type GetContractsParams, type GetFeaturedGymsParams, type GetGymInvitationsParams, type GetMembershipPlansParams, type Gym, type GymAmenities, type GymSchedule, type GymSettings, type GymSocialMedia, type GymSpaceConfig, GymSpaceError, GymSpaceSdk, type GymStats, GymsResource, HealthResource, type HealthResponse, type Invitation, type InvitationValidationResponse, InvitationsResource, type Lead, type LeadManagementFeatures, type LeadStats, LeadsResource, type LoginDto, type LoginResponseDto, type MembershipManagementFeatures, type MembershipPlan, type MembershipPlanStats, MembershipPlansResource, NetworkError, type NewClients, NotFoundError, type NotificationSettings, OnboardingResource, type OnboardingResponse, type OnboardingStatus, OnboardingStep, type Organization, type OrganizationAdminDetails, type OrganizationStats, type OrganizationWithDetails, OrganizationsResource, type PaginatedResponse, type PaginatedResponseDto, type PaginationParams, type PaginationQueryDto, type PaySaleDto, type PaymentMethod, type PaymentMethodStats, PaymentMethodsResource, type PriceDto, type PricingDto, type Product, type ProductCategory, ProductsResource, PublicCatalogResource, type ReadyResponse, type RegisterCollaboratorDto, type RegisterOwnerDto, type RenewContractDto, type RequestOptions, type RequestPasswordResetDto, type RequestPasswordResetResponseDto, type ResendResetCodeDto, type ResendResetCodeResponseDto, type ResendVerificationDto, type ResetPasswordDto, type ResetPasswordResponseDto, type Sale, type SaleItem, type SaleItemDto, SalesResource, type SalesRevenue, type SalesStats, type SearchCatalogParams, type SearchCheckInsParams, type SearchClientsParams, type SearchLeadsParams, type SearchPaymentMethodsParams, type SearchProductsParams, type SearchSalesParams, type SearchSuppliersParams, type SocialMedia, type StartOnboardingData, type StartOnboardingResponse, type StockMovement, type Subscription, type SubscriptionHistoryDto, type SubscriptionPlan, type SubscriptionPlanDto, SubscriptionPlansResource, type SubscriptionStatusDto, SubscriptionsResource, type Supplier, SuppliersResource, type SuppliersStats, type TimeSlot, type TopSellingProduct, type UpdateClientDto, type UpdateEvaluationDto, type UpdateGymDto, type UpdateGymScheduleDto, type UpdateGymSettingsData, type UpdateGymSocialMediaDto, type UpdateLeadDto, type UpdateMembershipPlanDto, type UpdateOrganizationDto, type UpdatePaymentMethodDto, type UpdatePaymentStatusDto, type UpdateProductCategoryDto, type UpdateProductDto, type UpdateProfileDto, type UpdateSaleDto, type UpdateStockDto, type UpdateSubscriptionPlanDto, type UpdateSupplierDto, type UpgradeSubscriptionDto, type UploadAssetDto, type UploadFileDto, type UserProfileDto, UsersResource, ValidationError, type VerifyEmailDto, type VerifyResetCodeDto, type VerifyResetCodeResponseDto, type WeeklySchedule };
2546
+ export { type ActivateRenewalDto, AdminSubscriptionManagementResource, type AdminSubscriptionStatusDto, type AffiliateOrganizationDto, type Amenities, ApiClient, type ApiResponse, type AssetResponseDto, AssetsResource, AuthResource, AuthenticationError, AuthorizationError, type AvailablePlanDto, type BusinessHours, type CancelSubscriptionDto, type CatalogGym, type ChangePasswordDto, type ChangePasswordResponseDto, type CheckIn, type CheckInListResponse, type CheckInStats, type CheckInSystemFeatures, type CheckIns, CheckInsResource, type CheckLimitResponse, type CityWithGyms, type Client, type ClientCheckInHistory, type ClientManagementFeatures, type ClientStat, type ClientStats, ClientsResource, type CollaboratorRoleDto, CollaboratorsResource, type CompleteGuidedSetupData, type ConfigureFeaturesData, type ConnectionStatusResponse, type Contact, type Contract, ContractsResource, type ContractsRevenue, type CreateCheckInDto, type CreateClientDto, type CreateContractDto, type CreateEvaluationDto, type CreateGymDto, type CreateLeadDto, type CreateMembershipPlanDto, type CreatePaymentMethodDto, type CreateProductCategoryDto, type CreateProductDto, type CreateSaleDto, type CreateServiceDto, type CreateSubscriptionPlanDto, type CreateSupplierDto, type CreateTemplateDto, type CreateWhatsAppConfigDto, type CurrentSessionResponse, type CurrentlyInGymResponse, type CustomerSalesReport, DashboardResource, type DashboardStats, type DateRangeParams, type DaySchedule, type Debts, type DisconnectResponse, type Evaluation, type EvaluationHealthMetrics, type EvaluationMeasurements, type EvaluationPerformanceMetrics, type EvaluationReport, type EvaluationSystemFeatures, EvaluationsResource, type ExpiringContract, type FileResponseDto, FilesResource, type FreezeContractDto, type GetCheckInStatsParams, type GetClientCheckInHistoryParams, type GetClientEvaluationsParams, type GetContractsParams, type GetFeaturedGymsParams, type GetGymInvitationsParams, type GetMembershipPlansParams, type Gym, type GymAmenities, type GymSchedule, type GymSettings, type GymSocialMedia, type GymSpaceConfig, GymSpaceError, GymSpaceSdk, type GymStats, GymsResource, HealthResource, type HealthResponse, type InitializeConnectionResponse, type InvitationValidationResponse, InvitationsResource, type Lead, type LeadManagementFeatures, type LeadStats, LeadsResource, type ListContactsResponse, type LoginDto, type LoginResponseDto, type MembershipManagementFeatures, type MembershipPlan, type MembershipPlanStats, MembershipPlansResource, NetworkError, type NewClients, NotFoundError, type NotificationSettings, OnboardingResource, type OnboardingResponse, type OnboardingStatus, OnboardingStep, type Organization, type OrganizationAdminDetails, type OrganizationStats, type OrganizationWithDetails, OrganizationsResource, type PaginatedResponse, type PaginatedResponseDto, type PaginationParams, type PaginationQueryDto, type PaySaleDto, type PaymentMethod, type PaymentMethodStats, PaymentMethodsResource, type PermissionsGroup, type PreviewTemplateResponse, type PriceDto, type PricingDto, type Product, type ProductCategory, ProductsResource, PublicCatalogResource, type ReadyResponse, type RegisterCollaboratorDto, type RegisterOwnerDto, type RenewContractDto, type RequestOptions, type RequestPasswordResetDto, type RequestPasswordResetResponseDto, type ResendResetCodeDto, type ResendResetCodeResponseDto, type ResendVerificationDto, type ResetPasswordDto, type ResetPasswordResponseDto, RolesResource, type Sale, type SaleItem, type SaleItemDto, SalesResource, type SalesRevenue, type SalesStats, type SearchCatalogParams, type SearchCheckInsParams, type SearchClientsParams, type SearchLeadsParams, type SearchPaymentMethodsParams, type SearchProductsParams, type SearchSalesParams, type SearchSuppliersParams, type SearchTemplatesDto, type SearchWhatsAppMessagesDto, type SendWhatsAppMessageDto, type SocialMedia, type StartOnboardingData, type StartOnboardingResponse, type StockMovement, type Subscription, type SubscriptionHistoryDto, type SubscriptionPlan, type SubscriptionPlanDto, SubscriptionPlansResource, type SubscriptionStatusDto, SubscriptionsResource, type Supplier, SuppliersResource, type SuppliersStats, type TimeSlot, type TopSellingProduct, type UpdateClientDto, type UpdateEvaluationDto, type UpdateGymDto, type UpdateGymScheduleDto, type UpdateGymSettingsData, type UpdateGymSocialMediaDto, type UpdateLeadDto, type UpdateMembershipPlanDto, type UpdateOrganizationDto, type UpdatePaymentMethodDto, type UpdatePaymentStatusDto, type UpdateProductCategoryDto, type UpdateProductDto, type UpdateProfileDto, type UpdateSaleDto, type UpdateStockDto, type UpdateSubscriptionPlanDto, type UpdateSupplierDto, type UpdateTemplateDto, type UpdateWhatsAppConfigDto, type UpgradeSubscriptionDto, type UploadAssetDto, type UploadFileDto, type UserProfileDto, UsersResource, ValidationError, type VerifyEmailDto, type VerifyResetCodeDto, type VerifyResetCodeResponseDto, type WeeklySchedule, type WhatsAppConfig, type WhatsAppMessage, WhatsAppResource, type WhatsAppTemplate, WhatsAppTemplatesResource };