@gymspace/shared 1.9.30 → 1.9.31
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.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/package.json +1 -1
- package/src/types.ts +11 -0
package/dist/index.d.mts
CHANGED
|
@@ -949,6 +949,16 @@ interface ValidateByCodeDto {
|
|
|
949
949
|
interface ValidateByTokenDto {
|
|
950
950
|
token: string;
|
|
951
951
|
}
|
|
952
|
+
interface MemberInvitationDetailsResponse {
|
|
953
|
+
gymName: string;
|
|
954
|
+
gymLogo: string | null;
|
|
955
|
+
gymAddress: string | null;
|
|
956
|
+
inviterName: string;
|
|
957
|
+
inviterRole: string;
|
|
958
|
+
email: string;
|
|
959
|
+
expiresAt: string;
|
|
960
|
+
role: string;
|
|
961
|
+
}
|
|
952
962
|
interface UpdateCollaboratorDto {
|
|
953
963
|
hiredDate?: string;
|
|
954
964
|
profilePhotoId?: string;
|
|
@@ -1268,4 +1278,4 @@ declare function normalizePhoneForEvolution(phoneNumber: string): string;
|
|
|
1268
1278
|
*/
|
|
1269
1279
|
declare function isValidPeruvianPhone(phoneNumber: string): boolean;
|
|
1270
1280
|
|
|
1271
|
-
export { ACTIVITY_EVENTS, ACTIVITY_MESSAGE_VARIABLES, type AIGeneratedTemplate, ALLOWED_IMAGE_MIMES, type AcceptInvitationDto, type ActivityItem, type ActivityNotification, type ActivityNotificationGenerationRequest, type ActivityQueryParams, AssetCategory, AssetStatus, type AuditFields, BULK_MESSAGE_VARIABLES, BULK_MESSAGE_VARIABLE_CATEGORIES, BULK_MESSAGING_EVENTS, type BirthdayTemplateData, type BulkMessage, type BulkMessageArray, type BulkMessageEventData, type BulkMessageGenerationRequest, type BulkMessageStatusUpdate, type BulkMessageType, type BulkMessageVariable, CACHE_TTL, CancellationReason, ClientStatus, type Collaborator, type CollaboratorStats, CollaboratorStatus, ContractAssetType, type ContractInstallmentReminderTemplateData, ContractInstallmentStatus, ContractStatus, type CreateInvitationDto, type Currency, DATE_FORMATS, type EntityType, FILE_LIMITS, FeatureType, HEADERS, type ICollaborator, type IGym, type IGymClient, INTER_MESSAGE_DELAY_MS, type IOrganization, type IRequestContext, type IRole, type ISubscription, type ISubscriptionPlan, type IUser, type Invitation, InvitationStatus, type ListCollaboratorsParams, MAX_CAPTION_LENGTH, MAX_IMAGES_PER_CAMPAIGN, MAX_MESSAGES_PER_CAMPAIGN, type MemberInviteTemplateData, type MembershipExpiringTemplateData, type MembershipPurchaseTemplateData, type MembershipRenewalTemplateData, MessageStatus, PAGINATION_DEFAULTS, PERMISSIONS, type PaginatedResponse, type PaginationMeta, type PaginationParams, PaymentFrequency, type PaymentReceiptTemplateData, type PaymentReminderTemplateData, type Permission, PlanStatus, PlanType, ROLE_NAMES, ROLE_PERMISSIONS, type Role, type RoleName, RoleNames, SUPPORTED_MESSAGE_TYPES, type SalePaymentReminderTemplateData, type SendActivityNotificationEvent, type SendBulkMessagesEvent, type ShareCatalogTemplateData, type StatsQueryParams, SubscriptionStatus, SuspensionType, TEMPLATE_CODES, TEMPLATE_METADATA, TemplateCode, type TemplateCodeValue, type TemplateGenerationRequest, type TemplateMetadata, TemplateType, type TemplateTypeValue, type UUID, type UpdateCollaboratorDto, type UpdateCollaboratorRoleDto, type UpdateCollaboratorStatusDto, type User, UserType, VARIABLE_CONTEXT_MAP, type ValidateByCodeDto, type ValidateByTokenDto, type VariableContextType, WHATSAPP_EVENTS, WHATSAPP_TEMPLATE_EVENTS, type WelcomeTemplateData, type WhatsAppMessageRetryEventData, type WhatsAppMessageSendEventData, type WhatsAppTemplateData, type WhatsAppTemplateEventData, activityNotificationGenerationRequestSchema, activityNotificationSchema, aiGeneratedTemplateSchema, bulkMessageGenerationRequestSchema, bulkMessageSchema, canAccessFeature, getRoleCapabilities, getRoleDescription, getRoleDisplayName, getVariablesByContext, isAdminRole, isEncargadoRole, isValidPeruvianPhone, normalizePhoneForEvolution, templateGenerationRequestSchema, validateVariablesInContext };
|
|
1281
|
+
export { ACTIVITY_EVENTS, ACTIVITY_MESSAGE_VARIABLES, type AIGeneratedTemplate, ALLOWED_IMAGE_MIMES, type AcceptInvitationDto, type ActivityItem, type ActivityNotification, type ActivityNotificationGenerationRequest, type ActivityQueryParams, AssetCategory, AssetStatus, type AuditFields, BULK_MESSAGE_VARIABLES, BULK_MESSAGE_VARIABLE_CATEGORIES, BULK_MESSAGING_EVENTS, type BirthdayTemplateData, type BulkMessage, type BulkMessageArray, type BulkMessageEventData, type BulkMessageGenerationRequest, type BulkMessageStatusUpdate, type BulkMessageType, type BulkMessageVariable, CACHE_TTL, CancellationReason, ClientStatus, type Collaborator, type CollaboratorStats, CollaboratorStatus, ContractAssetType, type ContractInstallmentReminderTemplateData, ContractInstallmentStatus, ContractStatus, type CreateInvitationDto, type Currency, DATE_FORMATS, type EntityType, FILE_LIMITS, FeatureType, HEADERS, type ICollaborator, type IGym, type IGymClient, INTER_MESSAGE_DELAY_MS, type IOrganization, type IRequestContext, type IRole, type ISubscription, type ISubscriptionPlan, type IUser, type Invitation, InvitationStatus, type ListCollaboratorsParams, MAX_CAPTION_LENGTH, MAX_IMAGES_PER_CAMPAIGN, MAX_MESSAGES_PER_CAMPAIGN, type MemberInvitationDetailsResponse, type MemberInviteTemplateData, type MembershipExpiringTemplateData, type MembershipPurchaseTemplateData, type MembershipRenewalTemplateData, MessageStatus, PAGINATION_DEFAULTS, PERMISSIONS, type PaginatedResponse, type PaginationMeta, type PaginationParams, PaymentFrequency, type PaymentReceiptTemplateData, type PaymentReminderTemplateData, type Permission, PlanStatus, PlanType, ROLE_NAMES, ROLE_PERMISSIONS, type Role, type RoleName, RoleNames, SUPPORTED_MESSAGE_TYPES, type SalePaymentReminderTemplateData, type SendActivityNotificationEvent, type SendBulkMessagesEvent, type ShareCatalogTemplateData, type StatsQueryParams, SubscriptionStatus, SuspensionType, TEMPLATE_CODES, TEMPLATE_METADATA, TemplateCode, type TemplateCodeValue, type TemplateGenerationRequest, type TemplateMetadata, TemplateType, type TemplateTypeValue, type UUID, type UpdateCollaboratorDto, type UpdateCollaboratorRoleDto, type UpdateCollaboratorStatusDto, type User, UserType, VARIABLE_CONTEXT_MAP, type ValidateByCodeDto, type ValidateByTokenDto, type VariableContextType, WHATSAPP_EVENTS, WHATSAPP_TEMPLATE_EVENTS, type WelcomeTemplateData, type WhatsAppMessageRetryEventData, type WhatsAppMessageSendEventData, type WhatsAppTemplateData, type WhatsAppTemplateEventData, activityNotificationGenerationRequestSchema, activityNotificationSchema, aiGeneratedTemplateSchema, bulkMessageGenerationRequestSchema, bulkMessageSchema, canAccessFeature, getRoleCapabilities, getRoleDescription, getRoleDisplayName, getVariablesByContext, isAdminRole, isEncargadoRole, isValidPeruvianPhone, normalizePhoneForEvolution, templateGenerationRequestSchema, validateVariablesInContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -949,6 +949,16 @@ interface ValidateByCodeDto {
|
|
|
949
949
|
interface ValidateByTokenDto {
|
|
950
950
|
token: string;
|
|
951
951
|
}
|
|
952
|
+
interface MemberInvitationDetailsResponse {
|
|
953
|
+
gymName: string;
|
|
954
|
+
gymLogo: string | null;
|
|
955
|
+
gymAddress: string | null;
|
|
956
|
+
inviterName: string;
|
|
957
|
+
inviterRole: string;
|
|
958
|
+
email: string;
|
|
959
|
+
expiresAt: string;
|
|
960
|
+
role: string;
|
|
961
|
+
}
|
|
952
962
|
interface UpdateCollaboratorDto {
|
|
953
963
|
hiredDate?: string;
|
|
954
964
|
profilePhotoId?: string;
|
|
@@ -1268,4 +1278,4 @@ declare function normalizePhoneForEvolution(phoneNumber: string): string;
|
|
|
1268
1278
|
*/
|
|
1269
1279
|
declare function isValidPeruvianPhone(phoneNumber: string): boolean;
|
|
1270
1280
|
|
|
1271
|
-
export { ACTIVITY_EVENTS, ACTIVITY_MESSAGE_VARIABLES, type AIGeneratedTemplate, ALLOWED_IMAGE_MIMES, type AcceptInvitationDto, type ActivityItem, type ActivityNotification, type ActivityNotificationGenerationRequest, type ActivityQueryParams, AssetCategory, AssetStatus, type AuditFields, BULK_MESSAGE_VARIABLES, BULK_MESSAGE_VARIABLE_CATEGORIES, BULK_MESSAGING_EVENTS, type BirthdayTemplateData, type BulkMessage, type BulkMessageArray, type BulkMessageEventData, type BulkMessageGenerationRequest, type BulkMessageStatusUpdate, type BulkMessageType, type BulkMessageVariable, CACHE_TTL, CancellationReason, ClientStatus, type Collaborator, type CollaboratorStats, CollaboratorStatus, ContractAssetType, type ContractInstallmentReminderTemplateData, ContractInstallmentStatus, ContractStatus, type CreateInvitationDto, type Currency, DATE_FORMATS, type EntityType, FILE_LIMITS, FeatureType, HEADERS, type ICollaborator, type IGym, type IGymClient, INTER_MESSAGE_DELAY_MS, type IOrganization, type IRequestContext, type IRole, type ISubscription, type ISubscriptionPlan, type IUser, type Invitation, InvitationStatus, type ListCollaboratorsParams, MAX_CAPTION_LENGTH, MAX_IMAGES_PER_CAMPAIGN, MAX_MESSAGES_PER_CAMPAIGN, type MemberInviteTemplateData, type MembershipExpiringTemplateData, type MembershipPurchaseTemplateData, type MembershipRenewalTemplateData, MessageStatus, PAGINATION_DEFAULTS, PERMISSIONS, type PaginatedResponse, type PaginationMeta, type PaginationParams, PaymentFrequency, type PaymentReceiptTemplateData, type PaymentReminderTemplateData, type Permission, PlanStatus, PlanType, ROLE_NAMES, ROLE_PERMISSIONS, type Role, type RoleName, RoleNames, SUPPORTED_MESSAGE_TYPES, type SalePaymentReminderTemplateData, type SendActivityNotificationEvent, type SendBulkMessagesEvent, type ShareCatalogTemplateData, type StatsQueryParams, SubscriptionStatus, SuspensionType, TEMPLATE_CODES, TEMPLATE_METADATA, TemplateCode, type TemplateCodeValue, type TemplateGenerationRequest, type TemplateMetadata, TemplateType, type TemplateTypeValue, type UUID, type UpdateCollaboratorDto, type UpdateCollaboratorRoleDto, type UpdateCollaboratorStatusDto, type User, UserType, VARIABLE_CONTEXT_MAP, type ValidateByCodeDto, type ValidateByTokenDto, type VariableContextType, WHATSAPP_EVENTS, WHATSAPP_TEMPLATE_EVENTS, type WelcomeTemplateData, type WhatsAppMessageRetryEventData, type WhatsAppMessageSendEventData, type WhatsAppTemplateData, type WhatsAppTemplateEventData, activityNotificationGenerationRequestSchema, activityNotificationSchema, aiGeneratedTemplateSchema, bulkMessageGenerationRequestSchema, bulkMessageSchema, canAccessFeature, getRoleCapabilities, getRoleDescription, getRoleDisplayName, getVariablesByContext, isAdminRole, isEncargadoRole, isValidPeruvianPhone, normalizePhoneForEvolution, templateGenerationRequestSchema, validateVariablesInContext };
|
|
1281
|
+
export { ACTIVITY_EVENTS, ACTIVITY_MESSAGE_VARIABLES, type AIGeneratedTemplate, ALLOWED_IMAGE_MIMES, type AcceptInvitationDto, type ActivityItem, type ActivityNotification, type ActivityNotificationGenerationRequest, type ActivityQueryParams, AssetCategory, AssetStatus, type AuditFields, BULK_MESSAGE_VARIABLES, BULK_MESSAGE_VARIABLE_CATEGORIES, BULK_MESSAGING_EVENTS, type BirthdayTemplateData, type BulkMessage, type BulkMessageArray, type BulkMessageEventData, type BulkMessageGenerationRequest, type BulkMessageStatusUpdate, type BulkMessageType, type BulkMessageVariable, CACHE_TTL, CancellationReason, ClientStatus, type Collaborator, type CollaboratorStats, CollaboratorStatus, ContractAssetType, type ContractInstallmentReminderTemplateData, ContractInstallmentStatus, ContractStatus, type CreateInvitationDto, type Currency, DATE_FORMATS, type EntityType, FILE_LIMITS, FeatureType, HEADERS, type ICollaborator, type IGym, type IGymClient, INTER_MESSAGE_DELAY_MS, type IOrganization, type IRequestContext, type IRole, type ISubscription, type ISubscriptionPlan, type IUser, type Invitation, InvitationStatus, type ListCollaboratorsParams, MAX_CAPTION_LENGTH, MAX_IMAGES_PER_CAMPAIGN, MAX_MESSAGES_PER_CAMPAIGN, type MemberInvitationDetailsResponse, type MemberInviteTemplateData, type MembershipExpiringTemplateData, type MembershipPurchaseTemplateData, type MembershipRenewalTemplateData, MessageStatus, PAGINATION_DEFAULTS, PERMISSIONS, type PaginatedResponse, type PaginationMeta, type PaginationParams, PaymentFrequency, type PaymentReceiptTemplateData, type PaymentReminderTemplateData, type Permission, PlanStatus, PlanType, ROLE_NAMES, ROLE_PERMISSIONS, type Role, type RoleName, RoleNames, SUPPORTED_MESSAGE_TYPES, type SalePaymentReminderTemplateData, type SendActivityNotificationEvent, type SendBulkMessagesEvent, type ShareCatalogTemplateData, type StatsQueryParams, SubscriptionStatus, SuspensionType, TEMPLATE_CODES, TEMPLATE_METADATA, TemplateCode, type TemplateCodeValue, type TemplateGenerationRequest, type TemplateMetadata, TemplateType, type TemplateTypeValue, type UUID, type UpdateCollaboratorDto, type UpdateCollaboratorRoleDto, type UpdateCollaboratorStatusDto, type User, UserType, VARIABLE_CONTEXT_MAP, type ValidateByCodeDto, type ValidateByTokenDto, type VariableContextType, WHATSAPP_EVENTS, WHATSAPP_TEMPLATE_EVENTS, type WelcomeTemplateData, type WhatsAppMessageRetryEventData, type WhatsAppMessageSendEventData, type WhatsAppTemplateData, type WhatsAppTemplateEventData, activityNotificationGenerationRequestSchema, activityNotificationSchema, aiGeneratedTemplateSchema, bulkMessageGenerationRequestSchema, bulkMessageSchema, canAccessFeature, getRoleCapabilities, getRoleDescription, getRoleDisplayName, getVariablesByContext, isAdminRole, isEncargadoRole, isValidPeruvianPhone, normalizePhoneForEvolution, templateGenerationRequestSchema, validateVariablesInContext };
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -202,6 +202,17 @@ export interface ValidateByTokenDto {
|
|
|
202
202
|
token: string;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
+
export interface MemberInvitationDetailsResponse {
|
|
206
|
+
gymName: string;
|
|
207
|
+
gymLogo: string | null;
|
|
208
|
+
gymAddress: string | null;
|
|
209
|
+
inviterName: string;
|
|
210
|
+
inviterRole: string;
|
|
211
|
+
email: string;
|
|
212
|
+
expiresAt: string;
|
|
213
|
+
role: string;
|
|
214
|
+
}
|
|
215
|
+
|
|
205
216
|
export interface UpdateCollaboratorDto {
|
|
206
217
|
hiredDate?: string;
|
|
207
218
|
profilePhotoId?: string;
|