@verma-consulting/common-library 0.1.54 → 0.1.56

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.js CHANGED
@@ -2515,11 +2515,12 @@ var defaults = {
2515
2515
  amountReceived: 0,
2516
2516
  applicationFeeAmount: 0,
2517
2517
  cancellationReason: "",
2518
- captureMethod: "",
2519
- confirmationMethod: "",
2518
+ captureMethod: "automatic",
2519
+ confirmationMethod: "automatic",
2520
2520
  statementDescriptor: "",
2521
2521
  statementDescriptorSuffix: "",
2522
2522
  calculatedStatementDescriptor: "",
2523
+ canceledAt: null,
2523
2524
  confirm: false,
2524
2525
  paid: false,
2525
2526
  captured: false,
@@ -2597,7 +2598,7 @@ var defaults = {
2597
2598
  status: "Ready",
2598
2599
  currency: "usd",
2599
2600
  disputeStatus: "warning_needs_response",
2600
- reason: "",
2601
+ reason: "general",
2601
2602
  amount: 0,
2602
2603
  isChargeRefundable: false,
2603
2604
  livemode: false,
@@ -2825,14 +2826,20 @@ var defaultTypes = {
2825
2826
  height: "Float",
2826
2827
  length: "Float",
2827
2828
  weight: "Float",
2828
- width: "Float"
2829
+ width: "Float",
2830
+ unit: "String",
2831
+ weight_unit: "String",
2832
+ girth: "Float",
2833
+ package_type: "String",
2834
+ template: "String",
2835
+ metadata: "OBJECT"
2829
2836
  },
2830
2837
  prices: {
2831
2838
  active: "Boolean",
2832
2839
  unitAmount: "Int",
2833
2840
  unitAmountDecimal: "Float",
2834
2841
  lookupKey: "String",
2835
- type: "String",
2842
+ priceType: "String",
2836
2843
  taxBehavior: "String",
2837
2844
  currency: "String",
2838
2845
  billingScheme: "String",
@@ -2983,7 +2990,6 @@ var defaultTypes = {
2983
2990
  offSession: "Boolean",
2984
2991
  nextPendingInvoiceItemInvoice: "String",
2985
2992
  collectionMethod: "String",
2986
- missingPaymentMethod: "String",
2987
2993
  client: "OBJECT",
2988
2994
  deal: "OBJECT",
2989
2995
  accountOwner: "OBJECT"
@@ -3016,30 +3022,43 @@ var defaultTypes = {
3016
3022
  status: "String",
3017
3023
  paymentStatus: "String",
3018
3024
  currency: "String",
3025
+ receiptEmail: "String",
3026
+ receiptNumber: "String",
3027
+ receiptUrl: "String",
3028
+ setupFutureUsage: "String",
3019
3029
  amount: "Int",
3020
3030
  amountCapturable: "Int",
3021
3031
  amountReceived: "Int",
3022
3032
  applicationFeeAmount: "Int",
3033
+ cancellationReason: "String",
3023
3034
  statementDescriptor: "String",
3024
3035
  statementDescriptorSuffix: "String",
3036
+ calculatedStatementDescriptor: "String",
3037
+ confirm: "Boolean",
3038
+ paid: "Boolean",
3039
+ captured: "Boolean",
3040
+ disputed: "Boolean",
3041
+ refunded: "Boolean",
3042
+ canceledAt: "DateTime",
3043
+ captureMethod: "String",
3044
+ confirmationMethod: "String",
3025
3045
  livemode: "Boolean",
3026
- receiptEmail: "String",
3027
3046
  client: "OBJECT",
3028
3047
  subscription: "OBJECT",
3029
3048
  invoice: "OBJECT",
3030
3049
  automatic_payment_methods: {
3031
- allow_redirects: "String",
3050
+ allowRedirects: "String",
3032
3051
  enabled: "Boolean"
3033
3052
  },
3034
3053
  amount_details: {
3035
- discount_amount: "String",
3054
+ discountAmount: "Float",
3036
3055
  shipping: {
3037
- amount: "String",
3038
- from_postal_code: "String",
3039
- to_postal_code: "String"
3056
+ amount: "Float",
3057
+ fromPostalCode: "String",
3058
+ toPostalCode: "String"
3040
3059
  },
3041
- tax: { total_tax_amount: "Int" },
3042
- tip: { amount: "Int" }
3060
+ tax: { totalTaxAmount: "Float" },
3061
+ tip: { amount: "Float" }
3043
3062
  }
3044
3063
  },
3045
3064
  paymentMethods: {
@@ -3056,7 +3075,7 @@ var defaultTypes = {
3056
3075
  country: "String",
3057
3076
  line1: "String",
3058
3077
  line2: "String",
3059
- postal_code: "String",
3078
+ postalCode: "String",
3060
3079
  state: "String"
3061
3080
  },
3062
3081
  email: "String",
@@ -3069,13 +3088,13 @@ var defaultTypes = {
3069
3088
  country: "String",
3070
3089
  line1: "String",
3071
3090
  line2: "String",
3072
- postal_code: "String",
3091
+ postalCode: "String",
3073
3092
  state: "String"
3074
3093
  },
3075
3094
  carrier: "String",
3076
3095
  name: "String",
3077
3096
  phone: "String",
3078
- tracking_number: "String"
3097
+ trackingNumber: "String"
3079
3098
  },
3080
3099
  refunds: {
3081
3100
  name: "String",
@@ -3103,39 +3122,39 @@ var defaultTypes = {
3103
3122
  isChargeRefundable: "Boolean",
3104
3123
  livemode: "Boolean",
3105
3124
  evidence: {
3106
- access_activity_log: "String",
3107
- billing_address: "String",
3108
- cancellation_policy: "String",
3109
- cancellation_policy_disclosure: "String",
3110
- cancellation_rebuttal: "String",
3111
- customer_communication: "String",
3112
- customer_email_address: "String",
3113
- customer_name: "String",
3114
- customer_purchase_ip: "String",
3115
- customer_signature: "String",
3116
- duplicate_charge_documentation: "String",
3117
- duplicate_charge_explanation: "String",
3118
- duplicate_charge_id: "String",
3119
- product_description: "String",
3125
+ accessActivityLog: "String",
3126
+ billingAddress: "String",
3127
+ cancellationPolicy: "String",
3128
+ cancellationPolicyDisclosure: "String",
3129
+ cancellationRebuttal: "String",
3130
+ customerCommunication: "String",
3131
+ customerEmailAddress: "String",
3132
+ customerName: "String",
3133
+ customerPurchaseIp: "String",
3134
+ customerSignature: "String",
3135
+ duplicateChargeDocumentation: "String",
3136
+ duplicateChargeExplanation: "String",
3137
+ duplicateChargeId: "String",
3138
+ productDescription: "String",
3120
3139
  receipt: "String",
3121
- refund_policy: "String",
3122
- refund_policy_disclosure: "String",
3123
- refund_refusal_explanation: "String",
3124
- service_date: "String",
3125
- service_documentation: "String",
3126
- shipping_address: "String",
3127
- shipping_carrier: "String",
3128
- shipping_date: "String",
3129
- shipping_documentation: "String",
3130
- shipping_tracking_number: "String",
3131
- uncategorized_file: "String",
3132
- uncategorized_text: "String"
3140
+ refundPolicy: "String",
3141
+ refundPolicyDisclosure: "String",
3142
+ refundRefusalExplanation: "String",
3143
+ serviceDate: "String",
3144
+ serviceDocumentation: "String",
3145
+ shippingAddress: "String",
3146
+ shippingCarrier: "String",
3147
+ shippingDate: "String",
3148
+ shippingDocumentation: "String",
3149
+ shippingTrackingNumber: "String",
3150
+ uncategorizedFile: "String",
3151
+ uncategorizedText: "String"
3133
3152
  },
3134
3153
  evidenceDetails: {
3135
- due_by: "DateTime",
3136
- has_evidence: "Boolean",
3137
- past_due: "Boolean",
3138
- submission_count: "Int"
3154
+ dueBy: "DateTime",
3155
+ hasEvidence: "Boolean",
3156
+ pastDue: "Boolean",
3157
+ submissionCount: "Int"
3139
3158
  }
3140
3159
  },
3141
3160
  pools: {
@@ -3147,7 +3166,7 @@ var defaultTypes = {
3147
3166
  account: "OBJECT",
3148
3167
  type: "String"
3149
3168
  },
3150
- activities: {
3169
+ activties: {
3151
3170
  label: "String",
3152
3171
  value: "String",
3153
3172
  modelName: "String",
@@ -3155,30 +3174,36 @@ var defaultTypes = {
3155
3174
  },
3156
3175
  reports: {
3157
3176
  label: "String",
3177
+ prompt: "String",
3158
3178
  star: "Boolean",
3159
3179
  chartType: "String",
3160
3180
  frequency: "String",
3161
3181
  frequencyField: "String",
3162
3182
  modelName: "String",
3163
3183
  fieldName: "String",
3184
+ fieldType: "String",
3164
3185
  operationType: "String",
3165
3186
  calculation: "String",
3166
3187
  calculationValue: "String"
3167
3188
  },
3168
3189
  lists: {
3169
3190
  label: "String",
3191
+ prompt: "String",
3170
3192
  star: "Boolean",
3171
3193
  dynamic: "Boolean",
3172
3194
  modelName: "String",
3173
3195
  fieldName: "String",
3196
+ fieldType: "String",
3174
3197
  calculation: "String",
3175
3198
  calculationValue: "String"
3176
3199
  },
3177
3200
  statistics: {
3178
3201
  label: "String",
3202
+ prompt: "String",
3179
3203
  star: "Boolean",
3180
3204
  modelName: "String",
3181
3205
  fieldName: "String",
3206
+ fieldType: "String",
3182
3207
  operationType: "String",
3183
3208
  calculation: "String",
3184
3209
  calculationValue: "String"
@@ -3191,6 +3216,7 @@ var defaultTypes = {
3191
3216
  country: "String",
3192
3217
  countryCode: "String",
3193
3218
  postalCode: "String",
3219
+ addressType: "String",
3194
3220
  latitude: "Float",
3195
3221
  longitude: "Float"
3196
3222
  },
@@ -3209,6 +3235,7 @@ var defaultTypes = {
3209
3235
  title: "String",
3210
3236
  description: "String",
3211
3237
  category: "String",
3238
+ type: "String",
3212
3239
  key: "String",
3213
3240
  secret: "String",
3214
3241
  logo: "String",