@verma-consulting/common-library 0.1.18 → 0.1.19

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
@@ -1954,409 +1954,519 @@ var defaults = {
1954
1954
  };
1955
1955
  var defaults_default = defaults;
1956
1956
 
1957
- // src/defaultsWithTypes.ts
1958
- var defaultsWithTypes = {
1957
+ // src/defaultTypes.ts
1958
+ var defaultTypes = {
1959
+ organizations: {
1960
+ name: "String",
1961
+ website: "String",
1962
+ industry: "String",
1963
+ currency: "String",
1964
+ linkedinUrl: "String",
1965
+ facebookUrl: "String",
1966
+ twitterUrl: "String",
1967
+ angelUrl: "String",
1968
+ crunchbaseUrl: "String"
1969
+ },
1959
1970
  users: {
1960
- firstName: { default: "", type: "String" },
1961
- lastName: { default: "", type: "String" },
1962
- email: { default: "", type: "String" },
1963
- role: { default: "Employee", type: "String" },
1964
- status: { default: "Pending", type: "String" },
1965
- userName: { default: "", type: "String" },
1966
- jobTitle: { default: "", type: "String" },
1967
- password: { default: "", type: "String" },
1968
- dateOfBirth: { default: null, type: "Date" },
1969
- phone: { default: "", type: "String" },
1970
- permissions: { default: [], type: "LIST" },
1971
- avatar: { default: null, type: "String" },
1971
+ firstName: "String",
1972
+ lastName: "String",
1973
+ email: "String",
1974
+ role: "String",
1975
+ status: "String",
1976
+ userName: "String",
1977
+ jobTitle: "String",
1978
+ password: "String",
1979
+ dateOfBirth: "Date",
1980
+ phone: "String",
1981
+ permissions: "LIST",
1982
+ avatar: "String",
1972
1983
  notificationSettings: {
1973
- dailyReports: { default: false, type: "Boolean" },
1974
- dealsClosing: { default: false, type: "Boolean" },
1975
- deletionAlerts: { default: false, type: "Boolean" },
1976
- device: { default: "Do Not Notify", type: "String" }
1984
+ dailyReports: "Boolean",
1985
+ dealsClosing: "Boolean",
1986
+ deletionAlerts: "Boolean",
1987
+ device: "String"
1977
1988
  },
1978
1989
  platformSettings: {
1979
- mode: { default: "light", type: "String" },
1980
- language: { default: "english", type: "String" },
1981
- currency: { default: "usd", type: "String" }
1990
+ mode: "String",
1991
+ language: "String",
1992
+ currency: "String"
1982
1993
  }
1983
1994
  },
1984
1995
  clients: {
1985
- name: { default: "", type: "String" },
1986
- description: { default: "", type: "String" },
1987
- status: { default: "Ready", type: "String" },
1988
- email: { default: "", type: "String" },
1989
- individualName: { default: "", type: "String" },
1990
- businessName: { default: "", type: "String" },
1991
- phone: { default: "", type: "PhoneNumber" },
1992
- accountNumber: { default: "", type: "String" },
1993
- invoicePrefix: { default: "", type: "String" },
1994
- sicCode: { default: "", type: "String" },
1995
- clientType: { default: "Company", type: "String" },
1996
- currency: { default: "usd", type: "String" },
1997
- customerType: { default: "Trial", type: "String" },
1998
- industry: { default: "", type: "String" },
1999
- annualRevenue: { default: 0, type: "Int" },
2000
- balance: { default: 0, type: "Int" },
2001
- nextInvoiceSequence: { default: 0, type: "Int" },
2002
- taxExempt: { default: "null", type: "String" },
2003
- website: { default: "", type: "String" },
2004
- source: { default: "Advertisement", type: "String" },
2005
- logoUrl: { default: "", type: "String" },
2006
- linkedinUrl: { default: "", type: "String" },
2007
- facebookUrl: { default: "", type: "String" },
2008
- twitterUrl: { default: "", type: "String" },
2009
- angelUrl: { default: "", type: "String" },
2010
- crunchbaseUrl: { default: "", type: "String" },
2011
- accountOwner: { default: "", type: "OBJECT" },
2012
- contacts: { default: "", type: "LIST" },
2013
- deals: { default: "", type: "LIST" },
2014
- invoices: { default: "", type: "LIST" },
2015
- engagements: { default: "", type: "LIST" },
2016
- tasks: { default: "", type: "LIST" }
2017
- },
2018
- contacts: {
2019
- name: { default: "", type: "String" },
2020
- description: { default: "", type: "String" },
2021
- status: { default: "Ready", type: "String" },
2022
- email: { default: "", type: "String" },
2023
- phone: { default: "", type: "String" },
2024
- role: { default: "", type: "String" },
2025
- linkedinUrl: { default: "", type: "String" },
2026
- twitterUrl: { default: "", type: "String" },
2027
- client: { default: "", type: "OBJECT" },
2028
- engagements: { default: "", type: "LIST" }
1996
+ name: "String",
1997
+ description: "String",
1998
+ status: "String",
1999
+ email: "String",
2000
+ individualName: "String",
2001
+ businessName: "String",
2002
+ phone: "PhoneNumber",
2003
+ accountNumber: "String",
2004
+ invoicePrefix: "String",
2005
+ sicCode: "String",
2006
+ clientType: "String",
2007
+ currency: "String",
2008
+ customerType: "String",
2009
+ industry: "String",
2010
+ annualRevenue: "Int",
2011
+ balance: "Int",
2012
+ nextInvoiceSequence: "Int",
2013
+ taxExempt: "String",
2014
+ website: "String",
2015
+ source: "String",
2016
+ logoUrl: "String",
2017
+ linkedinUrl: "String",
2018
+ facebookUrl: "String",
2019
+ twitterUrl: "String",
2020
+ angelUrl: "String",
2021
+ crunchbaseUrl: "String",
2022
+ accountOwner: "OBJECT",
2023
+ contacts: "LIST",
2024
+ deals: "LIST",
2025
+ invoices: "LIST",
2026
+ engagements: "LIST",
2027
+ tasks: "LIST"
2029
2028
  },
2030
- inventories: {
2031
- name: { default: "", type: "String" },
2032
- description: { default: "", type: "String" },
2033
- status: { default: "Ready", type: "String" },
2034
- amount: { default: 0, type: "Int" },
2035
- quantity: { default: 0, type: "Int" }
2036
- },
2037
- organizations: {
2038
- name: { default: "", type: "String" },
2039
- website: { default: "", type: "String" },
2040
- industry: { default: "", type: "String" },
2041
- currency: { default: "usd", type: "String" },
2042
- linkedinUrl: { default: "", type: "String" },
2043
- facebookUrl: { default: "", type: "String" },
2044
- twitterUrl: { default: "", type: "String" },
2045
- angelUrl: { default: "", type: "String" },
2046
- crunchbaseUrl: { default: "", type: "String" }
2029
+ tasks: {
2030
+ name: "String",
2031
+ description: "String",
2032
+ status: "String",
2033
+ priority: "String",
2034
+ dueDate: "Date",
2035
+ reminder: "Boolean",
2036
+ reminderDate: "Date",
2037
+ reminderTime: "Time",
2038
+ repeat: "Boolean",
2039
+ repeatDate: "Date",
2040
+ repeatTime: "Time",
2041
+ client: "OBJECT",
2042
+ assignee: "OBJECT"
2047
2043
  },
2048
- activities: {
2049
- label: { default: "", type: "String" },
2050
- value: { default: "", type: "String" },
2051
- modelName: { default: "", type: "String" },
2052
- path: { default: "", type: "String" }
2044
+ products: {
2045
+ name: "String",
2046
+ description: "String",
2047
+ status: "String",
2048
+ productType: "String",
2049
+ client: "OBJECT",
2050
+ inventory: "OBJECT",
2051
+ accountOwner: "OBJECT",
2052
+ active: "Boolean",
2053
+ shippable: "Boolean",
2054
+ statementDescriptor: "String",
2055
+ taxCode: "String",
2056
+ unitLabel: "String",
2057
+ url: "String"
2053
2058
  },
2054
- leads: {
2055
- name: { default: "", type: "String" },
2056
- description: { default: "", type: "String" },
2057
- status: { default: "Ready", type: "String" },
2058
- leadType: { default: "AttemtpedToContact", type: "String" },
2059
- source: { default: "Advertisement", type: "String" },
2060
- amount: { default: 0, type: "Int" },
2061
- projectedClosingDate: { default: null, type: "Date" },
2062
- expectedRevenue: { default: 0, type: "Int" },
2063
- probability: { default: 0, type: "Int" },
2064
- nextStep: { default: "", type: "String" },
2065
- accountOwner: { default: "", type: "OBJECT" },
2066
- client: { default: "", type: "OBJECT" },
2067
- campaign: { default: "", type: "OBJECT" }
2059
+ packageDimensions: {
2060
+ height: "Float",
2061
+ length: "Float",
2062
+ weight: "Float",
2063
+ width: "Float"
2068
2064
  },
2069
- deals: {
2070
- name: { default: "", type: "String" },
2071
- description: { default: "", type: "String" },
2072
- status: { default: "Ready", type: "String" },
2073
- dealType: { default: "New", type: "String" },
2074
- source: { default: "Advertisement", type: "String" },
2075
- amount: { default: 0, type: "Int" },
2076
- closingDate: { default: null, type: "Date" },
2077
- expectedRevenue: { default: 0, type: "Int" },
2078
- probability: { default: 0, type: "Int" },
2079
- nextStep: { default: "", type: "String" },
2080
- accountOwner: { default: "", type: "OBJECT" },
2081
- client: { default: "", type: "OBJECT" },
2082
- campaign: { default: "", type: "OBJECT" }
2065
+ prices: {
2066
+ active: "Boolean",
2067
+ unitAmount: "Int",
2068
+ unitAmountDecimal: "Float",
2069
+ lookupKey: "String",
2070
+ type: "String",
2071
+ taxBehavior: "String",
2072
+ currency: "String",
2073
+ billingScheme: "String",
2074
+ recurring: {
2075
+ intervalCount: "Int",
2076
+ interval: "String",
2077
+ aggregateUsage: "String",
2078
+ usageType: "String",
2079
+ trialPeriodDays: "Int"
2080
+ }
2083
2081
  },
2084
- campaigns: {
2085
- name: { default: "", type: "String" },
2086
- description: { default: "", type: "String" },
2087
- status: { default: "Ready", type: "String" },
2088
- priority: { default: "Medium", type: "String" },
2089
- startDate: { default: null, type: "Date" },
2090
- endDate: { default: null, type: "Date" },
2091
- campaignType: { default: "Email", type: "String" },
2092
- budgetedCost: { default: 0, type: "Int" },
2093
- expectedRevenue: { default: 0, type: "Int" },
2094
- actualCost: { default: 0, type: "Int" },
2095
- numbersSent: { default: 0, type: "Int" },
2096
- expectedResponse: { default: "", type: "String" },
2097
- accountOwner: { default: "", type: "OBJECT" },
2098
- leads: { default: "", type: "OBJECT" },
2099
- deals: { default: "", type: "OBJECT" }
2082
+ inventories: {
2083
+ name: "String",
2084
+ description: "String",
2085
+ status: "String",
2086
+ amount: "Int",
2087
+ quantity: "Int"
2100
2088
  },
2101
2089
  invoices: {
2102
- name: { default: "", type: "String" },
2103
- description: { default: "", type: "String" },
2104
- footer: { default: "", type: "String" },
2105
- status: { default: "Ready", type: "String" },
2106
- currency: { default: "usd", type: "String" },
2107
- accountCountry: { default: "US", type: "String" },
2108
- statementDescriptor: { default: "", type: "String" },
2109
- dueDate: { default: null, type: "Date" },
2110
- nextPaymentAttempt: { default: null, type: "DateTime" },
2111
- effectiveAt: { default: null, type: "DateTime" },
2112
- amountDue: { default: 0, type: "Int" },
2113
- amountPaid: { default: 0, type: "Int" },
2114
- amountRemaining: { default: 0, type: "Int" },
2115
- amountShipping: { default: 0, type: "Int" },
2116
- attemptCount: { default: 0, type: "Int" },
2117
- startingBalance: { default: 0, type: "Int" },
2118
- endingBalance: { default: 0, type: "Int" },
2119
- subtotal: { default: 0, type: "Int" },
2120
- subtotalExcludingTax: { default: 0, type: "Int" },
2121
- totalExcludingTax: { default: 0, type: "Int" },
2122
- tax: { default: 0, type: "Int" },
2123
- postPaymentCreditNotesAmount: { default: 0, type: "Int" },
2124
- prePaymentCreditNotesAmount: { default: 0, type: "Int" },
2125
- daysUntilDue: { default: 0, type: "Int" },
2126
- attempted: { default: false, type: "Boolean" },
2127
- autoAdvance: { default: false, type: "Boolean" },
2128
- billingReason: { default: "manual", type: "String" },
2129
- collectionMethod: { default: "charge_automatically", type: "String" },
2130
- customerEmail: { default: "", type: "String" },
2131
- customerPhone: { default: "", type: "String" },
2132
- customerTaxExempt: { default: "null", type: "String" },
2133
- invoicePdf: { default: "", type: "String" },
2134
- lastFinalizationError: { default: "", type: "String" },
2135
- number: { default: null, type: "String" },
2136
- receiptNumber: { default: "", type: "String" },
2137
- livemode: { default: false, type: "Boolean" },
2138
- paid: { default: false, type: "Boolean" },
2139
- paidOutOfBand: { default: false, type: "Boolean" },
2140
- client: { default: "", type: "OBJECT" },
2141
- accountOwner: { default: "", type: "OBJECT" },
2142
- deal: { default: "", type: "OBJECT" }
2090
+ name: "String",
2091
+ description: "String",
2092
+ footer: "String",
2093
+ status: "String",
2094
+ currency: "String",
2095
+ accountCountry: "String",
2096
+ statementDescriptor: "String",
2097
+ dueDate: "Date",
2098
+ nextPaymentAttempt: "DateTime",
2099
+ effectiveAt: "DateTime",
2100
+ amountDue: "Int",
2101
+ amountPaid: "Int",
2102
+ amountRemaining: "Int",
2103
+ amountShipping: "Int",
2104
+ attemptCount: "Int",
2105
+ startingBalance: "Int",
2106
+ endingBalance: "Int",
2107
+ subtotal: "Int",
2108
+ subtotalExcludingTax: "Int",
2109
+ totalExcludingTax: "Int",
2110
+ tax: "Int",
2111
+ postPaymentCreditNotesAmount: "Int",
2112
+ prePaymentCreditNotesAmount: "Int",
2113
+ daysUntilDue: "Int",
2114
+ attempted: "Boolean",
2115
+ autoAdvance: "Boolean",
2116
+ billingReason: "String",
2117
+ collectionMethod: "String",
2118
+ customerEmail: "String",
2119
+ customerPhone: "String",
2120
+ customerTaxExempt: "String",
2121
+ invoicePdf: "String",
2122
+ lastFinalizationError: "String",
2123
+ number: "String",
2124
+ receiptNumber: "String",
2125
+ livemode: "Boolean",
2126
+ paid: "Boolean",
2127
+ paidOutOfBand: "Boolean",
2128
+ client: "OBJECT",
2129
+ accountOwner: "OBJECT",
2130
+ deal: "OBJECT"
2143
2131
  },
2144
- issuer: {
2145
- account: { default: "", type: "OBJECT" },
2146
- type: { default: "", type: "String" }
2132
+ contacts: {
2133
+ name: "String",
2134
+ description: "String",
2135
+ status: "String",
2136
+ email: "String",
2137
+ phone: "String",
2138
+ role: "String",
2139
+ linkedinUrl: "String",
2140
+ twitterUrl: "String",
2141
+ client: "OBJECT",
2142
+ engagements: "LIST"
2147
2143
  },
2148
2144
  engagements: {
2149
- name: { default: "", type: "String" },
2150
- description: { default: "", type: "String" },
2151
- status: { default: "Ready", type: "String" },
2152
- engagementDate: { default: null, type: "Date" },
2153
- client: { default: "", type: "OBJECT" },
2154
- contact: { default: "", type: "OBJECT" }
2155
- },
2156
- pools: {
2157
- name: { default: "", type: "String" },
2158
- description: { default: "", type: "String" },
2159
- status: { default: "Ready", type: "String" }
2145
+ name: "String",
2146
+ description: "String",
2147
+ status: "String",
2148
+ engagementDate: "Date",
2149
+ client: "OBJECT",
2150
+ contact: "OBJECT"
2160
2151
  },
2161
- products: {
2162
- name: { default: "", type: "String" },
2163
- description: { default: null, type: "String" },
2164
- status: { default: "Ready", type: "String" },
2165
- productType: { default: "service", type: "String" },
2166
- client: { default: "", type: "OBJECT" },
2167
- inventory: { default: "", type: "OBJECT" },
2168
- accountOwner: { default: "", type: "OBJECT" },
2169
- active: { default: true, type: "Boolean" },
2170
- shippable: { default: false, type: "Boolean" },
2171
- statementDescriptor: { default: "", type: "String" },
2172
- taxCode: { default: null, type: "String" },
2173
- unitLabel: { default: null, type: "String" },
2174
- url: { default: "", type: "String" }
2152
+ campaigns: {
2153
+ name: "String",
2154
+ description: "String",
2155
+ status: "String",
2156
+ priority: "String",
2157
+ startDate: "Date",
2158
+ endDate: "Date",
2159
+ campaignType: "String",
2160
+ budgetedCost: "Int",
2161
+ expectedRevenue: "Int",
2162
+ actualCost: "Int",
2163
+ numbersSent: "Int",
2164
+ expectedResponse: "String",
2165
+ accountOwner: "OBJECT",
2166
+ leads: "OBJECT",
2167
+ deals: "OBJECT"
2175
2168
  },
2176
- prices: {
2177
- active: { default: true, type: "Boolean" },
2178
- unitAmount: { default: 0, type: "Int" },
2179
- unitAmountDecimal: { default: null, type: "Float" },
2180
- lookupKey: { default: "", type: "String" },
2181
- type: { default: "", type: "String" },
2182
- taxBehavior: { default: "unspecified", type: "String" },
2183
- currency: { default: "usd", type: "String" },
2184
- billingScheme: { default: "", type: "String" },
2185
- recurring: {
2186
- intervalCount: { default: 0, type: "Int" },
2187
- interval: { default: "", type: "String" },
2188
- aggregateUsage: { default: "", type: "String" },
2189
- usageType: { default: "", type: "String" },
2190
- trialPeriodDays: { default: 0, type: "Int" }
2191
- }
2169
+ leads: {
2170
+ name: "String",
2171
+ description: "String",
2172
+ status: "String",
2173
+ leadType: "String",
2174
+ source: "String",
2175
+ amount: "Int",
2176
+ projectedClosingDate: "Date",
2177
+ expectedRevenue: "Int",
2178
+ probability: "Int",
2179
+ nextStep: "String",
2180
+ accountOwner: "OBJECT",
2181
+ client: "OBJECT",
2182
+ campaign: "OBJECT"
2192
2183
  },
2193
- packageDimensions: {
2194
- height: { default: 0, type: "Float" },
2195
- length: { default: 0, type: "Float" },
2196
- weight: { default: 0, type: "Float" },
2197
- width: { default: 0, type: "Float" }
2184
+ deals: {
2185
+ name: "String",
2186
+ description: "String",
2187
+ status: "String",
2188
+ dealType: "String",
2189
+ source: "String",
2190
+ amount: "Int",
2191
+ closingDate: "Date",
2192
+ expectedRevenue: "Int",
2193
+ probability: "Int",
2194
+ nextStep: "String",
2195
+ accountOwner: "OBJECT",
2196
+ client: "OBJECT",
2197
+ campaign: "OBJECT"
2198
2198
  },
2199
2199
  subscriptions: {
2200
- name: { default: "", type: "String" },
2201
- description: { default: null, type: "String" },
2202
- status: { default: "Ready", type: "String" },
2203
- trialStart: { default: null, type: "DateTime" },
2204
- trialEnd: { default: null, type: "DateTime" },
2205
- startDate: { default: null, type: "DateTime" },
2206
- endedAt: { default: null, type: "DateTime" },
2207
- currentPeriodStart: { default: null, type: "DateTime" },
2208
- currentPeriodEnd: { default: null, type: "DateTime" },
2209
- backdateStartDate: { default: null, type: "DateTime" },
2210
- billingCycleAnchor: { default: null, type: "DateTime" },
2211
- cancelAt: { default: null, type: "DateTime" },
2212
- canceledAt: { default: null, type: "DateTime" },
2213
- daysUntilDue: { default: 0, type: "Int" },
2214
- trialPeriodDays: { default: 0, type: "Int" },
2215
- applicationFeePercent: { default: 0, type: "Float" },
2216
- cancelAtPeriodEnd: { default: false, type: "Boolean" },
2217
- trialFromPlan: { default: false, type: "Boolean" },
2218
- offSession: { default: false, type: "Boolean" },
2219
- nextPendingInvoiceItemInvoice: { default: null, type: "String" },
2220
- collectionMethod: { default: "charge_automatically", type: "String" },
2221
- missingPaymentMethod: { default: "create_invoice", type: "String" },
2222
- client: { default: "", type: "OBJECT" },
2223
- deal: { default: "", type: "OBJECT" },
2224
- accountOwner: { default: "", type: "OBJECT" }
2200
+ name: "String",
2201
+ description: "String",
2202
+ status: "String",
2203
+ trialStart: "DateTime",
2204
+ trialEnd: "DateTime",
2205
+ startDate: "DateTime",
2206
+ endedAt: "DateTime",
2207
+ currentPeriodStart: "DateTime",
2208
+ currentPeriodEnd: "DateTime",
2209
+ backdateStartDate: "DateTime",
2210
+ billingCycleAnchor: "DateTime",
2211
+ cancelAt: "DateTime",
2212
+ canceledAt: "DateTime",
2213
+ daysUntilDue: "Int",
2214
+ trialPeriodDays: "Int",
2215
+ applicationFeePercent: "Float",
2216
+ cancelAtPeriodEnd: "Boolean",
2217
+ trialFromPlan: "Boolean",
2218
+ offSession: "Boolean",
2219
+ nextPendingInvoiceItemInvoice: "String",
2220
+ collectionMethod: "String",
2221
+ missingPaymentMethod: "String",
2222
+ client: "OBJECT",
2223
+ deal: "OBJECT",
2224
+ accountOwner: "OBJECT"
2225
2225
  },
2226
2226
  automaticTax: {
2227
- enabled: { default: false, type: "Boolean" },
2227
+ enabled: "Boolean",
2228
2228
  liability: {
2229
- account: { default: "", type: "OBJECT" },
2230
- type: { default: "", type: "String" }
2229
+ account: "OBJECT",
2230
+ type: "String"
2231
2231
  },
2232
- status: { default: "", type: "String" }
2232
+ status: "String"
2233
2233
  },
2234
2234
  pauseCollection: {
2235
- behavior: { default: "", type: "String" },
2236
- resumesAt: { default: null, type: "DateTime" }
2235
+ behavior: "String",
2236
+ resumesAt: "DateTime"
2237
2237
  },
2238
2238
  cancellationDetails: {
2239
- comment: { default: "", type: "String" },
2240
- feedback: { default: "", type: "String" },
2241
- reason: { default: "", type: "String" }
2239
+ comment: "String",
2240
+ feedback: "String",
2241
+ reason: "String"
2242
2242
  },
2243
2243
  trialSettings: {
2244
2244
  endBehavior: {
2245
- missingPaymentMethod: { default: "", type: "String" }
2245
+ missingPaymentMethod: "String"
2246
2246
  }
2247
2247
  },
2248
2248
  payments: {
2249
- name: { default: "", type: "String" },
2250
- description: { default: "", type: "String" },
2251
- status: { default: "Ready", type: "String" },
2252
- paymentStatus: { default: "requires_payment_method", type: "String" },
2253
- currency: { default: "usd", type: "String" },
2254
- amount: { default: 0, type: "Int" },
2255
- amountCapturable: { default: 0, type: "Int" },
2256
- amountReceived: { default: 0, type: "Int" },
2257
- applicationFeeAmount: { default: 0, type: "Int" },
2258
- statementDescriptor: { default: "", type: "String" },
2259
- statementDescriptorSuffix: { default: "", type: "String" },
2260
- livemode: { default: false, type: "Boolean" },
2261
- receiptEmail: { default: "", type: "String" },
2262
- client: { default: "", type: "OBJECT" },
2263
- subscription: { default: "", type: "OBJECT" },
2264
- invoice: { default: "", type: "OBJECT" }
2249
+ name: "String",
2250
+ description: "String",
2251
+ status: "String",
2252
+ paymentStatus: "String",
2253
+ currency: "String",
2254
+ amount: "Int",
2255
+ amountCapturable: "Int",
2256
+ amountReceived: "Int",
2257
+ applicationFeeAmount: "Int",
2258
+ statementDescriptor: "String",
2259
+ statementDescriptorSuffix: "String",
2260
+ livemode: "Boolean",
2261
+ receiptEmail: "String",
2262
+ client: "OBJECT",
2263
+ subscription: "OBJECT",
2264
+ invoice: "OBJECT",
2265
+ automatic_payment_methods: {
2266
+ allow_redirects: "String",
2267
+ enabled: "Boolean"
2268
+ },
2269
+ amount_details: {
2270
+ discount_amount: "String",
2271
+ shipping: {
2272
+ amount: "String",
2273
+ from_postal_code: "String",
2274
+ to_postal_code: "String"
2275
+ },
2276
+ tax: { total_tax_amount: "Int" },
2277
+ tip: { amount: "Int" }
2278
+ }
2279
+ },
2280
+ paymentMethods: {
2281
+ name: "String",
2282
+ description: "String",
2283
+ status: "String",
2284
+ paymentMethodType: "String",
2285
+ allowRedisplay: "String",
2286
+ livemode: "Boolean"
2287
+ },
2288
+ billingDetails: {
2289
+ address: {
2290
+ city: "String",
2291
+ country: "String",
2292
+ line1: "String",
2293
+ line2: "String",
2294
+ postal_code: "String",
2295
+ state: "String"
2296
+ },
2297
+ email: "String",
2298
+ name: "String",
2299
+ phone: "String"
2300
+ },
2301
+ shipping: {
2302
+ address: {
2303
+ city: "String",
2304
+ country: "String",
2305
+ line1: "String",
2306
+ line2: "String",
2307
+ postal_code: "String",
2308
+ state: "String"
2309
+ },
2310
+ carrier: "String",
2311
+ name: "String",
2312
+ phone: "String",
2313
+ tracking_number: "String"
2314
+ },
2315
+ refunds: {
2316
+ name: "String",
2317
+ description: "String",
2318
+ status: "String",
2319
+ currency: "String",
2320
+ instructionsEmail: "String",
2321
+ receiptNumber: "String",
2322
+ refundStatus: "String",
2323
+ reason: "String",
2324
+ pendingReason: "String",
2325
+ failureReason: "String",
2326
+ sourceTransferReversal: "String",
2327
+ transferReversal: "String",
2328
+ amount: "Int"
2329
+ },
2330
+ disputes: {
2331
+ name: "String",
2332
+ description: "String",
2333
+ status: "String",
2334
+ currency: "String",
2335
+ disputeStatus: "String",
2336
+ reason: "String",
2337
+ amount: "Int",
2338
+ isChargeRefundable: "Boolean",
2339
+ livemode: "Boolean",
2340
+ evidence: {
2341
+ access_activity_log: "String",
2342
+ billing_address: "String",
2343
+ cancellation_policy: "String",
2344
+ cancellation_policy_disclosure: "String",
2345
+ cancellation_rebuttal: "String",
2346
+ customer_communication: "String",
2347
+ customer_email_address: "String",
2348
+ customer_name: "String",
2349
+ customer_purchase_ip: "String",
2350
+ customer_signature: "String",
2351
+ duplicate_charge_documentation: "String",
2352
+ duplicate_charge_explanation: "String",
2353
+ duplicate_charge_id: "String",
2354
+ product_description: "String",
2355
+ receipt: "String",
2356
+ refund_policy: "String",
2357
+ refund_policy_disclosure: "String",
2358
+ refund_refusal_explanation: "String",
2359
+ service_date: "String",
2360
+ service_documentation: "String",
2361
+ shipping_address: "String",
2362
+ shipping_carrier: "String",
2363
+ shipping_date: "String",
2364
+ shipping_documentation: "String",
2365
+ shipping_tracking_number: "String",
2366
+ uncategorized_file: "String",
2367
+ uncategorized_text: "String"
2368
+ },
2369
+ evidenceDetails: {
2370
+ due_by: "DateTime",
2371
+ has_evidence: "Boolean",
2372
+ past_due: "Boolean",
2373
+ submission_count: "Int"
2374
+ }
2375
+ },
2376
+ pools: {
2377
+ name: "String",
2378
+ description: "String",
2379
+ status: "String"
2380
+ },
2381
+ issuer: {
2382
+ account: "OBJECT",
2383
+ type: "String"
2384
+ },
2385
+ activities: {
2386
+ label: "String",
2387
+ value: "String",
2388
+ modelName: "String",
2389
+ path: "String"
2265
2390
  },
2266
2391
  reports: {
2267
- label: { default: "", type: "String" },
2268
- star: { default: false, type: "Boolean" },
2269
- chartType: { default: "line", type: "String" },
2270
- frequency: { default: "Annually", type: "String" },
2271
- frequencyField: { default: "createdAt", type: "String" },
2272
- modelName: { default: "", type: "String" },
2273
- fieldName: { default: "", type: "String" },
2274
- operationType: { default: "Count", type: "String" },
2275
- calculation: { default: "Empty", type: "String" },
2276
- calculationValue: { default: "", type: "String" }
2392
+ label: "String",
2393
+ star: "Boolean",
2394
+ chartType: "String",
2395
+ frequency: "String",
2396
+ frequencyField: "String",
2397
+ modelName: "String",
2398
+ fieldName: "String",
2399
+ operationType: "String",
2400
+ calculation: "String",
2401
+ calculationValue: "String"
2277
2402
  },
2278
2403
  lists: {
2279
- label: { default: "", type: "String" },
2280
- star: { default: false, type: "Boolean" },
2281
- dynamic: { default: false, type: "Boolean" },
2282
- modelName: { default: "", type: "String" },
2283
- fieldName: { default: "", type: "String" },
2284
- calculation: { default: "Empty", type: "String" },
2285
- calculationValue: { default: "", type: "String" }
2404
+ label: "String",
2405
+ star: "Boolean",
2406
+ dynamic: "Boolean",
2407
+ modelName: "String",
2408
+ fieldName: "String",
2409
+ calculation: "String",
2410
+ calculationValue: "String"
2286
2411
  },
2287
2412
  statistics: {
2288
- label: { default: "", type: "String" },
2289
- star: { default: false, type: "Boolean" },
2290
- modelName: { default: "", type: "String" },
2291
- fieldName: { default: "", type: "String" },
2292
- operationType: { default: "Count", type: "String" },
2293
- calculation: { default: "Empty", type: "String" },
2294
- calculationValue: { default: "", type: "String" }
2413
+ label: "String",
2414
+ star: "Boolean",
2415
+ modelName: "String",
2416
+ fieldName: "String",
2417
+ operationType: "String",
2418
+ calculation: "String",
2419
+ calculationValue: "String"
2295
2420
  },
2296
2421
  address: {
2297
- streetNumber: { default: "", type: "String" },
2298
- streetName: { default: "", type: "String" },
2299
- city: { default: "", type: "String" },
2300
- state: { default: "", type: "String" },
2301
- country: { default: "", type: "String" },
2302
- countryCode: { default: "", type: "String" },
2303
- postalCode: { default: "", type: "String" },
2304
- latitude: { default: 37.7749, type: "Float" },
2305
- longitude: { default: -122.4194, type: "Float" }
2422
+ streetNumber: "String",
2423
+ streetName: "String",
2424
+ city: "String",
2425
+ state: "String",
2426
+ country: "String",
2427
+ countryCode: "String",
2428
+ postalCode: "String",
2429
+ latitude: "Float",
2430
+ longitude: "Float"
2306
2431
  },
2307
2432
  schema: {
2308
- deleted: { default: false, type: "Boolean" },
2309
- selected: { default: false, type: "Boolean" },
2310
- key: { default: "", type: "String" },
2311
- type: { default: "", type: "String" },
2312
- options: { default: [], type: "LIST" }
2433
+ deleted: "Boolean",
2434
+ selected: "Boolean",
2435
+ key: "String",
2436
+ type: "String",
2437
+ options: "LIST"
2313
2438
  },
2314
2439
  comments: {
2315
- label: { default: "", type: "String" }
2316
- },
2317
- tasks: {
2318
- name: { default: "", type: "String" },
2319
- description: { default: "", type: "String" },
2320
- status: { default: "Ready", type: "String" },
2321
- priority: { default: "Medium", type: "String" },
2322
- dueDate: { default: null, type: "Date" },
2323
- reminder: { default: false, type: "Boolean" },
2324
- reminderDate: { default: null, type: "Date" },
2325
- reminderTime: { default: "", type: "Time" },
2326
- repeat: { default: false, type: "Boolean" },
2327
- repeatDate: { default: null, type: "Date" },
2328
- repeatTime: { default: "", type: "Time" },
2329
- client: { default: "", type: "OBJECT" },
2330
- assignee: { default: "", type: "OBJECT" }
2440
+ label: "String"
2331
2441
  },
2332
2442
  integrations: {
2333
- name: { default: "", type: "String" },
2334
- title: { default: "", type: "String" },
2335
- description: { default: "", type: "String" },
2336
- category: { default: "", type: "String" },
2337
- key: { default: "", type: "String" },
2338
- secret: { default: "", type: "String" },
2339
- logo: { default: "", type: "String" },
2340
- clientEmail: { default: "", type: "String" },
2341
- customerId: { default: "", type: "String" },
2342
- channelId: { default: "", type: "String" },
2343
- active: { default: false, type: "Boolean" },
2344
- importBridge: { default: false, type: "Boolean" },
2345
- exportBridge: { default: false, type: "Boolean" },
2346
- dynamicBridge: { default: false, type: "Boolean" }
2443
+ name: "String",
2444
+ title: "String",
2445
+ description: "String",
2446
+ category: "String",
2447
+ key: "String",
2448
+ secret: "String",
2449
+ logo: "String",
2450
+ clientEmail: "String",
2451
+ customerId: "String",
2452
+ channelId: "String",
2453
+ active: "Boolean",
2454
+ importBridge: "Boolean",
2455
+ exportBridge: "Boolean",
2456
+ dynamicBridge: "Boolean"
2347
2457
  },
2348
2458
  operations: {
2349
- label: { default: "", type: "String" },
2350
- description: { default: "", type: "String" },
2351
- star: { default: false, type: "Boolean" }
2459
+ label: "String",
2460
+ description: "String",
2461
+ star: "Boolean"
2352
2462
  },
2353
2463
  prompts: {
2354
- label: { default: "", type: "String" },
2355
- description: { default: "", type: "String" },
2356
- active: { default: false, type: "Boolean" }
2464
+ label: "String",
2465
+ description: "String",
2466
+ active: "Boolean"
2357
2467
  }
2358
2468
  };
2359
- var defaultsWithTypes_default = defaultsWithTypes;
2469
+ var defaultTypes_default = defaultTypes;
2360
2470
  export {
2361
2471
  AppMode,
2362
2472
  CalculationType,
@@ -2398,8 +2508,8 @@ export {
2398
2508
  constants_default as constants,
2399
2509
  currency,
2400
2510
  customerType,
2511
+ defaultTypes_default as defaultTypes,
2401
2512
  defaults_default as defaults,
2402
- defaultsWithTypes_default as defaultsWithTypes,
2403
2513
  disputeReason,
2404
2514
  disputeStatus,
2405
2515
  formatPhoneNumber,