@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.d.mts +634 -1324
- package/dist/index.d.ts +634 -1324
- package/dist/index.js +459 -349
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +458 -348
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1954,409 +1954,519 @@ var defaults = {
|
|
|
1954
1954
|
};
|
|
1955
1955
|
var defaults_default = defaults;
|
|
1956
1956
|
|
|
1957
|
-
// src/
|
|
1958
|
-
var
|
|
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:
|
|
1961
|
-
lastName:
|
|
1962
|
-
email:
|
|
1963
|
-
role:
|
|
1964
|
-
status:
|
|
1965
|
-
userName:
|
|
1966
|
-
jobTitle:
|
|
1967
|
-
password:
|
|
1968
|
-
dateOfBirth:
|
|
1969
|
-
phone:
|
|
1970
|
-
permissions:
|
|
1971
|
-
avatar:
|
|
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:
|
|
1974
|
-
dealsClosing:
|
|
1975
|
-
deletionAlerts:
|
|
1976
|
-
device:
|
|
1984
|
+
dailyReports: "Boolean",
|
|
1985
|
+
dealsClosing: "Boolean",
|
|
1986
|
+
deletionAlerts: "Boolean",
|
|
1987
|
+
device: "String"
|
|
1977
1988
|
},
|
|
1978
1989
|
platformSettings: {
|
|
1979
|
-
mode:
|
|
1980
|
-
language:
|
|
1981
|
-
currency:
|
|
1990
|
+
mode: "String",
|
|
1991
|
+
language: "String",
|
|
1992
|
+
currency: "String"
|
|
1982
1993
|
}
|
|
1983
1994
|
},
|
|
1984
1995
|
clients: {
|
|
1985
|
-
name:
|
|
1986
|
-
description:
|
|
1987
|
-
status:
|
|
1988
|
-
email:
|
|
1989
|
-
individualName:
|
|
1990
|
-
businessName:
|
|
1991
|
-
phone:
|
|
1992
|
-
accountNumber:
|
|
1993
|
-
invoicePrefix:
|
|
1994
|
-
sicCode:
|
|
1995
|
-
clientType:
|
|
1996
|
-
currency:
|
|
1997
|
-
customerType:
|
|
1998
|
-
industry:
|
|
1999
|
-
annualRevenue:
|
|
2000
|
-
balance:
|
|
2001
|
-
nextInvoiceSequence:
|
|
2002
|
-
taxExempt:
|
|
2003
|
-
website:
|
|
2004
|
-
source:
|
|
2005
|
-
logoUrl:
|
|
2006
|
-
linkedinUrl:
|
|
2007
|
-
facebookUrl:
|
|
2008
|
-
twitterUrl:
|
|
2009
|
-
angelUrl:
|
|
2010
|
-
crunchbaseUrl:
|
|
2011
|
-
accountOwner:
|
|
2012
|
-
contacts:
|
|
2013
|
-
deals:
|
|
2014
|
-
invoices:
|
|
2015
|
-
engagements:
|
|
2016
|
-
tasks:
|
|
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
|
-
|
|
2031
|
-
name:
|
|
2032
|
-
description:
|
|
2033
|
-
status:
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
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
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
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
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
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
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
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
|
-
|
|
2085
|
-
name:
|
|
2086
|
-
description:
|
|
2087
|
-
status:
|
|
2088
|
-
|
|
2089
|
-
|
|
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:
|
|
2103
|
-
description:
|
|
2104
|
-
footer:
|
|
2105
|
-
status:
|
|
2106
|
-
currency:
|
|
2107
|
-
accountCountry:
|
|
2108
|
-
statementDescriptor:
|
|
2109
|
-
dueDate:
|
|
2110
|
-
nextPaymentAttempt:
|
|
2111
|
-
effectiveAt:
|
|
2112
|
-
amountDue:
|
|
2113
|
-
amountPaid:
|
|
2114
|
-
amountRemaining:
|
|
2115
|
-
amountShipping:
|
|
2116
|
-
attemptCount:
|
|
2117
|
-
startingBalance:
|
|
2118
|
-
endingBalance:
|
|
2119
|
-
subtotal:
|
|
2120
|
-
subtotalExcludingTax:
|
|
2121
|
-
totalExcludingTax:
|
|
2122
|
-
tax:
|
|
2123
|
-
postPaymentCreditNotesAmount:
|
|
2124
|
-
prePaymentCreditNotesAmount:
|
|
2125
|
-
daysUntilDue:
|
|
2126
|
-
attempted:
|
|
2127
|
-
autoAdvance:
|
|
2128
|
-
billingReason:
|
|
2129
|
-
collectionMethod:
|
|
2130
|
-
customerEmail:
|
|
2131
|
-
customerPhone:
|
|
2132
|
-
customerTaxExempt:
|
|
2133
|
-
invoicePdf:
|
|
2134
|
-
lastFinalizationError:
|
|
2135
|
-
number:
|
|
2136
|
-
receiptNumber:
|
|
2137
|
-
livemode:
|
|
2138
|
-
paid:
|
|
2139
|
-
paidOutOfBand:
|
|
2140
|
-
client:
|
|
2141
|
-
accountOwner:
|
|
2142
|
-
deal:
|
|
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
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
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:
|
|
2150
|
-
description:
|
|
2151
|
-
status:
|
|
2152
|
-
engagementDate:
|
|
2153
|
-
client:
|
|
2154
|
-
contact:
|
|
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
|
-
|
|
2162
|
-
name:
|
|
2163
|
-
description:
|
|
2164
|
-
status:
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
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
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
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
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
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:
|
|
2201
|
-
description:
|
|
2202
|
-
status:
|
|
2203
|
-
trialStart:
|
|
2204
|
-
trialEnd:
|
|
2205
|
-
startDate:
|
|
2206
|
-
endedAt:
|
|
2207
|
-
currentPeriodStart:
|
|
2208
|
-
currentPeriodEnd:
|
|
2209
|
-
backdateStartDate:
|
|
2210
|
-
billingCycleAnchor:
|
|
2211
|
-
cancelAt:
|
|
2212
|
-
canceledAt:
|
|
2213
|
-
daysUntilDue:
|
|
2214
|
-
trialPeriodDays:
|
|
2215
|
-
applicationFeePercent:
|
|
2216
|
-
cancelAtPeriodEnd:
|
|
2217
|
-
trialFromPlan:
|
|
2218
|
-
offSession:
|
|
2219
|
-
nextPendingInvoiceItemInvoice:
|
|
2220
|
-
collectionMethod:
|
|
2221
|
-
missingPaymentMethod:
|
|
2222
|
-
client:
|
|
2223
|
-
deal:
|
|
2224
|
-
accountOwner:
|
|
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:
|
|
2227
|
+
enabled: "Boolean",
|
|
2228
2228
|
liability: {
|
|
2229
|
-
account:
|
|
2230
|
-
type:
|
|
2229
|
+
account: "OBJECT",
|
|
2230
|
+
type: "String"
|
|
2231
2231
|
},
|
|
2232
|
-
status:
|
|
2232
|
+
status: "String"
|
|
2233
2233
|
},
|
|
2234
2234
|
pauseCollection: {
|
|
2235
|
-
behavior:
|
|
2236
|
-
resumesAt:
|
|
2235
|
+
behavior: "String",
|
|
2236
|
+
resumesAt: "DateTime"
|
|
2237
2237
|
},
|
|
2238
2238
|
cancellationDetails: {
|
|
2239
|
-
comment:
|
|
2240
|
-
feedback:
|
|
2241
|
-
reason:
|
|
2239
|
+
comment: "String",
|
|
2240
|
+
feedback: "String",
|
|
2241
|
+
reason: "String"
|
|
2242
2242
|
},
|
|
2243
2243
|
trialSettings: {
|
|
2244
2244
|
endBehavior: {
|
|
2245
|
-
missingPaymentMethod:
|
|
2245
|
+
missingPaymentMethod: "String"
|
|
2246
2246
|
}
|
|
2247
2247
|
},
|
|
2248
2248
|
payments: {
|
|
2249
|
-
name:
|
|
2250
|
-
description:
|
|
2251
|
-
status:
|
|
2252
|
-
paymentStatus:
|
|
2253
|
-
currency:
|
|
2254
|
-
amount:
|
|
2255
|
-
amountCapturable:
|
|
2256
|
-
amountReceived:
|
|
2257
|
-
applicationFeeAmount:
|
|
2258
|
-
statementDescriptor:
|
|
2259
|
-
statementDescriptorSuffix:
|
|
2260
|
-
livemode:
|
|
2261
|
-
receiptEmail:
|
|
2262
|
-
client:
|
|
2263
|
-
subscription:
|
|
2264
|
-
invoice:
|
|
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:
|
|
2268
|
-
star:
|
|
2269
|
-
chartType:
|
|
2270
|
-
frequency:
|
|
2271
|
-
frequencyField:
|
|
2272
|
-
modelName:
|
|
2273
|
-
fieldName:
|
|
2274
|
-
operationType:
|
|
2275
|
-
calculation:
|
|
2276
|
-
calculationValue:
|
|
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:
|
|
2280
|
-
star:
|
|
2281
|
-
dynamic:
|
|
2282
|
-
modelName:
|
|
2283
|
-
fieldName:
|
|
2284
|
-
calculation:
|
|
2285
|
-
calculationValue:
|
|
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:
|
|
2289
|
-
star:
|
|
2290
|
-
modelName:
|
|
2291
|
-
fieldName:
|
|
2292
|
-
operationType:
|
|
2293
|
-
calculation:
|
|
2294
|
-
calculationValue:
|
|
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:
|
|
2298
|
-
streetName:
|
|
2299
|
-
city:
|
|
2300
|
-
state:
|
|
2301
|
-
country:
|
|
2302
|
-
countryCode:
|
|
2303
|
-
postalCode:
|
|
2304
|
-
latitude:
|
|
2305
|
-
longitude:
|
|
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:
|
|
2309
|
-
selected:
|
|
2310
|
-
key:
|
|
2311
|
-
type:
|
|
2312
|
-
options:
|
|
2433
|
+
deleted: "Boolean",
|
|
2434
|
+
selected: "Boolean",
|
|
2435
|
+
key: "String",
|
|
2436
|
+
type: "String",
|
|
2437
|
+
options: "LIST"
|
|
2313
2438
|
},
|
|
2314
2439
|
comments: {
|
|
2315
|
-
label:
|
|
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:
|
|
2334
|
-
title:
|
|
2335
|
-
description:
|
|
2336
|
-
category:
|
|
2337
|
-
key:
|
|
2338
|
-
secret:
|
|
2339
|
-
logo:
|
|
2340
|
-
clientEmail:
|
|
2341
|
-
customerId:
|
|
2342
|
-
channelId:
|
|
2343
|
-
active:
|
|
2344
|
-
importBridge:
|
|
2345
|
-
exportBridge:
|
|
2346
|
-
dynamicBridge:
|
|
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:
|
|
2350
|
-
description:
|
|
2351
|
-
star:
|
|
2459
|
+
label: "String",
|
|
2460
|
+
description: "String",
|
|
2461
|
+
star: "Boolean"
|
|
2352
2462
|
},
|
|
2353
2463
|
prompts: {
|
|
2354
|
-
label:
|
|
2355
|
-
description:
|
|
2356
|
-
active:
|
|
2464
|
+
label: "String",
|
|
2465
|
+
description: "String",
|
|
2466
|
+
active: "Boolean"
|
|
2357
2467
|
}
|
|
2358
2468
|
};
|
|
2359
|
-
var
|
|
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,
|