@gymspace/sdk 1.7.4 → 1.8.0

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,7 +1,7 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- import { PaginationParams as PaginationParams$1, ListCollaboratorsParams, Collaborator, UpdateCollaboratorDto, UpdateCollaboratorRoleDto, UpdateCollaboratorStatusDto, ActivityQueryParams, ActivityItem, StatsQueryParams, CollaboratorStats, Role, ContractStatus, CancellationReason, SuspensionType, CreateInvitationDto, Invitation, ValidateByCodeDto, ValidateByTokenDto, AcceptInvitationDto, BulkMessageVariable } from '@gymspace/shared';
2
+ import { PaginationParams as PaginationParams$1, ListCollaboratorsParams, Collaborator, UpdateCollaboratorDto, UpdateCollaboratorRoleDto, UpdateCollaboratorStatusDto, ActivityQueryParams, ActivityItem, StatsQueryParams, CollaboratorStats, Role, ContractStatus, CancellationReason, SuspensionType, CreateInvitationDto, Invitation, ValidateByCodeDto, ValidateByTokenDto, AcceptInvitationDto, BulkMessage, BulkMessageVariable } from '@gymspace/shared';
3
3
  export * from '@gymspace/shared';
4
- export { BulkMessageVariable } from '@gymspace/shared';
4
+ export { BulkMessage, BulkMessageVariable } from '@gymspace/shared';
5
5
 
