@verma-consulting/common-library 0.1.14 → 0.1.16

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.mjs CHANGED
@@ -131,17 +131,17 @@ var userStatus = /* @__PURE__ */ ((userStatus2) => {
131
131
  userStatus2["Inactive"] = "Inactive";
132
132
  return userStatus2;
133
133
  })(userStatus || {});
134
- var subscriptionCancellationReason = /* @__PURE__ */ ((subscriptionCancellationReason2) => {
135
- subscriptionCancellationReason2["CustomerService"] = "customer_service";
136
- subscriptionCancellationReason2["LowQuality"] = "low_quality";
137
- subscriptionCancellationReason2["MissingFeatures"] = "missing_features";
138
- subscriptionCancellationReason2["SwitchedService"] = "switched_service";
139
- subscriptionCancellationReason2["TooComplex"] = "too_complex";
140
- subscriptionCancellationReason2["TooExpensive"] = "too_expensive";
141
- subscriptionCancellationReason2["Unused"] = "unused";
142
- subscriptionCancellationReason2["Other"] = "other";
143
- return subscriptionCancellationReason2;
144
- })(subscriptionCancellationReason || {});
134
+ var cancellationReason = /* @__PURE__ */ ((cancellationReason2) => {
135
+ cancellationReason2["CustomerService"] = "customer_service";
136
+ cancellationReason2["LowQuality"] = "low_quality";
137
+ cancellationReason2["MissingFeatures"] = "missing_features";
138
+ cancellationReason2["SwitchedService"] = "switched_service";
139
+ cancellationReason2["TooComplex"] = "too_complex";
140
+ cancellationReason2["TooExpensive"] = "too_expensive";
141
+ cancellationReason2["Unused"] = "unused";
142
+ cancellationReason2["Other"] = "other";
143
+ return cancellationReason2;
144
+ })(cancellationReason || {});
145
145
  var paymentCancellationReason = /* @__PURE__ */ ((paymentCancellationReason2) => {
146
146
  paymentCancellationReason2["abandoned"] = "abandoned";
147
147
  paymentCancellationReason2["automatic"] = "automatic";
@@ -159,18 +159,171 @@ var captureMethod = /* @__PURE__ */ ((captureMethod2) => {
159
159
  return captureMethod2;
160
160
  })(captureMethod || {});
161
161
  var paymentStatus = /* @__PURE__ */ ((paymentStatus2) => {
162
- paymentStatus2["canceled"] = "canceled";
163
- paymentStatus2["processing"] = "processing";
162
+ paymentStatus2["pending"] = "pending";
163
+ paymentStatus2["succeeded"] = "succeeded";
164
+ paymentStatus2["failed"] = "failed";
164
165
  paymentStatus2["requiresAction"] = "requires_action";
165
166
  paymentStatus2["requiresCapture"] = "requires_capture";
166
167
  paymentStatus2["requiresConfirmation"] = "requires_confirmation";
167
168
  paymentStatus2["requiresPaymentMethod"] = "requires_payment_method";
168
- paymentStatus2["succeeded"] = "succeeded";
169
169
  return paymentStatus2;
170
170
  })(paymentStatus || {});
171
+ var paymentAllowRedirect = /* @__PURE__ */ ((paymentAllowRedirect2) => {
172
+ paymentAllowRedirect2["always"] = "always";
173
+ paymentAllowRedirect2["never"] = "never";
174
+ return paymentAllowRedirect2;
175
+ })(paymentAllowRedirect || {});
176
+ var paymentFutureUsage = /* @__PURE__ */ ((paymentFutureUsage2) => {
177
+ paymentFutureUsage2["off_session"] = "off_session";
178
+ paymentFutureUsage2["on_session"] = "on_session";
179
+ return paymentFutureUsage2;
180
+ })(paymentFutureUsage || {});
181
+ var taxBehavior = /* @__PURE__ */ ((taxBehavior2) => {
182
+ taxBehavior2["exclusive"] = "exclusive";
183
+ taxBehavior2["inclusive"] = "inclusive";
184
+ taxBehavior2["unspecified"] = "unspecified";
185
+ return taxBehavior2;
186
+ })(taxBehavior || {});
187
+ var priceType = /* @__PURE__ */ ((priceType2) => {
188
+ priceType2["one_time"] = "one_time";
189
+ priceType2["recurring"] = "recurring";
190
+ return priceType2;
191
+ })(priceType || {});
192
+ var billingScheme = /* @__PURE__ */ ((billingScheme2) => {
193
+ billingScheme2["per_unit"] = "per_unit";
194
+ billingScheme2["tiered"] = "tiered";
195
+ return billingScheme2;
196
+ })(billingScheme || {});
197
+ var tiersMode = /* @__PURE__ */ ((tiersMode2) => {
198
+ tiersMode2["graduated"] = "graduated";
199
+ tiersMode2["volume"] = "volume";
200
+ return tiersMode2;
201
+ })(tiersMode || {});
202
+ var disputeReason = /* @__PURE__ */ ((disputeReason2) => {
203
+ disputeReason2["bankCannotProcess"] = "bank_cannot_process";
204
+ disputeReason2["checkReturned"] = "check_returned";
205
+ disputeReason2["creditNotProcessed"] = "credit_not_processed";
206
+ disputeReason2["customerInitiated"] = "customer_initiated";
207
+ disputeReason2["debitNotAuthorized"] = "debit_not_authorized";
208
+ disputeReason2["duplicate"] = "duplicate";
209
+ disputeReason2["fraudulent"] = "fraudulent";
210
+ disputeReason2["general"] = "general";
211
+ disputeReason2["incorrectAccountDetails"] = "incorrect_account_details";
212
+ disputeReason2["insufficientFunds"] = "insufficient_funds";
213
+ disputeReason2["noncompliant"] = "noncompliant";
214
+ disputeReason2["productNotReceived"] = "product_not_received";
215
+ disputeReason2["productUnacceptable"] = "product_unacceptable";
216
+ disputeReason2["subscriptionCanceled"] = "subscription_canceled";
217
+ disputeReason2["unrecognized"] = "unrecognized";
218
+ return disputeReason2;
219
+ })(disputeReason || {});
220
+ var disputeStatus = /* @__PURE__ */ ((disputeStatus2) => {
221
+ disputeStatus2["warningNeedsResponse"] = "warning_needs_response";
222
+ disputeStatus2["warningUnderReview"] = "warning_under_review";
223
+ disputeStatus2["warningClosed"] = "warning_closed";
224
+ disputeStatus2["needsResponse"] = "needs_response";
225
+ disputeStatus2["underReview"] = "under_review";
226
+ disputeStatus2["won"] = "won";
227
+ disputeStatus2["lost"] = "lost";
228
+ disputeStatus2["prevented"] = "prevented";
229
+ return disputeStatus2;
230
+ })(disputeStatus || {});
231
+ var refundStatus = /* @__PURE__ */ ((refundStatus2) => {
232
+ refundStatus2["pending"] = "pending";
233
+ refundStatus2["requiresAction"] = "requires_action";
234
+ refundStatus2["succeeded"] = "succeeded";
235
+ refundStatus2["failed"] = "failed";
236
+ refundStatus2["canceled"] = "canceled";
237
+ return refundStatus2;
238
+ })(refundStatus || {});
239
+ var refundReason = /* @__PURE__ */ ((refundReason2) => {
240
+ refundReason2["duplicate"] = "duplicate";
241
+ refundReason2["fraudulent"] = "fraudulent";
242
+ refundReason2["requestedByCustomer"] = "requested_by_customer";
243
+ refundReason2["expiredUncapturedCharge"] = "expired_uncaptured_charge";
244
+ return refundReason2;
245
+ })(refundReason || {});
246
+ var refundFailureReason = /* @__PURE__ */ ((refundFailureReason2) => {
247
+ refundFailureReason2["lostOrStolenCard"] = "lost_or_stolen_card";
248
+ refundFailureReason2["expiredOrCanceledCard"] = "expired_or_canceled_card";
249
+ refundFailureReason2["chargeForPendingRefundDisputed"] = "charge_for_pending_refund_disputed";
250
+ refundFailureReason2["insufficientFunds"] = "insufficient_funds";
251
+ refundFailureReason2["declined"] = "declined";
252
+ refundFailureReason2["merchantRequest"] = "merchant_request";
253
+ refundFailureReason2["unknown"] = "unknown";
254
+ return refundFailureReason2;
255
+ })(refundFailureReason || {});
256
+ var refundPendingReason = /* @__PURE__ */ ((refundPendingReason2) => {
257
+ refundPendingReason2["processing"] = "processing";
258
+ refundPendingReason2["insufficientFunds"] = "insufficient_funds";
259
+ refundPendingReason2["chargePending"] = "charge_pending";
260
+ return refundPendingReason2;
261
+ })(refundPendingReason || {});
262
+ var paymentMethodAllowReDisplay = /* @__PURE__ */ ((paymentMethodAllowReDisplay2) => {
263
+ paymentMethodAllowReDisplay2["always"] = "always";
264
+ paymentMethodAllowReDisplay2["limited"] = "limited";
265
+ paymentMethodAllowReDisplay2["unspecified"] = "unspecified";
266
+ return paymentMethodAllowReDisplay2;
267
+ })(paymentMethodAllowReDisplay || {});
268
+ var paymentMethodType = /* @__PURE__ */ ((paymentMethodType2) => {
269
+ paymentMethodType2["AcssDebit"] = "acss_debit";
270
+ paymentMethodType2["Affirm"] = "affirm";
271
+ paymentMethodType2["AfterpayClearpay"] = "afterpay_clearpay";
272
+ paymentMethodType2["Alipay"] = "alipay";
273
+ paymentMethodType2["Alma"] = "alma";
274
+ paymentMethodType2["AmazonPay"] = "amazon_pay";
275
+ paymentMethodType2["AuBecsDebit"] = "au_becs_debit";
276
+ paymentMethodType2["BacsDebit"] = "bacs_debit";
277
+ paymentMethodType2["Bancontact"] = "bancontact";
278
+ paymentMethodType2["Billie"] = "billie";
279
+ paymentMethodType2["Blik"] = "blik";
280
+ paymentMethodType2["Boleto"] = "boleto";
281
+ paymentMethodType2["Card"] = "card";
282
+ paymentMethodType2["CardPresent"] = "card_present";
283
+ paymentMethodType2["CashApp"] = "cashapp";
284
+ paymentMethodType2["Crypto"] = "crypto";
285
+ paymentMethodType2["CustomerBalance"] = "customer_balance";
286
+ paymentMethodType2["Eps"] = "eps";
287
+ paymentMethodType2["Fpx"] = "fpx";
288
+ paymentMethodType2["Giropay"] = "giropay";
289
+ paymentMethodType2["GrabPay"] = "grabpay";
290
+ paymentMethodType2["Ideal"] = "ideal";
291
+ paymentMethodType2["InteracPresent"] = "interac_present";
292
+ paymentMethodType2["KakaoPay"] = "kakao_pay";
293
+ paymentMethodType2["Klarna"] = "klarna";
294
+ paymentMethodType2["Konbini"] = "konbini";
295
+ paymentMethodType2["KrCard"] = "kr_card";
296
+ paymentMethodType2["Link"] = "link";
297
+ paymentMethodType2["MbWay"] = "mb_way";
298
+ paymentMethodType2["MobilePay"] = "mobilepay";
299
+ paymentMethodType2["Multibanco"] = "multibanco";
300
+ paymentMethodType2["NaverPay"] = "naver_pay";
301
+ paymentMethodType2["NzBankAccount"] = "nz_bank_account";
302
+ paymentMethodType2["Oxxo"] = "oxxo";
303
+ paymentMethodType2["P24"] = "p24";
304
+ paymentMethodType2["PayByBank"] = "pay_by_bank";
305
+ paymentMethodType2["Payco"] = "payco";
306
+ paymentMethodType2["PayNow"] = "paynow";
307
+ paymentMethodType2["Paypal"] = "paypal";
308
+ paymentMethodType2["PayPay"] = "paypay";
309
+ paymentMethodType2["Pix"] = "pix";
310
+ paymentMethodType2["PromptPay"] = "promptpay";
311
+ paymentMethodType2["RevolutPay"] = "revolut_pay";
312
+ paymentMethodType2["SamsungPay"] = "samsung_pay";
313
+ paymentMethodType2["Satispay"] = "satispay";
314
+ paymentMethodType2["SepaDebit"] = "sepa_debit";
315
+ paymentMethodType2["Sofort"] = "sofort";
316
+ paymentMethodType2["Swish"] = "swish";
317
+ paymentMethodType2["Twint"] = "twint";
318
+ paymentMethodType2["UsBankAccount"] = "us_bank_account";
319
+ paymentMethodType2["WechatPay"] = "wechat_pay";
320
+ paymentMethodType2["Zip"] = "zip";
321
+ return paymentMethodType2;
322
+ })(paymentMethodType || {});
171
323
  var OrganizationFeatures = /* @__PURE__ */ ((OrganizationFeatures2) => {
172
324
  OrganizationFeatures2["clients"] = "clients";
173
325
  OrganizationFeatures2["tasks"] = "tasks";
326
+ OrganizationFeatures2["products"] = "products";
174
327
  OrganizationFeatures2["inventories"] = "inventories";
175
328
  OrganizationFeatures2["invoices"] = "invoices";
176
329
  OrganizationFeatures2["leads"] = "leads";
@@ -178,9 +331,11 @@ var OrganizationFeatures = /* @__PURE__ */ ((OrganizationFeatures2) => {
178
331
  OrganizationFeatures2["contacts"] = "contacts";
179
332
  OrganizationFeatures2["engagements"] = "engagements";
180
333
  OrganizationFeatures2["campaigns"] = "campaigns";
181
- OrganizationFeatures2["products"] = "products";
182
334
  OrganizationFeatures2["subscriptions"] = "subscriptions";
183
335
  OrganizationFeatures2["payments"] = "payments";
336
+ OrganizationFeatures2["paymentMethods"] = "paymentMethods";
337
+ OrganizationFeatures2["refunds"] = "refunds";
338
+ OrganizationFeatures2["disputes"] = "disputes";
184
339
  OrganizationFeatures2["dataPools"] = "dataPools";
185
340
  OrganizationFeatures2["lists"] = "lists";
186
341
  OrganizationFeatures2["reports"] = "reports";
@@ -672,17 +827,46 @@ var constants = {
672
827
  ],
673
828
  MODEL_APP_MAPPING: {
674
829
  clients: "cms",
830
+ tasks: "cms",
831
+ products: "cms",
675
832
  inventories: "cms",
676
833
  invoices: "cms",
677
- tasks: "cms",
678
- campaigns: "crm",
679
834
  contacts: "crm",
680
- deals: "crm",
681
835
  engagements: "crm",
836
+ campaigns: "crm",
682
837
  leads: "crm",
838
+ deals: "crm",
839
+ subscriptions: "financials",
683
840
  payments: "financials",
684
- products: "financials",
685
- subscriptions: "financials"
841
+ paymentMethods: "financials",
842
+ refunds: "financials",
843
+ disputes: "financials"
844
+ },
845
+ MODEL_CATEGORY_MAP: {
846
+ clients: "content",
847
+ tasks: "content",
848
+ products: "content",
849
+ inventories: "content",
850
+ invoices: "content",
851
+ contacts: "relations",
852
+ engagements: "relations",
853
+ campaigns: "relations",
854
+ leads: "relations",
855
+ deals: "relations",
856
+ subscriptions: "financials",
857
+ payments: "financials",
858
+ paymentMethods: "financials",
859
+ refunds: "financials",
860
+ disputes: "financials",
861
+ content: ["clients", "tasks", "products", "inventories", "invoices"],
862
+ relations: ["contacts", "engagements", "campaigns", "leads", "deals"],
863
+ financials: [
864
+ "subscriptions",
865
+ "payments",
866
+ "paymentMethods",
867
+ "refunds",
868
+ "disputes"
869
+ ]
686
870
  },
687
871
  NOT_INCLUDED_FIELDS: [
688
872
  "id",
@@ -699,7 +883,7 @@ var constants = {
699
883
  GQL_FIELD_TYPE: {
700
884
  LIST: "LIST",
701
885
  OBJECT: "OBJECT",
702
- ENUM: "ENUM",
886
+ Enum: "Enum",
703
887
  String: "String",
704
888
  Float: "Float",
705
889
  Int: "Int",
@@ -721,23 +905,6 @@ var constants = {
721
905
  assignees: "assignees",
722
906
  Team: "Team"
723
907
  },
724
- MODEL_CATEGORY_MAP: {
725
- leads: "relations",
726
- campaigns: "relations",
727
- tasks: "content",
728
- clients: "content",
729
- inventories: "content",
730
- deals: "relations",
731
- invoices: "content",
732
- contacts: "relations",
733
- engagements: "relations",
734
- products: "financials",
735
- subscriptions: "financials",
736
- payments: "financials",
737
- content: ["clients", "inventories", "invoices", "tasks"],
738
- relations: ["deals", "contacts", "engagements", "leads", "campaigns"],
739
- financials: ["products", "subscriptions", "payments"]
740
- },
741
908
  SETTING_TABS: {
742
909
  Personal: "Personal",
743
910
  Notifications: "Notifications",
@@ -821,430 +988,7 @@ var constants = {
821
988
  "Wisconsin",
822
989
  "Wyoming"
823
990
  ],
824
- COUNTRIES: [
825
- { code: "AD", label: "Andorra", phone: "376" },
826
- {
827
- code: "AE",
828
- label: "United Arab Emirates",
829
- phone: "971"
830
- },
831
- { code: "AF", label: "Afghanistan", phone: "93" },
832
- {
833
- code: "AG",
834
- label: "Antigua and Barbuda",
835
- phone: "1-268"
836
- },
837
- { code: "AI", label: "Anguilla", phone: "1-264" },
838
- { code: "AL", label: "Albania", phone: "355" },
839
- { code: "AM", label: "Armenia", phone: "374" },
840
- { code: "AO", label: "Angola", phone: "244" },
841
- { code: "AQ", label: "Antarctica", phone: "672" },
842
- { code: "AR", label: "Argentina", phone: "54" },
843
- { code: "AS", label: "American Samoa", phone: "1-684" },
844
- { code: "AT", label: "Austria", phone: "43" },
845
- {
846
- code: "AU",
847
- label: "Australia",
848
- phone: "61",
849
- suggested: true
850
- },
851
- { code: "AW", label: "Aruba", phone: "297" },
852
- { code: "AX", label: "Alland Islands", phone: "358" },
853
- { code: "AZ", label: "Azerbaijan", phone: "994" },
854
- {
855
- code: "BA",
856
- label: "Bosnia and Herzegovina",
857
- phone: "387"
858
- },
859
- { code: "BB", label: "Barbados", phone: "1-246" },
860
- { code: "BD", label: "Bangladesh", phone: "880" },
861
- { code: "BE", label: "Belgium", phone: "32" },
862
- { code: "BF", label: "Burkina Faso", phone: "226" },
863
- { code: "BG", label: "Bulgaria", phone: "359" },
864
- { code: "BH", label: "Bahrain", phone: "973" },
865
- { code: "BI", label: "Burundi", phone: "257" },
866
- { code: "BJ", label: "Benin", phone: "229" },
867
- { code: "BL", label: "Saint Barthelemy", phone: "590" },
868
- { code: "BM", label: "Bermuda", phone: "1-441" },
869
- { code: "BN", label: "Brunei Darussalam", phone: "673" },
870
- { code: "BO", label: "Bolivia", phone: "591" },
871
- { code: "BR", label: "Brazil", phone: "55" },
872
- { code: "BS", label: "Bahamas", phone: "1-242" },
873
- { code: "BT", label: "Bhutan", phone: "975" },
874
- { code: "BV", label: "Bouvet Island", phone: "47" },
875
- { code: "BW", label: "Botswana", phone: "267" },
876
- { code: "BY", label: "Belarus", phone: "375" },
877
- { code: "BZ", label: "Belize", phone: "501" },
878
- {
879
- code: "CA",
880
- label: "Canada",
881
- phone: "1",
882
- suggested: true
883
- },
884
- {
885
- code: "CC",
886
- label: "Cocos (Keeling) Islands",
887
- phone: "61"
888
- },
889
- {
890
- code: "CD",
891
- label: "Congo, Democratic Republic of the",
892
- phone: "243"
893
- },
894
- {
895
- code: "CF",
896
- label: "Central African Republic",
897
- phone: "236"
898
- },
899
- {
900
- code: "CG",
901
- label: "Congo, Republic of the",
902
- phone: "242"
903
- },
904
- { code: "CH", label: "Switzerland", phone: "41" },
905
- { code: "CI", label: "Cote d'Ivoire", phone: "225" },
906
- { code: "CK", label: "Cook Islands", phone: "682" },
907
- { code: "CL", label: "Chile", phone: "56" },
908
- { code: "CM", label: "Cameroon", phone: "237" },
909
- { code: "CN", label: "China", phone: "86" },
910
- { code: "CO", label: "Colombia", phone: "57" },
911
- { code: "CR", label: "Costa Rica", phone: "506" },
912
- { code: "CU", label: "Cuba", phone: "53" },
913
- { code: "CV", label: "Cape Verde", phone: "238" },
914
- { code: "CW", label: "Curacao", phone: "599" },
915
- { code: "CX", label: "Christmas Island", phone: "61" },
916
- { code: "CY", label: "Cyprus", phone: "357" },
917
- { code: "CZ", label: "Czech Republic", phone: "420" },
918
- {
919
- code: "DE",
920
- label: "Germany",
921
- phone: "49",
922
- suggested: true
923
- },
924
- { code: "DJ", label: "Djibouti", phone: "253" },
925
- { code: "DK", label: "Denmark", phone: "45" },
926
- { code: "DM", label: "Dominica", phone: "1-767" },
927
- {
928
- code: "DO",
929
- label: "Dominican Republic",
930
- phone: "1-809"
931
- },
932
- { code: "DZ", label: "Algeria", phone: "213" },
933
- { code: "EC", label: "Ecuador", phone: "593" },
934
- { code: "EE", label: "Estonia", phone: "372" },
935
- { code: "EG", label: "Egypt", phone: "20" },
936
- { code: "EH", label: "Western Sahara", phone: "212" },
937
- { code: "ER", label: "Eritrea", phone: "291" },
938
- { code: "ES", label: "Spain", phone: "34" },
939
- { code: "ET", label: "Ethiopia", phone: "251" },
940
- { code: "FI", label: "Finland", phone: "358" },
941
- { code: "FJ", label: "Fiji", phone: "679" },
942
- {
943
- code: "FK",
944
- label: "Falkland Islands (Malvinas)",
945
- phone: "500"
946
- },
947
- {
948
- code: "FM",
949
- label: "Micronesia, Federated States of",
950
- phone: "691"
951
- },
952
- { code: "FO", label: "Faroe Islands", phone: "298" },
953
- {
954
- code: "FR",
955
- label: "France",
956
- phone: "33",
957
- suggested: true
958
- },
959
- { code: "GA", label: "Gabon", phone: "241" },
960
- { code: "GB", label: "United Kingdom", phone: "44" },
961
- { code: "GD", label: "Grenada", phone: "1-473" },
962
- { code: "GE", label: "Georgia", phone: "995" },
963
- { code: "GF", label: "French Guiana", phone: "594" },
964
- { code: "GG", label: "Guernsey", phone: "44" },
965
- { code: "GH", label: "Ghana", phone: "233" },
966
- { code: "GI", label: "Gibraltar", phone: "350" },
967
- { code: "GL", label: "Greenland", phone: "299" },
968
- { code: "GM", label: "Gambia", phone: "220" },
969
- { code: "GN", label: "Guinea", phone: "224" },
970
- { code: "GP", label: "Guadeloupe", phone: "590" },
971
- { code: "GQ", label: "Equatorial Guinea", phone: "240" },
972
- { code: "GR", label: "Greece", phone: "30" },
973
- {
974
- code: "GS",
975
- label: "South Georgia and the South Sandwich Islands",
976
- phone: "500"
977
- },
978
- { code: "GT", label: "Guatemala", phone: "502" },
979
- { code: "GU", label: "Guam", phone: "1-671" },
980
- { code: "GW", label: "Guinea-Bissau", phone: "245" },
981
- { code: "GY", label: "Guyana", phone: "592" },
982
- { code: "HK", label: "Hong Kong", phone: "852" },
983
- {
984
- code: "HM",
985
- label: "Heard Island and McDonald Islands",
986
- phone: "672"
987
- },
988
- { code: "HN", label: "Honduras", phone: "504" },
989
- { code: "HR", label: "Croatia", phone: "385" },
990
- { code: "HT", label: "Haiti", phone: "509" },
991
- { code: "HU", label: "Hungary", phone: "36" },
992
- { code: "ID", label: "Indonesia", phone: "62" },
993
- { code: "IE", label: "Ireland", phone: "353" },
994
- { code: "IL", label: "Israel", phone: "972" },
995
- { code: "IM", label: "Isle of Man", phone: "44" },
996
- { code: "IN", label: "India", phone: "91" },
997
- {
998
- code: "IO",
999
- label: "British Indian Ocean Territory",
1000
- phone: "246"
1001
- },
1002
- { code: "IQ", label: "Iraq", phone: "964" },
1003
- {
1004
- code: "IR",
1005
- label: "Iran, Islamic Republic of",
1006
- phone: "98"
1007
- },
1008
- { code: "IS", label: "Iceland", phone: "354" },
1009
- { code: "IT", label: "Italy", phone: "39" },
1010
- { code: "JE", label: "Jersey", phone: "44" },
1011
- { code: "JM", label: "Jamaica", phone: "1-876" },
1012
- { code: "JO", label: "Jordan", phone: "962" },
1013
- {
1014
- code: "JP",
1015
- label: "Japan",
1016
- phone: "81",
1017
- suggested: true
1018
- },
1019
- { code: "KE", label: "Kenya", phone: "254" },
1020
- { code: "KG", label: "Kyrgyzstan", phone: "996" },
1021
- { code: "KH", label: "Cambodia", phone: "855" },
1022
- { code: "KI", label: "Kiribati", phone: "686" },
1023
- { code: "KM", label: "Comoros", phone: "269" },
1024
- {
1025
- code: "KN",
1026
- label: "Saint Kitts and Nevis",
1027
- phone: "1-869"
1028
- },
1029
- {
1030
- code: "KP",
1031
- label: "Korea, Democratic People's Republic of",
1032
- phone: "850"
1033
- },
1034
- { code: "KR", label: "Korea, Republic of", phone: "82" },
1035
- { code: "KW", label: "Kuwait", phone: "965" },
1036
- { code: "KY", label: "Cayman Islands", phone: "1-345" },
1037
- { code: "KZ", label: "Kazakhstan", phone: "7" },
1038
- {
1039
- code: "LA",
1040
- label: "Lao People's Democratic Republic",
1041
- phone: "856"
1042
- },
1043
- { code: "LB", label: "Lebanon", phone: "961" },
1044
- { code: "LC", label: "Saint Lucia", phone: "1-758" },
1045
- { code: "LI", label: "Liechtenstein", phone: "423" },
1046
- { code: "LK", label: "Sri Lanka", phone: "94" },
1047
- { code: "LR", label: "Liberia", phone: "231" },
1048
- { code: "LS", label: "Lesotho", phone: "266" },
1049
- { code: "LT", label: "Lithuania", phone: "370" },
1050
- { code: "LU", label: "Luxembourg", phone: "352" },
1051
- { code: "LV", label: "Latvia", phone: "371" },
1052
- { code: "LY", label: "Libya", phone: "218" },
1053
- { code: "MA", label: "Morocco", phone: "212" },
1054
- { code: "MC", label: "Monaco", phone: "377" },
1055
- {
1056
- code: "MD",
1057
- label: "Moldova, Republic of",
1058
- phone: "373"
1059
- },
1060
- { code: "ME", label: "Montenegro", phone: "382" },
1061
- {
1062
- code: "MF",
1063
- label: "Saint Martin (French part)",
1064
- phone: "590"
1065
- },
1066
- { code: "MG", label: "Madagascar", phone: "261" },
1067
- { code: "MH", label: "Marshall Islands", phone: "692" },
1068
- {
1069
- code: "MK",
1070
- label: "Macedonia, the Former Yugoslav Republic of",
1071
- phone: "389"
1072
- },
1073
- { code: "ML", label: "Mali", phone: "223" },
1074
- { code: "MM", label: "Myanmar", phone: "95" },
1075
- { code: "MN", label: "Mongolia", phone: "976" },
1076
- { code: "MO", label: "Macao", phone: "853" },
1077
- {
1078
- code: "MP",
1079
- label: "Northern Mariana Islands",
1080
- phone: "1-670"
1081
- },
1082
- { code: "MQ", label: "Martinique", phone: "596" },
1083
- { code: "MR", label: "Mauritania", phone: "222" },
1084
- { code: "MS", label: "Montserrat", phone: "1-664" },
1085
- { code: "MT", label: "Malta", phone: "356" },
1086
- { code: "MU", label: "Mauritius", phone: "230" },
1087
- { code: "MV", label: "Maldives", phone: "960" },
1088
- { code: "MW", label: "Malawi", phone: "265" },
1089
- { code: "MX", label: "Mexico", phone: "52" },
1090
- { code: "MY", label: "Malaysia", phone: "60" },
1091
- { code: "MZ", label: "Mozambique", phone: "258" },
1092
- { code: "NA", label: "Namibia", phone: "264" },
1093
- { code: "NC", label: "New Caledonia", phone: "687" },
1094
- { code: "NE", label: "Niger", phone: "227" },
1095
- { code: "NF", label: "Norfolk Island", phone: "672" },
1096
- { code: "NG", label: "Nigeria", phone: "234" },
1097
- { code: "NI", label: "Nicaragua", phone: "505" },
1098
- { code: "NL", label: "Netherlands", phone: "31" },
1099
- { code: "NO", label: "Norway", phone: "47" },
1100
- { code: "NP", label: "Nepal", phone: "977" },
1101
- { code: "NR", label: "Nauru", phone: "674" },
1102
- { code: "NU", label: "Niue", phone: "683" },
1103
- { code: "NZ", label: "New Zealand", phone: "64" },
1104
- { code: "OM", label: "Oman", phone: "968" },
1105
- { code: "PA", label: "Panama", phone: "507" },
1106
- { code: "PE", label: "Peru", phone: "51" },
1107
- { code: "PF", label: "French Polynesia", phone: "689" },
1108
- { code: "PG", label: "Papua New Guinea", phone: "675" },
1109
- { code: "PH", label: "Philippines", phone: "63" },
1110
- { code: "PK", label: "Pakistan", phone: "92" },
1111
- { code: "PL", label: "Poland", phone: "48" },
1112
- {
1113
- code: "PM",
1114
- label: "Saint Pierre and Miquelon",
1115
- phone: "508"
1116
- },
1117
- { code: "PN", label: "Pitcairn", phone: "870" },
1118
- { code: "PR", label: "Puerto Rico", phone: "1" },
1119
- {
1120
- code: "PS",
1121
- label: "Palestine, State of",
1122
- phone: "970"
1123
- },
1124
- { code: "PT", label: "Portugal", phone: "351" },
1125
- { code: "PW", label: "Palau", phone: "680" },
1126
- { code: "PY", label: "Paraguay", phone: "595" },
1127
- { code: "QA", label: "Qatar", phone: "974" },
1128
- { code: "RE", label: "Reunion", phone: "262" },
1129
- { code: "RO", label: "Romania", phone: "40" },
1130
- { code: "RS", label: "Serbia", phone: "381" },
1131
- { code: "RU", label: "Russian Federation", phone: "7" },
1132
- { code: "RW", label: "Rwanda", phone: "250" },
1133
- { code: "SA", label: "Saudi Arabia", phone: "966" },
1134
- { code: "SB", label: "Solomon Islands", phone: "677" },
1135
- { code: "SC", label: "Seychelles", phone: "248" },
1136
- { code: "SD", label: "Sudan", phone: "249" },
1137
- { code: "SE", label: "Sweden", phone: "46" },
1138
- { code: "SG", label: "Singapore", phone: "65" },
1139
- { code: "SH", label: "Saint Helena", phone: "290" },
1140
- { code: "SI", label: "Slovenia", phone: "386" },
1141
- {
1142
- code: "SJ",
1143
- label: "Svalbard and Jan Mayen",
1144
- phone: "47"
1145
- },
1146
- { code: "SK", label: "Slovakia", phone: "421" },
1147
- { code: "SL", label: "Sierra Leone", phone: "232" },
1148
- { code: "SM", label: "San Marino", phone: "378" },
1149
- { code: "SN", label: "Senegal", phone: "221" },
1150
- { code: "SO", label: "Somalia", phone: "252" },
1151
- { code: "SR", label: "Suriname", phone: "597" },
1152
- { code: "SS", label: "South Sudan", phone: "211" },
1153
- {
1154
- code: "ST",
1155
- label: "Sao Tome and Principe",
1156
- phone: "239"
1157
- },
1158
- { code: "SV", label: "El Salvador", phone: "503" },
1159
- {
1160
- code: "SX",
1161
- label: "Sint Maarten (Dutch part)",
1162
- phone: "1-721"
1163
- },
1164
- {
1165
- code: "SY",
1166
- label: "Syrian Arab Republic",
1167
- phone: "963"
1168
- },
1169
- { code: "SZ", label: "Swaziland", phone: "268" },
1170
- {
1171
- code: "TC",
1172
- label: "Turks and Caicos Islands",
1173
- phone: "1-649"
1174
- },
1175
- { code: "TD", label: "Chad", phone: "235" },
1176
- {
1177
- code: "TF",
1178
- label: "French Southern Territories",
1179
- phone: "262"
1180
- },
1181
- { code: "TG", label: "Togo", phone: "228" },
1182
- { code: "TH", label: "Thailand", phone: "66" },
1183
- { code: "TJ", label: "Tajikistan", phone: "992" },
1184
- { code: "TK", label: "Tokelau", phone: "690" },
1185
- { code: "TL", label: "Timor-Leste", phone: "670" },
1186
- { code: "TM", label: "Turkmenistan", phone: "993" },
1187
- { code: "TN", label: "Tunisia", phone: "216" },
1188
- { code: "TO", label: "Tonga", phone: "676" },
1189
- { code: "TR", label: "Turkey", phone: "90" },
1190
- {
1191
- code: "TT",
1192
- label: "Trinidad and Tobago",
1193
- phone: "1-868"
1194
- },
1195
- { code: "TV", label: "Tuvalu", phone: "688" },
1196
- {
1197
- code: "TW",
1198
- label: "Taiwan",
1199
- phone: "886"
1200
- },
1201
- {
1202
- code: "TZ",
1203
- label: "United Republic of Tanzania",
1204
- phone: "255"
1205
- },
1206
- { code: "UA", label: "Ukraine", phone: "380" },
1207
- { code: "UG", label: "Uganda", phone: "256" },
1208
- {
1209
- code: "US",
1210
- label: "United States Of America",
1211
- phone: "1",
1212
- suggested: true
1213
- },
1214
- { code: "UY", label: "Uruguay", phone: "598" },
1215
- { code: "UZ", label: "Uzbekistan", phone: "998" },
1216
- {
1217
- code: "VA",
1218
- label: "Holy See (Vatican City State)",
1219
- phone: "379"
1220
- },
1221
- {
1222
- code: "VC",
1223
- label: "Saint Vincent and the Grenadines",
1224
- phone: "1-784"
1225
- },
1226
- { code: "VE", label: "Venezuela", phone: "58" },
1227
- {
1228
- code: "VG",
1229
- label: "British Virgin Islands",
1230
- phone: "1-284"
1231
- },
1232
- {
1233
- code: "VI",
1234
- label: "US Virgin Islands",
1235
- phone: "1-340"
1236
- },
1237
- { code: "VN", label: "Vietnam", phone: "84" },
1238
- { code: "VU", label: "Vanuatu", phone: "678" },
1239
- { code: "WF", label: "Wallis and Futuna", phone: "681" },
1240
- { code: "WS", label: "Samoa", phone: "685" },
1241
- { code: "XK", label: "Kosovo", phone: "383" },
1242
- { code: "YE", label: "Yemen", phone: "967" },
1243
- { code: "YT", label: "Mayotte", phone: "262" },
1244
- { code: "ZA", label: "South Africa", phone: "27" },
1245
- { code: "ZM", label: "Zambia", phone: "260" },
1246
- { code: "ZW", label: "Zimbabwe", phone: "263" }
1247
- ],
991
+ COUNTRIES: ["USA"],
1248
992
  CURRENCIES: {
1249
993
  aed: "United Arab Emirates Dirham",
1250
994
  afn: "Afghan Afghani",
@@ -1414,7 +1158,7 @@ var constants = {
1414
1158
  xpf: "CFP Franc",
1415
1159
  yer: "Yemeni Rial",
1416
1160
  zar: "South African Rand",
1417
- zmk: "Zambian Kwacha",
1161
+ zmk: "Zambian Kwacha (pre-2013)",
1418
1162
  zmw: "Zambian Kwacha",
1419
1163
  zwl: "Zimbabwean Dollar"
1420
1164
  },
@@ -1741,6 +1485,17 @@ var constants_default = constants;
1741
1485
 
1742
1486
  // src/defaults.ts
1743
1487
  var defaults = {
1488
+ organizations: {
1489
+ name: "",
1490
+ website: "",
1491
+ industry: "",
1492
+ currency: "usd",
1493
+ linkedinUrl: "",
1494
+ facebookUrl: "",
1495
+ twitterUrl: "",
1496
+ angelUrl: "",
1497
+ crunchbaseUrl: ""
1498
+ },
1744
1499
  users: {
1745
1500
  firstName: "",
1746
1501
  lastName: "",
@@ -1760,11 +1515,7 @@ var defaults = {
1760
1515
  deletionAlerts: false,
1761
1516
  device: "Do Not Notify"
1762
1517
  },
1763
- platformSettings: {
1764
- mode: "light",
1765
- language: "english",
1766
- currency: "usd"
1767
- }
1518
+ platformSettings: { mode: "light", language: "english", currency: "usd" }
1768
1519
  },
1769
1520
  clients: {
1770
1521
  name: "",
@@ -1784,7 +1535,7 @@ var defaults = {
1784
1535
  annualRevenue: 0,
1785
1536
  balance: 0,
1786
1537
  nextInvoiceSequence: 1,
1787
- taxExempt: "none",
1538
+ taxExempt: "null",
1788
1539
  website: "",
1789
1540
  source: "Advertisement",
1790
1541
  logoUrl: "",
@@ -1800,88 +1551,60 @@ var defaults = {
1800
1551
  engagements: "",
1801
1552
  tasks: ""
1802
1553
  },
1803
- contacts: {
1554
+ tasks: {
1804
1555
  name: "",
1805
1556
  description: "",
1806
1557
  status: "Ready",
1807
- email: "",
1808
- phone: "",
1809
- role: "",
1810
- linkedinUrl: "",
1811
- twitterUrl: "",
1558
+ priority: "Medium",
1559
+ dueDate: null,
1560
+ reminder: false,
1561
+ reminderDate: null,
1562
+ reminderTime: "",
1563
+ repeat: false,
1564
+ repeatDate: null,
1565
+ repeatTime: "",
1812
1566
  client: "",
1813
- engagements: ""
1567
+ assignee: ""
1814
1568
  },
1815
- inventories: {
1569
+ products: {
1816
1570
  name: "",
1817
- description: "",
1571
+ description: null,
1818
1572
  status: "Ready",
1819
- amount: 0,
1820
- quantity: 0
1573
+ productType: "service",
1574
+ client: "",
1575
+ inventory: "",
1576
+ accountOwner: "",
1577
+ active: true,
1578
+ shippable: false,
1579
+ statementDescriptor: "",
1580
+ taxCode: null,
1581
+ unitLabel: null,
1582
+ url: ""
1821
1583
  },
1822
- organizations: {
1823
- name: "",
1824
- website: "",
1825
- industry: "",
1584
+ packageDimensions: { height: 0, length: 0, weight: 0, width: 0 },
1585
+ prices: {
1586
+ active: true,
1587
+ unitAmount: 0,
1588
+ unitAmountDecimal: null,
1589
+ lookupKey: "",
1590
+ type: "",
1591
+ taxBehavior: "unspecified",
1826
1592
  currency: "usd",
1827
- linkedinUrl: "",
1828
- facebookUrl: "",
1829
- twitterUrl: "",
1830
- angelUrl: "",
1831
- crunchbaseUrl: ""
1832
- },
1833
- activties: {
1834
- label: "",
1835
- value: "",
1836
- modelName: "",
1837
- path: ""
1838
- },
1839
- leads: {
1840
- name: "",
1841
- description: "",
1842
- status: "Ready",
1843
- leadType: "AttemtpedToContact",
1844
- source: "Advertisement",
1845
- amount: 0,
1846
- projectedClosingDate: null,
1847
- expectedRevenue: 0,
1848
- probability: 0,
1849
- nextStep: "",
1850
- accountOwner: "",
1851
- client: "",
1852
- campaign: ""
1593
+ billingScheme: "",
1594
+ recurring: {
1595
+ intervalCount: 0,
1596
+ interval: "",
1597
+ aggregateUsage: "",
1598
+ usageType: "",
1599
+ trialPeriodDays: 0
1600
+ }
1853
1601
  },
1854
- deals: {
1602
+ inventories: {
1855
1603
  name: "",
1856
1604
  description: "",
1857
1605
  status: "Ready",
1858
- dealType: "New",
1859
- source: "Advertisement",
1860
1606
  amount: 0,
1861
- closingDate: null,
1862
- expectedRevenue: 0,
1863
- probability: 0,
1864
- nextStep: "",
1865
- accountOwner: "",
1866
- client: "",
1867
- campaign: ""
1868
- },
1869
- campaigns: {
1870
- name: "",
1871
- description: "",
1872
- status: "Ready",
1873
- priority: "Medium",
1874
- startDate: null,
1875
- endDate: null,
1876
- campaignType: "Email",
1877
- budgetedCost: 0,
1878
- expectedRevenue: 0,
1879
- actualCost: 0,
1880
- numbersSent: 0,
1881
- expectedResponse: "",
1882
- accountOwner: "",
1883
- leads: "",
1884
- deals: ""
1607
+ quantity: 0
1885
1608
  },
1886
1609
  invoices: {
1887
1610
  name: "",
@@ -1914,7 +1637,7 @@ var defaults = {
1914
1637
  collectionMethod: "charge_automatically",
1915
1638
  customerEmail: "",
1916
1639
  customerPhone: "",
1917
- customerTaxExempt: "none",
1640
+ customerTaxExempt: "null",
1918
1641
  invoicePdf: "",
1919
1642
  lastFinalizationError: "",
1920
1643
  number: null,
@@ -1926,9 +1649,17 @@ var defaults = {
1926
1649
  accountOwner: "",
1927
1650
  deal: ""
1928
1651
  },
1929
- issuer: {
1930
- account: "",
1931
- type: ""
1652
+ contacts: {
1653
+ name: "",
1654
+ description: "",
1655
+ status: "Ready",
1656
+ email: "",
1657
+ phone: "",
1658
+ role: "",
1659
+ linkedinUrl: "",
1660
+ twitterUrl: "",
1661
+ client: "",
1662
+ engagements: ""
1932
1663
  },
1933
1664
  engagements: {
1934
1665
  name: "",
@@ -1938,48 +1669,52 @@ var defaults = {
1938
1669
  client: "",
1939
1670
  contact: ""
1940
1671
  },
1941
- pools: {
1672
+ campaigns: {
1942
1673
  name: "",
1943
1674
  description: "",
1944
- status: "Ready"
1675
+ status: "Ready",
1676
+ priority: "Medium",
1677
+ startDate: null,
1678
+ endDate: null,
1679
+ campaignType: "Email",
1680
+ budgetedCost: 0,
1681
+ expectedRevenue: 0,
1682
+ actualCost: 0,
1683
+ numbersSent: 0,
1684
+ expectedResponse: "",
1685
+ accountOwner: "",
1686
+ leads: "",
1687
+ deals: ""
1945
1688
  },
1946
- products: {
1689
+ leads: {
1947
1690
  name: "",
1948
- description: null,
1691
+ description: "",
1949
1692
  status: "Ready",
1950
- productType: "service",
1951
- client: "",
1952
- inventory: "",
1693
+ leadType: "AttemtpedToContact",
1694
+ source: "Advertisement",
1695
+ amount: 0,
1696
+ projectedClosingDate: null,
1697
+ expectedRevenue: 0,
1698
+ probability: 0,
1699
+ nextStep: "",
1953
1700
  accountOwner: "",
1954
- active: true,
1955
- shippable: false,
1956
- statementDescriptor: "",
1957
- taxCode: null,
1958
- unitLabel: null,
1959
- url: ""
1960
- },
1961
- prices: {
1962
- active: true,
1963
- unitAmount: 0,
1964
- unitAmountDecimal: null,
1965
- lookupKey: "",
1966
- type: "",
1967
- taxBehavior: "unspecified",
1968
- currency: "usd",
1969
- billingScheme: "",
1970
- recurring: {
1971
- intervalCount: 0,
1972
- interval: "",
1973
- aggregateUsage: "",
1974
- usageType: "",
1975
- trialPeriodDays: 0
1976
- }
1701
+ client: "",
1702
+ campaign: ""
1977
1703
  },
1978
- packageDimensions: {
1979
- height: 0,
1980
- length: 0,
1981
- weight: 0,
1982
- width: 0
1704
+ deals: {
1705
+ name: "",
1706
+ description: "",
1707
+ status: "Ready",
1708
+ dealType: "New",
1709
+ source: "Advertisement",
1710
+ amount: 0,
1711
+ closingDate: null,
1712
+ expectedRevenue: 0,
1713
+ probability: 0,
1714
+ nextStep: "",
1715
+ accountOwner: "",
1716
+ client: "",
1717
+ campaign: ""
1983
1718
  },
1984
1719
  subscriptions: {
1985
1720
  name: "",
@@ -2009,26 +1744,12 @@ var defaults = {
2009
1744
  },
2010
1745
  automaticTax: {
2011
1746
  enabled: false,
2012
- liability: {
2013
- account: "",
2014
- type: ""
2015
- },
1747
+ liability: { account: "", type: "" },
2016
1748
  status: ""
2017
1749
  },
2018
- pauseCollection: {
2019
- behavior: "",
2020
- resumesAt: null
2021
- },
2022
- cancellationDetails: {
2023
- comment: "",
2024
- feedback: "",
2025
- reason: ""
2026
- },
2027
- trialSettings: {
2028
- endBehavior: {
2029
- missingPaymentMethod: ""
2030
- }
2031
- },
1750
+ pauseCollection: { behavior: "", resumesAt: null },
1751
+ cancellationDetails: { comment: "", feedback: "", reason: "" },
1752
+ trialSettings: { endBehavior: { missingPaymentMethod: "" } },
2032
1753
  payments: {
2033
1754
  name: "",
2034
1755
  description: "",
@@ -2045,7 +1766,102 @@ var defaults = {
2045
1766
  receiptEmail: "",
2046
1767
  client: "",
2047
1768
  subscription: "",
2048
- invoice: ""
1769
+ invoice: "",
1770
+ automaticPaymentMethods: { allowRedirects: "never", enabled: false },
1771
+ amountDetails: {
1772
+ discountAmount: null,
1773
+ shipping: {
1774
+ amount: null,
1775
+ fromPostalCode: null,
1776
+ toPostalCode: null
1777
+ },
1778
+ tax: { totalTaxAmount: null },
1779
+ tip: { amount: null }
1780
+ }
1781
+ },
1782
+ paymentMethods: {
1783
+ name: "",
1784
+ description: "",
1785
+ status: "Ready",
1786
+ livemode: false
1787
+ },
1788
+ billingDetails: {
1789
+ address: {
1790
+ city: null,
1791
+ country: null,
1792
+ line1: null,
1793
+ line2: null,
1794
+ postalCode: null,
1795
+ state: null
1796
+ },
1797
+ email: null,
1798
+ name: "",
1799
+ phone: null
1800
+ },
1801
+ shipping: {
1802
+ address: {
1803
+ city: null,
1804
+ country: null,
1805
+ line1: null,
1806
+ line2: null,
1807
+ postalCode: null,
1808
+ state: null
1809
+ },
1810
+ carrier: "",
1811
+ name: "",
1812
+ phone: "",
1813
+ trackingNumber: ""
1814
+ },
1815
+ disputes: {
1816
+ name: "",
1817
+ description: "",
1818
+ status: "Ready",
1819
+ evidence: {
1820
+ accessActivityLog: null,
1821
+ billingAddress: null,
1822
+ cancellationPolicy: null,
1823
+ cancellationPolicyDisclosure: null,
1824
+ cancellationRebuttal: null,
1825
+ customerCommunication: null,
1826
+ customerEmailAddress: null,
1827
+ customerName: null,
1828
+ customerPurchaseIp: null,
1829
+ customerSignature: null,
1830
+ duplicateChargeDocumentation: null,
1831
+ duplicateChargeExplanation: null,
1832
+ duplicateChargeId: null,
1833
+ productDescription: null,
1834
+ receipt: null,
1835
+ refundPolicy: null,
1836
+ refundPolicyDisclosure: null,
1837
+ refundRefusalExplanation: null,
1838
+ serviceDate: null,
1839
+ serviceDocumentation: null,
1840
+ shippingAddress: null,
1841
+ shippingCarrier: null,
1842
+ shippingDate: null,
1843
+ shippingDocumentation: null,
1844
+ shippingTrackingNumber: null,
1845
+ uncategorizedFile: null,
1846
+ uncategorizedText: null
1847
+ },
1848
+ evidenceDetails: {
1849
+ dueBy: null,
1850
+ hasEvidence: false,
1851
+ pastDue: false,
1852
+ submissionCount: 0
1853
+ }
1854
+ },
1855
+ refunds: { name: "", description: "", status: "Ready" },
1856
+ pools: { name: "", description: "", status: "Ready" },
1857
+ issuer: { account: "", type: "" },
1858
+ activties: { label: "", value: "", modelName: "", path: "" },
1859
+ schema: {
1860
+ deleted: false,
1861
+ selected: false,
1862
+ key: "",
1863
+ type: "",
1864
+ options: []
2049
1865
  },
2050
1866
  reports: {
2051
1867
  label: "",
@@ -2091,31 +1907,7 @@ var defaults = {
2091
1907
  latitude: 37.7749,
2092
1908
  longitude: -122.4194
2093
1909
  },
2094
- schema: {
2095
- deleted: false,
2096
- selected: false,
2097
- key: "",
2098
- type: "",
2099
- options: []
2100
- },
2101
- comments: {
2102
- label: ""
2103
- },
2104
- tasks: {
2105
- name: "",
2106
- description: "",
2107
- status: "Ready",
2108
- priority: "Medium",
2109
- dueDate: null,
2110
- reminder: false,
2111
- reminderDate: null,
2112
- reminderTime: "",
2113
- repeat: false,
2114
- repeatDate: null,
2115
- repeatTime: "",
2116
- client: "",
2117
- assignee: ""
2118
- },
1910
+ comments: { label: "" },
2119
1911
  integrations: {
2120
1912
  name: "",
2121
1913
  title: "",
@@ -2132,16 +1924,8 @@ var defaults = {
2132
1924
  exportBridge: false,
2133
1925
  dynamicBridge: false
2134
1926
  },
2135
- operations: {
2136
- label: "",
2137
- description: "",
2138
- star: false
2139
- },
2140
- prompts: {
2141
- label: "",
2142
- description: "",
2143
- active: false
2144
- }
1927
+ operations: { label: "", description: "", star: false },
1928
+ prompts: { label: "", description: "", active: false }
2145
1929
  };
2146
1930
  var defaults_default = defaults;
2147
1931
 
@@ -2177,7 +1961,8 @@ var defaultsWithTypes = {
2177
1961
  description: { default: "", type: "String" },
2178
1962
  status: { default: "Ready", type: "String" },
2179
1963
  email: { default: "", type: "String" },
2180
- contactName: { default: "", type: "String" },
1964
+ individualName: { default: "", type: "String" },
1965
+ businessName: { default: "", type: "String" },
2181
1966
  phone: { default: "", type: "PhoneNumber" },
2182
1967
  accountNumber: { default: "", type: "String" },
2183
1968
  invoicePrefix: { default: "", type: "String" },
@@ -2577,7 +2362,9 @@ export {
2577
2362
  action,
2578
2363
  automaticTaxStatus,
2579
2364
  billingReason,
2365
+ billingScheme,
2580
2366
  camelCaseToWords,
2367
+ cancellationReason,
2581
2368
  capitalizeSentence,
2582
2369
  captureMethod,
2583
2370
  chatType,
@@ -2589,6 +2376,8 @@ export {
2589
2376
  customerType,
2590
2377
  defaults_default as defaults,
2591
2378
  defaultsWithTypes_default as defaultsWithTypes,
2379
+ disputeReason,
2380
+ disputeStatus,
2592
2381
  formatPhoneNumber,
2593
2382
  getRandomArbitrary,
2594
2383
  grabAge,
@@ -2600,15 +2389,25 @@ export {
2600
2389
  openInNewTab,
2601
2390
  operationType,
2602
2391
  organizationFilterType,
2392
+ paymentAllowRedirect,
2603
2393
  paymentCancellationReason,
2394
+ paymentFutureUsage,
2395
+ paymentMethodAllowReDisplay,
2396
+ paymentMethodType,
2604
2397
  paymentStatus,
2605
2398
  prettifyString,
2399
+ priceType,
2606
2400
  productType,
2401
+ refundFailureReason,
2402
+ refundPendingReason,
2403
+ refundReason,
2404
+ refundStatus,
2607
2405
  snakeToPretty,
2608
2406
  status,
2609
2407
  stripHtmlTags,
2610
- subscriptionCancellationReason,
2408
+ taxBehavior,
2611
2409
  taxExempt,
2410
+ tiersMode,
2612
2411
  toCurrencyValue,
2613
2412
  userRole,
2614
2413
  userSource,