cecon-interfaces 1.1.42 → 1.1.43
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +6 -6
- package/dist/company/interfaces/i-company.d.ts +4 -4
- package/dist/esm2022/company/entities/company.entity.mjs +6 -7
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +63 -0
- package/dist/esm2022/global-settings/entities/global-setting.entity.mjs +17 -0
- package/dist/esm2022/global-settings/entities/index.mjs +3 -0
- package/dist/esm2022/global-settings/index.mjs +3 -0
- package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +2 -0
- package/dist/esm2022/global-settings/interfaces/i-global-setting.mjs +2 -0
- package/dist/esm2022/global-settings/interfaces/index.mjs +2 -0
- package/dist/esm2022/index.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +85 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +52 -0
- package/dist/global-settings/entities/global-setting.entity.d.ts +6 -0
- package/dist/global-settings/entities/index.d.ts +2 -0
- package/dist/global-settings/index.d.ts +2 -0
- package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +11 -0
- package/dist/global-settings/interfaces/i-global-setting.d.ts +4 -0
- package/dist/global-settings/interfaces/index.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/app/entities/app.entity.js +0 -71
- package/dist/app/entities/index.js +0 -9
- package/dist/app/entities/natigo.entity.js +0 -28
- package/dist/app/entities/rabbit.entity.js +0 -45
- package/dist/app/enums/app-category.enum.js +0 -34
- package/dist/app/enums/app-type.enum.js +0 -10
- package/dist/app/enums/header-type.enum.js +0 -8
- package/dist/app/enums/index.js +0 -11
- package/dist/app/enums/mode.enum.js +0 -15
- package/dist/app/index.js +0 -20
- package/dist/app/interfaces/i-app.js +0 -2
- package/dist/app/interfaces/i-natigo.js +0 -2
- package/dist/app/interfaces/i-rabbit.js +0 -2
- package/dist/app/interfaces/index.js +0 -2
- package/dist/app/types/app-config.type.js +0 -2
- package/dist/app/types/index.js +0 -2
- package/dist/campaign/entities/campaign.entity.js +0 -30
- package/dist/campaign/entities/index.js +0 -5
- package/dist/campaign/enums/e-campaign-status.enum.js +0 -11
- package/dist/campaign/enums/index.js +0 -5
- package/dist/campaign/index.js +0 -19
- package/dist/campaign/interfaces/i-campaign.js +0 -2
- package/dist/campaign/interfaces/index.js +0 -2
- package/dist/company/entities/company.entity.js +0 -50
- package/dist/company/entities/index.js +0 -6
- package/dist/company/enums/index.js +0 -8
- package/dist/company/enums/keys.enum.js +0 -11
- package/dist/company/enums/message-type.enum.js +0 -9
- package/dist/company/index.js +0 -19
- package/dist/company/interfaces/i-company.js +0 -2
- package/dist/company/interfaces/index.js +0 -2
- package/dist/container/entities/container.entity.js +0 -39
- package/dist/container/entities/index.js +0 -5
- package/dist/container/index.js +0 -18
- package/dist/container/interfaces/i-container.js +0 -2
- package/dist/container/interfaces/index.js +0 -2
- package/dist/device/entities/device.entity.js +0 -34
- package/dist/device/entities/index.js +0 -8
- package/dist/device/entities/metadata.entity.js +0 -21
- package/dist/device/index.js +0 -18
- package/dist/device/interfaces/i-device.js +0 -2
- package/dist/device/interfaces/i-metadata.js +0 -2
- package/dist/device/interfaces/index.js +0 -3
- package/dist/feature/entities/feature.entity.js +0 -30
- package/dist/feature/entities/index.js +0 -5
- package/dist/feature/index.js +0 -18
- package/dist/feature/interfaces/i-feature.js +0 -2
- package/dist/feature/interfaces/index.js +0 -2
- package/dist/general/entities/address.entity.js +0 -28
- package/dist/general/entities/base.entity.js +0 -26
- package/dist/general/entities/carousel-image.entity.js +0 -22
- package/dist/general/entities/coords.entity.js +0 -21
- package/dist/general/entities/custom-variable.entity.js +0 -21
- package/dist/general/entities/delivery-area.entity.js +0 -27
- package/dist/general/entities/dellivery-area-fixed.entity.js +0 -24
- package/dist/general/entities/index.js +0 -49
- package/dist/general/entities/messager-channel.entity.js +0 -22
- package/dist/general/entities/mobyo-apiconfig.entity.js +0 -25
- package/dist/general/entities/origin.entity.js +0 -26
- package/dist/general/entities/payment-card.entity.js +0 -22
- package/dist/general/entities/payment-cash.entity.js +0 -20
- package/dist/general/entities/payment-method-option.entity.js +0 -35
- package/dist/general/entities/payment-method.entity.js +0 -31
- package/dist/general/entities/payment-pix.entity.js +0 -21
- package/dist/general/entities/payment-provider-agent.entity.js +0 -22
- package/dist/general/entities/payment-provider.entity.js +0 -33
- package/dist/general/entities/payment-token-data.entity.js +0 -26
- package/dist/general/entities/payment-token.entity.js +0 -25
- package/dist/general/entities/payment-wallet.entity.js +0 -20
- package/dist/general/entities/payment.entity.js +0 -29
- package/dist/general/entities/rating.entity.js +0 -23
- package/dist/general/entities/sponsorship-value.entity.js +0 -21
- package/dist/general/enums/bank-slip-status.enum.js +0 -11
- package/dist/general/enums/boolean-string.enum.js +0 -8
- package/dist/general/enums/doc-type.enum.js +0 -8
- package/dist/general/enums/e-discount-type.enum.js +0 -8
- package/dist/general/enums/fiscal-doc-model-code.enum.js +0 -15
- package/dist/general/enums/index.js +0 -35
- package/dist/general/enums/interval-type.enum.js +0 -9
- package/dist/general/enums/lead-origin.enum.js +0 -13
- package/dist/general/enums/os.enum.js +0 -14
- package/dist/general/enums/payment-channel.enum.js +0 -14
- package/dist/general/enums/payment-mode.enum.js +0 -9
- package/dist/general/enums/payment-status.enum.js +0 -15
- package/dist/general/enums/payment-type.enum.js +0 -26
- package/dist/general/enums/person-type.enum.js +0 -8
- package/dist/general/enums/platform.enum.js +0 -13
- package/dist/general/enums/providers.enum.js +0 -12
- package/dist/general/enums/sponsorship-values.enum.js +0 -10
- package/dist/general/index.js +0 -19
- package/dist/general/interfaces/i-address.js +0 -2
- package/dist/general/interfaces/i-base.js +0 -3
- package/dist/general/interfaces/i-carousel-image.js +0 -2
- package/dist/general/interfaces/i-coords.js +0 -2
- package/dist/general/interfaces/i-custom-variable.js +0 -3
- package/dist/general/interfaces/i-delivery-area-fixed.js +0 -2
- package/dist/general/interfaces/i-delivery-area.js +0 -2
- package/dist/general/interfaces/i-messager-channel.js +0 -2
- package/dist/general/interfaces/i-mobyo-api-config.js +0 -2
- package/dist/general/interfaces/i-origin.js +0 -2
- package/dist/general/interfaces/i-payment-card.js +0 -2
- package/dist/general/interfaces/i-payment-cash.js +0 -2
- package/dist/general/interfaces/i-payment-method-option.js +0 -2
- package/dist/general/interfaces/i-payment-method.js +0 -2
- package/dist/general/interfaces/i-payment-pix.js +0 -2
- package/dist/general/interfaces/i-payment-provider-agent.js +0 -2
- package/dist/general/interfaces/i-payment-provider.js +0 -2
- package/dist/general/interfaces/i-payment-token-data.js +0 -3
- package/dist/general/interfaces/i-payment-token.js +0 -3
- package/dist/general/interfaces/i-payment-wallet.js +0 -2
- package/dist/general/interfaces/i-payment.js +0 -2
- package/dist/general/interfaces/i-rating.js +0 -2
- package/dist/general/interfaces/i-sponsorship-value.js +0 -2
- package/dist/general/interfaces/index.js +0 -3
- package/dist/index.js +0 -39
- package/dist/installation/entities/index.js +0 -5
- package/dist/installation/entities/installation-app.entity.js +0 -25
- package/dist/installation/entities/installation.entity.js +0 -34
- package/dist/installation/enums/index.js +0 -5
- package/dist/installation/enums/status.enum.js +0 -15
- package/dist/installation/index.js +0 -19
- package/dist/installation/interfaces/i-installation-app.js +0 -2
- package/dist/installation/interfaces/i-installation.js +0 -2
- package/dist/installation/interfaces/index.js +0 -2
- package/dist/invite/entities/index.js +0 -5
- package/dist/invite/entities/invite.entity.js +0 -38
- package/dist/invite/enums/index.js +0 -5
- package/dist/invite/enums/status.enum.js +0 -11
- package/dist/invite/index.js +0 -19
- package/dist/invite/interfaces/i-invite.js +0 -2
- package/dist/invite/interfaces/index.js +0 -2
- package/dist/invoice/entities/index.js +0 -17
- package/dist/invoice/entities/invoice-bank-slip.entity.js +0 -27
- package/dist/invoice/entities/invoice-credit-card.entity.js +0 -25
- package/dist/invoice/entities/invoice-item.entity.js +0 -22
- package/dist/invoice/entities/invoice-log.entity.js +0 -23
- package/dist/invoice/entities/invoice-payer.entity.js +0 -26
- package/dist/invoice/entities/invoice-pix.entity.js +0 -23
- package/dist/invoice/entities/invoice.entity.js +0 -64
- package/dist/invoice/enums/index.js +0 -5
- package/dist/invoice/enums/invoices-status.enum.js +0 -17
- package/dist/invoice/index.js +0 -19
- package/dist/invoice/interfaces/i-invoice-bank-slip.js +0 -2
- package/dist/invoice/interfaces/i-invoice-credit-card.js +0 -2
- package/dist/invoice/interfaces/i-invoice-item.js +0 -2
- package/dist/invoice/interfaces/i-invoice-log.js +0 -2
- package/dist/invoice/interfaces/i-invoice-payer.js +0 -2
- package/dist/invoice/interfaces/i-invoice-pix.js +0 -2
- package/dist/invoice/interfaces/i-invoice.js +0 -2
- package/dist/invoice/interfaces/index.js +0 -2
- package/dist/iugu/entities/account-informations.entity.js +0 -21
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +0 -40
- package/dist/iugu/entities/customer.entity.js +0 -40
- package/dist/iugu/entities/index.js +0 -17
- package/dist/iugu/entities/invoice.entity.js +0 -82
- package/dist/iugu/entities/iugu-account.entity.js +0 -75
- package/dist/iugu/entities/payment-token-data.entity.js +0 -28
- package/dist/iugu/entities/payment-token.entity.js +0 -25
- package/dist/iugu/enums/index.js +0 -9
- package/dist/iugu/enums/iugu-auto-advance.enum.js +0 -10
- package/dist/iugu/enums/iugu-bank.enum.js +0 -222
- package/dist/iugu/enums/iugu-status-invoice.enum.js +0 -17
- package/dist/iugu/index.js +0 -20
- package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration-pix.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration.js +0 -2
- package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +0 -2
- package/dist/iugu/interfaces/i-account-informations.js +0 -2
- package/dist/iugu/interfaces/i-account-marketplace-split.js +0 -2
- package/dist/iugu/interfaces/i-account.js +0 -2
- package/dist/iugu/interfaces/i-change-plan-simulation.js +0 -2
- package/dist/iugu/interfaces/i-config-early-payment-discounts.js +0 -2
- package/dist/iugu/interfaces/i-customer.js +0 -2
- package/dist/iugu/interfaces/i-invoice.js +0 -2
- package/dist/iugu/interfaces/i-payment-token-data.js +0 -2
- package/dist/iugu/interfaces/i-payment-token.js +0 -2
- package/dist/iugu/interfaces/i-plan-feature.js +0 -2
- package/dist/iugu/interfaces/i-plan-price.js +0 -2
- package/dist/iugu/interfaces/i-plan.js +0 -2
- package/dist/iugu/interfaces/i-subscription-custom-variable.js +0 -2
- package/dist/iugu/interfaces/i-subscription-feature.js +0 -2
- package/dist/iugu/interfaces/i-subscription-features.js +0 -2
- package/dist/iugu/interfaces/i-subscription-log.js +0 -2
- package/dist/iugu/interfaces/i-subscription-recent-invoice.js +0 -2
- package/dist/iugu/interfaces/i-subscription-subitem.js +0 -2
- package/dist/iugu/interfaces/i-subscription.js +0 -2
- package/dist/iugu/interfaces/index.js +0 -2
- package/dist/iugu/responses/i-marketplace-list.js +0 -2
- package/dist/iugu/responses/i-marketplace-token.js +0 -2
- package/dist/iugu/responses/i-marketplace-tokens.js +0 -2
- package/dist/iugu/responses/index.js +0 -2
- package/dist/lead/entities/index.js +0 -5
- package/dist/lead/entities/lead.entity.js +0 -57
- package/dist/lead/enums/index.js +0 -5
- package/dist/lead/enums/lead-status.enum.js +0 -18
- package/dist/lead/index.js +0 -19
- package/dist/lead/interfaces/i-lead.js +0 -2
- package/dist/lead/interfaces/index.js +0 -2
- package/dist/member/entities/index.js +0 -5
- package/dist/member/entities/member.entity.js +0 -51
- package/dist/member/enums/index.js +0 -7
- package/dist/member/enums/member-rules.enum.js +0 -14
- package/dist/member/enums/member-type.enum.js +0 -9
- package/dist/member/index.js +0 -19
- package/dist/member/interfaces/i-member.js +0 -2
- package/dist/member/interfaces/index.js +0 -2
- package/dist/notification/entities/index.js +0 -7
- package/dist/notification/entities/notification-action.entity.js +0 -24
- package/dist/notification/entities/notification.entity.js +0 -34
- package/dist/notification/enums/action-type.enum.js +0 -9
- package/dist/notification/enums/category.enum.js +0 -17
- package/dist/notification/enums/index.js +0 -11
- package/dist/notification/enums/priority.enum.js +0 -10
- package/dist/notification/enums/status.enum.js +0 -11
- package/dist/notification/index.js +0 -19
- package/dist/notification/interfaces/i-notification-action.js +0 -2
- package/dist/notification/interfaces/i-notification.js +0 -2
- package/dist/notification/interfaces/index.js +0 -2
- package/dist/order/entities/additional-fees.entity.js +0 -21
- package/dist/order/entities/benefits.entity.js +0 -25
- package/dist/order/entities/cancellation.entity.js +0 -22
- package/dist/order/entities/customer-phone.entity.js +0 -23
- package/dist/order/entities/customer.entity.js +0 -27
- package/dist/order/entities/index.js +0 -39
- package/dist/order/entities/item-composition.entity.js +0 -25
- package/dist/order/entities/item-option.entity.js +0 -34
- package/dist/order/entities/item.entity.js +0 -40
- package/dist/order/entities/order.entity.js +0 -38
- package/dist/order/entities/payment-card.entity.js +0 -20
- package/dist/order/entities/payment-cash.entity.js +0 -20
- package/dist/order/entities/payment-method.entity.js +0 -31
- package/dist/order/entities/payment-pix.entity.js +0 -21
- package/dist/order/entities/payment-wallet.entity.js +0 -20
- package/dist/order/entities/payment.entity.js +0 -22
- package/dist/order/entities/scale-item.entity.js +0 -21
- package/dist/order/entities/scale-price.entity.js +0 -21
- package/dist/order/entities/total.entity.js +0 -24
- package/dist/order/enums/index.js +0 -6
- package/dist/order/enums/order-status.enum.js +0 -42
- package/dist/order/index.js +0 -19
- package/dist/order/interfaces/i-additional-fee.js +0 -2
- package/dist/order/interfaces/i-benefits.js +0 -2
- package/dist/order/interfaces/i-cancellation.js +0 -2
- package/dist/order/interfaces/i-customer-phone.js +0 -2
- package/dist/order/interfaces/i-customer.js +0 -2
- package/dist/order/interfaces/i-item-composition.js +0 -2
- package/dist/order/interfaces/i-item-option.js +0 -2
- package/dist/order/interfaces/i-item.js +0 -2
- package/dist/order/interfaces/i-order.js +0 -2
- package/dist/order/interfaces/i-payment-card.js +0 -2
- package/dist/order/interfaces/i-payment-cash.js +0 -2
- package/dist/order/interfaces/i-payment-method.js +0 -2
- package/dist/order/interfaces/i-payment-pix.js +0 -2
- package/dist/order/interfaces/i-payment-wallet.js +0 -2
- package/dist/order/interfaces/i-payment.js +0 -2
- package/dist/order/interfaces/i-scale-item.js +0 -2
- package/dist/order/interfaces/i-scale-price.js +0 -2
- package/dist/order/interfaces/i-total.js +0 -2
- package/dist/order/interfaces/index.js +0 -2
- package/dist/partner/entities/index.js +0 -5
- package/dist/partner/entities/partner.entity.js +0 -39
- package/dist/partner/index.js +0 -18
- package/dist/partner/interfaces/i-partner.js +0 -2
- package/dist/partner/interfaces/index.js +0 -2
- package/dist/plan/entities/feature.entity.js +0 -30
- package/dist/plan/entities/index.js +0 -7
- package/dist/plan/entities/plan.entity.js +0 -32
- package/dist/plan/enums/index.js +0 -7
- package/dist/plan/enums/plans-feature-type.enum.js +0 -8
- package/dist/plan/enums/plans-identifier.enum.js +0 -8
- package/dist/plan/index.js +0 -19
- package/dist/plan/interfaces/i-feature.js +0 -2
- package/dist/plan/interfaces/i-plan.js +0 -2
- package/dist/plan/interfaces/index.js +0 -2
- package/dist/purchases/entities/app-info.entity.js +0 -22
- package/dist/purchases/entities/index.js +0 -7
- package/dist/purchases/entities/purchase.entity.js +0 -44
- package/dist/purchases/index.js +0 -18
- package/dist/purchases/interfaces/i-app-info.js +0 -2
- package/dist/purchases/interfaces/i-purchase.js +0 -2
- package/dist/purchases/interfaces/index.js +0 -2
- package/dist/resume/entities/index.js +0 -17
- package/dist/resume/entities/resume-collection.entity.js +0 -21
- package/dist/resume/entities/resume-day.entity.js +0 -25
- package/dist/resume/entities/resume-hour.entity.js +0 -23
- package/dist/resume/entities/resume-month.entity.js +0 -25
- package/dist/resume/entities/resume-total.entity.js +0 -24
- package/dist/resume/entities/resume-year.entity.js +0 -24
- package/dist/resume/entities/resume.entity.js +0 -22
- package/dist/resume/index.js +0 -18
- package/dist/resume/interfaces/i-resume-collection-status.js +0 -2
- package/dist/resume/interfaces/i-resume-collection.js +0 -2
- package/dist/resume/interfaces/i-resume-day.js +0 -2
- package/dist/resume/interfaces/i-resume-hour.js +0 -2
- package/dist/resume/interfaces/i-resume-month.js +0 -2
- package/dist/resume/interfaces/i-resume-total.js +0 -2
- package/dist/resume/interfaces/i-resume-year.js +0 -2
- package/dist/resume/interfaces/i-resume.js +0 -2
- package/dist/resume/interfaces/index.js +0 -2
- package/dist/subscription/entities/index.js +0 -11
- package/dist/subscription/entities/subscription-company.entity.js +0 -25
- package/dist/subscription/entities/subscription-item.entity.js +0 -24
- package/dist/subscription/entities/subscription-log.entity.js +0 -23
- package/dist/subscription/entities/subscription.entity.js +0 -53
- package/dist/subscription/enums/index.js +0 -5
- package/dist/subscription/enums/subscription-status.enum.js +0 -14
- package/dist/subscription/index.js +0 -19
- package/dist/subscription/interfaces/i-subscription-company.js +0 -2
- package/dist/subscription/interfaces/i-subscription-item.js +0 -2
- package/dist/subscription/interfaces/i-subscription-log.js +0 -2
- package/dist/subscription/interfaces/i-subscription.js +0 -2
- package/dist/subscription/interfaces/index.js +0 -2
- package/dist/token/entities/index.js +0 -5
- package/dist/token/entities/token.entity.js +0 -32
- package/dist/token/index.js +0 -18
- package/dist/token/interfaces/i-token.js +0 -2
- package/dist/token/interfaces/index.js +0 -2
- package/dist/viacep/index.js +0 -17
- package/dist/viacep/interfaces/i-via-cep.js +0 -2
- package/dist/viacep/interfaces/index.js +0 -2
- package/dist/voucher/entities/index.js +0 -5
- package/dist/voucher/entities/voucher.entity.js +0 -58
- package/dist/voucher/enums/e-voucher-status.enum.js +0 -11
- package/dist/voucher/enums/index.js +0 -5
- package/dist/voucher/index.js +0 -19
- package/dist/voucher/interfaces/i-voucher.js +0 -2
- package/dist/voucher/interfaces/index.js +0 -2
@@ -10,26 +10,26 @@ import { ICompany } from '../interfaces';
|
|
10
10
|
export declare class CompanyEntity implements ICompany {
|
11
11
|
active: boolean;
|
12
12
|
address: AddressEntity;
|
13
|
-
bgImageUrl
|
14
|
-
config: MobyoApiConfigEntity;
|
13
|
+
bgImageUrl: string | null;
|
14
|
+
config: MobyoApiConfigEntity | null;
|
15
15
|
containerId: string;
|
16
16
|
createdAt: Date;
|
17
17
|
deliveryArea: DeliveryAreaEntity[];
|
18
|
-
deliveryAreaFixed
|
18
|
+
deliveryAreaFixed: DeliveryAreaFixedEntity | null;
|
19
19
|
doc: string;
|
20
|
-
phoneNumberNotification: string | null;
|
21
20
|
docType: DocTypeEnum;
|
22
21
|
email: string;
|
23
22
|
fullName: string;
|
24
23
|
id: string;
|
25
|
-
imageUrl
|
24
|
+
imageUrl: string | null;
|
26
25
|
internationalCode: string;
|
27
|
-
logoUrl
|
26
|
+
logoUrl: string | null;
|
28
27
|
messagerChannels: MessagerChannelEntity[];
|
29
28
|
name: string;
|
30
29
|
origin: OriginEntity;
|
31
30
|
paymentProvider: PaymentProviderEntity;
|
32
31
|
phoneNumber: string;
|
32
|
+
phoneNumberNotification: string | null;
|
33
33
|
sandbox: boolean;
|
34
34
|
tags: string[];
|
35
35
|
updatedAt: Date;
|
@@ -2,8 +2,8 @@ import { DocTypeEnum, IAddress, IDeliveryArea, IDeliveryAreaFixed, IMessagerChan
|
|
2
2
|
export interface ICompany {
|
3
3
|
active: boolean;
|
4
4
|
address: IAddress;
|
5
|
-
bgImageUrl
|
6
|
-
config: IMobyoApiConfig;
|
5
|
+
bgImageUrl: string | null;
|
6
|
+
config: IMobyoApiConfig | null;
|
7
7
|
containerId: string;
|
8
8
|
createdAt: Date;
|
9
9
|
deliveryArea: IDeliveryArea[];
|
@@ -14,9 +14,9 @@ export interface ICompany {
|
|
14
14
|
email: string;
|
15
15
|
fullName: string;
|
16
16
|
id: string;
|
17
|
-
imageUrl
|
17
|
+
imageUrl: string | null;
|
18
18
|
internationalCode: string;
|
19
|
-
logoUrl
|
19
|
+
logoUrl: string | null;
|
20
20
|
messagerChannels: IMessagerChannel[];
|
21
21
|
name: string;
|
22
22
|
origin: IOrigin;
|
@@ -1,32 +1,31 @@
|
|
1
1
|
import { DocTypeEnum } from '../../general';
|
2
2
|
import { AddressEntity } from '../../general/entities/address.entity';
|
3
|
-
import { MobyoApiConfigEntity } from '../../general/entities/mobyo-apiconfig.entity';
|
4
3
|
import { OriginEntity } from '../../general/entities/origin.entity';
|
5
4
|
import { PaymentProviderEntity } from '../../general/entities/payment-provider.entity';
|
6
5
|
export class CompanyEntity {
|
7
6
|
// #region Properties (26)
|
8
7
|
active = false;
|
9
8
|
address = new AddressEntity();
|
10
|
-
bgImageUrl =
|
11
|
-
config =
|
9
|
+
bgImageUrl = null;
|
10
|
+
config = null;
|
12
11
|
containerId = '';
|
13
12
|
createdAt = new Date();
|
14
13
|
deliveryArea = [];
|
15
14
|
deliveryAreaFixed = null;
|
16
15
|
doc = '';
|
17
|
-
phoneNumberNotification = null;
|
18
16
|
docType = DocTypeEnum.CNPJ;
|
19
17
|
email = '';
|
20
18
|
fullName = '';
|
21
19
|
id = '';
|
22
|
-
imageUrl =
|
20
|
+
imageUrl = null;
|
23
21
|
internationalCode = '+55';
|
24
|
-
logoUrl =
|
22
|
+
logoUrl = null;
|
25
23
|
messagerChannels = [];
|
26
24
|
name = '';
|
27
25
|
origin = new OriginEntity();
|
28
26
|
paymentProvider = new PaymentProviderEntity();
|
29
27
|
phoneNumber = '';
|
28
|
+
phoneNumberNotification = null;
|
30
29
|
sandbox = false;
|
31
30
|
tags = [];
|
32
31
|
updatedAt = new Date();
|
@@ -43,4 +42,4 @@ export class CompanyEntity {
|
|
43
42
|
}
|
44
43
|
}
|
45
44
|
}
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9lbnRpd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lZ2lvbiBQcm9wZXJ0aWVzICgyNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxDb21wYW55RW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb21wYW55LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBhbnkvaW50ZXJmYWNlcy9pLWNvbXBhbnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XHJcbiAgRG9jVHlwZUVudW0sXHJcbiAgSUFkZHJlc3MsXHJcbiAgSURlbGl2ZXJ5QXJlYSxcclxuICBJRGVsaXZlcnlBcmVhRml4ZWQsXHJcbiAgSU1lc3NhZ2VyQ2hhbm5lbCxcclxuICBJTW9ieW9BcGlDb25maWcsXHJcbiAgSU9yaWdpbixcclxuICBJUGF5bWVudFByb3ZpZGVyLFxyXG59IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJQ29tcGFueSB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ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 @@
|
|
1
|
+
export class GlobalSettingIuguEntity {
|
2
|
+
// #region Properties (9)
|
3
|
+
/**
|
4
|
+
* Prazo máximo para pagamento do boleto após o vencimento.
|
5
|
+
* O prazo máximo para pagamento deve ser entre "1" e "30"
|
6
|
+
* dias após a data de vencimento.
|
7
|
+
*/
|
8
|
+
bankSlipExtraDue = 1;
|
9
|
+
/**
|
10
|
+
* Se true, garante que a data de vencimento seja apenas em dias de semana,
|
11
|
+
* e não em sábados ou domingos.
|
12
|
+
*/
|
13
|
+
ensureWorkdayDueDate = true;
|
14
|
+
/**
|
15
|
+
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
16
|
+
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
17
|
+
* disponível para ser paga até às 23:59:59 do dia de vencimento.
|
18
|
+
*/
|
19
|
+
expiresIn = 0;
|
20
|
+
/**
|
21
|
+
* Habilitar ou Desabilitar multa por atraso de pagamento
|
22
|
+
*/
|
23
|
+
fines = true;
|
24
|
+
/**
|
25
|
+
* Determine a multa % a ser cobrada para pagamentos
|
26
|
+
* efetuados após a data de vencimento
|
27
|
+
*/
|
28
|
+
latePaymentFine = 2;
|
29
|
+
/**
|
30
|
+
* Determine a multa por valor fixo a ser
|
31
|
+
* cobrada para pagamentos efetuados após a data de vencimento
|
32
|
+
*/
|
33
|
+
latePaymentFineCents = 0;
|
34
|
+
/**
|
35
|
+
* determina se cobra ou não juros por dia de atraso.
|
36
|
+
* 1% ao mês pro rata. Necessário passar a multa como true
|
37
|
+
*/
|
38
|
+
perDayInterest = true;
|
39
|
+
/**
|
40
|
+
* Juros a ser cobrado por dia em centavos.
|
41
|
+
* Sobrepõem o per_day_interest_value.
|
42
|
+
* O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
|
43
|
+
*/
|
44
|
+
perDayInterestCents = 0;
|
45
|
+
/**
|
46
|
+
* Informar o valor percentual de juros que deseja cobrar.
|
47
|
+
* Não se aplica quando os valores diários de mora
|
48
|
+
* calculados são menores que 1 centavo.
|
49
|
+
*/
|
50
|
+
perDayInterestValue = 1;
|
51
|
+
// #endregion Properties (9)
|
52
|
+
// #region Constructors (1)
|
53
|
+
constructor(data) {
|
54
|
+
if (data) {
|
55
|
+
for (let key in data) {
|
56
|
+
if (data.hasOwnProperty(key) && key in this) {
|
57
|
+
this[key] = data[key];
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFsLXNldHRpbmctaXVndS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2VudGl0aWVzL2dsb2JhbC1zZXR0aW5nLWl1Z3UuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyx1QkFBdUI7SUFDbEMseUJBQXlCO0lBRXpCOzs7O09BSUc7SUFDSSxnQkFBZ0IsR0FBVyxDQUFDLENBQUM7SUFDcEM7OztPQUdHO0lBQ0ksb0JBQW9CLEdBQVksSUFBSSxDQUFDO0lBQzVDOzs7O09BSUc7SUFDSSxTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQzdCOztPQUVHO0lBQ0ksS0FBSyxHQUFZLElBQUksQ0FBQztJQUM3Qjs7O09BR0c7SUFDSSxlQUFlLEdBQVcsQ0FBQyxDQUFDO0lBQ25DOzs7T0FHRztJQUNJLG9CQUFvQixHQUFXLENBQUMsQ0FBQztJQUN4Qzs7O09BR0c7SUFDSSxjQUFjLEdBQVksSUFBSSxDQUFDO0lBQ3RDOzs7O09BSUc7SUFDSSxtQkFBbUIsR0FBVyxDQUFDLENBQUM7SUFDdkM7Ozs7T0FJRztJQUNJLG1CQUFtQixHQUFXLENBQUMsQ0FBQztJQUV2Qyw0QkFBNEI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FueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { GlobalSettingIuguEntity } from './global-setting-iugu.entity';
|
2
|
+
export class GlobalSettingEntity {
|
3
|
+
// #region Properties (1)
|
4
|
+
iugu = new GlobalSettingIuguEntity();
|
5
|
+
// #endregion Properties (1)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFsLXNldHRpbmcuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dsb2JhbC1zZXR0aW5ncy9lbnRpdGllcy9nbG9iYWwtc2V0dGluZy5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFFdkUsTUFBTSxPQUFPLG1CQUFtQjtJQUM5Qix5QkFBeUI7SUFFbEIsSUFBSSxHQUE0QixJQUFJLHVCQUF1QixFQUFFLENBQUM7SUFFckUsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQW1DO1FBQzdDLElBQUksSUFBSSxFQUFFO1lBQ1IsS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ3BCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxH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ugu.entity';
|
2
|
+
export { GlobalSettingEntity } from './global-setting.entity';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgR2xvYmFsU2V0dGluZ0l1Z3VFbnRpdHkgfSBmcm9tICcuL2dsb2JhbC1zZXR0aW5nLWl1Z3UuZW50aXR5JztcclxuZXhwb3J0IHsgR2xvYmFsU2V0dGluZ0VudGl0eSB9IGZyb20gJy4vZ2xvYmFsLXNldHRpbmcuZW50aXR5JztcclxuIl19
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './interfaces';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2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udGVudCI6WyJpbXBvcnQgeyBJR2xvYmFsU2V0dGluZ0l1Z3UgfSBmcm9tICcuL2ktZ2xvYmFsLXNldHRpbmctaXVndSc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElHbG9iYWxTZXR0aW5nIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDEpXHJcblxyXG4gIGl1Z3U6IElHbG9iYWxTZXR0aW5nSXVndTtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElHbG9iYWxTZXR0aW5nIH0gZnJvbSAnLi9pLWdsb2JhbC1zZXR0aW5nJztcclxuZXhwb3J0IHsgSUdsb2JhbFNldHRpbmdJdWd1IH0gZnJvbSAnLi9pLWdsb2JhbC1zZXR0aW5nLWl1Z3UnO1xyXG4iXX0=
|
package/dist/esm2022/index.mjs
CHANGED
@@ -5,6 +5,7 @@ export * from './container';
|
|
5
5
|
export * from './device';
|
6
6
|
export * from './feature';
|
7
7
|
export * from './general';
|
8
|
+
export * from './global-settings';
|
8
9
|
export * from './installation';
|
9
10
|
export * from './invite';
|
10
11
|
export * from './invoice';
|
@@ -21,4 +22,4 @@ export * from './subscription';
|
|
21
22
|
export * from './token';
|
22
23
|
export * from './viacep';
|
23
24
|
export * from './voucher';
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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KiBmcm9tICcuL2dlbmVyYWwnO1xuZXhwb3J0ICogZnJvbSAnLi9nbG9iYWwtc2V0dGluZ3MnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnN0YWxsYXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9pbnZpdGUnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnZvaWNlJztcbmV4cG9ydCAqIGZyb20gJy4vaXVndSc7XG5leHBvcnQgKiBmcm9tICcuL2xlYWQnO1xuZXhwb3J0ICogZnJvbSAnLi9tZW1iZXInO1xuZXhwb3J0ICogZnJvbSAnLi9ub3RpZmljYXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9vcmRlcic7XG5leHBvcnQgKiBmcm9tICcuL3BhcnRuZXInO1xuZXhwb3J0ICogZnJvbSAnLi9wbGFuJztcbmV4cG9ydCAqIGZyb20gJy4vcHVyY2hhc2VzJztcbmV4cG9ydCAqIGZyb20gJy4vcmVzdW1lJztcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vdG9rZW4nO1xuZXhwb3J0ICogZnJvbSAnLi92aWFjZXAnO1xuZXhwb3J0ICogZnJvbSAnLi92b3VjaGVyJztcbiJdfQ==
|
@@ -851,26 +851,26 @@ class CompanyEntity {
|
|
851
851
|
// #region Properties (26)
|
852
852
|
active = false;
|
853
853
|
address = new AddressEntity();
|
854
|
-
bgImageUrl =
|
855
|
-
config =
|
854
|
+
bgImageUrl = null;
|
855
|
+
config = null;
|
856
856
|
containerId = '';
|
857
857
|
createdAt = new Date();
|
858
858
|
deliveryArea = [];
|
859
859
|
deliveryAreaFixed = null;
|
860
860
|
doc = '';
|
861
|
-
phoneNumberNotification = null;
|
862
861
|
docType = DocTypeEnum.CNPJ;
|
863
862
|
email = '';
|
864
863
|
fullName = '';
|
865
864
|
id = '';
|
866
|
-
imageUrl =
|
865
|
+
imageUrl = null;
|
867
866
|
internationalCode = '+55';
|
868
|
-
logoUrl =
|
867
|
+
logoUrl = null;
|
869
868
|
messagerChannels = [];
|
870
869
|
name = '';
|
871
870
|
origin = new OriginEntity();
|
872
871
|
paymentProvider = new PaymentProviderEntity();
|
873
872
|
phoneNumber = '';
|
873
|
+
phoneNumberNotification = null;
|
874
874
|
sandbox = false;
|
875
875
|
tags = [];
|
876
876
|
updatedAt = new Date();
|
@@ -1000,6 +1000,85 @@ class FeatureEntity {
|
|
1000
1000
|
}
|
1001
1001
|
}
|
1002
1002
|
|
1003
|
+
class GlobalSettingIuguEntity {
|
1004
|
+
// #region Properties (9)
|
1005
|
+
/**
|
1006
|
+
* Prazo máximo para pagamento do boleto após o vencimento.
|
1007
|
+
* O prazo máximo para pagamento deve ser entre "1" e "30"
|
1008
|
+
* dias após a data de vencimento.
|
1009
|
+
*/
|
1010
|
+
bankSlipExtraDue = 1;
|
1011
|
+
/**
|
1012
|
+
* Se true, garante que a data de vencimento seja apenas em dias de semana,
|
1013
|
+
* e não em sábados ou domingos.
|
1014
|
+
*/
|
1015
|
+
ensureWorkdayDueDate = true;
|
1016
|
+
/**
|
1017
|
+
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
1018
|
+
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
1019
|
+
* disponível para ser paga até às 23:59:59 do dia de vencimento.
|
1020
|
+
*/
|
1021
|
+
expiresIn = 0;
|
1022
|
+
/**
|
1023
|
+
* Habilitar ou Desabilitar multa por atraso de pagamento
|
1024
|
+
*/
|
1025
|
+
fines = true;
|
1026
|
+
/**
|
1027
|
+
* Determine a multa % a ser cobrada para pagamentos
|
1028
|
+
* efetuados após a data de vencimento
|
1029
|
+
*/
|
1030
|
+
latePaymentFine = 2;
|
1031
|
+
/**
|
1032
|
+
* Determine a multa por valor fixo a ser
|
1033
|
+
* cobrada para pagamentos efetuados após a data de vencimento
|
1034
|
+
*/
|
1035
|
+
latePaymentFineCents = 0;
|
1036
|
+
/**
|
1037
|
+
* determina se cobra ou não juros por dia de atraso.
|
1038
|
+
* 1% ao mês pro rata. Necessário passar a multa como true
|
1039
|
+
*/
|
1040
|
+
perDayInterest = true;
|
1041
|
+
/**
|
1042
|
+
* Juros a ser cobrado por dia em centavos.
|
1043
|
+
* Sobrepõem o per_day_interest_value.
|
1044
|
+
* O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
|
1045
|
+
*/
|
1046
|
+
perDayInterestCents = 0;
|
1047
|
+
/**
|
1048
|
+
* Informar o valor percentual de juros que deseja cobrar.
|
1049
|
+
* Não se aplica quando os valores diários de mora
|
1050
|
+
* calculados são menores que 1 centavo.
|
1051
|
+
*/
|
1052
|
+
perDayInterestValue = 1;
|
1053
|
+
// #endregion Properties (9)
|
1054
|
+
// #region Constructors (1)
|
1055
|
+
constructor(data) {
|
1056
|
+
if (data) {
|
1057
|
+
for (let key in data) {
|
1058
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1059
|
+
this[key] = data[key];
|
1060
|
+
}
|
1061
|
+
}
|
1062
|
+
}
|
1063
|
+
}
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
class GlobalSettingEntity {
|
1067
|
+
// #region Properties (1)
|
1068
|
+
iugu = new GlobalSettingIuguEntity();
|
1069
|
+
// #endregion Properties (1)
|
1070
|
+
// #region Constructors (1)
|
1071
|
+
constructor(data) {
|
1072
|
+
if (data) {
|
1073
|
+
for (let key in data) {
|
1074
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1075
|
+
this[key] = data[key];
|
1076
|
+
}
|
1077
|
+
}
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
}
|
1081
|
+
|
1003
1082
|
var ESubscriptionStatus;
|
1004
1083
|
(function (ESubscriptionStatus) {
|
1005
1084
|
ESubscriptionStatus["ACTIVE"] = "ACTIVE";
|
@@ -2965,5 +3044,5 @@ class VoucherEntity {
|
|
2965
3044
|
* Generated bundle index. Do not edit.
|
2966
3045
|
*/
|
2967
3046
|
|
2968
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, ECampaignStatus, ECompanyKeys, ECompanyMessageType, EDiscountType, EFiscalDocModelCode, EInstallationStatus, EInvoiceStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentChannelEnum, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentModeEnum, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, PlatfomrEnum, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionCompanyEntity, SubscriptionEntity, SubscriptionItemEntity, SubscriptionLogEntity, TokenEntity, VoucherEntity };
|
3047
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, ECampaignStatus, ECompanyKeys, ECompanyMessageType, EDiscountType, EFiscalDocModelCode, EInstallationStatus, EInvoiceStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, GlobalSettingEntity, GlobalSettingIuguEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentChannelEnum, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentModeEnum, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, PlatfomrEnum, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionCompanyEntity, SubscriptionEntity, SubscriptionItemEntity, SubscriptionLogEntity, TokenEntity, VoucherEntity };
|
2969
3048
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|