6
6
  interface GymSpaceConfig {
7
7
  baseURL: string;
@@ -922,6 +922,9 @@ interface MembershipPlan {
922
922
  assetsIds?: string[];
923
923
  createdAt: string;
924
924
  updatedAt: string;
925
+ _count?: {
926
+ pricingPackages: number;
927
+ };
925
928
  }
926
929
  interface MembershipPlanStats {
927
930
  plan: {
@@ -989,6 +992,7 @@ interface MembershipPlanStats {
989
992
  }
990
993
  interface GetMembershipPlansParams {
991
994
  activeOnly?: boolean;
995
+ includeCounts?: boolean;
992
996
  }
993
997
 
994
998
  declare class MembershipPlansResource extends BaseResource {
@@ -1004,6 +1008,8 @@ declare class MembershipPlansResource extends BaseResource {
1004
1008
  interface CreateContractDto {
1005
1009
  gymClientId: string;
1006
1010
  gymMembershipPlanId: string;
1011
+ pricingPackageId?: string;
1012
+ promoCode?: string;
1007
1013
  paymentMethodId: string;
1008
1014
  startDate: string;
1009
1015
  discountPercentage?: number;
@@ -1015,6 +1021,8 @@ interface RenewContractDto {
1015
1021
  startDate?: string;
1016
1022
  discountPercentage?: number;
1017
1023
  customPrice?: number;
1024
+ pricingPackageId?: string;
1025
+ promoCode?: string;
1018
1026
  paymentMethodId?: string;
1019
1027
  applyAtEndOfContract?: boolean;
1020
1028
  notes?: string;
@@ -1058,6 +1066,7 @@ interface Contract {
1058
1066
  contractNumber: string;
1059
1067
  gymClientId: string;
1060
1068
  gymMembershipPlanId: string;
1069
+ pricingPackageId?: string | null;
1061
1070
  paymentMethodId?: string;
1062
1071
  parentId?: string;
1063
1072
  startDate: string;
@@ -1069,6 +1078,9 @@ interface Contract {
1069
1078
  currency: string;
1070
1079
  discountPercentage?: number | null;
1071
1080
  discountAmount?: string | null;
1081
+ promoCode?: string | null;
1082
+ promoCodeSnapshot?: Record<string, any> | null;
1083
+ promoDiscount?: string | null;
1072
1084
  paymentFrequency: string;
1073
1085
  notes?: string | null;
1074
1086
  termsAndConditions?: string | null;
@@ -1113,6 +1125,16 @@ interface Contract {
1113
1125
  assetsIds?: string[];
1114
1126
  status?: string;
1115
1127
  };
1128
+ pricingPackage?: {
1129
+ id: string;
1130
+ planId: string;
1131
+ name: string;
1132
+ price: number;
1133
+ durationMonths?: number | null;
1134
+ durationDays?: number | null;
1135
+ isDefault: boolean;
1136
+ isActive: boolean;
1137
+ };
1116
1138
  paymentMethod?: {
1117
1139
  id: string;
1118
1140
  organizationId: string;
@@ -2992,7 +3014,7 @@ interface BulkTemplate {
2992
3014
  id: string;
2993
3015
  gymId: string;
2994
3016
  name: string;
2995
- message: string;
3017
+ messages: BulkMessage[];
2996
3018
  description?: string;
2997
3019
  tags: string[];
2998
3020
  isActive: boolean;
@@ -3005,14 +3027,14 @@ interface BulkTemplate {
3005
3027
  }
3006
3028
  interface CreateBulkTemplateDto {
3007
3029
  name: string;
3008
- message: string;
3030
+ messages: BulkMessage[];
3009
3031
  description?: string;
3010
3032
  tags?: string[];
3011
3033
  isActive?: boolean;
3012
3034
  }
3013
3035
  interface UpdateBulkTemplateDto {
3014
3036
  name?: string;
3015
- message?: string;
3037
+ messages?: BulkMessage[];
3016
3038
  description?: string;
3017
3039
  tags?: string[];
3018
3040
  isActive?: boolean;
@@ -3020,8 +3042,10 @@ interface UpdateBulkTemplateDto {
3020
3042
 
3021
3043
  interface SendBulkMessagesDto {
3022
3044
  templateId?: string;
3023
- message: string;
3045
+ messages?: BulkMessage[];
3024
3046
  clientIds: string[];
3047
+ variableContext?: string;
3048
+ scheduledAt?: string;
3025
3049
  }
3026
3050
  interface RejectedClientDto {
3027
3051
  clientId: string;
@@ -3042,14 +3066,27 @@ interface BulkMessageLogDto {
3042
3066
  clientId: string;
3043
3067
  clientName: string;
3044
3068
  phoneNumber: string;
3045
- message: string;
3046
- status: 'pending' | 'queued' | 'sent' | 'delivered' | 'failed';
3069
+ message?: string;
3070
+ messages?: Array<{
3071
+ type: 'text' | 'image';
3072
+ order: number;
3073
+ status: 'pending' | 'sent' | 'failed';
3074
+ preview: string;
3075
+ caption?: string;
3076
+ externalMessageId?: string;
3077
+ error?: string;
3078
+ sentAt?: string;
3079
+ }>;
3080
+ status?: 'pending' | 'queued' | 'sent' | 'delivered' | 'failed';
3081
+ overallStatus?: 'pending' | 'sending' | 'sent' | 'partial' | 'failed';
3047
3082
  sentAt?: string;
3048
3083
  deliveredAt?: string;
3049
3084
  failedAt?: string;
3050
3085
  failureReason?: string;
3051
3086
  retryCount: number;
3052
- timestamp: string;
3087
+ timestamp?: string;
3088
+ createdAt?: string;
3089
+ updatedAt?: string;
3053
3090
  }
3054
3091
  interface GetBulkLogsQueryDto {
3055
3092
  sendId: string;
@@ -3061,6 +3098,7 @@ interface BulkLogsResponseDto {
3061
3098
  delivered: number;
3062
3099
  failed: number;
3063
3100
  pending: number;
3101
+ partial?: number;
3064
3102
  logs: BulkMessageLogDto[];
3065
3103
  isComplete: boolean;
3066
3104
  }
@@ -3167,13 +3205,20 @@ interface SearchActivitiesParams {
3167
3205
  planId?: string;
3168
3206
  isActive?: boolean;
3169
3207
  }
3208
+ interface BulkMessageDto {
3209
+ type: 'text' | 'image';
3210
+ content: string;
3211
+ mediaRef?: 'file' | 'asset';
3212
+ caption?: string;
3213
+ order: number;
3214
+ }
3170
3215
  interface CreateActivityNotificationDto {
3171
- message: string;
3216
+ messages: BulkMessageDto[];
3172
3217
  advanceTimeMinutes: number;
3173
3218
  isActive?: boolean;
3174
3219
  }
3175
3220
  interface UpdateActivityNotificationDto {
3176
- message?: string;
3221
+ messages?: BulkMessageDto[];
3177
3222
  advanceTimeMinutes?: number;
3178
3223
  isActive?: boolean;
3179
3224
  }
@@ -3183,7 +3228,8 @@ interface ActivityNotificationDto {
3183
3228
  templateId: string;
3184
3229
  advanceTimeMinutes: number;
3185
3230
  isActive: boolean;
3186
- template: {
3231
+ messages: BulkMessageDto[];
3232
+ template?: {
3187
3233
  id: string;
3188
3234
  name: string;
3189
3235
  message: string;
@@ -3911,6 +3957,294 @@ declare class MessagesResource extends BaseResource {
3911
3957
  cancelMessage(id: string, options?: RequestOptions): Promise<Message>;
3912
3958
  }
3913
3959
 
3960
+ declare enum FeatureType {
3961
+ AI_GENERATION = "ai_generation",
3962
+ BULK_WHATSAPP = "bulk_whatsapp"
3963
+ }
3964
+ interface CreditAccount {
3965
+ id: string;
3966
+ organizationId: string;
3967
+ balance: number;
3968
+ monthlyAllowance: number;
3969
+ lastResetAt: string;
3970
+ createdAt: string;
3971
+ updatedAt: string;
3972
+ }
3973
+ interface CreditAccountWithOrgName {
3974
+ id: string;
3975
+ organizationId: string;
3976
+ organizationName: string;
3977
+ balance: number;
3978
+ monthlyAllowance: number;
3979
+ lastResetAt: string;
3980
+ createdAt: string;
3981
+ }
3982
+ interface CreditTransaction {
3983
+ id: string;
3984
+ accountId: string;
3985
+ featureType: FeatureType;
3986
+ quantity: number;
3987
+ description?: string;
3988
+ metadata?: Record<string, any>;
3989
+ createdAt: string;
3990
+ }
3991
+ interface CreditAdjustment {
3992
+ adjustment: number;
3993
+ reason: string;
3994
+ notes?: string;
3995
+ }
3996
+ interface CreditAdjustmentResponse {
3997
+ previousBalance: number;
3998
+ newBalance: number;
3999
+ adjusted: number;
4000
+ transactionId: string;
4001
+ }
4002
+ interface CreditUsageReport {
4003
+ balance: number;
4004
+ monthlyAllowance: number;
4005
+ usedThisMonth: number;
4006
+ remaining: number;
4007
+ lastReset: string;
4008
+ usagePercentage: number;
4009
+ transactionCount: number;
4010
+ }
4011
+ interface CreditUsageReportQuery {
4012
+ startDate?: string;
4013
+ endDate?: string;
4014
+ }
4015
+ interface CreditStats {
4016
+ balance: number;
4017
+ monthlyAllowance: number;
4018
+ usedThisMonth: number;
4019
+ lastReset: string;
4020
+ }
4021
+
4022
+ declare class CreditsResource extends BaseResource {
4023
+ private adminOrgCreditsPath;
4024
+ private orgCreditsPath;
4025
+ private adminCreditsPath;
4026
+ /**
4027
+ * Get credit account for own organization (non-admin)
4028
+ */
4029
+ getCreditAccount(organizationId: string, options?: RequestOptions): Promise<CreditAccount>;
4030
+ /**
4031
+ * Get credit account for a specific organization (admin only)
4032
+ */
4033
+ getAdminCreditAccount(organizationId: string, options?: RequestOptions): Promise<CreditAccount>;
4034
+ /**
4035
+ * Get credit transaction history for own organization (non-admin)
4036
+ */
4037
+ getCreditTransactions(organizationId: string, limit?: number, options?: RequestOptions): Promise<CreditTransaction[]>;
4038
+ /**
4039
+ * Get credit transaction history for a specific organization (admin only)
4040
+ */
4041
+ getAdminCreditTransactions(organizationId: string, limit?: number, options?: RequestOptions): Promise<CreditTransaction[]>;
4042
+ /**
4043
+ * Adjust credits for a specific organization (admin only)
4044
+ */
4045
+ adjustCredits(organizationId: string, adjustment: CreditAdjustment, options?: RequestOptions): Promise<CreditAdjustmentResponse>;
4046
+ /**
4047
+ * Get credit usage report for own organization (non-admin)
4048
+ */
4049
+ getUsageReport(organizationId: string, query?: CreditUsageReportQuery, options?: RequestOptions): Promise<CreditUsageReport>;
4050
+ /**
4051
+ * Get credit usage report for a specific organization (admin only)
4052
+ */
4053
+ getAdminUsageReport(organizationId: string, query?: CreditUsageReportQuery, options?: RequestOptions): Promise<CreditUsageReport>;
4054
+ /**
4055
+ * Get all organizations with credit accounts (Super Admin only)
4056
+ */
4057
+ getAllCreditAccounts(limit?: number, offset?: number, options?: RequestOptions): Promise<CreditAccountWithOrgName[]>;
4058
+ /**
4059
+ * Get credit stats for current organization (existing endpoint)
4060
+ */
4061
+ getCreditStats(organizationId: string, options?: RequestOptions): Promise<CreditStats>;
4062
+ /**
4063
+ * Search credit transactions with filters
4064
+ */
4065
+ searchTransactions(organizationId: string, filters: {
4066
+ featureType?: string;
4067
+ startDate?: string;
4068
+ endDate?: string;
4069
+ minAmount?: number;
4070
+ maxAmount?: number;
4071
+ }, limit?: number, options?: RequestOptions): Promise<CreditTransaction[]>;
4072
+ /**
4073
+ * Get credit summary for multiple organizations
4074
+ */
4075
+ getOrganizationsCreditSummary(organizationIds: string[], options?: RequestOptions): Promise<Array<{
4076
+ organizationId: string;
4077
+ balance: number;
4078
+ monthlyAllowance: number;
4079
+ usedThisMonth: number;
4080
+ }>>;
4081
+ }
4082
+
4083
+ interface CreatePricingPackageDto {
4084
+ name: string;
4085
+ description?: string;
4086
+ durationMonths?: number;
4087
+ durationDays?: number;
4088
+ price: number;
4089
+ currency?: string;
4090
+ displayOrder?: number;
4091
+ isActive?: boolean;
4092
+ isDefault?: boolean;
4093
+ metadata?: Record<string, any>;
4094
+ }
4095
+ interface UpdatePricingPackageDto {
4096
+ name?: string;
4097
+ description?: string;
4098
+ durationMonths?: number;
4099
+ durationDays?: number;
4100
+ price?: number;
4101
+ currency?: string;
4102
+ displayOrder?: number;
4103
+ isActive?: boolean;
4104
+ isDefault?: boolean;
4105
+ metadata?: Record<string, any>;
4106
+ }
4107
+ interface SearchPricingPackagesParams {
4108
+ membershipPlanId?: string;
4109
+ isActive?: boolean;
4110
+ isDefault?: boolean;
4111
+ page?: number;
4112
+ limit?: number;
4113
+ }
4114
+ interface PricingPackage {
4115
+ id: string;
4116
+ gymId: string;
4117
+ membershipPlanId: string;
4118
+ name: string;
4119
+ description?: string;
4120
+ durationMonths?: number;
4121
+ durationDays?: number;
4122
+ price: number;
4123
+ currency: string;
4124
+ displayOrder: number;
4125
+ isActive: boolean;
4126
+ isDefault: boolean;
4127
+ metadata?: Record<string, any>;
4128
+ createdAt: string;
4129
+ updatedAt: string;
4130
+ deletedAt?: string;
4131
+ membershipPlan?: {
4132
+ id: string;
4133
+ name: string;
4134
+ };
4135
+ _count?: {
4136
+ contracts: number;
4137
+ };
4138
+ }
4139
+
4140
+ declare class PricingPackagesResource extends BaseResource {
4141
+ private basePath;
4142
+ createPricingPackage(planId: string, data: CreatePricingPackageDto, options?: RequestOptions): Promise<PricingPackage>;
4143
+ getPricingPackage(id: string, options?: RequestOptions): Promise<PricingPackage>;
4144
+ updatePricingPackage(id: string, data: UpdatePricingPackageDto, options?: RequestOptions): Promise<PricingPackage>;
4145
+ searchPricingPackages(params?: SearchPricingPackagesParams, options?: RequestOptions): Promise<PaginatedResponseDto<PricingPackage>>;
4146
+ getPricingPackagesByPlan(planId: string, options?: RequestOptions): Promise<PricingPackage[]>;
4147
+ deletePricingPackage(id: string, options?: RequestOptions): Promise<void>;
4148
+ }
4149
+
4150
+ declare enum DiscountType {
4151
+ PERCENTAGE = "PERCENTAGE",
4152
+ FIXED_AMOUNT = "FIXED_AMOUNT"
4153
+ }
4154
+ interface CreatePromoCodeDto {
4155
+ code: string;
4156
+ description?: string;
4157
+ discountType: DiscountType;
4158
+ discountValue: number;
4159
+ validFrom: string;
4160
+ validUntil: string;
4161
+ maxUses?: number;
4162
+ minPurchaseAmount?: number;
4163
+ applicableTo?: {
4164
+ planIds?: string[];
4165
+ packageIds?: string[];
4166
+ };
4167
+ }
4168
+ interface UpdatePromoCodeDto {
4169
+ description?: string;
4170
+ discountType?: DiscountType;
4171
+ discountValue?: number;
4172
+ validFrom?: string;
4173
+ validUntil?: string;
4174
+ maxUses?: number;
4175
+ minPurchaseAmount?: number;
4176
+ applicableTo?: {
4177
+ planIds?: string[];
4178
+ packageIds?: string[];
4179
+ };
4180
+ }
4181
+ interface SearchPromoCodesParams {
4182
+ isActive?: boolean;
4183
+ code?: string;
4184
+ status?: 'active' | 'expired' | 'exhausted';
4185
+ page?: number;
4186
+ limit?: number;
4187
+ }
4188
+ interface ValidatePromoCodeDto {
4189
+ code: string;
4190
+ pricingPackageId: string;
4191
+ packagePrice: number;
4192
+ }
4193
+ interface ValidatePromoCodeResponseDto {
4194
+ valid: boolean;
4195
+ id?: string;
4196
+ code?: string;
4197
+ discountType?: string;
4198
+ discountValue?: number;
4199
+ discountAmount?: number;
4200
+ finalAmount?: number;
4201
+ error?: string;
4202
+ }
4203
+ interface PromoCode {
4204
+ id: string;
4205
+ gymId: string;
4206
+ code: string;
4207
+ description?: string;
4208
+ discountType: DiscountType;
4209
+ discountValue: number;
4210
+ validFrom: string;
4211
+ validUntil: string;
4212
+ maxUses?: number;
4213
+ currentUses: number;
4214
+ minPurchaseAmount?: number;
4215
+ applicableTo?: {
4216
+ planIds?: string[];
4217
+ packageIds?: string[];
4218
+ };
4219
+ isActive: boolean;
4220
+ createdAt: string;
4221
+ updatedAt: string;
4222
+ deletedAt?: string;
4223
+ _count?: {
4224
+ contracts: number;
4225
+ };
4226
+ }
4227
+ interface PromoCodeAnalytics {
4228
+ totalUses: number;
4229
+ remainingUses?: number;
4230
+ totalDiscount: number;
4231
+ averageDiscount: number;
4232
+ contractCount: number;
4233
+ isActive: boolean;
4234
+ daysUntilExpiration?: number;
4235
+ }
4236
+
4237
+ declare class PromoCodesResource extends BaseResource {
4238
+ private basePath;
4239
+ createPromoCode(data: CreatePromoCodeDto, options?: RequestOptions): Promise<PromoCode>;
4240
+ validatePromoCode(data: ValidatePromoCodeDto, options?: RequestOptions): Promise<ValidatePromoCodeResponseDto>;
4241
+ searchPromoCodes(params?: SearchPromoCodesParams, options?: RequestOptions): Promise<PaginatedResponseDto<PromoCode>>;
4242
+ getPromoCodeAnalytics(id: string, options?: RequestOptions): Promise<PromoCodeAnalytics>;
4243
+ getPromoCode(id: string, options?: RequestOptions): Promise<PromoCode>;
4244
+ updatePromoCode(id: string, data: UpdatePromoCodeDto, options?: RequestOptions): Promise<PromoCode>;
4245
+ deletePromoCode(id: string, options?: RequestOptions): Promise<void>;
4246
+ }
4247
+
3914
4248
  declare class GymSpaceSdk {
3915
4249
  client: ApiClient;
3916
4250
  private expoFetch?;
@@ -3950,6 +4284,9 @@ declare class GymSpaceSdk {
3950
4284
  commissionReports: CommissionReportsResource;
3951
4285
  commissionPromotions: CommissionPromotionsResource;
3952
4286
  messages: MessagesResource;
4287
+ credits: CreditsResource;
4288
+ pricingPackages: PricingPackagesResource;
4289
+ promoCodes: PromoCodesResource;
3953
4290
  constructor(config: GymSpaceConfig);
3954
4291
  /**
3955
4292
  * Set the authentication token
@@ -4019,4 +4356,4 @@ declare class NetworkError extends GymSpaceError {
4019
4356
  constructor(message?: string);
4020
4357
  }
4021
4358
 
4022
- export { type ActivateRenewalDto, ActivitiesResource, type Activity, type ActivityNotificationDto, type ActivityPlanRestriction, type ActivityStats, type ActivityStatsParams, AdminCatalogResource, AdminSubscriptionManagementResource, type AdminSubscriptionStatusDto, type AffiliateOrganizationDto, type Amenities, ApiClient, type ApiResponse, type AssetResponseDto, AssetsResource, type AssignTagsDto, type AssignTagsResponse, AuthResource, AuthenticationError, AuthorizationError, type AvailablePlanDto, type BulkLogsResponse, type BulkLogsResponseDto, type BulkMessageLog, type BulkMessageLogDto, type BulkMessageResult, type BulkMessageResultDto, BulkMessagingResource, type BulkTemplate, type BusinessHours, type CancelContractDto, type CancelSubscriptionDto, type CancellationAnalytics, type CatalogActivity, type CatalogGym, type CatalogHeroSection, type CatalogLead, type CatalogLocation, type CatalogPlan, type CatalogResponse, type CatalogSocialMedia, type ChangePasswordDto, type ChangePasswordResponseDto, type CheckIn, type CheckInDetail, type CheckInListResponse, type CheckInStats, type CheckInSystemFeatures, type CheckIns, type CheckInsList, CheckInsResource, type CheckLimitResponse, type CityWithGyms, type Client, type ClientCheckInHistory, type ClientManagementFeatures, type ClientStat, type ClientStats, type ClientTag, type ClientTagsResponse, ClientsResource, type CollaboratorReportDto, type CollaboratorRoleDto, CollaboratorsResource, type CommissionCalculationDto, CommissionCalculationsResource, CommissionChangeType, type CommissionComparisonDto, type CommissionConfigDto, CommissionConfigResource, CommissionEntityType, type CommissionFiltersDto, type CommissionHistoryDto, type CommissionHistoryFiltersDto, CommissionPromotionsResource, CommissionReportsResource, type CommissionRuleDto, type CommissionRuleFiltersDto, CommissionRuleType, CommissionRulesResource, type CommissionSimulationDto, CommissionStatus, type CommissionSummaryDto, type CommissionSummaryReportDto, type CompleteGuidedSetupData, type ConfigureFeaturesData, type ConnectionStatusResponse, type Contact, type Contract, type ContractLifecycleEvent, type ContractSettings, ContractsResource, type ContractsRevenue, type CreateActivityDto, type CreateActivityNotificationDto, type CreateBulkTemplateDto, type CreateCheckInDto, type CreateClientDto, type CreateCommissionConfigDto, type CreateCommissionRuleDto, type CreateContractDto, type CreateGymDto, type CreateLeadDto, type CreateMembershipPlanDto, type CreatePaymentMethodDto, type CreateProductCategoryDto, type CreateProductDto, type CreateSaleDto, type CreateServiceDto, type CreateSubscriptionPlanDto, type CreateSupplierDto, type CreateTagDto, type CreateTemplateDto, type CreateWhatsAppConfigDto, type CurrentSessionResponse, type CurrentlyInGymResponse, type CustomerSalesReport, DashboardResource, type DashboardStats, type DateRangeParams, type DaySchedule, type Debts, type DeleteActivityParams, type DeleteTagResponse, type DisconnectResponse, type EligibleClient, type EligibleClientsResponse, type ExpiringContract, type FileResponseDto, FilesResource, type FormattedSchedule, type FreezeContractDto, type GenerateAIMessageDto, type GenerateAIMessageParams, type GenerateAIMessageResponse, type GenerateAIMessageResponseDto, type GetBulkLogsQueryDto, type GetCheckInStatsParams, type GetClientCheckInHistoryParams, type GetContractsParams, type GetGymInvitationsParams, type GetMembershipPlansParams, type GetMessagesParams, type GetTagClientsParams, type Gym, type GymAmenities, type GymCatalog, type GymSchedule, type GymSettings, type GymSocialMedia, type GymSpaceConfig, GymSpaceError, GymSpaceSdk, type GymStats, GymsResource, HealthResource, type HealthResponse, type InitializeConnectionResponse, type InventorySettings, type InvitationValidationResponse, InvitationsResource, type LeadFiltersDto, LeadGender, type LeadSubmissionResponse, type ListContactsResponse, type LoginDto, type LoginResponseDto, type MembershipManagementFeatures, type MembershipPlan, type MembershipPlanStats, MembershipPlansResource, type Message, type MessageStatusUpdate, MessagesResource, type MyOrganization, NetworkError, type NewClients, NotFoundError, type NotificationSettings, OnboardingCacheStatus, OnboardingResource, type OnboardingResponse, type OnboardingStatus, type OnboardingStatusResponse, OnboardingStep, type Organization, type OrganizationAdminDetails, type OrganizationStats, type OrganizationWithDetails, OrganizationsResource, type PaginatedCommissionResult, 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, type PromotionReportDto, type PromotionReportFiltersDto, PublicCatalogResource, type ReactivateContractDto, type ReadyResponse, type RegisterCollaboratorDto, type RegisterOwnerDto, type RejectedClient, type RejectedClientDto, type RemoveTagsDto, type RemoveTagsResponse, type RenewContractDto, type ReorderCommissionRulesDto, type ReportFiltersDto, type RequestOptions, type RequestPasswordResetDto, type RequestPasswordResetResponseDto, type ResendResetCodeDto, type ResendResetCodeResponseDto, type ResendVerificationDto, type ResetPasswordDto, type ResetPasswordResponseDto, type ResumeContractDto, RolesResource, type RuleCriteria, type RuleReportDto, type Sale, type SaleItem, type SaleItemDto, SalesResource, type SalesRevenue, type SalesStats, type SearchActivitiesParams, type SearchCatalogParams, type SearchCatalogResponse, type SearchCheckInsParams, type SearchClientsParams, type SearchPaymentMethodsParams, type SearchProductsParams, type SearchSalesParams, type SearchSuppliersParams, type SearchTagsParams, type SearchTemplatesDto, type SearchWhatsAppMessagesDto, type SendBulkMessagesDto, type SendCatalogMessageDto, type SendCatalogMessageResponse, type SendWhatsAppMessageDto, type SentActivityNotification, type SimulateCommissionDto, 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 SuspendContractDto, type SwitchOrganizationDto, type SwitchOrganizationResponse, type Tag, type TagClientsResponse, type TagStatsResponse, type TagWithAssignment, TagsResource, type TimeSlot, type TopSellingProduct, type UpdateActivityDto, type UpdateActivityNotificationDto, type UpdateBulkTemplateDto, type UpdateCatalogConfigDto, type UpdateClientDto, type UpdateCommissionConfigDto, type UpdateCommissionRuleDto, type UpdateGymContractSettingsDto, type UpdateGymDto, type UpdateGymInventorySettingsDto, type UpdateGymScheduleDto, type UpdateGymSettingsData, type UpdateGymSocialMediaDto, type UpdateMembershipPlanDto, type UpdateOrganizationDto, type UpdatePaymentMethodDto, type UpdatePaymentStatusDto, type UpdateProductCategoryDto, type UpdateProductDto, type UpdateProfileDto, type UpdateSaleDto, type UpdateStockDto, type UpdateSubscriptionPlanDto, type UpdateSupplierDto, type UpdateTagDto, 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 };
4359
+ export { type ActivateRenewalDto, ActivitiesResource, type Activity, type ActivityNotificationDto, type ActivityPlanRestriction, type ActivityStats, type ActivityStatsParams, AdminCatalogResource, AdminSubscriptionManagementResource, type AdminSubscriptionStatusDto, type AffiliateOrganizationDto, type Amenities, ApiClient, type ApiResponse, type AssetResponseDto, AssetsResource, type AssignTagsDto, type AssignTagsResponse, AuthResource, AuthenticationError, AuthorizationError, type AvailablePlanDto, type BulkLogsResponse, type BulkLogsResponseDto, type BulkMessageDto, type BulkMessageLog, type BulkMessageLogDto, type BulkMessageResult, type BulkMessageResultDto, BulkMessagingResource, type BulkTemplate, type BusinessHours, type CancelContractDto, type CancelSubscriptionDto, type CancellationAnalytics, type CatalogActivity, type CatalogGym, type CatalogHeroSection, type CatalogLead, type CatalogLocation, type CatalogPlan, type CatalogResponse, type CatalogSocialMedia, type ChangePasswordDto, type ChangePasswordResponseDto, type CheckIn, type CheckInDetail, type CheckInListResponse, type CheckInStats, type CheckInSystemFeatures, type CheckIns, type CheckInsList, CheckInsResource, type CheckLimitResponse, type CityWithGyms, type Client, type ClientCheckInHistory, type ClientManagementFeatures, type ClientStat, type ClientStats, type ClientTag, type ClientTagsResponse, ClientsResource, type CollaboratorReportDto, type CollaboratorRoleDto, CollaboratorsResource, type CommissionCalculationDto, CommissionCalculationsResource, CommissionChangeType, type CommissionComparisonDto, type CommissionConfigDto, CommissionConfigResource, CommissionEntityType, type CommissionFiltersDto, type CommissionHistoryDto, type CommissionHistoryFiltersDto, CommissionPromotionsResource, CommissionReportsResource, type CommissionRuleDto, type CommissionRuleFiltersDto, CommissionRuleType, CommissionRulesResource, type CommissionSimulationDto, CommissionStatus, type CommissionSummaryDto, type CommissionSummaryReportDto, type CompleteGuidedSetupData, type ConfigureFeaturesData, type ConnectionStatusResponse, type Contact, type Contract, type ContractLifecycleEvent, type ContractSettings, ContractsResource, type ContractsRevenue, type CreateActivityDto, type CreateActivityNotificationDto, type CreateBulkTemplateDto, type CreateCheckInDto, type CreateClientDto, type CreateCommissionConfigDto, type CreateCommissionRuleDto, type CreateContractDto, type CreateGymDto, type CreateLeadDto, type CreateMembershipPlanDto, type CreatePaymentMethodDto, type CreatePricingPackageDto, type CreateProductCategoryDto, type CreateProductDto, type CreatePromoCodeDto, type CreateSaleDto, type CreateServiceDto, type CreateSubscriptionPlanDto, type CreateSupplierDto, type CreateTagDto, type CreateTemplateDto, type CreateWhatsAppConfigDto, type CreditAccount, type CreditAccountWithOrgName, type CreditAdjustment, type CreditAdjustmentResponse, type CreditStats, type CreditTransaction, type CreditUsageReport, type CreditUsageReportQuery, CreditsResource, type CurrentSessionResponse, type CurrentlyInGymResponse, type CustomerSalesReport, DashboardResource, type DashboardStats, type DateRangeParams, type DaySchedule, type Debts, type DeleteActivityParams, type DeleteTagResponse, type DisconnectResponse, DiscountType, type EligibleClient, type EligibleClientsResponse, type ExpiringContract, FeatureType, type FileResponseDto, FilesResource, type FormattedSchedule, type FreezeContractDto, type GenerateAIMessageDto, type GenerateAIMessageParams, type GenerateAIMessageResponse, type GenerateAIMessageResponseDto, type GetBulkLogsQueryDto, type GetCheckInStatsParams, type GetClientCheckInHistoryParams, type GetContractsParams, type GetGymInvitationsParams, type GetMembershipPlansParams, type GetMessagesParams, type GetTagClientsParams, type Gym, type GymAmenities, type GymCatalog, type GymSchedule, type GymSettings, type GymSocialMedia, type GymSpaceConfig, GymSpaceError, GymSpaceSdk, type GymStats, GymsResource, HealthResource, type HealthResponse, type InitializeConnectionResponse, type InventorySettings, type InvitationValidationResponse, InvitationsResource, type LeadFiltersDto, LeadGender, type LeadSubmissionResponse, type ListContactsResponse, type LoginDto, type LoginResponseDto, type MembershipManagementFeatures, type MembershipPlan, type MembershipPlanStats, MembershipPlansResource, type Message, type MessageStatusUpdate, MessagesResource, type MyOrganization, NetworkError, type NewClients, NotFoundError, type NotificationSettings, OnboardingCacheStatus, OnboardingResource, type OnboardingResponse, type OnboardingStatus, type OnboardingStatusResponse, OnboardingStep, type Organization, type OrganizationAdminDetails, type OrganizationStats, type OrganizationWithDetails, OrganizationsResource, type PaginatedCommissionResult, type PaginatedResponse, type PaginatedResponseDto, type PaginationParams, type PaginationQueryDto, type PaySaleDto, type PaymentMethod, type PaymentMethodStats, PaymentMethodsResource, type PermissionsGroup, type PreviewTemplateResponse, type PriceDto, type PricingDto, type PricingPackage, PricingPackagesResource, type Product, type ProductCategory, ProductsResource, type PromoCode, type PromoCodeAnalytics, PromoCodesResource, type PromotionReportDto, type PromotionReportFiltersDto, PublicCatalogResource, type ReactivateContractDto, type ReadyResponse, type RegisterCollaboratorDto, type RegisterOwnerDto, type RejectedClient, type RejectedClientDto, type RemoveTagsDto, type RemoveTagsResponse, type RenewContractDto, type ReorderCommissionRulesDto, type ReportFiltersDto, type RequestOptions, type RequestPasswordResetDto, type RequestPasswordResetResponseDto, type ResendResetCodeDto, type ResendResetCodeResponseDto, type ResendVerificationDto, type ResetPasswordDto, type ResetPasswordResponseDto, type ResumeContractDto, RolesResource, type RuleCriteria, type RuleReportDto, type Sale, type SaleItem, type SaleItemDto, SalesResource, type SalesRevenue, type SalesStats, type SearchActivitiesParams, type SearchCatalogParams, type SearchCatalogResponse, type SearchCheckInsParams, type SearchClientsParams, type SearchPaymentMethodsParams, type SearchPricingPackagesParams, type SearchProductsParams, type SearchPromoCodesParams, type SearchSalesParams, type SearchSuppliersParams, type SearchTagsParams, type SearchTemplatesDto, type SearchWhatsAppMessagesDto, type SendBulkMessagesDto, type SendCatalogMessageDto, type SendCatalogMessageResponse, type SendWhatsAppMessageDto, type SentActivityNotification, type SimulateCommissionDto, 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 SuspendContractDto, type SwitchOrganizationDto, type SwitchOrganizationResponse, type Tag, type TagClientsResponse, type TagStatsResponse, type TagWithAssignment, TagsResource, type TimeSlot, type TopSellingProduct, type UpdateActivityDto, type UpdateActivityNotificationDto, type UpdateBulkTemplateDto, type UpdateCatalogConfigDto, type UpdateClientDto, type UpdateCommissionConfigDto, type UpdateCommissionRuleDto, type UpdateGymContractSettingsDto, type UpdateGymDto, type UpdateGymInventorySettingsDto, type UpdateGymScheduleDto, type UpdateGymSettingsData, type UpdateGymSocialMediaDto, type UpdateMembershipPlanDto, type UpdateOrganizationDto, type UpdatePaymentMethodDto, type UpdatePaymentStatusDto, type UpdatePricingPackageDto, type UpdateProductCategoryDto, type UpdateProductDto, type UpdateProfileDto, type UpdatePromoCodeDto, type UpdateSaleDto, type UpdateStockDto, type UpdateSubscriptionPlanDto, type UpdateSupplierDto, type UpdateTagDto, type UpdateTemplateDto, type UpdateWhatsAppConfigDto, type UpgradeSubscriptionDto, type UploadAssetDto, type UploadFileDto, type UserProfileDto, UsersResource, type ValidatePromoCodeDto, type ValidatePromoCodeResponseDto, ValidationError, type VerifyEmailDto, type VerifyResetCodeDto, type VerifyResetCodeResponseDto, type WeeklySchedule, type WhatsAppConfig, type WhatsAppMessage, WhatsAppResource, type WhatsAppTemplate, WhatsAppTemplatesResource };