@verma-consulting/common-library 0.1.0 → 0.1.2
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 +505 -1
- package/dist/index.d.ts +505 -1
- package/dist/index.js +652 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +603 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -67,6 +67,560 @@ var openInNewTab = (url) => {
|
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
// src/enums.ts
|
|
71
|
+
var LandingPath = /* @__PURE__ */ ((LandingPath2) => {
|
|
72
|
+
LandingPath2["login"] = "login";
|
|
73
|
+
LandingPath2["signup"] = "signup";
|
|
74
|
+
LandingPath2["resetpassword"] = "resetpassword";
|
|
75
|
+
LandingPath2["confirmuser"] = "confirmuser";
|
|
76
|
+
return LandingPath2;
|
|
77
|
+
})(LandingPath || {});
|
|
78
|
+
var LandingView = /* @__PURE__ */ ((LandingView2) => {
|
|
79
|
+
LandingView2["email"] = "email";
|
|
80
|
+
LandingView2["password"] = "password";
|
|
81
|
+
LandingView2["organization"] = "organization";
|
|
82
|
+
LandingView2["federated"] = "federated";
|
|
83
|
+
LandingView2["signup"] = "signup";
|
|
84
|
+
return LandingView2;
|
|
85
|
+
})(LandingView || {});
|
|
86
|
+
var productType = /* @__PURE__ */ ((productType2) => {
|
|
87
|
+
productType2["service"] = "service";
|
|
88
|
+
productType2["good"] = "good";
|
|
89
|
+
return productType2;
|
|
90
|
+
})(productType || {});
|
|
91
|
+
var userRole = /* @__PURE__ */ ((userRole2) => {
|
|
92
|
+
userRole2["Employee"] = "Employee";
|
|
93
|
+
userRole2["Client"] = "Client";
|
|
94
|
+
userRole2["Vendor"] = "Vendor";
|
|
95
|
+
userRole2["Admin"] = "Admin";
|
|
96
|
+
userRole2["Staff"] = "Staff";
|
|
97
|
+
return userRole2;
|
|
98
|
+
})(userRole || {});
|
|
99
|
+
var PermissionType = /* @__PURE__ */ ((PermissionType2) => {
|
|
100
|
+
PermissionType2["Visible"] = "Visible";
|
|
101
|
+
PermissionType2["Manage"] = "Manage";
|
|
102
|
+
PermissionType2["NotVisible"] = "Not Visible";
|
|
103
|
+
return PermissionType2;
|
|
104
|
+
})(PermissionType || {});
|
|
105
|
+
var userSource = /* @__PURE__ */ ((userSource2) => {
|
|
106
|
+
userSource2["cognito"] = "cognito";
|
|
107
|
+
userSource2["google"] = "google";
|
|
108
|
+
userSource2["microsoft"] = "microsoft";
|
|
109
|
+
userSource2["slack"] = "slack";
|
|
110
|
+
return userSource2;
|
|
111
|
+
})(userSource || {});
|
|
112
|
+
var userStatus = /* @__PURE__ */ ((userStatus2) => {
|
|
113
|
+
userStatus2["Pending"] = "Pending";
|
|
114
|
+
userStatus2["Invited"] = "Invited";
|
|
115
|
+
userStatus2["Active"] = "Active";
|
|
116
|
+
userStatus2["Inactive"] = "Inactive";
|
|
117
|
+
return userStatus2;
|
|
118
|
+
})(userStatus || {});
|
|
119
|
+
var subscriptionCancellationReason = /* @__PURE__ */ ((subscriptionCancellationReason2) => {
|
|
120
|
+
subscriptionCancellationReason2["CustomerService"] = "customer_service";
|
|
121
|
+
subscriptionCancellationReason2["LowQuality"] = "low_quality";
|
|
122
|
+
subscriptionCancellationReason2["MissingFeatures"] = "missing_features";
|
|
123
|
+
subscriptionCancellationReason2["SwitchedService"] = "switched_service";
|
|
124
|
+
subscriptionCancellationReason2["TooComplex"] = "too_complex";
|
|
125
|
+
subscriptionCancellationReason2["TooExpensive"] = "too_expensive";
|
|
126
|
+
subscriptionCancellationReason2["Unused"] = "unused";
|
|
127
|
+
subscriptionCancellationReason2["Other"] = "other";
|
|
128
|
+
return subscriptionCancellationReason2;
|
|
129
|
+
})(subscriptionCancellationReason || {});
|
|
130
|
+
var paymentCancellationReason = /* @__PURE__ */ ((paymentCancellationReason2) => {
|
|
131
|
+
paymentCancellationReason2["abandoned"] = "abandoned";
|
|
132
|
+
paymentCancellationReason2["automatic"] = "automatic";
|
|
133
|
+
paymentCancellationReason2["duplicate"] = "duplicate";
|
|
134
|
+
paymentCancellationReason2["failed_invoice"] = "failed_invoice";
|
|
135
|
+
paymentCancellationReason2["fraudulent"] = "fraudulent";
|
|
136
|
+
paymentCancellationReason2["requested_by_customer"] = "requested_by_customer";
|
|
137
|
+
paymentCancellationReason2["void_invoice"] = "void_invoice";
|
|
138
|
+
return paymentCancellationReason2;
|
|
139
|
+
})(paymentCancellationReason || {});
|
|
140
|
+
var captureMethod = /* @__PURE__ */ ((captureMethod2) => {
|
|
141
|
+
captureMethod2["automatic"] = "automatic";
|
|
142
|
+
captureMethod2["automatic_async"] = "automatic_async";
|
|
143
|
+
captureMethod2["manual"] = "manual";
|
|
144
|
+
return captureMethod2;
|
|
145
|
+
})(captureMethod || {});
|
|
146
|
+
var paymentStatus = /* @__PURE__ */ ((paymentStatus2) => {
|
|
147
|
+
paymentStatus2["canceled"] = "canceled";
|
|
148
|
+
paymentStatus2["processing"] = "processing";
|
|
149
|
+
paymentStatus2["requiresAction"] = "requires_action";
|
|
150
|
+
paymentStatus2["requiresCapture"] = "requires_capture";
|
|
151
|
+
paymentStatus2["requiresConfirmation"] = "requires_confirmation";
|
|
152
|
+
paymentStatus2["requiresPaymentMethod"] = "requires_payment_method";
|
|
153
|
+
paymentStatus2["succeeded"] = "succeeded";
|
|
154
|
+
return paymentStatus2;
|
|
155
|
+
})(paymentStatus || {});
|
|
156
|
+
var OrganizationFeatures = /* @__PURE__ */ ((OrganizationFeatures2) => {
|
|
157
|
+
OrganizationFeatures2["clients"] = "clients";
|
|
158
|
+
OrganizationFeatures2["tasks"] = "tasks";
|
|
159
|
+
OrganizationFeatures2["inventories"] = "inventories";
|
|
160
|
+
OrganizationFeatures2["invoices"] = "invoices";
|
|
161
|
+
OrganizationFeatures2["leads"] = "leads";
|
|
162
|
+
OrganizationFeatures2["deals"] = "deals";
|
|
163
|
+
OrganizationFeatures2["contacts"] = "contacts";
|
|
164
|
+
OrganizationFeatures2["engagements"] = "engagements";
|
|
165
|
+
OrganizationFeatures2["campaigns"] = "campaigns";
|
|
166
|
+
OrganizationFeatures2["products"] = "products";
|
|
167
|
+
OrganizationFeatures2["subscriptions"] = "subscriptions";
|
|
168
|
+
OrganizationFeatures2["payments"] = "payments";
|
|
169
|
+
OrganizationFeatures2["dataPools"] = "dataPools";
|
|
170
|
+
OrganizationFeatures2["lists"] = "lists";
|
|
171
|
+
OrganizationFeatures2["reports"] = "reports";
|
|
172
|
+
return OrganizationFeatures2;
|
|
173
|
+
})(OrganizationFeatures || {});
|
|
174
|
+
var DeviceNotification = /* @__PURE__ */ ((DeviceNotification2) => {
|
|
175
|
+
DeviceNotification2["doNOtNotify"] = "Do Not Notify";
|
|
176
|
+
DeviceNotification2["security"] = "Security Updates";
|
|
177
|
+
DeviceNotification2["all"] = "All Important Updates";
|
|
178
|
+
return DeviceNotification2;
|
|
179
|
+
})(DeviceNotification || {});
|
|
180
|
+
var clientType = /* @__PURE__ */ ((clientType2) => {
|
|
181
|
+
clientType2["Analyst"] = "Analyst";
|
|
182
|
+
clientType2["Bank"] = "Bank";
|
|
183
|
+
clientType2["Broker"] = "Broker";
|
|
184
|
+
clientType2["Competitor"] = "Competitor";
|
|
185
|
+
clientType2["Customer"] = "Customer";
|
|
186
|
+
clientType2["Company"] = "Company";
|
|
187
|
+
clientType2["Distributor"] = "Distributor";
|
|
188
|
+
clientType2["Individual"] = "Individual";
|
|
189
|
+
clientType2["Integrator"] = "Integrator";
|
|
190
|
+
clientType2["Investor"] = "Investor";
|
|
191
|
+
clientType2["Landlord"] = "Landlord";
|
|
192
|
+
clientType2["Partner"] = "Partner";
|
|
193
|
+
clientType2["Press"] = "Press";
|
|
194
|
+
clientType2["Prospect"] = "Prospect";
|
|
195
|
+
clientType2["Tenant"] = "Tenant";
|
|
196
|
+
clientType2["Supplier"] = "Supplier";
|
|
197
|
+
clientType2["Vendor"] = "Vendor";
|
|
198
|
+
clientType2["Other"] = "Other";
|
|
199
|
+
return clientType2;
|
|
200
|
+
})(clientType || {});
|
|
201
|
+
var taxExempt = /* @__PURE__ */ ((taxExempt2) => {
|
|
202
|
+
taxExempt2["exempt"] = "exempt";
|
|
203
|
+
taxExempt2["none"] = "none";
|
|
204
|
+
taxExempt2["reverse"] = "reverse";
|
|
205
|
+
return taxExempt2;
|
|
206
|
+
})(taxExempt || {});
|
|
207
|
+
var automaticTaxStatus = /* @__PURE__ */ ((automaticTaxStatus2) => {
|
|
208
|
+
automaticTaxStatus2["complete"] = "complete";
|
|
209
|
+
automaticTaxStatus2["failed"] = "failed";
|
|
210
|
+
automaticTaxStatus2["requires_location_inputs"] = "requires_location_inputs";
|
|
211
|
+
return automaticTaxStatus2;
|
|
212
|
+
})(automaticTaxStatus || {});
|
|
213
|
+
var billingReason = /* @__PURE__ */ ((billingReason2) => {
|
|
214
|
+
billingReason2["manual"] = "manual";
|
|
215
|
+
billingReason2["subscription"] = "subscription";
|
|
216
|
+
billingReason2["subscription_create"] = "subscription_create";
|
|
217
|
+
billingReason2["subscription_cycle"] = "subscription_cycle";
|
|
218
|
+
billingReason2["subscription_threshold"] = "subscription_threshold";
|
|
219
|
+
billingReason2["subscription_update"] = "subscription_update";
|
|
220
|
+
billingReason2["upcoming"] = "upcoming";
|
|
221
|
+
return billingReason2;
|
|
222
|
+
})(billingReason || {});
|
|
223
|
+
var accountType = /* @__PURE__ */ ((accountType2) => {
|
|
224
|
+
accountType2["account"] = "account";
|
|
225
|
+
accountType2["self"] = "self";
|
|
226
|
+
return accountType2;
|
|
227
|
+
})(accountType || {});
|
|
228
|
+
var DealType = /* @__PURE__ */ ((DealType2) => {
|
|
229
|
+
DealType2["Existing"] = "Existing";
|
|
230
|
+
DealType2["New"] = "New";
|
|
231
|
+
DealType2["Other"] = "Other";
|
|
232
|
+
return DealType2;
|
|
233
|
+
})(DealType || {});
|
|
234
|
+
var SourceType = /* @__PURE__ */ ((SourceType2) => {
|
|
235
|
+
SourceType2["Advertisement"] = "Advertisement";
|
|
236
|
+
SourceType2["ColdCall"] = "ColdCall";
|
|
237
|
+
SourceType2["EmployeeReferral"] = "EmployeeReferral";
|
|
238
|
+
SourceType2["ExternalReferral"] = "ExternalReferral";
|
|
239
|
+
SourceType2["OnlineStore"] = "OnlineStore";
|
|
240
|
+
SourceType2["Partner"] = "Partner";
|
|
241
|
+
SourceType2["PublicRelation"] = "PublicRelation";
|
|
242
|
+
SourceType2["Seminar"] = "Seminar";
|
|
243
|
+
SourceType2["TradeShow"] = "TradeShow";
|
|
244
|
+
SourceType2["WedResearch"] = "WedResearch";
|
|
245
|
+
SourceType2["Chat"] = "Chat";
|
|
246
|
+
SourceType2["Other"] = "Other";
|
|
247
|
+
return SourceType2;
|
|
248
|
+
})(SourceType || {});
|
|
249
|
+
var LeadType = /* @__PURE__ */ ((LeadType2) => {
|
|
250
|
+
LeadType2["AttemtpedToContact"] = "AttemtpedToContact";
|
|
251
|
+
LeadType2["ContactInFuture"] = "ContactInFuture";
|
|
252
|
+
LeadType2["Contacted"] = "Contacted";
|
|
253
|
+
LeadType2["NotContacted"] = "NotContacted";
|
|
254
|
+
LeadType2["AwaitingResponse"] = "AwaitingResponse";
|
|
255
|
+
LeadType2["PreQualified"] = "PreQualified";
|
|
256
|
+
LeadType2["NotQualified"] = "NotQualified";
|
|
257
|
+
LeadType2["LostLead"] = "LostLead";
|
|
258
|
+
LeadType2["Other"] = "Other";
|
|
259
|
+
return LeadType2;
|
|
260
|
+
})(LeadType || {});
|
|
261
|
+
var CampaignType = /* @__PURE__ */ ((CampaignType2) => {
|
|
262
|
+
CampaignType2["Email"] = "Email";
|
|
263
|
+
CampaignType2["Conference"] = "Conference";
|
|
264
|
+
CampaignType2["Webinar"] = "Webinar";
|
|
265
|
+
CampaignType2["TradeShow"] = "TradeShow";
|
|
266
|
+
CampaignType2["PublicRelations"] = "PublicRelations";
|
|
267
|
+
CampaignType2["Partners"] = "Partners";
|
|
268
|
+
CampaignType2["ReferrelProgram"] = "ReferrelProgram";
|
|
269
|
+
CampaignType2["Advertisement"] = "Advertisement";
|
|
270
|
+
CampaignType2["SocialMedia"] = "SocialMedia";
|
|
271
|
+
CampaignType2["BannerAds"] = "BannerAds";
|
|
272
|
+
CampaignType2["DirectMail"] = "DirectMail";
|
|
273
|
+
CampaignType2["Telemarketing"] = "Telemarketing";
|
|
274
|
+
CampaignType2["Others"] = "Others";
|
|
275
|
+
return CampaignType2;
|
|
276
|
+
})(CampaignType || {});
|
|
277
|
+
var customerType = /* @__PURE__ */ ((customerType2) => {
|
|
278
|
+
customerType2["Paid"] = "Paid";
|
|
279
|
+
customerType2["Subscribed"] = "Subscribed";
|
|
280
|
+
customerType2["Priority"] = "Priority";
|
|
281
|
+
customerType2["Trial"] = "Trial";
|
|
282
|
+
customerType2["Inactive"] = "Inactive";
|
|
283
|
+
customerType2["Paused"] = "Paused";
|
|
284
|
+
return customerType2;
|
|
285
|
+
})(customerType || {});
|
|
286
|
+
var Priority = /* @__PURE__ */ ((Priority2) => {
|
|
287
|
+
Priority2["High"] = "High";
|
|
288
|
+
Priority2["Medium"] = "Medium";
|
|
289
|
+
Priority2["Low"] = "Low";
|
|
290
|
+
return Priority2;
|
|
291
|
+
})(Priority || {});
|
|
292
|
+
var FeatureType = /* @__PURE__ */ ((FeatureType2) => {
|
|
293
|
+
FeatureType2["ContentAccess"] = "Content Access";
|
|
294
|
+
FeatureType2["RelationsAccess"] = "Relations Access";
|
|
295
|
+
FeatureType2["FinancialsAccess"] = "Financials Access";
|
|
296
|
+
FeatureType2["DataPoolsManage"] = "Manage Data Pools";
|
|
297
|
+
FeatureType2["SchemaManage"] = "Manage Schemas";
|
|
298
|
+
FeatureType2["StatisticsManage"] = "Manage Statistics";
|
|
299
|
+
FeatureType2["ListsAccess"] = "Lists Access";
|
|
300
|
+
FeatureType2["ReportsAccess"] = "Reports Access";
|
|
301
|
+
FeatureType2["UsageManage"] = "Export/Import Pools";
|
|
302
|
+
FeatureType2["DownloadContent"] = "Download Content";
|
|
303
|
+
FeatureType2["IntegrationsAccess"] = "Integrations Access";
|
|
304
|
+
return FeatureType2;
|
|
305
|
+
})(FeatureType || {});
|
|
306
|
+
var UsageType = /* @__PURE__ */ ((UsageType2) => {
|
|
307
|
+
UsageType2["Export"] = "Export";
|
|
308
|
+
UsageType2["Import"] = "Import";
|
|
309
|
+
return UsageType2;
|
|
310
|
+
})(UsageType || {});
|
|
311
|
+
var ModelType = /* @__PURE__ */ ((ModelType2) => {
|
|
312
|
+
ModelType2["clients"] = "clients";
|
|
313
|
+
ModelType2["tasks"] = "tasks";
|
|
314
|
+
ModelType2["inventories"] = "inventories";
|
|
315
|
+
ModelType2["invoices"] = "invoices";
|
|
316
|
+
ModelType2["leads"] = "leads";
|
|
317
|
+
ModelType2["deals"] = "deals";
|
|
318
|
+
ModelType2["contacts"] = "contacts";
|
|
319
|
+
ModelType2["engagements"] = "engagements";
|
|
320
|
+
ModelType2["campaigns"] = "campaigns";
|
|
321
|
+
ModelType2["products"] = "products";
|
|
322
|
+
ModelType2["subscriptions"] = "subscriptions";
|
|
323
|
+
ModelType2["payments"] = "payments";
|
|
324
|
+
return ModelType2;
|
|
325
|
+
})(ModelType || {});
|
|
326
|
+
var CategoryType = /* @__PURE__ */ ((CategoryType2) => {
|
|
327
|
+
CategoryType2["content"] = "content";
|
|
328
|
+
CategoryType2["relations"] = "relations";
|
|
329
|
+
CategoryType2["financials"] = "financials";
|
|
330
|
+
return CategoryType2;
|
|
331
|
+
})(CategoryType || {});
|
|
332
|
+
var FilterType = /* @__PURE__ */ ((FilterType2) => {
|
|
333
|
+
FilterType2["defaultView"] = "defaultView";
|
|
334
|
+
FilterType2["defaultSort"] = "defaultSort";
|
|
335
|
+
FilterType2["defaultOrder"] = "defaultOrder";
|
|
336
|
+
FilterType2["statisticSort"] = "statisticSort";
|
|
337
|
+
FilterType2["statisticsOrder"] = "statisticsOrder";
|
|
338
|
+
FilterType2["defaultRowsPerPage"] = "defaultRowsPerPage";
|
|
339
|
+
FilterType2["statisticRowsPerPage"] = "statisticRowsPerPage";
|
|
340
|
+
FilterType2["tableHeaders"] = "tableHeaders";
|
|
341
|
+
FilterType2["kanbanStatusField"] = "kanbanStatusField";
|
|
342
|
+
return FilterType2;
|
|
343
|
+
})(FilterType || {});
|
|
344
|
+
var organizationFilterType = /* @__PURE__ */ ((organizationFilterType2) => {
|
|
345
|
+
organizationFilterType2["reports"] = "reports";
|
|
346
|
+
organizationFilterType2["lists"] = "lists";
|
|
347
|
+
organizationFilterType2["integrations"] = "integrations";
|
|
348
|
+
return organizationFilterType2;
|
|
349
|
+
})(organizationFilterType || {});
|
|
350
|
+
var UserSettingType = /* @__PURE__ */ ((UserSettingType2) => {
|
|
351
|
+
UserSettingType2["theme"] = "theme";
|
|
352
|
+
return UserSettingType2;
|
|
353
|
+
})(UserSettingType || {});
|
|
354
|
+
var FormFieldType = /* @__PURE__ */ ((FormFieldType2) => {
|
|
355
|
+
FormFieldType2["TextField"] = "TextField";
|
|
356
|
+
FormFieldType2["SingleSelect"] = "SingleSelect";
|
|
357
|
+
FormFieldType2["MultiSelect"] = "MultiSelect";
|
|
358
|
+
FormFieldType2["Number"] = "Number";
|
|
359
|
+
FormFieldType2["Date"] = "Date";
|
|
360
|
+
FormFieldType2["Switch"] = "Switch";
|
|
361
|
+
FormFieldType2["Checkbox"] = "Checkbox";
|
|
362
|
+
FormFieldType2["Time"] = "Time";
|
|
363
|
+
FormFieldType2["Currency"] = "Currency";
|
|
364
|
+
FormFieldType2["Percentage"] = "Percentage";
|
|
365
|
+
FormFieldType2["Color"] = "Color";
|
|
366
|
+
FormFieldType2["PhoneNumber"] = "PhoneNumber";
|
|
367
|
+
FormFieldType2["Link"] = "Link";
|
|
368
|
+
FormFieldType2["Password"] = "Password";
|
|
369
|
+
return FormFieldType2;
|
|
370
|
+
})(FormFieldType || {});
|
|
371
|
+
var FormFieldOrder = /* @__PURE__ */ ((FormFieldOrder2) => {
|
|
372
|
+
FormFieldOrder2["asc"] = "asc";
|
|
373
|
+
FormFieldOrder2["desc"] = "desc";
|
|
374
|
+
return FormFieldOrder2;
|
|
375
|
+
})(FormFieldOrder || {});
|
|
376
|
+
var status = /* @__PURE__ */ ((status2) => {
|
|
377
|
+
status2["Planning"] = "Planning";
|
|
378
|
+
status2["Ready"] = "Ready";
|
|
379
|
+
status2["Active"] = "Active";
|
|
380
|
+
status2["Blocked"] = "Blocked";
|
|
381
|
+
status2["Done"] = "Done";
|
|
382
|
+
status2["Failed"] = "Failed";
|
|
383
|
+
return status2;
|
|
384
|
+
})(status || {});
|
|
385
|
+
var ContentType = /* @__PURE__ */ ((ContentType2) => {
|
|
386
|
+
ContentType2["Grid"] = "Grid";
|
|
387
|
+
ContentType2["Table"] = "Table";
|
|
388
|
+
ContentType2["Kanban"] = "Kanban";
|
|
389
|
+
return ContentType2;
|
|
390
|
+
})(ContentType || {});
|
|
391
|
+
var CalculationType = /* @__PURE__ */ ((CalculationType2) => {
|
|
392
|
+
CalculationType2["EqualsTo"] = "EqualsTo";
|
|
393
|
+
CalculationType2["Contains"] = "Contains";
|
|
394
|
+
CalculationType2["GreaterThan"] = "GreaterThan";
|
|
395
|
+
CalculationType2["LessThan"] = "LessThan";
|
|
396
|
+
CalculationType2["Empty"] = "Empty";
|
|
397
|
+
CalculationType2["NotEquals"] = "Not Equals";
|
|
398
|
+
return CalculationType2;
|
|
399
|
+
})(CalculationType || {});
|
|
400
|
+
var operationType = /* @__PURE__ */ ((operationType2) => {
|
|
401
|
+
operationType2["Count"] = "Count";
|
|
402
|
+
operationType2["Sum"] = "Sum";
|
|
403
|
+
operationType2["Mean"] = "Mean";
|
|
404
|
+
operationType2["Median"] = "Median";
|
|
405
|
+
operationType2["Maximum"] = "Maximum";
|
|
406
|
+
operationType2["Minimum"] = "Minimum";
|
|
407
|
+
return operationType2;
|
|
408
|
+
})(operationType || {});
|
|
409
|
+
var FrequencyType = /* @__PURE__ */ ((FrequencyType2) => {
|
|
410
|
+
FrequencyType2["Daily"] = "Daily";
|
|
411
|
+
FrequencyType2["Monthly"] = "Monthly";
|
|
412
|
+
FrequencyType2["Quarterly"] = "Quarterly";
|
|
413
|
+
FrequencyType2["Annually"] = "Annually";
|
|
414
|
+
return FrequencyType2;
|
|
415
|
+
})(FrequencyType || {});
|
|
416
|
+
var action = /* @__PURE__ */ ((action2) => {
|
|
417
|
+
action2["create"] = "create";
|
|
418
|
+
action2["update"] = "update";
|
|
419
|
+
action2["delete"] = "delete";
|
|
420
|
+
action2["undo"] = "undo";
|
|
421
|
+
return action2;
|
|
422
|
+
})(action || {});
|
|
423
|
+
var ChartType = /* @__PURE__ */ ((ChartType2) => {
|
|
424
|
+
ChartType2["line"] = "line";
|
|
425
|
+
ChartType2["bar"] = "bar";
|
|
426
|
+
ChartType2["scatter"] = "scatter";
|
|
427
|
+
ChartType2["pie"] = "pie";
|
|
428
|
+
return ChartType2;
|
|
429
|
+
})(ChartType || {});
|
|
430
|
+
var Gender = /* @__PURE__ */ ((Gender2) => {
|
|
431
|
+
Gender2["Male"] = "Male";
|
|
432
|
+
Gender2["Female"] = "Female";
|
|
433
|
+
Gender2["Others"] = "Others";
|
|
434
|
+
return Gender2;
|
|
435
|
+
})(Gender || {});
|
|
436
|
+
var AppMode = /* @__PURE__ */ ((AppMode2) => {
|
|
437
|
+
AppMode2["light"] = "light";
|
|
438
|
+
AppMode2["dark"] = "dark";
|
|
439
|
+
return AppMode2;
|
|
440
|
+
})(AppMode || {});
|
|
441
|
+
var PlatformLanguage = /* @__PURE__ */ ((PlatformLanguage2) => {
|
|
442
|
+
PlatformLanguage2["Arabic"] = "Arabic";
|
|
443
|
+
PlatformLanguage2["English"] = "English";
|
|
444
|
+
PlatformLanguage2["French"] = "French";
|
|
445
|
+
PlatformLanguage2["German"] = "German";
|
|
446
|
+
PlatformLanguage2["Spanish"] = "Spanish";
|
|
447
|
+
return PlatformLanguage2;
|
|
448
|
+
})(PlatformLanguage || {});
|
|
449
|
+
var collectionMethod = /* @__PURE__ */ ((collectionMethod2) => {
|
|
450
|
+
collectionMethod2["charge_automatically"] = "charge_automatically";
|
|
451
|
+
collectionMethod2["send_invoice"] = "send_invoice";
|
|
452
|
+
return collectionMethod2;
|
|
453
|
+
})(collectionMethod || {});
|
|
454
|
+
var missingPaymentMethod = /* @__PURE__ */ ((missingPaymentMethod2) => {
|
|
455
|
+
missingPaymentMethod2["cancel"] = "cancel";
|
|
456
|
+
missingPaymentMethod2["create_invoice"] = "create_invoice";
|
|
457
|
+
missingPaymentMethod2["pause"] = "pause";
|
|
458
|
+
return missingPaymentMethod2;
|
|
459
|
+
})(missingPaymentMethod || {});
|
|
460
|
+
var commentRole = /* @__PURE__ */ ((commentRole2) => {
|
|
461
|
+
commentRole2["user"] = "user";
|
|
462
|
+
commentRole2["assistant"] = "assistant";
|
|
463
|
+
return commentRole2;
|
|
464
|
+
})(commentRole || {});
|
|
465
|
+
var chatType = /* @__PURE__ */ ((chatType2) => {
|
|
466
|
+
chatType2["chat_gpt"] = "chat_gpt";
|
|
467
|
+
chatType2["deepseek"] = "deepseek";
|
|
468
|
+
chatType2["claude"] = "claude";
|
|
469
|
+
return chatType2;
|
|
470
|
+
})(chatType || {});
|
|
471
|
+
var integrationType = /* @__PURE__ */ ((integrationType2) => {
|
|
472
|
+
integrationType2["stripe"] = "stripe";
|
|
473
|
+
integrationType2["google_workspace"] = "google_workspace";
|
|
474
|
+
integrationType2["microsoft_teams"] = "microsoft_teams";
|
|
475
|
+
integrationType2["microsoft_365"] = "microsoft_365";
|
|
476
|
+
integrationType2["slack"] = "slack";
|
|
477
|
+
integrationType2["fixer_io"] = "fixer_io";
|
|
478
|
+
integrationType2["chat_gpt"] = "chat_gpt";
|
|
479
|
+
integrationType2["deepseek"] = "deepseek";
|
|
480
|
+
integrationType2["claude"] = "claude";
|
|
481
|
+
integrationType2["shippo"] = "shippo";
|
|
482
|
+
integrationType2["shopify"] = "shopify";
|
|
483
|
+
integrationType2["dealio"] = "dealio";
|
|
484
|
+
return integrationType2;
|
|
485
|
+
})(integrationType || {});
|
|
486
|
+
var currency = /* @__PURE__ */ ((currency2) => {
|
|
487
|
+
currency2["usd"] = "usd";
|
|
488
|
+
currency2["aed"] = "aed";
|
|
489
|
+
currency2["afn"] = "afn";
|
|
490
|
+
currency2["all"] = "all";
|
|
491
|
+
currency2["amd"] = "amd";
|
|
492
|
+
currency2["ang"] = "ang";
|
|
493
|
+
currency2["aoa"] = "aoa";
|
|
494
|
+
currency2["ars"] = "ars";
|
|
495
|
+
currency2["aud"] = "aud";
|
|
496
|
+
currency2["awg"] = "awg";
|
|
497
|
+
currency2["azn"] = "azn";
|
|
498
|
+
currency2["bam"] = "bam";
|
|
499
|
+
currency2["bbd"] = "bbd";
|
|
500
|
+
currency2["bdt"] = "bdt";
|
|
501
|
+
currency2["bgn"] = "bgn";
|
|
502
|
+
currency2["bif"] = "bif";
|
|
503
|
+
currency2["bmd"] = "bmd";
|
|
504
|
+
currency2["bnd"] = "bnd";
|
|
505
|
+
currency2["bob"] = "bob";
|
|
506
|
+
currency2["brl"] = "brl";
|
|
507
|
+
currency2["bsd"] = "bsd";
|
|
508
|
+
currency2["bwp"] = "bwp";
|
|
509
|
+
currency2["byn"] = "byn";
|
|
510
|
+
currency2["bzd"] = "bzd";
|
|
511
|
+
currency2["cad"] = "cad";
|
|
512
|
+
currency2["cdf"] = "cdf";
|
|
513
|
+
currency2["chf"] = "chf";
|
|
514
|
+
currency2["clp"] = "clp";
|
|
515
|
+
currency2["cny"] = "cny";
|
|
516
|
+
currency2["cop"] = "cop";
|
|
517
|
+
currency2["crc"] = "crc";
|
|
518
|
+
currency2["cve"] = "cve";
|
|
519
|
+
currency2["czk"] = "czk";
|
|
520
|
+
currency2["djf"] = "djf";
|
|
521
|
+
currency2["dkk"] = "dkk";
|
|
522
|
+
currency2["dop"] = "dop";
|
|
523
|
+
currency2["dzd"] = "dzd";
|
|
524
|
+
currency2["egp"] = "egp";
|
|
525
|
+
currency2["etb"] = "etb";
|
|
526
|
+
currency2["eur"] = "eur";
|
|
527
|
+
currency2["fjd"] = "fjd";
|
|
528
|
+
currency2["fkp"] = "fkp";
|
|
529
|
+
currency2["gbp"] = "gbp";
|
|
530
|
+
currency2["gel"] = "gel";
|
|
531
|
+
currency2["gip"] = "gip";
|
|
532
|
+
currency2["gmd"] = "gmd";
|
|
533
|
+
currency2["gnf"] = "gnf";
|
|
534
|
+
currency2["gtq"] = "gtq";
|
|
535
|
+
currency2["gyd"] = "gyd";
|
|
536
|
+
currency2["hkd"] = "hkd";
|
|
537
|
+
currency2["hnl"] = "hnl";
|
|
538
|
+
currency2["htg"] = "htg";
|
|
539
|
+
currency2["huf"] = "huf";
|
|
540
|
+
currency2["idr"] = "idr";
|
|
541
|
+
currency2["ils"] = "ils";
|
|
542
|
+
currency2["inr"] = "inr";
|
|
543
|
+
currency2["isk"] = "isk";
|
|
544
|
+
currency2["jmd"] = "jmd";
|
|
545
|
+
currency2["jpy"] = "jpy";
|
|
546
|
+
currency2["kes"] = "kes";
|
|
547
|
+
currency2["kgs"] = "kgs";
|
|
548
|
+
currency2["khr"] = "khr";
|
|
549
|
+
currency2["kmf"] = "kmf";
|
|
550
|
+
currency2["krw"] = "krw";
|
|
551
|
+
currency2["kyd"] = "kyd";
|
|
552
|
+
currency2["kzt"] = "kzt";
|
|
553
|
+
currency2["lak"] = "lak";
|
|
554
|
+
currency2["lbp"] = "lbp";
|
|
555
|
+
currency2["lkr"] = "lkr";
|
|
556
|
+
currency2["lrd"] = "lrd";
|
|
557
|
+
currency2["lsl"] = "lsl";
|
|
558
|
+
currency2["mad"] = "mad";
|
|
559
|
+
currency2["mdl"] = "mdl";
|
|
560
|
+
currency2["mga"] = "mga";
|
|
561
|
+
currency2["mkd"] = "mkd";
|
|
562
|
+
currency2["mmk"] = "mmk";
|
|
563
|
+
currency2["mnt"] = "mnt";
|
|
564
|
+
currency2["mop"] = "mop";
|
|
565
|
+
currency2["mur"] = "mur";
|
|
566
|
+
currency2["mvr"] = "mvr";
|
|
567
|
+
currency2["mwk"] = "mwk";
|
|
568
|
+
currency2["mxn"] = "mxn";
|
|
569
|
+
currency2["myr"] = "myr";
|
|
570
|
+
currency2["mzn"] = "mzn";
|
|
571
|
+
currency2["nad"] = "nad";
|
|
572
|
+
currency2["ngn"] = "ngn";
|
|
573
|
+
currency2["nio"] = "nio";
|
|
574
|
+
currency2["nok"] = "nok";
|
|
575
|
+
currency2["npr"] = "npr";
|
|
576
|
+
currency2["nzd"] = "nzd";
|
|
577
|
+
currency2["pab"] = "pab";
|
|
578
|
+
currency2["pen"] = "pen";
|
|
579
|
+
currency2["pgk"] = "pgk";
|
|
580
|
+
currency2["php"] = "php";
|
|
581
|
+
currency2["pkr"] = "pkr";
|
|
582
|
+
currency2["pln"] = "pln";
|
|
583
|
+
currency2["pyg"] = "pyg";
|
|
584
|
+
currency2["qar"] = "qar";
|
|
585
|
+
currency2["ron"] = "ron";
|
|
586
|
+
currency2["rsd"] = "rsd";
|
|
587
|
+
currency2["rub"] = "rub";
|
|
588
|
+
currency2["rwf"] = "rwf";
|
|
589
|
+
currency2["sar"] = "sar";
|
|
590
|
+
currency2["sbd"] = "sbd";
|
|
591
|
+
currency2["scr"] = "scr";
|
|
592
|
+
currency2["sek"] = "sek";
|
|
593
|
+
currency2["sgd"] = "sgd";
|
|
594
|
+
currency2["shp"] = "shp";
|
|
595
|
+
currency2["sle"] = "sle";
|
|
596
|
+
currency2["sos"] = "sos";
|
|
597
|
+
currency2["srd"] = "srd";
|
|
598
|
+
currency2["std"] = "std";
|
|
599
|
+
currency2["szl"] = "szl";
|
|
600
|
+
currency2["thb"] = "thb";
|
|
601
|
+
currency2["tjs"] = "tjs";
|
|
602
|
+
currency2["top"] = "top";
|
|
603
|
+
currency2["try"] = "try";
|
|
604
|
+
currency2["ttd"] = "ttd";
|
|
605
|
+
currency2["twd"] = "twd";
|
|
606
|
+
currency2["tzs"] = "tzs";
|
|
607
|
+
currency2["uah"] = "uah";
|
|
608
|
+
currency2["ugx"] = "ugx";
|
|
609
|
+
currency2["uyu"] = "uyu";
|
|
610
|
+
currency2["uzs"] = "uzs";
|
|
611
|
+
currency2["vnd"] = "vnd";
|
|
612
|
+
currency2["vuv"] = "vuv";
|
|
613
|
+
currency2["wst"] = "wst";
|
|
614
|
+
currency2["xaf"] = "xaf";
|
|
615
|
+
currency2["xcd"] = "xcd";
|
|
616
|
+
currency2["xof"] = "xof";
|
|
617
|
+
currency2["xpf"] = "xpf";
|
|
618
|
+
currency2["yer"] = "yer";
|
|
619
|
+
currency2["zar"] = "zar";
|
|
620
|
+
currency2["zmw"] = "zmw";
|
|
621
|
+
return currency2;
|
|
622
|
+
})(currency || {});
|
|
623
|
+
|
|
70
624
|
// src/constants.tsx
|
|
71
625
|
var constants = {
|
|
72
626
|
APP_LANGUAGES: {
|
|
@@ -1148,19 +1702,68 @@ var defaults = {
|
|
|
1148
1702
|
};
|
|
1149
1703
|
var defaults_default = defaults;
|
|
1150
1704
|
export {
|
|
1705
|
+
AppMode,
|
|
1706
|
+
CalculationType,
|
|
1707
|
+
CampaignType,
|
|
1708
|
+
CategoryType,
|
|
1709
|
+
ChartType,
|
|
1710
|
+
ContentType,
|
|
1711
|
+
DealType,
|
|
1712
|
+
DeviceNotification,
|
|
1713
|
+
FeatureType,
|
|
1714
|
+
FilterType,
|
|
1715
|
+
FormFieldOrder,
|
|
1716
|
+
FormFieldType,
|
|
1717
|
+
FrequencyType,
|
|
1718
|
+
Gender,
|
|
1719
|
+
LandingPath,
|
|
1720
|
+
LandingView,
|
|
1721
|
+
LeadType,
|
|
1722
|
+
ModelType,
|
|
1723
|
+
OrganizationFeatures,
|
|
1724
|
+
PermissionType,
|
|
1725
|
+
PlatformLanguage,
|
|
1726
|
+
Priority,
|
|
1727
|
+
SourceType,
|
|
1728
|
+
UsageType,
|
|
1729
|
+
UserSettingType,
|
|
1730
|
+
accountType,
|
|
1731
|
+
action,
|
|
1732
|
+
automaticTaxStatus,
|
|
1733
|
+
billingReason,
|
|
1151
1734
|
camelCaseToWords,
|
|
1152
1735
|
capitalizeSentence,
|
|
1736
|
+
captureMethod,
|
|
1737
|
+
chatType,
|
|
1738
|
+
clientType,
|
|
1739
|
+
collectionMethod,
|
|
1740
|
+
commentRole,
|
|
1153
1741
|
constants_default as constants,
|
|
1742
|
+
currency,
|
|
1743
|
+
customerType,
|
|
1154
1744
|
defaults_default as defaults,
|
|
1155
1745
|
formatPhoneNumber,
|
|
1156
1746
|
getRandomArbitrary,
|
|
1157
1747
|
grabAge,
|
|
1748
|
+
integrationType,
|
|
1158
1749
|
isNumber,
|
|
1159
1750
|
largeNumberLabel,
|
|
1751
|
+
missingPaymentMethod,
|
|
1160
1752
|
normalizeKey,
|
|
1161
1753
|
openInNewTab,
|
|
1754
|
+
operationType,
|
|
1755
|
+
organizationFilterType,
|
|
1756
|
+
paymentCancellationReason,
|
|
1757
|
+
paymentStatus,
|
|
1162
1758
|
prettifyString,
|
|
1759
|
+
productType,
|
|
1163
1760
|
snakeToPretty,
|
|
1761
|
+
status,
|
|
1762
|
+
subscriptionCancellationReason,
|
|
1763
|
+
taxExempt,
|
|
1764
|
+
userRole,
|
|
1765
|
+
userSource,
|
|
1766
|
+
userStatus,
|
|
1164
1767
|
validEmail
|
|
1165
1768
|
};
|
|
1166
1769
|
//# sourceMappingURL=index.mjs.map
|