@talkplay/shared-types 1.0.29 → 1.0.30
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 +37 -7
- package/dist/index.d.ts +37 -7
- package/dist/index.js +14 -0
- package/dist/index.mjs +12 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -206,6 +206,17 @@ declare const LeadStatusTranslationsEnum: {
|
|
|
206
206
|
};
|
|
207
207
|
type LeadStatusTranslationsEnum = Enum<typeof LeadStatusTranslationsEnum>;
|
|
208
208
|
|
|
209
|
+
declare const LeadTypesEnum: {
|
|
210
|
+
readonly SIGNUP: "PENDING";
|
|
211
|
+
readonly LANDING_PAGE: "LANDING_PAGE";
|
|
212
|
+
};
|
|
213
|
+
type LeadTypesEnum = Enum<typeof LeadTypesEnum>;
|
|
214
|
+
declare const LeadTypesTranslationsEnum: {
|
|
215
|
+
readonly SIGNUP: "Incrição Abortada";
|
|
216
|
+
readonly LANDING_PAGE: "Solicitação de Contato";
|
|
217
|
+
};
|
|
218
|
+
type LeadTypesTranslationsEnum = Enum<typeof LeadTypesTranslationsEnum>;
|
|
219
|
+
|
|
209
220
|
declare const AudioBitratesEnum: {
|
|
210
221
|
readonly "32k": "32k";
|
|
211
222
|
readonly "48k": "48k";
|
|
@@ -546,11 +557,13 @@ type UserLegalAgreementEntity = Pick<BaseEntity, "id"> & {
|
|
|
546
557
|
};
|
|
547
558
|
|
|
548
559
|
type LeadEntity = BaseEntity & {
|
|
549
|
-
directorName: string;
|
|
550
|
-
radioFantasyName: string;
|
|
551
|
-
radioComercialEmail: string;
|
|
552
|
-
radioFinancialEmail: string;
|
|
560
|
+
directorName: string | null;
|
|
561
|
+
radioFantasyName: string | null;
|
|
562
|
+
radioComercialEmail: string | null;
|
|
563
|
+
radioFinancialEmail: string | null;
|
|
553
564
|
radioWppNumber: string;
|
|
565
|
+
notes: string;
|
|
566
|
+
type: LeadTypesEnum;
|
|
554
567
|
status: LeadStatusEnum;
|
|
555
568
|
};
|
|
556
569
|
|
|
@@ -797,17 +810,34 @@ type VerifyEmailAvailabilityResponse = {
|
|
|
797
810
|
isAvailable: boolean;
|
|
798
811
|
};
|
|
799
812
|
|
|
800
|
-
type
|
|
813
|
+
type CreateSignupLeadPayload = {
|
|
814
|
+
directorName: string;
|
|
815
|
+
radioFantasyName: string;
|
|
816
|
+
radioComercialEmail: string;
|
|
817
|
+
radioFinancialEmail: string;
|
|
818
|
+
radioWppNumber: string;
|
|
819
|
+
};
|
|
820
|
+
type CreateLandingPageLeadPayload = {
|
|
821
|
+
radioWppNumber: string;
|
|
822
|
+
};
|
|
801
823
|
|
|
802
824
|
type ListLeadsParams = PaginationParams & {
|
|
825
|
+
radioWppNumber?: string;
|
|
803
826
|
directorName?: string;
|
|
804
827
|
radioFantasyName?: string;
|
|
805
828
|
status?: LeadStatusEnum[];
|
|
806
829
|
};
|
|
807
830
|
type ListLeadsResponse = PaginatedResponseDTO<LeadEntity>;
|
|
808
831
|
|
|
809
|
-
type
|
|
832
|
+
type UpdateSignupLeadPayload = {
|
|
810
833
|
status: LeadStatusEnum;
|
|
834
|
+
notes?: string;
|
|
835
|
+
};
|
|
836
|
+
type UpdateLandingPageLeadPayload = UpdateSignupLeadPayload & {
|
|
837
|
+
directorName: string;
|
|
838
|
+
radioFantasyName: string;
|
|
839
|
+
radioComercialEmail: string;
|
|
840
|
+
radioFinancialEmail: string;
|
|
811
841
|
};
|
|
812
842
|
|
|
813
843
|
type EpisodeCreatedEvt = {};
|
|
@@ -824,4 +854,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
824
854
|
|
|
825
855
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
826
856
|
|
|
827
|
-
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type
|
|
857
|
+
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, type VignetteProgramScriptElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -206,6 +206,17 @@ declare const LeadStatusTranslationsEnum: {
|
|
|
206
206
|
};
|
|
207
207
|
type LeadStatusTranslationsEnum = Enum<typeof LeadStatusTranslationsEnum>;
|
|
208
208
|
|
|
209
|
+
declare const LeadTypesEnum: {
|
|
210
|
+
readonly SIGNUP: "PENDING";
|
|
211
|
+
readonly LANDING_PAGE: "LANDING_PAGE";
|
|
212
|
+
};
|
|
213
|
+
type LeadTypesEnum = Enum<typeof LeadTypesEnum>;
|
|
214
|
+
declare const LeadTypesTranslationsEnum: {
|
|
215
|
+
readonly SIGNUP: "Incrição Abortada";
|
|
216
|
+
readonly LANDING_PAGE: "Solicitação de Contato";
|
|
217
|
+
};
|
|
218
|
+
type LeadTypesTranslationsEnum = Enum<typeof LeadTypesTranslationsEnum>;
|
|
219
|
+
|
|
209
220
|
declare const AudioBitratesEnum: {
|
|
210
221
|
readonly "32k": "32k";
|
|
211
222
|
readonly "48k": "48k";
|
|
@@ -546,11 +557,13 @@ type UserLegalAgreementEntity = Pick<BaseEntity, "id"> & {
|
|
|
546
557
|
};
|
|
547
558
|
|
|
548
559
|
type LeadEntity = BaseEntity & {
|
|
549
|
-
directorName: string;
|
|
550
|
-
radioFantasyName: string;
|
|
551
|
-
radioComercialEmail: string;
|
|
552
|
-
radioFinancialEmail: string;
|
|
560
|
+
directorName: string | null;
|
|
561
|
+
radioFantasyName: string | null;
|
|
562
|
+
radioComercialEmail: string | null;
|
|
563
|
+
radioFinancialEmail: string | null;
|
|
553
564
|
radioWppNumber: string;
|
|
565
|
+
notes: string;
|
|
566
|
+
type: LeadTypesEnum;
|
|
554
567
|
status: LeadStatusEnum;
|
|
555
568
|
};
|
|
556
569
|
|
|
@@ -797,17 +810,34 @@ type VerifyEmailAvailabilityResponse = {
|
|
|
797
810
|
isAvailable: boolean;
|
|
798
811
|
};
|
|
799
812
|
|
|
800
|
-
type
|
|
813
|
+
type CreateSignupLeadPayload = {
|
|
814
|
+
directorName: string;
|
|
815
|
+
radioFantasyName: string;
|
|
816
|
+
radioComercialEmail: string;
|
|
817
|
+
radioFinancialEmail: string;
|
|
818
|
+
radioWppNumber: string;
|
|
819
|
+
};
|
|
820
|
+
type CreateLandingPageLeadPayload = {
|
|
821
|
+
radioWppNumber: string;
|
|
822
|
+
};
|
|
801
823
|
|
|
802
824
|
type ListLeadsParams = PaginationParams & {
|
|
825
|
+
radioWppNumber?: string;
|
|
803
826
|
directorName?: string;
|
|
804
827
|
radioFantasyName?: string;
|
|
805
828
|
status?: LeadStatusEnum[];
|
|
806
829
|
};
|
|
807
830
|
type ListLeadsResponse = PaginatedResponseDTO<LeadEntity>;
|
|
808
831
|
|
|
809
|
-
type
|
|
832
|
+
type UpdateSignupLeadPayload = {
|
|
810
833
|
status: LeadStatusEnum;
|
|
834
|
+
notes?: string;
|
|
835
|
+
};
|
|
836
|
+
type UpdateLandingPageLeadPayload = UpdateSignupLeadPayload & {
|
|
837
|
+
directorName: string;
|
|
838
|
+
radioFantasyName: string;
|
|
839
|
+
radioComercialEmail: string;
|
|
840
|
+
radioFinancialEmail: string;
|
|
811
841
|
};
|
|
812
842
|
|
|
813
843
|
type EpisodeCreatedEvt = {};
|
|
@@ -824,4 +854,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
824
854
|
|
|
825
855
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
826
856
|
|
|
827
|
-
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type
|
|
857
|
+
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, type VignetteProgramScriptElement };
|
package/dist/index.js
CHANGED
|
@@ -34,6 +34,8 @@ __export(index_exports, {
|
|
|
34
34
|
JobsEnum: () => JobsEnum,
|
|
35
35
|
LeadStatusEnum: () => LeadStatusEnum,
|
|
36
36
|
LeadStatusTranslationsEnum: () => LeadStatusTranslationsEnum,
|
|
37
|
+
LeadTypesEnum: () => LeadTypesEnum,
|
|
38
|
+
LeadTypesTranslationsEnum: () => LeadTypesTranslationsEnum,
|
|
37
39
|
LegalTermTypesEnum: () => LegalTermTypesEnum,
|
|
38
40
|
LegalTermTypesTranslationsEnum: () => LegalTermTypesTranslationsEnum,
|
|
39
41
|
NewsCategoriesEnum: () => NewsCategoriesEnum,
|
|
@@ -283,6 +285,16 @@ var LeadStatusTranslationsEnum = {
|
|
|
283
285
|
FAILED: "Falhou"
|
|
284
286
|
};
|
|
285
287
|
|
|
288
|
+
// src/enums/leads/lead-types.enum.ts
|
|
289
|
+
var LeadTypesEnum = {
|
|
290
|
+
SIGNUP: "PENDING",
|
|
291
|
+
LANDING_PAGE: "LANDING_PAGE"
|
|
292
|
+
};
|
|
293
|
+
var LeadTypesTranslationsEnum = {
|
|
294
|
+
SIGNUP: "Incri\xE7\xE3o Abortada",
|
|
295
|
+
LANDING_PAGE: "Solicita\xE7\xE3o de Contato"
|
|
296
|
+
};
|
|
297
|
+
|
|
286
298
|
// src/enums/media/audio-bitrates.enum.ts
|
|
287
299
|
var AudioBitratesEnum = {
|
|
288
300
|
"32k": "32k",
|
|
@@ -465,6 +477,8 @@ var TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
|
465
477
|
JobsEnum,
|
|
466
478
|
LeadStatusEnum,
|
|
467
479
|
LeadStatusTranslationsEnum,
|
|
480
|
+
LeadTypesEnum,
|
|
481
|
+
LeadTypesTranslationsEnum,
|
|
468
482
|
LegalTermTypesEnum,
|
|
469
483
|
LegalTermTypesTranslationsEnum,
|
|
470
484
|
NewsCategoriesEnum,
|
package/dist/index.mjs
CHANGED
|
@@ -229,6 +229,16 @@ var LeadStatusTranslationsEnum = {
|
|
|
229
229
|
FAILED: "Falhou"
|
|
230
230
|
};
|
|
231
231
|
|
|
232
|
+
// src/enums/leads/lead-types.enum.ts
|
|
233
|
+
var LeadTypesEnum = {
|
|
234
|
+
SIGNUP: "PENDING",
|
|
235
|
+
LANDING_PAGE: "LANDING_PAGE"
|
|
236
|
+
};
|
|
237
|
+
var LeadTypesTranslationsEnum = {
|
|
238
|
+
SIGNUP: "Incri\xE7\xE3o Abortada",
|
|
239
|
+
LANDING_PAGE: "Solicita\xE7\xE3o de Contato"
|
|
240
|
+
};
|
|
241
|
+
|
|
232
242
|
// src/enums/media/audio-bitrates.enum.ts
|
|
233
243
|
var AudioBitratesEnum = {
|
|
234
244
|
"32k": "32k",
|
|
@@ -410,6 +420,8 @@ export {
|
|
|
410
420
|
JobsEnum,
|
|
411
421
|
LeadStatusEnum,
|
|
412
422
|
LeadStatusTranslationsEnum,
|
|
423
|
+
LeadTypesEnum,
|
|
424
|
+
LeadTypesTranslationsEnum,
|
|
413
425
|
LegalTermTypesEnum,
|
|
414
426
|
LegalTermTypesTranslationsEnum,
|
|
415
427
|
NewsCategoriesEnum,
|