@vini-wine/core-enums 1.0.16 → 1.0.18
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 +127 -2
- package/dist/index.d.ts +127 -2
- package/dist/index.js +79 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +77 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -33,7 +33,8 @@ declare enum BottleSizeEnum {
|
|
|
33
33
|
declare enum ContactPointTypeEnum {
|
|
34
34
|
UNKNOWN = "unknown",
|
|
35
35
|
SALES = "sales",
|
|
36
|
-
LOGISTICS = "logistics"
|
|
36
|
+
LOGISTICS = "logistics",
|
|
37
|
+
BILLING = "billing"
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
declare enum ContactRequestStatusEnum {
|
|
@@ -730,6 +731,114 @@ declare enum PackageEnum {
|
|
|
730
731
|
OWC_24 = "owc-24"
|
|
731
732
|
}
|
|
732
733
|
|
|
734
|
+
declare enum PermissionEnum {
|
|
735
|
+
USER__VIEW = "user-view",
|
|
736
|
+
USER__DETAILS = "user-details",
|
|
737
|
+
USER__EDIT = "user-edit",
|
|
738
|
+
/**
|
|
739
|
+
* User
|
|
740
|
+
*/
|
|
741
|
+
ROLE__VIEW = "role-view",
|
|
742
|
+
/**
|
|
743
|
+
* Customer
|
|
744
|
+
*/
|
|
745
|
+
CUSTOMER_VIEW = "customer-view",
|
|
746
|
+
CUSTOMER__CREATE = "customer-create",
|
|
747
|
+
CUSTOMER__EDIT = "customer-edit",
|
|
748
|
+
/**
|
|
749
|
+
* Supplier
|
|
750
|
+
*/
|
|
751
|
+
SUPPLIER__VIEW = "supplier-view",
|
|
752
|
+
SUPPLIER__CREATE = "supplier-create",
|
|
753
|
+
SUPPLIER__EDIT = "supplier-edit",
|
|
754
|
+
/**
|
|
755
|
+
* Upload
|
|
756
|
+
*/
|
|
757
|
+
UPLOAD__VIEW = "upload-view",
|
|
758
|
+
UPLOAD__CREATE = "upload-create",
|
|
759
|
+
UPLOAD__EDIT = "upload-edit",
|
|
760
|
+
UPLOAD__ANALYTICS = "upload-analytics",
|
|
761
|
+
/**
|
|
762
|
+
* Offer
|
|
763
|
+
*/
|
|
764
|
+
OFFER__VIEW = "offer-view",
|
|
765
|
+
OFFER__EDIT = "offer-edit",
|
|
766
|
+
OFFER__REQUEST = "offer-request",
|
|
767
|
+
OFFER__DOWNLOAD = "offer-download",
|
|
768
|
+
/**
|
|
769
|
+
* Invite User
|
|
770
|
+
*/
|
|
771
|
+
INVITE_USER__INVITE = "invite_user-invite",
|
|
772
|
+
INVITE_USER__VIEW = "invite_user-view",
|
|
773
|
+
/**
|
|
774
|
+
* Offer Request
|
|
775
|
+
*/
|
|
776
|
+
OFFER_REQUEST__VIEW = "offer_request-view",
|
|
777
|
+
OFFER_REQUEST__EDIT = "offer_request-edit",
|
|
778
|
+
/**
|
|
779
|
+
* Contact Point
|
|
780
|
+
*/
|
|
781
|
+
CONTACT_POINT__VIEW = "contact_point-view",
|
|
782
|
+
CONTACT_POINT__EDIT = "contact_point-edit",
|
|
783
|
+
CONTACT_POINT__CREATE = "contact_point-create",
|
|
784
|
+
/**
|
|
785
|
+
* Offer Alert
|
|
786
|
+
*/
|
|
787
|
+
OFFER_ALERT__VIEW = "offer_alert-view",
|
|
788
|
+
OFFER_ALERT__EDIT = "offer_alert-edit",
|
|
789
|
+
OFFER_ALERT__CREATE = "offer_alert-create",
|
|
790
|
+
/**
|
|
791
|
+
* Organisation
|
|
792
|
+
*/
|
|
793
|
+
ORGANISATION__VIEW = "organisation-view",
|
|
794
|
+
ORGANISATION__DETAILS = "organisation-details",
|
|
795
|
+
ORGANISATION__EDIT = "organisation-edit",
|
|
796
|
+
/**
|
|
797
|
+
* Organisation Settings
|
|
798
|
+
*/
|
|
799
|
+
ORGANISATION_SETTINGS__VIEW = "organisation_settings-view",
|
|
800
|
+
ORGANISATION_SETTINGS__EDIT = "organisation_settings-edit",
|
|
801
|
+
/**
|
|
802
|
+
* Margin
|
|
803
|
+
*/
|
|
804
|
+
MARGIN__VIEW = "margin-view",
|
|
805
|
+
MARGIN__EDIT = "margin-edit",
|
|
806
|
+
MARGIN__CREATE = "margin-create",
|
|
807
|
+
MARGIN__DELETE = "margin-delete",
|
|
808
|
+
/**
|
|
809
|
+
* Order
|
|
810
|
+
*/
|
|
811
|
+
ORDER__VIEW = "order-view",
|
|
812
|
+
ORDER__EDIT = "order-edit",
|
|
813
|
+
ORDER__REQUEST = "order-request",
|
|
814
|
+
/**
|
|
815
|
+
* Contact Request Sales
|
|
816
|
+
*/
|
|
817
|
+
CONTACT_REQUEST_SALES__VIEW = "contact_request_sales-view",
|
|
818
|
+
CONTACT_REQUEST_SALES__EDIT = "contact_request_sales-edit",
|
|
819
|
+
/**
|
|
820
|
+
* Contact Request Support
|
|
821
|
+
*/
|
|
822
|
+
CONTACT_REQUEST_SUPPORT__VIEW = "contact_request_support-view",
|
|
823
|
+
CONTACT_REQUEST_SUPPORT__EDIT = "contact_request_support-edit",
|
|
824
|
+
/**
|
|
825
|
+
* General Dashboard
|
|
826
|
+
*/
|
|
827
|
+
GENERAL_DASHBOARD__VIEW = "general_dashboard-view",
|
|
828
|
+
/**
|
|
829
|
+
* Integration Exact
|
|
830
|
+
*/
|
|
831
|
+
INTEGRATION_EXACT__VIEW = "integration_exact-view",
|
|
832
|
+
INTEGRATION_EXACT__EDIT = "integration_exact-edit",
|
|
833
|
+
INTEGRATION_EXACT__CREATE = "integration_exact-create",
|
|
834
|
+
INTEGRATION_EXACT__DELETE = "integration_exact-delete",
|
|
835
|
+
/**
|
|
836
|
+
* Pricing Plan
|
|
837
|
+
*/
|
|
838
|
+
PRICING_PLAN__VIEW = "pricing_plan-view",
|
|
839
|
+
PRICING_PLAN__EDIT = "pricing_plan-edit"
|
|
840
|
+
}
|
|
841
|
+
|
|
733
842
|
declare enum PlanEnum {
|
|
734
843
|
FREEMIUM = "freemium",
|
|
735
844
|
STARTER = "starter",
|
|
@@ -764,6 +873,22 @@ declare enum PlanFeatureEnum {
|
|
|
764
873
|
FEATURE_24 = "feature-24"
|
|
765
874
|
}
|
|
766
875
|
|
|
876
|
+
declare enum RoleEnum {
|
|
877
|
+
SUPER_USER = "super-user",
|
|
878
|
+
SUPER_ADMIN = "super-admin",
|
|
879
|
+
ADMIN = "admin",
|
|
880
|
+
SALES_MANAGER = "sales-manager",
|
|
881
|
+
SALES = "sales",
|
|
882
|
+
PURCHASE_MANAGER = "purchase-manager",
|
|
883
|
+
PURCHASE = "purchase",
|
|
884
|
+
LOGISTIC_MANAGER = "logistic-manager",
|
|
885
|
+
LOGISTIC = "logistic",
|
|
886
|
+
UPLOAD_MANAGER = "upload-manager",
|
|
887
|
+
UPLOAD = "upload",
|
|
888
|
+
SUPPORT_MANAGER = "support-manager",
|
|
889
|
+
SUPPORT = "support"
|
|
890
|
+
}
|
|
891
|
+
|
|
767
892
|
declare enum StatusCodeEnum {
|
|
768
893
|
UNAUTHORIZED = 401,
|
|
769
894
|
FORBIDDEN = 403,
|
|
@@ -1301,4 +1426,4 @@ declare enum WineTypeEnum {
|
|
|
1301
1426
|
UNKNOWN = "unknown"
|
|
1302
1427
|
}
|
|
1303
1428
|
|
|
1304
|
-
export { ApiOperationStatusEnum, BottleSizeEnum, ContactPointTypeEnum, ContactRequestStatusEnum, ContactRequestTypeEnum, CookieEnum, CountryEnum, CurrencyCodeEnum, CurrencyRateSourceEnum, DateTimeFormatEnum, EnvironmentEnum, FileTypeEnum, FilterOperatorEnum, GenderEnum, ImageTypeEnum, ImageVariationEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, LocaleEnum, LocationTypeEnum, NotificationChannelEnum, NotificationTypeEnum, OfferAlertFilterCriteriaFieldEnum, OfferAlertTimelineActionEnum, OfferRequestActionEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestStatusEnum, OfferRequestTimelineActionEnum, OrderItemTypeEnum, OrderStatusEnum, OrganisationStatusEnum, OrganisationUserInvitationStatusEnum, PackageEnum, PlanEnum, PlanFeatureEnum, StatusCodeEnum, TimezoneEnum, UploadFileHeaderEnum, UploadStatusEnum, UploadTypeEnum, UploadVisibilityTypeEnum, UserOrganisationStatusEnum, UserStatusEnum, VintageRatingEnum, VintageScoreAuthorEnum, WineTypeEnum };
|
|
1429
|
+
export { ApiOperationStatusEnum, BottleSizeEnum, ContactPointTypeEnum, ContactRequestStatusEnum, ContactRequestTypeEnum, CookieEnum, CountryEnum, CurrencyCodeEnum, CurrencyRateSourceEnum, DateTimeFormatEnum, EnvironmentEnum, FileTypeEnum, FilterOperatorEnum, GenderEnum, ImageTypeEnum, ImageVariationEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, LocaleEnum, LocationTypeEnum, NotificationChannelEnum, NotificationTypeEnum, OfferAlertFilterCriteriaFieldEnum, OfferAlertTimelineActionEnum, OfferRequestActionEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestStatusEnum, OfferRequestTimelineActionEnum, OrderItemTypeEnum, OrderStatusEnum, OrganisationStatusEnum, OrganisationUserInvitationStatusEnum, PackageEnum, PermissionEnum, PlanEnum, PlanFeatureEnum, RoleEnum, StatusCodeEnum, TimezoneEnum, UploadFileHeaderEnum, UploadStatusEnum, UploadTypeEnum, UploadVisibilityTypeEnum, UserOrganisationStatusEnum, UserStatusEnum, VintageRatingEnum, VintageScoreAuthorEnum, WineTypeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,8 @@ declare enum BottleSizeEnum {
|
|
|
33
33
|
declare enum ContactPointTypeEnum {
|
|
34
34
|
UNKNOWN = "unknown",
|
|
35
35
|
SALES = "sales",
|
|
36
|
-
LOGISTICS = "logistics"
|
|
36
|
+
LOGISTICS = "logistics",
|
|
37
|
+
BILLING = "billing"
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
declare enum ContactRequestStatusEnum {
|
|
@@ -730,6 +731,114 @@ declare enum PackageEnum {
|
|
|
730
731
|
OWC_24 = "owc-24"
|
|
731
732
|
}
|
|
732
733
|
|
|
734
|
+
declare enum PermissionEnum {
|
|
735
|
+
USER__VIEW = "user-view",
|
|
736
|
+
USER__DETAILS = "user-details",
|
|
737
|
+
USER__EDIT = "user-edit",
|
|
738
|
+
/**
|
|
739
|
+
* User
|
|
740
|
+
*/
|
|
741
|
+
ROLE__VIEW = "role-view",
|
|
742
|
+
/**
|
|
743
|
+
* Customer
|
|
744
|
+
*/
|
|
745
|
+
CUSTOMER_VIEW = "customer-view",
|
|
746
|
+
CUSTOMER__CREATE = "customer-create",
|
|
747
|
+
CUSTOMER__EDIT = "customer-edit",
|
|
748
|
+
/**
|
|
749
|
+
* Supplier
|
|
750
|
+
*/
|
|
751
|
+
SUPPLIER__VIEW = "supplier-view",
|
|
752
|
+
SUPPLIER__CREATE = "supplier-create",
|
|
753
|
+
SUPPLIER__EDIT = "supplier-edit",
|
|
754
|
+
/**
|
|
755
|
+
* Upload
|
|
756
|
+
*/
|
|
757
|
+
UPLOAD__VIEW = "upload-view",
|
|
758
|
+
UPLOAD__CREATE = "upload-create",
|
|
759
|
+
UPLOAD__EDIT = "upload-edit",
|
|
760
|
+
UPLOAD__ANALYTICS = "upload-analytics",
|
|
761
|
+
/**
|
|
762
|
+
* Offer
|
|
763
|
+
*/
|
|
764
|
+
OFFER__VIEW = "offer-view",
|
|
765
|
+
OFFER__EDIT = "offer-edit",
|
|
766
|
+
OFFER__REQUEST = "offer-request",
|
|
767
|
+
OFFER__DOWNLOAD = "offer-download",
|
|
768
|
+
/**
|
|
769
|
+
* Invite User
|
|
770
|
+
*/
|
|
771
|
+
INVITE_USER__INVITE = "invite_user-invite",
|
|
772
|
+
INVITE_USER__VIEW = "invite_user-view",
|
|
773
|
+
/**
|
|
774
|
+
* Offer Request
|
|
775
|
+
*/
|
|
776
|
+
OFFER_REQUEST__VIEW = "offer_request-view",
|
|
777
|
+
OFFER_REQUEST__EDIT = "offer_request-edit",
|
|
778
|
+
/**
|
|
779
|
+
* Contact Point
|
|
780
|
+
*/
|
|
781
|
+
CONTACT_POINT__VIEW = "contact_point-view",
|
|
782
|
+
CONTACT_POINT__EDIT = "contact_point-edit",
|
|
783
|
+
CONTACT_POINT__CREATE = "contact_point-create",
|
|
784
|
+
/**
|
|
785
|
+
* Offer Alert
|
|
786
|
+
*/
|
|
787
|
+
OFFER_ALERT__VIEW = "offer_alert-view",
|
|
788
|
+
OFFER_ALERT__EDIT = "offer_alert-edit",
|
|
789
|
+
OFFER_ALERT__CREATE = "offer_alert-create",
|
|
790
|
+
/**
|
|
791
|
+
* Organisation
|
|
792
|
+
*/
|
|
793
|
+
ORGANISATION__VIEW = "organisation-view",
|
|
794
|
+
ORGANISATION__DETAILS = "organisation-details",
|
|
795
|
+
ORGANISATION__EDIT = "organisation-edit",
|
|
796
|
+
/**
|
|
797
|
+
* Organisation Settings
|
|
798
|
+
*/
|
|
799
|
+
ORGANISATION_SETTINGS__VIEW = "organisation_settings-view",
|
|
800
|
+
ORGANISATION_SETTINGS__EDIT = "organisation_settings-edit",
|
|
801
|
+
/**
|
|
802
|
+
* Margin
|
|
803
|
+
*/
|
|
804
|
+
MARGIN__VIEW = "margin-view",
|
|
805
|
+
MARGIN__EDIT = "margin-edit",
|
|
806
|
+
MARGIN__CREATE = "margin-create",
|
|
807
|
+
MARGIN__DELETE = "margin-delete",
|
|
808
|
+
/**
|
|
809
|
+
* Order
|
|
810
|
+
*/
|
|
811
|
+
ORDER__VIEW = "order-view",
|
|
812
|
+
ORDER__EDIT = "order-edit",
|
|
813
|
+
ORDER__REQUEST = "order-request",
|
|
814
|
+
/**
|
|
815
|
+
* Contact Request Sales
|
|
816
|
+
*/
|
|
817
|
+
CONTACT_REQUEST_SALES__VIEW = "contact_request_sales-view",
|
|
818
|
+
CONTACT_REQUEST_SALES__EDIT = "contact_request_sales-edit",
|
|
819
|
+
/**
|
|
820
|
+
* Contact Request Support
|
|
821
|
+
*/
|
|
822
|
+
CONTACT_REQUEST_SUPPORT__VIEW = "contact_request_support-view",
|
|
823
|
+
CONTACT_REQUEST_SUPPORT__EDIT = "contact_request_support-edit",
|
|
824
|
+
/**
|
|
825
|
+
* General Dashboard
|
|
826
|
+
*/
|
|
827
|
+
GENERAL_DASHBOARD__VIEW = "general_dashboard-view",
|
|
828
|
+
/**
|
|
829
|
+
* Integration Exact
|
|
830
|
+
*/
|
|
831
|
+
INTEGRATION_EXACT__VIEW = "integration_exact-view",
|
|
832
|
+
INTEGRATION_EXACT__EDIT = "integration_exact-edit",
|
|
833
|
+
INTEGRATION_EXACT__CREATE = "integration_exact-create",
|
|
834
|
+
INTEGRATION_EXACT__DELETE = "integration_exact-delete",
|
|
835
|
+
/**
|
|
836
|
+
* Pricing Plan
|
|
837
|
+
*/
|
|
838
|
+
PRICING_PLAN__VIEW = "pricing_plan-view",
|
|
839
|
+
PRICING_PLAN__EDIT = "pricing_plan-edit"
|
|
840
|
+
}
|
|
841
|
+
|
|
733
842
|
declare enum PlanEnum {
|
|
734
843
|
FREEMIUM = "freemium",
|
|
735
844
|
STARTER = "starter",
|
|
@@ -764,6 +873,22 @@ declare enum PlanFeatureEnum {
|
|
|
764
873
|
FEATURE_24 = "feature-24"
|
|
765
874
|
}
|
|
766
875
|
|
|
876
|
+
declare enum RoleEnum {
|
|
877
|
+
SUPER_USER = "super-user",
|
|
878
|
+
SUPER_ADMIN = "super-admin",
|
|
879
|
+
ADMIN = "admin",
|
|
880
|
+
SALES_MANAGER = "sales-manager",
|
|
881
|
+
SALES = "sales",
|
|
882
|
+
PURCHASE_MANAGER = "purchase-manager",
|
|
883
|
+
PURCHASE = "purchase",
|
|
884
|
+
LOGISTIC_MANAGER = "logistic-manager",
|
|
885
|
+
LOGISTIC = "logistic",
|
|
886
|
+
UPLOAD_MANAGER = "upload-manager",
|
|
887
|
+
UPLOAD = "upload",
|
|
888
|
+
SUPPORT_MANAGER = "support-manager",
|
|
889
|
+
SUPPORT = "support"
|
|
890
|
+
}
|
|
891
|
+
|
|
767
892
|
declare enum StatusCodeEnum {
|
|
768
893
|
UNAUTHORIZED = 401,
|
|
769
894
|
FORBIDDEN = 403,
|
|
@@ -1301,4 +1426,4 @@ declare enum WineTypeEnum {
|
|
|
1301
1426
|
UNKNOWN = "unknown"
|
|
1302
1427
|
}
|
|
1303
1428
|
|
|
1304
|
-
export { ApiOperationStatusEnum, BottleSizeEnum, ContactPointTypeEnum, ContactRequestStatusEnum, ContactRequestTypeEnum, CookieEnum, CountryEnum, CurrencyCodeEnum, CurrencyRateSourceEnum, DateTimeFormatEnum, EnvironmentEnum, FileTypeEnum, FilterOperatorEnum, GenderEnum, ImageTypeEnum, ImageVariationEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, LocaleEnum, LocationTypeEnum, NotificationChannelEnum, NotificationTypeEnum, OfferAlertFilterCriteriaFieldEnum, OfferAlertTimelineActionEnum, OfferRequestActionEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestStatusEnum, OfferRequestTimelineActionEnum, OrderItemTypeEnum, OrderStatusEnum, OrganisationStatusEnum, OrganisationUserInvitationStatusEnum, PackageEnum, PlanEnum, PlanFeatureEnum, StatusCodeEnum, TimezoneEnum, UploadFileHeaderEnum, UploadStatusEnum, UploadTypeEnum, UploadVisibilityTypeEnum, UserOrganisationStatusEnum, UserStatusEnum, VintageRatingEnum, VintageScoreAuthorEnum, WineTypeEnum };
|
|
1429
|
+
export { ApiOperationStatusEnum, BottleSizeEnum, ContactPointTypeEnum, ContactRequestStatusEnum, ContactRequestTypeEnum, CookieEnum, CountryEnum, CurrencyCodeEnum, CurrencyRateSourceEnum, DateTimeFormatEnum, EnvironmentEnum, FileTypeEnum, FilterOperatorEnum, GenderEnum, ImageTypeEnum, ImageVariationEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, LocaleEnum, LocationTypeEnum, NotificationChannelEnum, NotificationTypeEnum, OfferAlertFilterCriteriaFieldEnum, OfferAlertTimelineActionEnum, OfferRequestActionEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestStatusEnum, OfferRequestTimelineActionEnum, OrderItemTypeEnum, OrderStatusEnum, OrganisationStatusEnum, OrganisationUserInvitationStatusEnum, PackageEnum, PermissionEnum, PlanEnum, PlanFeatureEnum, RoleEnum, StatusCodeEnum, TimezoneEnum, UploadFileHeaderEnum, UploadStatusEnum, UploadTypeEnum, UploadVisibilityTypeEnum, UserOrganisationStatusEnum, UserStatusEnum, VintageRatingEnum, VintageScoreAuthorEnum, WineTypeEnum };
|
package/dist/index.js
CHANGED
|
@@ -54,8 +54,10 @@ __export(src_exports, {
|
|
|
54
54
|
OrganisationStatusEnum: () => OrganisationStatusEnum,
|
|
55
55
|
OrganisationUserInvitationStatusEnum: () => OrganisationUserInvitationStatusEnum,
|
|
56
56
|
PackageEnum: () => PackageEnum,
|
|
57
|
+
PermissionEnum: () => PermissionEnum,
|
|
57
58
|
PlanEnum: () => PlanEnum,
|
|
58
59
|
PlanFeatureEnum: () => PlanFeatureEnum,
|
|
60
|
+
RoleEnum: () => RoleEnum,
|
|
59
61
|
StatusCodeEnum: () => StatusCodeEnum,
|
|
60
62
|
TimezoneEnum: () => TimezoneEnum,
|
|
61
63
|
UploadFileHeaderEnum: () => UploadFileHeaderEnum,
|
|
@@ -111,6 +113,7 @@ var ContactPointTypeEnum = /* @__PURE__ */ ((ContactPointTypeEnum2) => {
|
|
|
111
113
|
ContactPointTypeEnum2["UNKNOWN"] = "unknown";
|
|
112
114
|
ContactPointTypeEnum2["SALES"] = "sales";
|
|
113
115
|
ContactPointTypeEnum2["LOGISTICS"] = "logistics";
|
|
116
|
+
ContactPointTypeEnum2["BILLING"] = "billing";
|
|
114
117
|
return ContactPointTypeEnum2;
|
|
115
118
|
})(ContactPointTypeEnum || {});
|
|
116
119
|
|
|
@@ -870,6 +873,62 @@ var PackageEnum = /* @__PURE__ */ ((PackageEnum2) => {
|
|
|
870
873
|
return PackageEnum2;
|
|
871
874
|
})(PackageEnum || {});
|
|
872
875
|
|
|
876
|
+
// src/enums/permission.ts
|
|
877
|
+
var PermissionEnum = /* @__PURE__ */ ((PermissionEnum2) => {
|
|
878
|
+
PermissionEnum2["USER__VIEW"] = "user-view";
|
|
879
|
+
PermissionEnum2["USER__DETAILS"] = "user-details";
|
|
880
|
+
PermissionEnum2["USER__EDIT"] = "user-edit";
|
|
881
|
+
PermissionEnum2["ROLE__VIEW"] = "role-view";
|
|
882
|
+
PermissionEnum2["CUSTOMER_VIEW"] = "customer-view";
|
|
883
|
+
PermissionEnum2["CUSTOMER__CREATE"] = "customer-create";
|
|
884
|
+
PermissionEnum2["CUSTOMER__EDIT"] = "customer-edit";
|
|
885
|
+
PermissionEnum2["SUPPLIER__VIEW"] = "supplier-view";
|
|
886
|
+
PermissionEnum2["SUPPLIER__CREATE"] = "supplier-create";
|
|
887
|
+
PermissionEnum2["SUPPLIER__EDIT"] = "supplier-edit";
|
|
888
|
+
PermissionEnum2["UPLOAD__VIEW"] = "upload-view";
|
|
889
|
+
PermissionEnum2["UPLOAD__CREATE"] = "upload-create";
|
|
890
|
+
PermissionEnum2["UPLOAD__EDIT"] = "upload-edit";
|
|
891
|
+
PermissionEnum2["UPLOAD__ANALYTICS"] = "upload-analytics";
|
|
892
|
+
PermissionEnum2["OFFER__VIEW"] = "offer-view";
|
|
893
|
+
PermissionEnum2["OFFER__EDIT"] = "offer-edit";
|
|
894
|
+
PermissionEnum2["OFFER__REQUEST"] = "offer-request";
|
|
895
|
+
PermissionEnum2["OFFER__DOWNLOAD"] = "offer-download";
|
|
896
|
+
PermissionEnum2["INVITE_USER__INVITE"] = "invite_user-invite";
|
|
897
|
+
PermissionEnum2["INVITE_USER__VIEW"] = "invite_user-view";
|
|
898
|
+
PermissionEnum2["OFFER_REQUEST__VIEW"] = "offer_request-view";
|
|
899
|
+
PermissionEnum2["OFFER_REQUEST__EDIT"] = "offer_request-edit";
|
|
900
|
+
PermissionEnum2["CONTACT_POINT__VIEW"] = "contact_point-view";
|
|
901
|
+
PermissionEnum2["CONTACT_POINT__EDIT"] = "contact_point-edit";
|
|
902
|
+
PermissionEnum2["CONTACT_POINT__CREATE"] = "contact_point-create";
|
|
903
|
+
PermissionEnum2["OFFER_ALERT__VIEW"] = "offer_alert-view";
|
|
904
|
+
PermissionEnum2["OFFER_ALERT__EDIT"] = "offer_alert-edit";
|
|
905
|
+
PermissionEnum2["OFFER_ALERT__CREATE"] = "offer_alert-create";
|
|
906
|
+
PermissionEnum2["ORGANISATION__VIEW"] = "organisation-view";
|
|
907
|
+
PermissionEnum2["ORGANISATION__DETAILS"] = "organisation-details";
|
|
908
|
+
PermissionEnum2["ORGANISATION__EDIT"] = "organisation-edit";
|
|
909
|
+
PermissionEnum2["ORGANISATION_SETTINGS__VIEW"] = "organisation_settings-view";
|
|
910
|
+
PermissionEnum2["ORGANISATION_SETTINGS__EDIT"] = "organisation_settings-edit";
|
|
911
|
+
PermissionEnum2["MARGIN__VIEW"] = "margin-view";
|
|
912
|
+
PermissionEnum2["MARGIN__EDIT"] = "margin-edit";
|
|
913
|
+
PermissionEnum2["MARGIN__CREATE"] = "margin-create";
|
|
914
|
+
PermissionEnum2["MARGIN__DELETE"] = "margin-delete";
|
|
915
|
+
PermissionEnum2["ORDER__VIEW"] = "order-view";
|
|
916
|
+
PermissionEnum2["ORDER__EDIT"] = "order-edit";
|
|
917
|
+
PermissionEnum2["ORDER__REQUEST"] = "order-request";
|
|
918
|
+
PermissionEnum2["CONTACT_REQUEST_SALES__VIEW"] = "contact_request_sales-view";
|
|
919
|
+
PermissionEnum2["CONTACT_REQUEST_SALES__EDIT"] = "contact_request_sales-edit";
|
|
920
|
+
PermissionEnum2["CONTACT_REQUEST_SUPPORT__VIEW"] = "contact_request_support-view";
|
|
921
|
+
PermissionEnum2["CONTACT_REQUEST_SUPPORT__EDIT"] = "contact_request_support-edit";
|
|
922
|
+
PermissionEnum2["GENERAL_DASHBOARD__VIEW"] = "general_dashboard-view";
|
|
923
|
+
PermissionEnum2["INTEGRATION_EXACT__VIEW"] = "integration_exact-view";
|
|
924
|
+
PermissionEnum2["INTEGRATION_EXACT__EDIT"] = "integration_exact-edit";
|
|
925
|
+
PermissionEnum2["INTEGRATION_EXACT__CREATE"] = "integration_exact-create";
|
|
926
|
+
PermissionEnum2["INTEGRATION_EXACT__DELETE"] = "integration_exact-delete";
|
|
927
|
+
PermissionEnum2["PRICING_PLAN__VIEW"] = "pricing_plan-view";
|
|
928
|
+
PermissionEnum2["PRICING_PLAN__EDIT"] = "pricing_plan-edit";
|
|
929
|
+
return PermissionEnum2;
|
|
930
|
+
})(PermissionEnum || {});
|
|
931
|
+
|
|
873
932
|
// src/enums/plan.ts
|
|
874
933
|
var PlanEnum = /* @__PURE__ */ ((PlanEnum2) => {
|
|
875
934
|
PlanEnum2["FREEMIUM"] = "freemium";
|
|
@@ -908,6 +967,24 @@ var PlanFeatureEnum = /* @__PURE__ */ ((PlanFeatureEnum2) => {
|
|
|
908
967
|
return PlanFeatureEnum2;
|
|
909
968
|
})(PlanFeatureEnum || {});
|
|
910
969
|
|
|
970
|
+
// src/enums/role.ts
|
|
971
|
+
var RoleEnum = /* @__PURE__ */ ((RoleEnum2) => {
|
|
972
|
+
RoleEnum2["SUPER_USER"] = "super-user";
|
|
973
|
+
RoleEnum2["SUPER_ADMIN"] = "super-admin";
|
|
974
|
+
RoleEnum2["ADMIN"] = "admin";
|
|
975
|
+
RoleEnum2["SALES_MANAGER"] = "sales-manager";
|
|
976
|
+
RoleEnum2["SALES"] = "sales";
|
|
977
|
+
RoleEnum2["PURCHASE_MANAGER"] = "purchase-manager";
|
|
978
|
+
RoleEnum2["PURCHASE"] = "purchase";
|
|
979
|
+
RoleEnum2["LOGISTIC_MANAGER"] = "logistic-manager";
|
|
980
|
+
RoleEnum2["LOGISTIC"] = "logistic";
|
|
981
|
+
RoleEnum2["UPLOAD_MANAGER"] = "upload-manager";
|
|
982
|
+
RoleEnum2["UPLOAD"] = "upload";
|
|
983
|
+
RoleEnum2["SUPPORT_MANAGER"] = "support-manager";
|
|
984
|
+
RoleEnum2["SUPPORT"] = "support";
|
|
985
|
+
return RoleEnum2;
|
|
986
|
+
})(RoleEnum || {});
|
|
987
|
+
|
|
911
988
|
// src/enums/statusCode.ts
|
|
912
989
|
var StatusCodeEnum = /* @__PURE__ */ ((StatusCodeEnum2) => {
|
|
913
990
|
StatusCodeEnum2[StatusCodeEnum2["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
|
|
@@ -1472,8 +1549,10 @@ var WineTypeEnum = /* @__PURE__ */ ((WineTypeEnum2) => {
|
|
|
1472
1549
|
OrganisationStatusEnum,
|
|
1473
1550
|
OrganisationUserInvitationStatusEnum,
|
|
1474
1551
|
PackageEnum,
|
|
1552
|
+
PermissionEnum,
|
|
1475
1553
|
PlanEnum,
|
|
1476
1554
|
PlanFeatureEnum,
|
|
1555
|
+
RoleEnum,
|
|
1477
1556
|
StatusCodeEnum,
|
|
1478
1557
|
TimezoneEnum,
|
|
1479
1558
|
UploadFileHeaderEnum,
|