@uptiqai/integrations-sdk 1.12.0 → 1.13.0
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/generated-api.d.ts +1743 -441
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +741 -1
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +184 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +347 -1
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +150 -2
- package/dist/response-type-map.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.Hubspot = exports.Salesforce = exports.Wealthbox = exports.TwilioWhatsapp = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.Jira = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.GoogleSlides = exports.GoogleSheets = exports.GoogleOAuth = exports.GoogleGenerativeAIImage = exports.GoogleGenerativeAI = exports.GoogleDrive = exports.GoogleDocs = exports.GoogleCloudStorage = exports.GoogleCalendar = exports.Gmail = exports.Gitlab = exports.ExperianBusiness = exports.DunAndBradstreet = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.AzureBlobStorage = exports.AwsS3 = exports.Anthropic = exports.Alloy = exports.Abrigo = void 0;
|
|
17
|
+
exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.Hubspot = exports.Salesforce = exports.Wealthbox = exports.TwilioWhatsapp = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.Jira = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.GoogleSlides = exports.GoogleSheets = exports.GoogleOAuth = exports.GoogleGenerativeAIImage = exports.GoogleGenerativeAI = exports.GoogleDrive = exports.GoogleDocs = exports.GoogleCloudStorage = exports.GoogleCalendar = exports.Gmail = exports.Gitlab = exports.ExperianBusiness = exports.DunAndBradstreet = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.AzureBlobStorage = exports.AwsS3 = exports.Anthropic = exports.Alloy = exports.Abrigo = void 0;
|
|
18
18
|
const generated_api_1 = require("./generated-api");
|
|
19
19
|
/**
|
|
20
20
|
* UPTIQ Integrations SDK
|
|
@@ -3011,6 +3011,352 @@ class Hubspot {
|
|
|
3011
3011
|
}
|
|
3012
3012
|
}
|
|
3013
3013
|
exports.Hubspot = Hubspot;
|
|
3014
|
+
/**
|
|
3015
|
+
* UdgNormalisedFreeAgent integration module
|
|
3016
|
+
*/
|
|
3017
|
+
class UdgNormalisedFreeAgent {
|
|
3018
|
+
constructor() {
|
|
3019
|
+
// Get the generated API methods
|
|
3020
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3021
|
+
}
|
|
3022
|
+
/** Authenticate with FreeAgent via UDG */
|
|
3023
|
+
authenticate(body) {
|
|
3024
|
+
return this.api.udgNormalisedFreeAgentAuthenticate(body);
|
|
3025
|
+
}
|
|
3026
|
+
/** Get Contacts */
|
|
3027
|
+
getContacts(body) {
|
|
3028
|
+
return this.api.udgNormalisedFreeAgentGetContacts(body);
|
|
3029
|
+
}
|
|
3030
|
+
/** Get Company Info */
|
|
3031
|
+
getCompanyInfo(body) {
|
|
3032
|
+
return this.api.udgNormalisedFreeAgentGetCompanyInfo(body);
|
|
3033
|
+
}
|
|
3034
|
+
/** Get Employees */
|
|
3035
|
+
getEmployees(body) {
|
|
3036
|
+
return this.api.udgNormalisedFreeAgentGetEmployees(body);
|
|
3037
|
+
}
|
|
3038
|
+
/** Get Invoices */
|
|
3039
|
+
getInvoices(body) {
|
|
3040
|
+
return this.api.udgNormalisedFreeAgentGetInvoices(body);
|
|
3041
|
+
}
|
|
3042
|
+
/** Get Bills */
|
|
3043
|
+
getBills(body) {
|
|
3044
|
+
return this.api.udgNormalisedFreeAgentGetBills(body);
|
|
3045
|
+
}
|
|
3046
|
+
/** Get Credit Notes */
|
|
3047
|
+
getCreditNotes(body) {
|
|
3048
|
+
return this.api.udgNormalisedFreeAgentGetCreditNotes(body);
|
|
3049
|
+
}
|
|
3050
|
+
/** Get Documents */
|
|
3051
|
+
getDocuments(body) {
|
|
3052
|
+
return this.api.udgNormalisedFreeAgentGetDocuments(body);
|
|
3053
|
+
}
|
|
3054
|
+
/** Get Recurring Documents */
|
|
3055
|
+
getRecurringDocuments(body) {
|
|
3056
|
+
return this.api.udgNormalisedFreeAgentGetRecurringDocuments(body);
|
|
3057
|
+
}
|
|
3058
|
+
/** Get Payments */
|
|
3059
|
+
getPayments(body) {
|
|
3060
|
+
return this.api.udgNormalisedFreeAgentGetPayments(body);
|
|
3061
|
+
}
|
|
3062
|
+
/** Get Items */
|
|
3063
|
+
getItems(body) {
|
|
3064
|
+
return this.api.udgNormalisedFreeAgentGetItems(body);
|
|
3065
|
+
}
|
|
3066
|
+
/** Get Accounts */
|
|
3067
|
+
getAccounts(body) {
|
|
3068
|
+
return this.api.udgNormalisedFreeAgentGetAccounts(body);
|
|
3069
|
+
}
|
|
3070
|
+
/** Get Transactions */
|
|
3071
|
+
getTransactions(body) {
|
|
3072
|
+
return this.api.udgNormalisedFreeAgentGetTransactions(body);
|
|
3073
|
+
}
|
|
3074
|
+
/** Get Balance Sheet (Accrual) */
|
|
3075
|
+
getBalanceSheetAccrual(body) {
|
|
3076
|
+
return this.api.udgNormalisedFreeAgentGetBalanceSheetAccrual(body);
|
|
3077
|
+
}
|
|
3078
|
+
/** Get Profit and Loss (Accrual) */
|
|
3079
|
+
getProfitAndLossAccrual(body) {
|
|
3080
|
+
return this.api.udgNormalisedFreeAgentGetProfitAndLossAccrual(body);
|
|
3081
|
+
}
|
|
3082
|
+
}
|
|
3083
|
+
exports.UdgNormalisedFreeAgent = UdgNormalisedFreeAgent;
|
|
3084
|
+
/**
|
|
3085
|
+
* UdgNormalisedFreshbooks integration module
|
|
3086
|
+
*/
|
|
3087
|
+
class UdgNormalisedFreshbooks {
|
|
3088
|
+
constructor() {
|
|
3089
|
+
// Get the generated API methods
|
|
3090
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3091
|
+
}
|
|
3092
|
+
/** Authenticate with FreshBooks via UDG */
|
|
3093
|
+
authenticate(body) {
|
|
3094
|
+
return this.api.udgNormalisedFreshbooksAuthenticate(body);
|
|
3095
|
+
}
|
|
3096
|
+
/** Get Contacts */
|
|
3097
|
+
getContacts(body) {
|
|
3098
|
+
return this.api.udgNormalisedFreshbooksGetContacts(body);
|
|
3099
|
+
}
|
|
3100
|
+
/** Get Company Info */
|
|
3101
|
+
getCompanyInfo(body) {
|
|
3102
|
+
return this.api.udgNormalisedFreshbooksGetCompanyInfo(body);
|
|
3103
|
+
}
|
|
3104
|
+
/** Get Employees */
|
|
3105
|
+
getEmployees(body) {
|
|
3106
|
+
return this.api.udgNormalisedFreshbooksGetEmployees(body);
|
|
3107
|
+
}
|
|
3108
|
+
/** Get Invoices */
|
|
3109
|
+
getInvoices(body) {
|
|
3110
|
+
return this.api.udgNormalisedFreshbooksGetInvoices(body);
|
|
3111
|
+
}
|
|
3112
|
+
/** Get Bills */
|
|
3113
|
+
getBills(body) {
|
|
3114
|
+
return this.api.udgNormalisedFreshbooksGetBills(body);
|
|
3115
|
+
}
|
|
3116
|
+
/** Get Documents */
|
|
3117
|
+
getDocuments(body) {
|
|
3118
|
+
return this.api.udgNormalisedFreshbooksGetDocuments(body);
|
|
3119
|
+
}
|
|
3120
|
+
/** Get Recurring Documents */
|
|
3121
|
+
getRecurringDocuments(body) {
|
|
3122
|
+
return this.api.udgNormalisedFreshbooksGetRecurringDocuments(body);
|
|
3123
|
+
}
|
|
3124
|
+
/** Get Payments */
|
|
3125
|
+
getPayments(body) {
|
|
3126
|
+
return this.api.udgNormalisedFreshbooksGetPayments(body);
|
|
3127
|
+
}
|
|
3128
|
+
/** Get Items */
|
|
3129
|
+
getItems(body) {
|
|
3130
|
+
return this.api.udgNormalisedFreshbooksGetItems(body);
|
|
3131
|
+
}
|
|
3132
|
+
/** Get Accounts */
|
|
3133
|
+
getAccounts(body) {
|
|
3134
|
+
return this.api.udgNormalisedFreshbooksGetAccounts(body);
|
|
3135
|
+
}
|
|
3136
|
+
/** Get Transactions */
|
|
3137
|
+
getTransactions(body) {
|
|
3138
|
+
return this.api.udgNormalisedFreshbooksGetTransactions(body);
|
|
3139
|
+
}
|
|
3140
|
+
/** Get Balance Sheet (Accrual) */
|
|
3141
|
+
getBalanceSheetAccrual(body) {
|
|
3142
|
+
return this.api.udgNormalisedFreshbooksGetBalanceSheetAccrual(body);
|
|
3143
|
+
}
|
|
3144
|
+
/** Get Profit and Loss (Accrual) */
|
|
3145
|
+
getProfitAndLossAccrual(body) {
|
|
3146
|
+
return this.api.udgNormalisedFreshbooksGetProfitAndLossAccrual(body);
|
|
3147
|
+
}
|
|
3148
|
+
/** Get Taxes */
|
|
3149
|
+
getTaxes(body) {
|
|
3150
|
+
return this.api.udgNormalisedFreshbooksGetTaxes(body);
|
|
3151
|
+
}
|
|
3152
|
+
/** Get Profit and Loss (Cash) */
|
|
3153
|
+
getProfitAndLossCash(body) {
|
|
3154
|
+
return this.api.udgNormalisedFreshbooksGetProfitAndLossCash(body);
|
|
3155
|
+
}
|
|
3156
|
+
}
|
|
3157
|
+
exports.UdgNormalisedFreshbooks = UdgNormalisedFreshbooks;
|
|
3158
|
+
/**
|
|
3159
|
+
* UdgNormalisedQuickbooks integration module
|
|
3160
|
+
*/
|
|
3161
|
+
class UdgNormalisedQuickbooks {
|
|
3162
|
+
constructor() {
|
|
3163
|
+
// Get the generated API methods
|
|
3164
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3165
|
+
}
|
|
3166
|
+
/** Authenticate with QuickBooks via UDG */
|
|
3167
|
+
authenticate(body) {
|
|
3168
|
+
return this.api.udgNormalisedQuickbooksAuthenticate(body);
|
|
3169
|
+
}
|
|
3170
|
+
/** Get Contacts */
|
|
3171
|
+
getContacts(body) {
|
|
3172
|
+
return this.api.udgNormalisedQuickbooksGetContacts(body);
|
|
3173
|
+
}
|
|
3174
|
+
/** Get Company Info */
|
|
3175
|
+
getCompanyInfo(body) {
|
|
3176
|
+
return this.api.udgNormalisedQuickbooksGetCompanyInfo(body);
|
|
3177
|
+
}
|
|
3178
|
+
/** Get Employees */
|
|
3179
|
+
getEmployees(body) {
|
|
3180
|
+
return this.api.udgNormalisedQuickbooksGetEmployees(body);
|
|
3181
|
+
}
|
|
3182
|
+
/** Get Invoices */
|
|
3183
|
+
getInvoices(body) {
|
|
3184
|
+
return this.api.udgNormalisedQuickbooksGetInvoices(body);
|
|
3185
|
+
}
|
|
3186
|
+
/** Get Bills */
|
|
3187
|
+
getBills(body) {
|
|
3188
|
+
return this.api.udgNormalisedQuickbooksGetBills(body);
|
|
3189
|
+
}
|
|
3190
|
+
/** Get Credit Notes */
|
|
3191
|
+
getCreditNotes(body) {
|
|
3192
|
+
return this.api.udgNormalisedQuickbooksGetCreditNotes(body);
|
|
3193
|
+
}
|
|
3194
|
+
/** Get Documents */
|
|
3195
|
+
getDocuments(body) {
|
|
3196
|
+
return this.api.udgNormalisedQuickbooksGetDocuments(body);
|
|
3197
|
+
}
|
|
3198
|
+
/** Get Recurring Documents */
|
|
3199
|
+
getRecurringDocuments(body) {
|
|
3200
|
+
return this.api.udgNormalisedQuickbooksGetRecurringDocuments(body);
|
|
3201
|
+
}
|
|
3202
|
+
/** Get Payments */
|
|
3203
|
+
getPayments(body) {
|
|
3204
|
+
return this.api.udgNormalisedQuickbooksGetPayments(body);
|
|
3205
|
+
}
|
|
3206
|
+
/** Get Items */
|
|
3207
|
+
getItems(body) {
|
|
3208
|
+
return this.api.udgNormalisedQuickbooksGetItems(body);
|
|
3209
|
+
}
|
|
3210
|
+
/** Get Accounts */
|
|
3211
|
+
getAccounts(body) {
|
|
3212
|
+
return this.api.udgNormalisedQuickbooksGetAccounts(body);
|
|
3213
|
+
}
|
|
3214
|
+
/** Get Transactions */
|
|
3215
|
+
getTransactions(body) {
|
|
3216
|
+
return this.api.udgNormalisedQuickbooksGetTransactions(body);
|
|
3217
|
+
}
|
|
3218
|
+
/** Get Balance Sheet (Accrual) */
|
|
3219
|
+
getBalanceSheetAccrual(body) {
|
|
3220
|
+
return this.api.udgNormalisedQuickbooksGetBalanceSheetAccrual(body);
|
|
3221
|
+
}
|
|
3222
|
+
/** Get Profit and Loss (Accrual) */
|
|
3223
|
+
getProfitAndLossAccrual(body) {
|
|
3224
|
+
return this.api.udgNormalisedQuickbooksGetProfitAndLossAccrual(body);
|
|
3225
|
+
}
|
|
3226
|
+
/** Get Cash Flow */
|
|
3227
|
+
getCashflow(body) {
|
|
3228
|
+
return this.api.udgNormalisedQuickbooksGetCashflow(body);
|
|
3229
|
+
}
|
|
3230
|
+
/** Get Taxes */
|
|
3231
|
+
getTaxes(body) {
|
|
3232
|
+
return this.api.udgNormalisedQuickbooksGetTaxes(body);
|
|
3233
|
+
}
|
|
3234
|
+
/** Get Profit and Loss (Cash) */
|
|
3235
|
+
getProfitAndLossCash(body) {
|
|
3236
|
+
return this.api.udgNormalisedQuickbooksGetProfitAndLossCash(body);
|
|
3237
|
+
}
|
|
3238
|
+
/** Get Balance Sheet (Cash) */
|
|
3239
|
+
getBalanceSheetCash(body) {
|
|
3240
|
+
return this.api.udgNormalisedQuickbooksGetBalanceSheetCash(body);
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
exports.UdgNormalisedQuickbooks = UdgNormalisedQuickbooks;
|
|
3244
|
+
/**
|
|
3245
|
+
* UdgNormalisedWave integration module
|
|
3246
|
+
*/
|
|
3247
|
+
class UdgNormalisedWave {
|
|
3248
|
+
constructor() {
|
|
3249
|
+
// Get the generated API methods
|
|
3250
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3251
|
+
}
|
|
3252
|
+
/** Authenticate with Wave via UDG */
|
|
3253
|
+
authenticate(body) {
|
|
3254
|
+
return this.api.udgNormalisedWaveAuthenticate(body);
|
|
3255
|
+
}
|
|
3256
|
+
/** Get Accounts */
|
|
3257
|
+
getAccounts(body) {
|
|
3258
|
+
return this.api.udgNormalisedWaveGetAccounts(body);
|
|
3259
|
+
}
|
|
3260
|
+
/** Get Contacts */
|
|
3261
|
+
getContacts(body) {
|
|
3262
|
+
return this.api.udgNormalisedWaveGetContacts(body);
|
|
3263
|
+
}
|
|
3264
|
+
/** Get Company Info */
|
|
3265
|
+
getCompanyInfo(body) {
|
|
3266
|
+
return this.api.udgNormalisedWaveGetCompanyInfo(body);
|
|
3267
|
+
}
|
|
3268
|
+
/** Get Invoices */
|
|
3269
|
+
getInvoices(body) {
|
|
3270
|
+
return this.api.udgNormalisedWaveGetInvoices(body);
|
|
3271
|
+
}
|
|
3272
|
+
/** Get Items */
|
|
3273
|
+
getItems(body) {
|
|
3274
|
+
return this.api.udgNormalisedWaveGetItems(body);
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
exports.UdgNormalisedWave = UdgNormalisedWave;
|
|
3278
|
+
/**
|
|
3279
|
+
* UdgNormalisedXero integration module
|
|
3280
|
+
*/
|
|
3281
|
+
class UdgNormalisedXero {
|
|
3282
|
+
constructor() {
|
|
3283
|
+
// Get the generated API methods
|
|
3284
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3285
|
+
}
|
|
3286
|
+
/** Authenticate with Xero via UDG */
|
|
3287
|
+
authenticate(body) {
|
|
3288
|
+
return this.api.udgNormalisedXeroAuthenticate(body);
|
|
3289
|
+
}
|
|
3290
|
+
/** Get Accounts */
|
|
3291
|
+
getAccounts(body) {
|
|
3292
|
+
return this.api.udgNormalisedXeroGetAccounts(body);
|
|
3293
|
+
}
|
|
3294
|
+
/** Get Contacts */
|
|
3295
|
+
getContacts(body) {
|
|
3296
|
+
return this.api.udgNormalisedXeroGetContacts(body);
|
|
3297
|
+
}
|
|
3298
|
+
/** Get Company Info */
|
|
3299
|
+
getCompanyInfo(body) {
|
|
3300
|
+
return this.api.udgNormalisedXeroGetCompanyInfo(body);
|
|
3301
|
+
}
|
|
3302
|
+
/** Get Employees */
|
|
3303
|
+
getEmployees(body) {
|
|
3304
|
+
return this.api.udgNormalisedXeroGetEmployees(body);
|
|
3305
|
+
}
|
|
3306
|
+
/** Get Invoices */
|
|
3307
|
+
getInvoices(body) {
|
|
3308
|
+
return this.api.udgNormalisedXeroGetInvoices(body);
|
|
3309
|
+
}
|
|
3310
|
+
/** Get Bills */
|
|
3311
|
+
getBills(body) {
|
|
3312
|
+
return this.api.udgNormalisedXeroGetBills(body);
|
|
3313
|
+
}
|
|
3314
|
+
/** Get Credit Notes */
|
|
3315
|
+
getCreditNotes(body) {
|
|
3316
|
+
return this.api.udgNormalisedXeroGetCreditNotes(body);
|
|
3317
|
+
}
|
|
3318
|
+
/** Get Documents */
|
|
3319
|
+
getDocuments(body) {
|
|
3320
|
+
return this.api.udgNormalisedXeroGetDocuments(body);
|
|
3321
|
+
}
|
|
3322
|
+
/** Get Recurring Documents */
|
|
3323
|
+
getRecurringDocuments(body) {
|
|
3324
|
+
return this.api.udgNormalisedXeroGetRecurringDocuments(body);
|
|
3325
|
+
}
|
|
3326
|
+
/** Get Payments */
|
|
3327
|
+
getPayments(body) {
|
|
3328
|
+
return this.api.udgNormalisedXeroGetPayments(body);
|
|
3329
|
+
}
|
|
3330
|
+
/** Get Items */
|
|
3331
|
+
getItems(body) {
|
|
3332
|
+
return this.api.udgNormalisedXeroGetItems(body);
|
|
3333
|
+
}
|
|
3334
|
+
/** Get Transactions */
|
|
3335
|
+
getTransactions(body) {
|
|
3336
|
+
return this.api.udgNormalisedXeroGetTransactions(body);
|
|
3337
|
+
}
|
|
3338
|
+
/** Get Balance Sheet (Accrual) */
|
|
3339
|
+
getBalanceSheetAccrual(body) {
|
|
3340
|
+
return this.api.udgNormalisedXeroGetBalanceSheetAccrual(body);
|
|
3341
|
+
}
|
|
3342
|
+
/** Get Balance Sheet (Cash) */
|
|
3343
|
+
getBalanceSheetCash(body) {
|
|
3344
|
+
return this.api.udgNormalisedXeroGetBalanceSheetCash(body);
|
|
3345
|
+
}
|
|
3346
|
+
/** Get Profit and Loss (Accrual) */
|
|
3347
|
+
getProfitAndLossAccrual(body) {
|
|
3348
|
+
return this.api.udgNormalisedXeroGetProfitAndLossAccrual(body);
|
|
3349
|
+
}
|
|
3350
|
+
/** Get Profit and Loss (Cash) */
|
|
3351
|
+
getProfitAndLossCash(body) {
|
|
3352
|
+
return this.api.udgNormalisedXeroGetProfitAndLossCash(body);
|
|
3353
|
+
}
|
|
3354
|
+
/** Get Taxes */
|
|
3355
|
+
getTaxes(body) {
|
|
3356
|
+
return this.api.udgNormalisedXeroGetTaxes(body);
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
exports.UdgNormalisedXero = UdgNormalisedXero;
|
|
3014
3360
|
// Re-export all types from generated API
|
|
3015
3361
|
__exportStar(require("./generated-api"), exports);
|
|
3016
3362
|
//# sourceMappingURL=index.js.map
|