@uptiqai/integrations-sdk 1.11.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 +2448 -659
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +949 -2
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +236 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +445 -1
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +190 -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.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.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
|
|
@@ -1395,6 +1395,51 @@ class Gmail {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
}
|
|
1397
1397
|
exports.Gmail = Gmail;
|
|
1398
|
+
/**
|
|
1399
|
+
* GoogleCalendar integration module
|
|
1400
|
+
*/
|
|
1401
|
+
class GoogleCalendar {
|
|
1402
|
+
constructor() {
|
|
1403
|
+
// Get the generated API methods
|
|
1404
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1405
|
+
}
|
|
1406
|
+
/** Start Google Calendar OAuth flow */
|
|
1407
|
+
authStart(body) {
|
|
1408
|
+
return this.api.googleCalendarAuthStart(body);
|
|
1409
|
+
}
|
|
1410
|
+
/** Set Google Calendar OAuth app credentials for a user */
|
|
1411
|
+
setUserCredentials(body) {
|
|
1412
|
+
return this.api.googleCalendarSetUserCredentials(body);
|
|
1413
|
+
}
|
|
1414
|
+
oauthCallback(...args) {
|
|
1415
|
+
return this.api.googleCalendarOauthCallback(...args);
|
|
1416
|
+
}
|
|
1417
|
+
/** List calendar events */
|
|
1418
|
+
listEvents(body) {
|
|
1419
|
+
return this.api.googleCalendarListEvents(body);
|
|
1420
|
+
}
|
|
1421
|
+
/** Create a calendar event */
|
|
1422
|
+
createEvent(body) {
|
|
1423
|
+
return this.api.googleCalendarCreateEvent(body);
|
|
1424
|
+
}
|
|
1425
|
+
/** Update a calendar event */
|
|
1426
|
+
patchEvent(body) {
|
|
1427
|
+
return this.api.googleCalendarPatchEvent(body);
|
|
1428
|
+
}
|
|
1429
|
+
/** Delete a calendar event */
|
|
1430
|
+
deleteEvent(body) {
|
|
1431
|
+
return this.api.googleCalendarDeleteEvent(body);
|
|
1432
|
+
}
|
|
1433
|
+
/** List subscribed calendars */
|
|
1434
|
+
listCalendars(body) {
|
|
1435
|
+
return this.api.googleCalendarListCalendars(body);
|
|
1436
|
+
}
|
|
1437
|
+
/** Query free/busy availability */
|
|
1438
|
+
queryFreeBusy(body) {
|
|
1439
|
+
return this.api.googleCalendarQueryFreeBusy(body);
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
exports.GoogleCalendar = GoogleCalendar;
|
|
1398
1443
|
/**
|
|
1399
1444
|
* GoogleCloudStorage integration module
|
|
1400
1445
|
*/
|
|
@@ -2433,6 +2478,59 @@ class Resend {
|
|
|
2433
2478
|
}
|
|
2434
2479
|
}
|
|
2435
2480
|
exports.Resend = Resend;
|
|
2481
|
+
/**
|
|
2482
|
+
* Slack integration module
|
|
2483
|
+
*/
|
|
2484
|
+
class Slack {
|
|
2485
|
+
constructor() {
|
|
2486
|
+
// Get the generated API methods
|
|
2487
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2488
|
+
}
|
|
2489
|
+
/** Initiate Slack OAuth flow */
|
|
2490
|
+
oauthInitiate(body) {
|
|
2491
|
+
return this.api.slackOauthInitiate(body);
|
|
2492
|
+
}
|
|
2493
|
+
/** Set Slack OAuth app credentials for a user */
|
|
2494
|
+
setUserCredentials(body) {
|
|
2495
|
+
return this.api.slackSetUserCredentials(body);
|
|
2496
|
+
}
|
|
2497
|
+
oauthCallback(...args) {
|
|
2498
|
+
return this.api.slackOauthCallback(...args);
|
|
2499
|
+
}
|
|
2500
|
+
/** Post Message */
|
|
2501
|
+
postMessage(body) {
|
|
2502
|
+
return this.api.slackPostMessage(body);
|
|
2503
|
+
}
|
|
2504
|
+
/** Update Message */
|
|
2505
|
+
updateMessage(body) {
|
|
2506
|
+
return this.api.slackUpdateMessage(body);
|
|
2507
|
+
}
|
|
2508
|
+
/** List Channels */
|
|
2509
|
+
listChannels(body) {
|
|
2510
|
+
return this.api.slackListChannels(body);
|
|
2511
|
+
}
|
|
2512
|
+
/** Get Channel Info */
|
|
2513
|
+
getChannel(body) {
|
|
2514
|
+
return this.api.slackGetChannel(body);
|
|
2515
|
+
}
|
|
2516
|
+
/** Get Channel History */
|
|
2517
|
+
getChannelHistory(body) {
|
|
2518
|
+
return this.api.slackGetChannelHistory(body);
|
|
2519
|
+
}
|
|
2520
|
+
/** Get Thread Replies */
|
|
2521
|
+
getThreadReplies(body) {
|
|
2522
|
+
return this.api.slackGetThreadReplies(body);
|
|
2523
|
+
}
|
|
2524
|
+
/** List Users */
|
|
2525
|
+
listUsers(body) {
|
|
2526
|
+
return this.api.slackListUsers(body);
|
|
2527
|
+
}
|
|
2528
|
+
/** Look Up User By Email */
|
|
2529
|
+
lookupUserByEmail(body) {
|
|
2530
|
+
return this.api.slackLookupUserByEmail(body);
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
exports.Slack = Slack;
|
|
2436
2534
|
/**
|
|
2437
2535
|
* SocureRiskos integration module
|
|
2438
2536
|
*/
|
|
@@ -2913,6 +3011,352 @@ class Hubspot {
|
|
|
2913
3011
|
}
|
|
2914
3012
|
}
|
|
2915
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;
|
|
2916
3360
|
// Re-export all types from generated API
|
|
2917
3361
|
__exportStar(require("./generated-api"), exports);
|
|
2918
3362
|
//# sourceMappingURL=index.js.map
|