@scryme/sdk 10.1.50 → 10.1.52
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/README.md +0 -1
- package/dist/{base-CoqrR8Yg.d.mts → base-B8f1zwJA.d.mts} +10 -274
- package/dist/{base-CoqrR8Yg.d.ts → base-B8f1zwJA.d.ts} +10 -274
- package/dist/client.d.mts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +2 -93
- package/dist/client.mjs +2 -93
- package/dist/index.d.mts +47 -15
- package/dist/index.d.ts +47 -15
- package/dist/index.js +2 -135
- package/dist/index.mjs +2 -131
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -93
- package/dist/server.mjs +2 -93
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -44,8 +44,6 @@ __export(index_exports, {
|
|
|
44
44
|
CreatePartnerDtoBenefitType: () => CreatePartnerDtoBenefitType,
|
|
45
45
|
CreatePartnerDtoReconciliationPolicy: () => CreatePartnerDtoReconciliationPolicy,
|
|
46
46
|
CreateServiceDtoPricingModel: () => CreateServiceDtoPricingModel,
|
|
47
|
-
CreateStrapiConnectionDtoEnabledSyncTypesItem: () => CreateStrapiConnectionDtoEnabledSyncTypesItem,
|
|
48
|
-
CreateStrapiConnectionDtoSyncDirection: () => CreateStrapiConnectionDtoSyncDirection,
|
|
49
47
|
CreateTransferDtoPriority: () => CreateTransferDtoPriority,
|
|
50
48
|
CreateUtilityAccountDtoType: () => CreateUtilityAccountDtoType,
|
|
51
49
|
DepartmentsListSortOrder: () => DepartmentsListSortOrder,
|
|
@@ -77,8 +75,6 @@ __export(index_exports, {
|
|
|
77
75
|
UpdatePartnerDtoBenefitType: () => UpdatePartnerDtoBenefitType,
|
|
78
76
|
UpdatePartnerDtoReconciliationPolicy: () => UpdatePartnerDtoReconciliationPolicy,
|
|
79
77
|
UpdateServiceDtoPricingModel: () => UpdateServiceDtoPricingModel,
|
|
80
|
-
UpdateStrapiConnectionDtoEnabledSyncTypesItem: () => UpdateStrapiConnectionDtoEnabledSyncTypesItem,
|
|
81
|
-
UpdateStrapiConnectionDtoSyncDirection: () => UpdateStrapiConnectionDtoSyncDirection,
|
|
82
78
|
accountingMapping: () => accountingMapping,
|
|
83
79
|
adminMapping: () => adminMapping,
|
|
84
80
|
authMapping: () => authMapping,
|
|
@@ -1974,85 +1970,6 @@ var getScrymeV3API = (axiosInstance = import_axios.default) => {
|
|
|
1974
1970
|
}
|
|
1975
1971
|
);
|
|
1976
1972
|
};
|
|
1977
|
-
const strapiCreateConnection = (orgSlug, createStrapiConnectionDto, options) => {
|
|
1978
|
-
return axiosInstance.post(
|
|
1979
|
-
`/v3/${orgSlug}/strapi/connections`,
|
|
1980
|
-
createStrapiConnectionDto,
|
|
1981
|
-
options
|
|
1982
|
-
);
|
|
1983
|
-
};
|
|
1984
|
-
const strapiListConnections = (orgSlug, options) => {
|
|
1985
|
-
return axiosInstance.get(
|
|
1986
|
-
`/v3/${orgSlug}/strapi/connections`,
|
|
1987
|
-
options
|
|
1988
|
-
);
|
|
1989
|
-
};
|
|
1990
|
-
const strapiGetConnection = (orgSlug, connectionId, options) => {
|
|
1991
|
-
return axiosInstance.get(
|
|
1992
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
1993
|
-
options
|
|
1994
|
-
);
|
|
1995
|
-
};
|
|
1996
|
-
const strapiUpdateConnection = (orgSlug, connectionId, updateStrapiConnectionDto, options) => {
|
|
1997
|
-
return axiosInstance.patch(
|
|
1998
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
1999
|
-
updateStrapiConnectionDto,
|
|
2000
|
-
options
|
|
2001
|
-
);
|
|
2002
|
-
};
|
|
2003
|
-
const strapiDeleteConnection = (orgSlug, connectionId, options) => {
|
|
2004
|
-
return axiosInstance.delete(
|
|
2005
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
2006
|
-
options
|
|
2007
|
-
);
|
|
2008
|
-
};
|
|
2009
|
-
const strapiTriggerSync = (orgSlug, connectionId, triggerSyncDto, options) => {
|
|
2010
|
-
return axiosInstance.post(
|
|
2011
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync`,
|
|
2012
|
-
triggerSyncDto,
|
|
2013
|
-
options
|
|
2014
|
-
);
|
|
2015
|
-
};
|
|
2016
|
-
const strapiEnqueueSync = (orgSlug, connectionId, triggerSyncDto, options) => {
|
|
2017
|
-
return axiosInstance.post(
|
|
2018
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync/queue`,
|
|
2019
|
-
triggerSyncDto,
|
|
2020
|
-
options
|
|
2021
|
-
);
|
|
2022
|
-
};
|
|
2023
|
-
const strapiGetWebhookLogs = (orgSlug, connectionId, options) => {
|
|
2024
|
-
return axiosInstance.get(
|
|
2025
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/webhook-logs`,
|
|
2026
|
-
options
|
|
2027
|
-
);
|
|
2028
|
-
};
|
|
2029
|
-
const strapiGetSyncLogs = (orgSlug, connectionId, options) => {
|
|
2030
|
-
return axiosInstance.get(
|
|
2031
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync-logs`,
|
|
2032
|
-
options
|
|
2033
|
-
);
|
|
2034
|
-
};
|
|
2035
|
-
const strapiExchangeCustomerToken = (orgSlug, connectionId, options) => {
|
|
2036
|
-
return axiosInstance.post(
|
|
2037
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/customers/exchange-token`,
|
|
2038
|
-
void 0,
|
|
2039
|
-
options
|
|
2040
|
-
);
|
|
2041
|
-
};
|
|
2042
|
-
const strapiRegisterCustomer = (orgSlug, connectionId, options) => {
|
|
2043
|
-
return axiosInstance.post(
|
|
2044
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/customers/register`,
|
|
2045
|
-
void 0,
|
|
2046
|
-
options
|
|
2047
|
-
);
|
|
2048
|
-
};
|
|
2049
|
-
const strapiReceiveWebhook = (connectionId, options) => {
|
|
2050
|
-
return axiosInstance.post(
|
|
2051
|
-
`/v3/webhooks/strapi/${connectionId}`,
|
|
2052
|
-
void 0,
|
|
2053
|
-
options
|
|
2054
|
-
);
|
|
2055
|
-
};
|
|
2056
1973
|
const analyticsControllerGetDashboardAnalytics = (orgSlug, options) => {
|
|
2057
1974
|
return axiosInstance.get(
|
|
2058
1975
|
`/v3/${orgSlug}/analytics/dashboard`,
|
|
@@ -2068,7 +1985,7 @@ var getScrymeV3API = (axiosInstance = import_axios.default) => {
|
|
|
2068
1985
|
}
|
|
2069
1986
|
);
|
|
2070
1987
|
};
|
|
2071
|
-
return { servicesCreateCategory, servicesGetCategories, servicesUpdateCategory, servicesDeleteCategory, servicesCreateService, servicesGetServices, servicesGetCurrentMemberShifts, servicesGetShifts, servicesGetService, servicesUpdateService, servicesGetAvailability, servicesDeleteService, servicesCreateResource, servicesGetResources, servicesUpdateResource, servicesDeleteResource, servicesCreateBooking, servicesGetBookings, servicesGetBooking, servicesUpdateBookingStatus, servicesCompleteBooking, servicesCancelBookingSeries, servicesCreateShift, servicesGetStaffShifts, servicesAddBreak, servicesRegisterCustomerApp, servicesGetUtilization, servicesGetPerformance, servicesGetFunnel, publicServicesListServices, publicServicesGetCategories, publicServicesGetService, publicServicesGetAvailability, publicServicesRequestOtp, publicServicesVerifyOtp, publicServicesCreatePublicBooking, inventoryVerifyIntegrity, inventoryFixIntegrity, inventoryGetInventory, inventoryTraceBatch, inventorySplitBatch, inventoryMergeBatches, inventoryCreateAssembly, inventoryCompleteAssembly, inventoryRequestAdjustment, inventoryGetAdjustments, inventoryApproveAdjustment, inventoryRejectAdjustment, inventoryGetLeadTime, inventoryGetWasteAnalysis, inventoryCheckB2BAvailability, inventoryUnpackBatch, inventoryScanUnpackBatch, inventoryQuickStockInquiry, expenseControllerCreateExpense, expenseControllerGetExpenses, expenseControllerGetExpenseCategories, expenseControllerGetExpense, pettyCashControllerCreateFund, pettyCashControllerGetFunds, pettyCashControllerGetFund, pettyCashControllerTopUpFund, pettyCashControllerGetFundTransactions, utilityAccountControllerCreateAccount, utilityAccountControllerGetAccounts, utilityAccountControllerGetAccount, accountingInitialize, accountingGetProfitLoss, accountingGetBalanceSheet, accountingGetCashFlow, accountingGetTaxSummary, invoiceControllerCreateInvoice, invoiceControllerGetInvoices, invoiceControllerGetInvoice, invoiceControllerUpdateInvoice, invoiceControllerDeleteInvoice, invoiceControllerFinalizeInvoice, invoiceControllerGetTemplates, invoiceControllerCreateTemplate, invoiceControllerGetConfig, invoiceControllerUpdateConfig, publicInvoiceControllerDownloadInvoice, publicInvoiceControllerDownloadInvoiceByTransaction, publicInvoiceControllerDownloadReceipt, publicInvoiceControllerGeneratePublicLink, authExchangeToken, authCreateOAuthClient, authListOAuthClients, authGetOAuthClient, authUpdateOAuthClient, authDeleteOAuthClient, authControllerHandleOAuth2, adminControllerGetStats, adminControllerListOrganizations, adminControllerCreateOrganization, adminControllerGetOrganizationDetails, adminControllerUpdateOrganization, adminControllerDeleteOrganization, adminControllerSuspendOrganization, adminControllerReactivateOrganization, adminControllerGetEffectiveQuota, adminControllerSetQuotaOverrides, adminControllerListMembers, adminControllerListUsers, adminControllerBanUser, adminControllerUnbanUser, adminControllerListConnectedApps, adminControllerListSystemLogs, adminControllerListGlobalSettings, adminControllerSetGlobalSetting, adminControllerDeleteGlobalSetting, adminControllerListTiers, adminControllerDefineTier, adminControllerDeleteTier, adminControllerGetOrganizationSubscription, adminControllerUpdateOrganizationSubscription, adminControllerListSystemPayments, adminControllerRecordCustomPayment, adminControllerListIntegrationDefinitions, adminControllerCreateIntegrationDefinition, adminControllerUpdateIntegrationDefinition, adminControllerDeleteIntegrationDefinition, adminControllerListActiveOrganizationIntegrations, webhooksCreate, webhooksList, webhooksDelete, catalogGetProducts, catalogCreateProduct, catalogGetProduct, catalogGetServices, catalogUpdateProduct, catalogUpdateSupplierVariant, catalogGetPriceChangeRequests, catalogReviewPriceChangeRequest, catalogCreateReview, catalogUpdateReview, catalogDeleteReview, customersGetCustomers, customersRegister, customerRegister, customersLogin, customersRefreshSession, customersGetCurrentSession, customersGetSessions, customersRevokeAllSessions, customersRevokeSession, customersUpdate, customersGetCustomerById, customersDelete, customersGetAddresses, customersAddAddress, businessAccountControllerCreate, businessAccountControllerGetOne, crmControllerCreateRecord, crmControllerGetRecord, crmControllerUpdateRecord, crmControllerCreateNote, crmControllerGetRecordNotes, crmControllerCreateActivity, crmControllerGetTimeline, crmControllerCreateObject, crmControllerListObjects, crmControllerCreateField, crmControllerListFields, crmControllerCreateRelationship, crmControllerListRelationships, crmControllerCreateAssociation, crmControllerListRecordAssociations, loyaltyRedeemReward, loyaltyGetCustomerStatus, loyaltyValidateVoucher, ordersCreateOrder, ordersGetOrders, ordersUpdateStatus, ordersRequestB2BQuote, ordersConvertQuoteToOrder, paymentsCheckout, paymentsControllerHandleStkCallback, pOSProvision, pOSLogin, pOSGetMe, pOSProcessSale, pOSSync, pOSGetTransactions, pOSRegisterPettyCash, pOSGetPettyCashFunds, pOSGetPettyCashTransactions, pOSCreatePairingSession, pOSGetPairingSessionStatus, pOSAuthorizePairingSession, membersControllerGetMembers, membersControllerCreateMember, membersControllerGetMember, membersControllerUpdateMember, membersControllerDeleteMember, membersControllerGetMemberActivity, membersControllerUpdateStatus, membersControllerAdminCheckOut, terminalMembersControllerLogin, invitationsList, invitationsCreate, invitationsRevoke, invitationsAccept, roleManagementControllerGetCustomRoles, roleManagementControllerCreateCustomRole, roleManagementControllerUpdateCustomRole, roleManagementControllerDeleteCustomRole, roleManagementControllerGetPermissionSets, roleManagementControllerCreatePermissionSet, roleManagementControllerGetRoleGroups, roleManagementControllerCreateRoleGroup, roleManagementControllerAssignRoles, roleManagementControllerRemoveRoles, departmentsList, departmentsCreate, departmentsGet, departmentsUpdate, departmentsDelete, departmentsAddMember, departmentsRemoveMember, attendanceControllerGetLogs, attendanceControllerCheckIn, attendanceControllerCheckOut, attendanceControllerGetMyStatus, attendanceControllerGetStatus, announcementControllerBroadcastAnnouncement, cartControllerGetCart, cartControllerClearCart, cartControllerAddToCart, cartControllerRemoveFromCart, favoritesControllerGetFavorites, favoritesControllerAddFavorite, favoritesControllerRemoveFavorite, stockingGetPurchases, stockingCreatePurchase, stockingReceivePurchase, stockingGetTransfers, stockingCreateTransfer, stockingShipTransfer, stockingReceiveTransfer, stockingGetRequests, stockingGetPendingDispatch, stockingDispatchOrders, stockingGetActiveDeliveries, stockingReconcilePod, stockingGetPhysicalReconciliations, stockingSubmitPhysicalReconciliation, stockingGetReconciliationReport, stockingGetPartners, stockingCreatePartner, stockingGetPartner, stockingUpdatePartner, stockingAdjustPartnerWallet, standalonePosControllerCreateSetupKey, standalonePosControllerActivateDevice, standalonePosControllerValidateKey, standalonePosControllerLinkOrganization, b2BGetCatalog, b2BGetInvoices, b2BGetOrders, b2BCreateOrder, b2BCreateQuote, crmIntegrationsGetAuthUrl, crmIntegrationsHandleCallback, crmIntegrationsHandleWebhook, crmIntegrationsReplyToActivity, unitsGetUnits,
|
|
1988
|
+
return { servicesCreateCategory, servicesGetCategories, servicesUpdateCategory, servicesDeleteCategory, servicesCreateService, servicesGetServices, servicesGetCurrentMemberShifts, servicesGetShifts, servicesGetService, servicesUpdateService, servicesGetAvailability, servicesDeleteService, servicesCreateResource, servicesGetResources, servicesUpdateResource, servicesDeleteResource, servicesCreateBooking, servicesGetBookings, servicesGetBooking, servicesUpdateBookingStatus, servicesCompleteBooking, servicesCancelBookingSeries, servicesCreateShift, servicesGetStaffShifts, servicesAddBreak, servicesRegisterCustomerApp, servicesGetUtilization, servicesGetPerformance, servicesGetFunnel, publicServicesListServices, publicServicesGetCategories, publicServicesGetService, publicServicesGetAvailability, publicServicesRequestOtp, publicServicesVerifyOtp, publicServicesCreatePublicBooking, inventoryVerifyIntegrity, inventoryFixIntegrity, inventoryGetInventory, inventoryTraceBatch, inventorySplitBatch, inventoryMergeBatches, inventoryCreateAssembly, inventoryCompleteAssembly, inventoryRequestAdjustment, inventoryGetAdjustments, inventoryApproveAdjustment, inventoryRejectAdjustment, inventoryGetLeadTime, inventoryGetWasteAnalysis, inventoryCheckB2BAvailability, inventoryUnpackBatch, inventoryScanUnpackBatch, inventoryQuickStockInquiry, expenseControllerCreateExpense, expenseControllerGetExpenses, expenseControllerGetExpenseCategories, expenseControllerGetExpense, pettyCashControllerCreateFund, pettyCashControllerGetFunds, pettyCashControllerGetFund, pettyCashControllerTopUpFund, pettyCashControllerGetFundTransactions, utilityAccountControllerCreateAccount, utilityAccountControllerGetAccounts, utilityAccountControllerGetAccount, accountingInitialize, accountingGetProfitLoss, accountingGetBalanceSheet, accountingGetCashFlow, accountingGetTaxSummary, invoiceControllerCreateInvoice, invoiceControllerGetInvoices, invoiceControllerGetInvoice, invoiceControllerUpdateInvoice, invoiceControllerDeleteInvoice, invoiceControllerFinalizeInvoice, invoiceControllerGetTemplates, invoiceControllerCreateTemplate, invoiceControllerGetConfig, invoiceControllerUpdateConfig, publicInvoiceControllerDownloadInvoice, publicInvoiceControllerDownloadInvoiceByTransaction, publicInvoiceControllerDownloadReceipt, publicInvoiceControllerGeneratePublicLink, authExchangeToken, authCreateOAuthClient, authListOAuthClients, authGetOAuthClient, authUpdateOAuthClient, authDeleteOAuthClient, authControllerHandleOAuth2, adminControllerGetStats, adminControllerListOrganizations, adminControllerCreateOrganization, adminControllerGetOrganizationDetails, adminControllerUpdateOrganization, adminControllerDeleteOrganization, adminControllerSuspendOrganization, adminControllerReactivateOrganization, adminControllerGetEffectiveQuota, adminControllerSetQuotaOverrides, adminControllerListMembers, adminControllerListUsers, adminControllerBanUser, adminControllerUnbanUser, adminControllerListConnectedApps, adminControllerListSystemLogs, adminControllerListGlobalSettings, adminControllerSetGlobalSetting, adminControllerDeleteGlobalSetting, adminControllerListTiers, adminControllerDefineTier, adminControllerDeleteTier, adminControllerGetOrganizationSubscription, adminControllerUpdateOrganizationSubscription, adminControllerListSystemPayments, adminControllerRecordCustomPayment, adminControllerListIntegrationDefinitions, adminControllerCreateIntegrationDefinition, adminControllerUpdateIntegrationDefinition, adminControllerDeleteIntegrationDefinition, adminControllerListActiveOrganizationIntegrations, webhooksCreate, webhooksList, webhooksDelete, catalogGetProducts, catalogCreateProduct, catalogGetProduct, catalogGetServices, catalogUpdateProduct, catalogUpdateSupplierVariant, catalogGetPriceChangeRequests, catalogReviewPriceChangeRequest, catalogCreateReview, catalogUpdateReview, catalogDeleteReview, customersGetCustomers, customersRegister, customerRegister, customersLogin, customersRefreshSession, customersGetCurrentSession, customersGetSessions, customersRevokeAllSessions, customersRevokeSession, customersUpdate, customersGetCustomerById, customersDelete, customersGetAddresses, customersAddAddress, businessAccountControllerCreate, businessAccountControllerGetOne, crmControllerCreateRecord, crmControllerGetRecord, crmControllerUpdateRecord, crmControllerCreateNote, crmControllerGetRecordNotes, crmControllerCreateActivity, crmControllerGetTimeline, crmControllerCreateObject, crmControllerListObjects, crmControllerCreateField, crmControllerListFields, crmControllerCreateRelationship, crmControllerListRelationships, crmControllerCreateAssociation, crmControllerListRecordAssociations, loyaltyRedeemReward, loyaltyGetCustomerStatus, loyaltyValidateVoucher, ordersCreateOrder, ordersGetOrders, ordersUpdateStatus, ordersRequestB2BQuote, ordersConvertQuoteToOrder, paymentsCheckout, paymentsControllerHandleStkCallback, pOSProvision, pOSLogin, pOSGetMe, pOSProcessSale, pOSSync, pOSGetTransactions, pOSRegisterPettyCash, pOSGetPettyCashFunds, pOSGetPettyCashTransactions, pOSCreatePairingSession, pOSGetPairingSessionStatus, pOSAuthorizePairingSession, membersControllerGetMembers, membersControllerCreateMember, membersControllerGetMember, membersControllerUpdateMember, membersControllerDeleteMember, membersControllerGetMemberActivity, membersControllerUpdateStatus, membersControllerAdminCheckOut, terminalMembersControllerLogin, invitationsList, invitationsCreate, invitationsRevoke, invitationsAccept, roleManagementControllerGetCustomRoles, roleManagementControllerCreateCustomRole, roleManagementControllerUpdateCustomRole, roleManagementControllerDeleteCustomRole, roleManagementControllerGetPermissionSets, roleManagementControllerCreatePermissionSet, roleManagementControllerGetRoleGroups, roleManagementControllerCreateRoleGroup, roleManagementControllerAssignRoles, roleManagementControllerRemoveRoles, departmentsList, departmentsCreate, departmentsGet, departmentsUpdate, departmentsDelete, departmentsAddMember, departmentsRemoveMember, attendanceControllerGetLogs, attendanceControllerCheckIn, attendanceControllerCheckOut, attendanceControllerGetMyStatus, attendanceControllerGetStatus, announcementControllerBroadcastAnnouncement, cartControllerGetCart, cartControllerClearCart, cartControllerAddToCart, cartControllerRemoveFromCart, favoritesControllerGetFavorites, favoritesControllerAddFavorite, favoritesControllerRemoveFavorite, stockingGetPurchases, stockingCreatePurchase, stockingReceivePurchase, stockingGetTransfers, stockingCreateTransfer, stockingShipTransfer, stockingReceiveTransfer, stockingGetRequests, stockingGetPendingDispatch, stockingDispatchOrders, stockingGetActiveDeliveries, stockingReconcilePod, stockingGetPhysicalReconciliations, stockingSubmitPhysicalReconciliation, stockingGetReconciliationReport, stockingGetPartners, stockingCreatePartner, stockingGetPartner, stockingUpdatePartner, stockingAdjustPartnerWallet, standalonePosControllerCreateSetupKey, standalonePosControllerActivateDevice, standalonePosControllerValidateKey, standalonePosControllerLinkOrganization, b2BGetCatalog, b2BGetInvoices, b2BGetOrders, b2BCreateOrder, b2BCreateQuote, crmIntegrationsGetAuthUrl, crmIntegrationsHandleCallback, crmIntegrationsHandleWebhook, crmIntegrationsReplyToActivity, unitsGetUnits, analyticsControllerGetDashboardAnalytics, analyticsControllerGetResourceUtilization };
|
|
2072
1989
|
};
|
|
2073
1990
|
|
|
2074
1991
|
// src/generated/model/addDepartmentMemberDtoRole.ts
|
|
@@ -2199,23 +2116,6 @@ var CreateServiceDtoPricingModel = {
|
|
|
2199
2116
|
VARIABLE: "VARIABLE"
|
|
2200
2117
|
};
|
|
2201
2118
|
|
|
2202
|
-
// src/generated/model/createStrapiConnectionDtoEnabledSyncTypesItem.ts
|
|
2203
|
-
var CreateStrapiConnectionDtoEnabledSyncTypesItem = {
|
|
2204
|
-
PRODUCTS: "PRODUCTS",
|
|
2205
|
-
INVENTORY: "INVENTORY",
|
|
2206
|
-
ORDERS: "ORDERS",
|
|
2207
|
-
CUSTOMERS: "CUSTOMERS",
|
|
2208
|
-
CATEGORIES: "CATEGORIES",
|
|
2209
|
-
PRICES: "PRICES"
|
|
2210
|
-
};
|
|
2211
|
-
|
|
2212
|
-
// src/generated/model/createStrapiConnectionDtoSyncDirection.ts
|
|
2213
|
-
var CreateStrapiConnectionDtoSyncDirection = {
|
|
2214
|
-
INBOUND: "INBOUND",
|
|
2215
|
-
OUTBOUND: "OUTBOUND",
|
|
2216
|
-
BIDIRECTIONAL: "BIDIRECTIONAL"
|
|
2217
|
-
};
|
|
2218
|
-
|
|
2219
2119
|
// src/generated/model/createTransferDtoPriority.ts
|
|
2220
2120
|
var CreateTransferDtoPriority = {
|
|
2221
2121
|
LOW: "LOW",
|
|
@@ -2465,23 +2365,6 @@ var UpdateServiceDtoPricingModel = {
|
|
|
2465
2365
|
VARIABLE: "VARIABLE"
|
|
2466
2366
|
};
|
|
2467
2367
|
|
|
2468
|
-
// src/generated/model/updateStrapiConnectionDtoEnabledSyncTypesItem.ts
|
|
2469
|
-
var UpdateStrapiConnectionDtoEnabledSyncTypesItem = {
|
|
2470
|
-
PRODUCTS: "PRODUCTS",
|
|
2471
|
-
INVENTORY: "INVENTORY",
|
|
2472
|
-
ORDERS: "ORDERS",
|
|
2473
|
-
CUSTOMERS: "CUSTOMERS",
|
|
2474
|
-
CATEGORIES: "CATEGORIES",
|
|
2475
|
-
PRICES: "PRICES"
|
|
2476
|
-
};
|
|
2477
|
-
|
|
2478
|
-
// src/generated/model/updateStrapiConnectionDtoSyncDirection.ts
|
|
2479
|
-
var UpdateStrapiConnectionDtoSyncDirection = {
|
|
2480
|
-
INBOUND: "INBOUND",
|
|
2481
|
-
OUTBOUND: "OUTBOUND",
|
|
2482
|
-
BIDIRECTIONAL: "BIDIRECTIONAL"
|
|
2483
|
-
};
|
|
2484
|
-
|
|
2485
2368
|
// src/proxy.ts
|
|
2486
2369
|
function getEnvOrgSlug() {
|
|
2487
2370
|
if (typeof process !== "undefined" && process.env) {
|
|
@@ -2837,19 +2720,7 @@ var crmMapping = {
|
|
|
2837
2720
|
getIntegrationsAuthUrl: "crmIntegrationsGetAuthUrl",
|
|
2838
2721
|
handleIntegrationsCallback: "crmIntegrationsHandleCallback",
|
|
2839
2722
|
handleIntegrationsWebhook: "crmIntegrationsHandleWebhook",
|
|
2840
|
-
replyToIntegrationsActivity: "crmIntegrationsReplyToActivity"
|
|
2841
|
-
createStrapiConnection: "strapiCreateConnection",
|
|
2842
|
-
listStrapiConnections: "strapiListConnections",
|
|
2843
|
-
getStrapiConnection: "strapiGetConnection",
|
|
2844
|
-
updateStrapiConnection: "strapiUpdateConnection",
|
|
2845
|
-
deleteStrapiConnection: "strapiDeleteConnection",
|
|
2846
|
-
triggerStrapiSync: "strapiTriggerSync",
|
|
2847
|
-
enqueueStrapiSync: "strapiEnqueueSync",
|
|
2848
|
-
getStrapiWebhookLogs: "strapiGetWebhookLogs",
|
|
2849
|
-
getStrapiSyncLogs: "strapiGetSyncLogs",
|
|
2850
|
-
exchangeStrapiCustomerToken: "strapiExchangeCustomerToken",
|
|
2851
|
-
registerStrapiCustomer: "strapiRegisterCustomer",
|
|
2852
|
-
receiveStrapiWebhook: "strapiReceiveWebhook"
|
|
2723
|
+
replyToIntegrationsActivity: "crmIntegrationsReplyToActivity"
|
|
2853
2724
|
};
|
|
2854
2725
|
var posMapping = {
|
|
2855
2726
|
provision: "pOSProvision",
|
|
@@ -4224,8 +4095,6 @@ function createServerSDK(config = {}) {
|
|
|
4224
4095
|
CreatePartnerDtoBenefitType,
|
|
4225
4096
|
CreatePartnerDtoReconciliationPolicy,
|
|
4226
4097
|
CreateServiceDtoPricingModel,
|
|
4227
|
-
CreateStrapiConnectionDtoEnabledSyncTypesItem,
|
|
4228
|
-
CreateStrapiConnectionDtoSyncDirection,
|
|
4229
4098
|
CreateTransferDtoPriority,
|
|
4230
4099
|
CreateUtilityAccountDtoType,
|
|
4231
4100
|
DepartmentsListSortOrder,
|
|
@@ -4257,8 +4126,6 @@ function createServerSDK(config = {}) {
|
|
|
4257
4126
|
UpdatePartnerDtoBenefitType,
|
|
4258
4127
|
UpdatePartnerDtoReconciliationPolicy,
|
|
4259
4128
|
UpdateServiceDtoPricingModel,
|
|
4260
|
-
UpdateStrapiConnectionDtoEnabledSyncTypesItem,
|
|
4261
|
-
UpdateStrapiConnectionDtoSyncDirection,
|
|
4262
4129
|
accountingMapping,
|
|
4263
4130
|
adminMapping,
|
|
4264
4131
|
authMapping,
|
package/dist/index.mjs
CHANGED
|
@@ -1871,85 +1871,6 @@ var getScrymeV3API = (axiosInstance = axios) => {
|
|
|
1871
1871
|
}
|
|
1872
1872
|
);
|
|
1873
1873
|
};
|
|
1874
|
-
const strapiCreateConnection = (orgSlug, createStrapiConnectionDto, options) => {
|
|
1875
|
-
return axiosInstance.post(
|
|
1876
|
-
`/v3/${orgSlug}/strapi/connections`,
|
|
1877
|
-
createStrapiConnectionDto,
|
|
1878
|
-
options
|
|
1879
|
-
);
|
|
1880
|
-
};
|
|
1881
|
-
const strapiListConnections = (orgSlug, options) => {
|
|
1882
|
-
return axiosInstance.get(
|
|
1883
|
-
`/v3/${orgSlug}/strapi/connections`,
|
|
1884
|
-
options
|
|
1885
|
-
);
|
|
1886
|
-
};
|
|
1887
|
-
const strapiGetConnection = (orgSlug, connectionId, options) => {
|
|
1888
|
-
return axiosInstance.get(
|
|
1889
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
1890
|
-
options
|
|
1891
|
-
);
|
|
1892
|
-
};
|
|
1893
|
-
const strapiUpdateConnection = (orgSlug, connectionId, updateStrapiConnectionDto, options) => {
|
|
1894
|
-
return axiosInstance.patch(
|
|
1895
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
1896
|
-
updateStrapiConnectionDto,
|
|
1897
|
-
options
|
|
1898
|
-
);
|
|
1899
|
-
};
|
|
1900
|
-
const strapiDeleteConnection = (orgSlug, connectionId, options) => {
|
|
1901
|
-
return axiosInstance.delete(
|
|
1902
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
1903
|
-
options
|
|
1904
|
-
);
|
|
1905
|
-
};
|
|
1906
|
-
const strapiTriggerSync = (orgSlug, connectionId, triggerSyncDto, options) => {
|
|
1907
|
-
return axiosInstance.post(
|
|
1908
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync`,
|
|
1909
|
-
triggerSyncDto,
|
|
1910
|
-
options
|
|
1911
|
-
);
|
|
1912
|
-
};
|
|
1913
|
-
const strapiEnqueueSync = (orgSlug, connectionId, triggerSyncDto, options) => {
|
|
1914
|
-
return axiosInstance.post(
|
|
1915
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync/queue`,
|
|
1916
|
-
triggerSyncDto,
|
|
1917
|
-
options
|
|
1918
|
-
);
|
|
1919
|
-
};
|
|
1920
|
-
const strapiGetWebhookLogs = (orgSlug, connectionId, options) => {
|
|
1921
|
-
return axiosInstance.get(
|
|
1922
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/webhook-logs`,
|
|
1923
|
-
options
|
|
1924
|
-
);
|
|
1925
|
-
};
|
|
1926
|
-
const strapiGetSyncLogs = (orgSlug, connectionId, options) => {
|
|
1927
|
-
return axiosInstance.get(
|
|
1928
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync-logs`,
|
|
1929
|
-
options
|
|
1930
|
-
);
|
|
1931
|
-
};
|
|
1932
|
-
const strapiExchangeCustomerToken = (orgSlug, connectionId, options) => {
|
|
1933
|
-
return axiosInstance.post(
|
|
1934
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/customers/exchange-token`,
|
|
1935
|
-
void 0,
|
|
1936
|
-
options
|
|
1937
|
-
);
|
|
1938
|
-
};
|
|
1939
|
-
const strapiRegisterCustomer = (orgSlug, connectionId, options) => {
|
|
1940
|
-
return axiosInstance.post(
|
|
1941
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/customers/register`,
|
|
1942
|
-
void 0,
|
|
1943
|
-
options
|
|
1944
|
-
);
|
|
1945
|
-
};
|
|
1946
|
-
const strapiReceiveWebhook = (connectionId, options) => {
|
|
1947
|
-
return axiosInstance.post(
|
|
1948
|
-
`/v3/webhooks/strapi/${connectionId}`,
|
|
1949
|
-
void 0,
|
|
1950
|
-
options
|
|
1951
|
-
);
|
|
1952
|
-
};
|
|
1953
1874
|
const analyticsControllerGetDashboardAnalytics = (orgSlug, options) => {
|
|
1954
1875
|
return axiosInstance.get(
|
|
1955
1876
|
`/v3/${orgSlug}/analytics/dashboard`,
|
|
@@ -1965,7 +1886,7 @@ var getScrymeV3API = (axiosInstance = axios) => {
|
|
|
1965
1886
|
}
|
|
1966
1887
|
);
|
|
1967
1888
|
};
|
|
1968
|
-
return { servicesCreateCategory, servicesGetCategories, servicesUpdateCategory, servicesDeleteCategory, servicesCreateService, servicesGetServices, servicesGetCurrentMemberShifts, servicesGetShifts, servicesGetService, servicesUpdateService, servicesGetAvailability, servicesDeleteService, servicesCreateResource, servicesGetResources, servicesUpdateResource, servicesDeleteResource, servicesCreateBooking, servicesGetBookings, servicesGetBooking, servicesUpdateBookingStatus, servicesCompleteBooking, servicesCancelBookingSeries, servicesCreateShift, servicesGetStaffShifts, servicesAddBreak, servicesRegisterCustomerApp, servicesGetUtilization, servicesGetPerformance, servicesGetFunnel, publicServicesListServices, publicServicesGetCategories, publicServicesGetService, publicServicesGetAvailability, publicServicesRequestOtp, publicServicesVerifyOtp, publicServicesCreatePublicBooking, inventoryVerifyIntegrity, inventoryFixIntegrity, inventoryGetInventory, inventoryTraceBatch, inventorySplitBatch, inventoryMergeBatches, inventoryCreateAssembly, inventoryCompleteAssembly, inventoryRequestAdjustment, inventoryGetAdjustments, inventoryApproveAdjustment, inventoryRejectAdjustment, inventoryGetLeadTime, inventoryGetWasteAnalysis, inventoryCheckB2BAvailability, inventoryUnpackBatch, inventoryScanUnpackBatch, inventoryQuickStockInquiry, expenseControllerCreateExpense, expenseControllerGetExpenses, expenseControllerGetExpenseCategories, expenseControllerGetExpense, pettyCashControllerCreateFund, pettyCashControllerGetFunds, pettyCashControllerGetFund, pettyCashControllerTopUpFund, pettyCashControllerGetFundTransactions, utilityAccountControllerCreateAccount, utilityAccountControllerGetAccounts, utilityAccountControllerGetAccount, accountingInitialize, accountingGetProfitLoss, accountingGetBalanceSheet, accountingGetCashFlow, accountingGetTaxSummary, invoiceControllerCreateInvoice, invoiceControllerGetInvoices, invoiceControllerGetInvoice, invoiceControllerUpdateInvoice, invoiceControllerDeleteInvoice, invoiceControllerFinalizeInvoice, invoiceControllerGetTemplates, invoiceControllerCreateTemplate, invoiceControllerGetConfig, invoiceControllerUpdateConfig, publicInvoiceControllerDownloadInvoice, publicInvoiceControllerDownloadInvoiceByTransaction, publicInvoiceControllerDownloadReceipt, publicInvoiceControllerGeneratePublicLink, authExchangeToken, authCreateOAuthClient, authListOAuthClients, authGetOAuthClient, authUpdateOAuthClient, authDeleteOAuthClient, authControllerHandleOAuth2, adminControllerGetStats, adminControllerListOrganizations, adminControllerCreateOrganization, adminControllerGetOrganizationDetails, adminControllerUpdateOrganization, adminControllerDeleteOrganization, adminControllerSuspendOrganization, adminControllerReactivateOrganization, adminControllerGetEffectiveQuota, adminControllerSetQuotaOverrides, adminControllerListMembers, adminControllerListUsers, adminControllerBanUser, adminControllerUnbanUser, adminControllerListConnectedApps, adminControllerListSystemLogs, adminControllerListGlobalSettings, adminControllerSetGlobalSetting, adminControllerDeleteGlobalSetting, adminControllerListTiers, adminControllerDefineTier, adminControllerDeleteTier, adminControllerGetOrganizationSubscription, adminControllerUpdateOrganizationSubscription, adminControllerListSystemPayments, adminControllerRecordCustomPayment, adminControllerListIntegrationDefinitions, adminControllerCreateIntegrationDefinition, adminControllerUpdateIntegrationDefinition, adminControllerDeleteIntegrationDefinition, adminControllerListActiveOrganizationIntegrations, webhooksCreate, webhooksList, webhooksDelete, catalogGetProducts, catalogCreateProduct, catalogGetProduct, catalogGetServices, catalogUpdateProduct, catalogUpdateSupplierVariant, catalogGetPriceChangeRequests, catalogReviewPriceChangeRequest, catalogCreateReview, catalogUpdateReview, catalogDeleteReview, customersGetCustomers, customersRegister, customerRegister, customersLogin, customersRefreshSession, customersGetCurrentSession, customersGetSessions, customersRevokeAllSessions, customersRevokeSession, customersUpdate, customersGetCustomerById, customersDelete, customersGetAddresses, customersAddAddress, businessAccountControllerCreate, businessAccountControllerGetOne, crmControllerCreateRecord, crmControllerGetRecord, crmControllerUpdateRecord, crmControllerCreateNote, crmControllerGetRecordNotes, crmControllerCreateActivity, crmControllerGetTimeline, crmControllerCreateObject, crmControllerListObjects, crmControllerCreateField, crmControllerListFields, crmControllerCreateRelationship, crmControllerListRelationships, crmControllerCreateAssociation, crmControllerListRecordAssociations, loyaltyRedeemReward, loyaltyGetCustomerStatus, loyaltyValidateVoucher, ordersCreateOrder, ordersGetOrders, ordersUpdateStatus, ordersRequestB2BQuote, ordersConvertQuoteToOrder, paymentsCheckout, paymentsControllerHandleStkCallback, pOSProvision, pOSLogin, pOSGetMe, pOSProcessSale, pOSSync, pOSGetTransactions, pOSRegisterPettyCash, pOSGetPettyCashFunds, pOSGetPettyCashTransactions, pOSCreatePairingSession, pOSGetPairingSessionStatus, pOSAuthorizePairingSession, membersControllerGetMembers, membersControllerCreateMember, membersControllerGetMember, membersControllerUpdateMember, membersControllerDeleteMember, membersControllerGetMemberActivity, membersControllerUpdateStatus, membersControllerAdminCheckOut, terminalMembersControllerLogin, invitationsList, invitationsCreate, invitationsRevoke, invitationsAccept, roleManagementControllerGetCustomRoles, roleManagementControllerCreateCustomRole, roleManagementControllerUpdateCustomRole, roleManagementControllerDeleteCustomRole, roleManagementControllerGetPermissionSets, roleManagementControllerCreatePermissionSet, roleManagementControllerGetRoleGroups, roleManagementControllerCreateRoleGroup, roleManagementControllerAssignRoles, roleManagementControllerRemoveRoles, departmentsList, departmentsCreate, departmentsGet, departmentsUpdate, departmentsDelete, departmentsAddMember, departmentsRemoveMember, attendanceControllerGetLogs, attendanceControllerCheckIn, attendanceControllerCheckOut, attendanceControllerGetMyStatus, attendanceControllerGetStatus, announcementControllerBroadcastAnnouncement, cartControllerGetCart, cartControllerClearCart, cartControllerAddToCart, cartControllerRemoveFromCart, favoritesControllerGetFavorites, favoritesControllerAddFavorite, favoritesControllerRemoveFavorite, stockingGetPurchases, stockingCreatePurchase, stockingReceivePurchase, stockingGetTransfers, stockingCreateTransfer, stockingShipTransfer, stockingReceiveTransfer, stockingGetRequests, stockingGetPendingDispatch, stockingDispatchOrders, stockingGetActiveDeliveries, stockingReconcilePod, stockingGetPhysicalReconciliations, stockingSubmitPhysicalReconciliation, stockingGetReconciliationReport, stockingGetPartners, stockingCreatePartner, stockingGetPartner, stockingUpdatePartner, stockingAdjustPartnerWallet, standalonePosControllerCreateSetupKey, standalonePosControllerActivateDevice, standalonePosControllerValidateKey, standalonePosControllerLinkOrganization, b2BGetCatalog, b2BGetInvoices, b2BGetOrders, b2BCreateOrder, b2BCreateQuote, crmIntegrationsGetAuthUrl, crmIntegrationsHandleCallback, crmIntegrationsHandleWebhook, crmIntegrationsReplyToActivity, unitsGetUnits,
|
|
1889
|
+
return { servicesCreateCategory, servicesGetCategories, servicesUpdateCategory, servicesDeleteCategory, servicesCreateService, servicesGetServices, servicesGetCurrentMemberShifts, servicesGetShifts, servicesGetService, servicesUpdateService, servicesGetAvailability, servicesDeleteService, servicesCreateResource, servicesGetResources, servicesUpdateResource, servicesDeleteResource, servicesCreateBooking, servicesGetBookings, servicesGetBooking, servicesUpdateBookingStatus, servicesCompleteBooking, servicesCancelBookingSeries, servicesCreateShift, servicesGetStaffShifts, servicesAddBreak, servicesRegisterCustomerApp, servicesGetUtilization, servicesGetPerformance, servicesGetFunnel, publicServicesListServices, publicServicesGetCategories, publicServicesGetService, publicServicesGetAvailability, publicServicesRequestOtp, publicServicesVerifyOtp, publicServicesCreatePublicBooking, inventoryVerifyIntegrity, inventoryFixIntegrity, inventoryGetInventory, inventoryTraceBatch, inventorySplitBatch, inventoryMergeBatches, inventoryCreateAssembly, inventoryCompleteAssembly, inventoryRequestAdjustment, inventoryGetAdjustments, inventoryApproveAdjustment, inventoryRejectAdjustment, inventoryGetLeadTime, inventoryGetWasteAnalysis, inventoryCheckB2BAvailability, inventoryUnpackBatch, inventoryScanUnpackBatch, inventoryQuickStockInquiry, expenseControllerCreateExpense, expenseControllerGetExpenses, expenseControllerGetExpenseCategories, expenseControllerGetExpense, pettyCashControllerCreateFund, pettyCashControllerGetFunds, pettyCashControllerGetFund, pettyCashControllerTopUpFund, pettyCashControllerGetFundTransactions, utilityAccountControllerCreateAccount, utilityAccountControllerGetAccounts, utilityAccountControllerGetAccount, accountingInitialize, accountingGetProfitLoss, accountingGetBalanceSheet, accountingGetCashFlow, accountingGetTaxSummary, invoiceControllerCreateInvoice, invoiceControllerGetInvoices, invoiceControllerGetInvoice, invoiceControllerUpdateInvoice, invoiceControllerDeleteInvoice, invoiceControllerFinalizeInvoice, invoiceControllerGetTemplates, invoiceControllerCreateTemplate, invoiceControllerGetConfig, invoiceControllerUpdateConfig, publicInvoiceControllerDownloadInvoice, publicInvoiceControllerDownloadInvoiceByTransaction, publicInvoiceControllerDownloadReceipt, publicInvoiceControllerGeneratePublicLink, authExchangeToken, authCreateOAuthClient, authListOAuthClients, authGetOAuthClient, authUpdateOAuthClient, authDeleteOAuthClient, authControllerHandleOAuth2, adminControllerGetStats, adminControllerListOrganizations, adminControllerCreateOrganization, adminControllerGetOrganizationDetails, adminControllerUpdateOrganization, adminControllerDeleteOrganization, adminControllerSuspendOrganization, adminControllerReactivateOrganization, adminControllerGetEffectiveQuota, adminControllerSetQuotaOverrides, adminControllerListMembers, adminControllerListUsers, adminControllerBanUser, adminControllerUnbanUser, adminControllerListConnectedApps, adminControllerListSystemLogs, adminControllerListGlobalSettings, adminControllerSetGlobalSetting, adminControllerDeleteGlobalSetting, adminControllerListTiers, adminControllerDefineTier, adminControllerDeleteTier, adminControllerGetOrganizationSubscription, adminControllerUpdateOrganizationSubscription, adminControllerListSystemPayments, adminControllerRecordCustomPayment, adminControllerListIntegrationDefinitions, adminControllerCreateIntegrationDefinition, adminControllerUpdateIntegrationDefinition, adminControllerDeleteIntegrationDefinition, adminControllerListActiveOrganizationIntegrations, webhooksCreate, webhooksList, webhooksDelete, catalogGetProducts, catalogCreateProduct, catalogGetProduct, catalogGetServices, catalogUpdateProduct, catalogUpdateSupplierVariant, catalogGetPriceChangeRequests, catalogReviewPriceChangeRequest, catalogCreateReview, catalogUpdateReview, catalogDeleteReview, customersGetCustomers, customersRegister, customerRegister, customersLogin, customersRefreshSession, customersGetCurrentSession, customersGetSessions, customersRevokeAllSessions, customersRevokeSession, customersUpdate, customersGetCustomerById, customersDelete, customersGetAddresses, customersAddAddress, businessAccountControllerCreate, businessAccountControllerGetOne, crmControllerCreateRecord, crmControllerGetRecord, crmControllerUpdateRecord, crmControllerCreateNote, crmControllerGetRecordNotes, crmControllerCreateActivity, crmControllerGetTimeline, crmControllerCreateObject, crmControllerListObjects, crmControllerCreateField, crmControllerListFields, crmControllerCreateRelationship, crmControllerListRelationships, crmControllerCreateAssociation, crmControllerListRecordAssociations, loyaltyRedeemReward, loyaltyGetCustomerStatus, loyaltyValidateVoucher, ordersCreateOrder, ordersGetOrders, ordersUpdateStatus, ordersRequestB2BQuote, ordersConvertQuoteToOrder, paymentsCheckout, paymentsControllerHandleStkCallback, pOSProvision, pOSLogin, pOSGetMe, pOSProcessSale, pOSSync, pOSGetTransactions, pOSRegisterPettyCash, pOSGetPettyCashFunds, pOSGetPettyCashTransactions, pOSCreatePairingSession, pOSGetPairingSessionStatus, pOSAuthorizePairingSession, membersControllerGetMembers, membersControllerCreateMember, membersControllerGetMember, membersControllerUpdateMember, membersControllerDeleteMember, membersControllerGetMemberActivity, membersControllerUpdateStatus, membersControllerAdminCheckOut, terminalMembersControllerLogin, invitationsList, invitationsCreate, invitationsRevoke, invitationsAccept, roleManagementControllerGetCustomRoles, roleManagementControllerCreateCustomRole, roleManagementControllerUpdateCustomRole, roleManagementControllerDeleteCustomRole, roleManagementControllerGetPermissionSets, roleManagementControllerCreatePermissionSet, roleManagementControllerGetRoleGroups, roleManagementControllerCreateRoleGroup, roleManagementControllerAssignRoles, roleManagementControllerRemoveRoles, departmentsList, departmentsCreate, departmentsGet, departmentsUpdate, departmentsDelete, departmentsAddMember, departmentsRemoveMember, attendanceControllerGetLogs, attendanceControllerCheckIn, attendanceControllerCheckOut, attendanceControllerGetMyStatus, attendanceControllerGetStatus, announcementControllerBroadcastAnnouncement, cartControllerGetCart, cartControllerClearCart, cartControllerAddToCart, cartControllerRemoveFromCart, favoritesControllerGetFavorites, favoritesControllerAddFavorite, favoritesControllerRemoveFavorite, stockingGetPurchases, stockingCreatePurchase, stockingReceivePurchase, stockingGetTransfers, stockingCreateTransfer, stockingShipTransfer, stockingReceiveTransfer, stockingGetRequests, stockingGetPendingDispatch, stockingDispatchOrders, stockingGetActiveDeliveries, stockingReconcilePod, stockingGetPhysicalReconciliations, stockingSubmitPhysicalReconciliation, stockingGetReconciliationReport, stockingGetPartners, stockingCreatePartner, stockingGetPartner, stockingUpdatePartner, stockingAdjustPartnerWallet, standalonePosControllerCreateSetupKey, standalonePosControllerActivateDevice, standalonePosControllerValidateKey, standalonePosControllerLinkOrganization, b2BGetCatalog, b2BGetInvoices, b2BGetOrders, b2BCreateOrder, b2BCreateQuote, crmIntegrationsGetAuthUrl, crmIntegrationsHandleCallback, crmIntegrationsHandleWebhook, crmIntegrationsReplyToActivity, unitsGetUnits, analyticsControllerGetDashboardAnalytics, analyticsControllerGetResourceUtilization };
|
|
1969
1890
|
};
|
|
1970
1891
|
|
|
1971
1892
|
// src/generated/model/addDepartmentMemberDtoRole.ts
|
|
@@ -2096,23 +2017,6 @@ var CreateServiceDtoPricingModel = {
|
|
|
2096
2017
|
VARIABLE: "VARIABLE"
|
|
2097
2018
|
};
|
|
2098
2019
|
|
|
2099
|
-
// src/generated/model/createStrapiConnectionDtoEnabledSyncTypesItem.ts
|
|
2100
|
-
var CreateStrapiConnectionDtoEnabledSyncTypesItem = {
|
|
2101
|
-
PRODUCTS: "PRODUCTS",
|
|
2102
|
-
INVENTORY: "INVENTORY",
|
|
2103
|
-
ORDERS: "ORDERS",
|
|
2104
|
-
CUSTOMERS: "CUSTOMERS",
|
|
2105
|
-
CATEGORIES: "CATEGORIES",
|
|
2106
|
-
PRICES: "PRICES"
|
|
2107
|
-
};
|
|
2108
|
-
|
|
2109
|
-
// src/generated/model/createStrapiConnectionDtoSyncDirection.ts
|
|
2110
|
-
var CreateStrapiConnectionDtoSyncDirection = {
|
|
2111
|
-
INBOUND: "INBOUND",
|
|
2112
|
-
OUTBOUND: "OUTBOUND",
|
|
2113
|
-
BIDIRECTIONAL: "BIDIRECTIONAL"
|
|
2114
|
-
};
|
|
2115
|
-
|
|
2116
2020
|
// src/generated/model/createTransferDtoPriority.ts
|
|
2117
2021
|
var CreateTransferDtoPriority = {
|
|
2118
2022
|
LOW: "LOW",
|
|
@@ -2362,23 +2266,6 @@ var UpdateServiceDtoPricingModel = {
|
|
|
2362
2266
|
VARIABLE: "VARIABLE"
|
|
2363
2267
|
};
|
|
2364
2268
|
|
|
2365
|
-
// src/generated/model/updateStrapiConnectionDtoEnabledSyncTypesItem.ts
|
|
2366
|
-
var UpdateStrapiConnectionDtoEnabledSyncTypesItem = {
|
|
2367
|
-
PRODUCTS: "PRODUCTS",
|
|
2368
|
-
INVENTORY: "INVENTORY",
|
|
2369
|
-
ORDERS: "ORDERS",
|
|
2370
|
-
CUSTOMERS: "CUSTOMERS",
|
|
2371
|
-
CATEGORIES: "CATEGORIES",
|
|
2372
|
-
PRICES: "PRICES"
|
|
2373
|
-
};
|
|
2374
|
-
|
|
2375
|
-
// src/generated/model/updateStrapiConnectionDtoSyncDirection.ts
|
|
2376
|
-
var UpdateStrapiConnectionDtoSyncDirection = {
|
|
2377
|
-
INBOUND: "INBOUND",
|
|
2378
|
-
OUTBOUND: "OUTBOUND",
|
|
2379
|
-
BIDIRECTIONAL: "BIDIRECTIONAL"
|
|
2380
|
-
};
|
|
2381
|
-
|
|
2382
2269
|
// src/proxy.ts
|
|
2383
2270
|
function getEnvOrgSlug() {
|
|
2384
2271
|
if (typeof process !== "undefined" && process.env) {
|
|
@@ -2734,19 +2621,7 @@ var crmMapping = {
|
|
|
2734
2621
|
getIntegrationsAuthUrl: "crmIntegrationsGetAuthUrl",
|
|
2735
2622
|
handleIntegrationsCallback: "crmIntegrationsHandleCallback",
|
|
2736
2623
|
handleIntegrationsWebhook: "crmIntegrationsHandleWebhook",
|
|
2737
|
-
replyToIntegrationsActivity: "crmIntegrationsReplyToActivity"
|
|
2738
|
-
createStrapiConnection: "strapiCreateConnection",
|
|
2739
|
-
listStrapiConnections: "strapiListConnections",
|
|
2740
|
-
getStrapiConnection: "strapiGetConnection",
|
|
2741
|
-
updateStrapiConnection: "strapiUpdateConnection",
|
|
2742
|
-
deleteStrapiConnection: "strapiDeleteConnection",
|
|
2743
|
-
triggerStrapiSync: "strapiTriggerSync",
|
|
2744
|
-
enqueueStrapiSync: "strapiEnqueueSync",
|
|
2745
|
-
getStrapiWebhookLogs: "strapiGetWebhookLogs",
|
|
2746
|
-
getStrapiSyncLogs: "strapiGetSyncLogs",
|
|
2747
|
-
exchangeStrapiCustomerToken: "strapiExchangeCustomerToken",
|
|
2748
|
-
registerStrapiCustomer: "strapiRegisterCustomer",
|
|
2749
|
-
receiveStrapiWebhook: "strapiReceiveWebhook"
|
|
2624
|
+
replyToIntegrationsActivity: "crmIntegrationsReplyToActivity"
|
|
2750
2625
|
};
|
|
2751
2626
|
var posMapping = {
|
|
2752
2627
|
provision: "pOSProvision",
|
|
@@ -4120,8 +3995,6 @@ export {
|
|
|
4120
3995
|
CreatePartnerDtoBenefitType,
|
|
4121
3996
|
CreatePartnerDtoReconciliationPolicy,
|
|
4122
3997
|
CreateServiceDtoPricingModel,
|
|
4123
|
-
CreateStrapiConnectionDtoEnabledSyncTypesItem,
|
|
4124
|
-
CreateStrapiConnectionDtoSyncDirection,
|
|
4125
3998
|
CreateTransferDtoPriority,
|
|
4126
3999
|
CreateUtilityAccountDtoType,
|
|
4127
4000
|
DepartmentsListSortOrder,
|
|
@@ -4153,8 +4026,6 @@ export {
|
|
|
4153
4026
|
UpdatePartnerDtoBenefitType,
|
|
4154
4027
|
UpdatePartnerDtoReconciliationPolicy,
|
|
4155
4028
|
UpdateServiceDtoPricingModel,
|
|
4156
|
-
UpdateStrapiConnectionDtoEnabledSyncTypesItem,
|
|
4157
|
-
UpdateStrapiConnectionDtoSyncDirection,
|
|
4158
4029
|
accountingMapping,
|
|
4159
4030
|
adminMapping,
|
|
4160
4031
|
authMapping,
|
package/dist/server.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
2
|
-
import { b as ProductResponseDto, S as ServiceCatalogResponseDto,
|
|
2
|
+
import { b as ProductResponseDto, S as ServiceCatalogResponseDto, a2 as CartItemDto, C as CartResponseDto, f as CustomerResponseDto, bf as CustomerSessionDto, cn as RawAPI, a8 as CatalogModule, bx as InventoryModule, bX as OrdersModule, $ as CRMModule, bZ as POSModule, p as AccountingModule, bF as LoyaltyModule, bR as MembersModule, x as AdminModule, dR as WebhooksModule, c_ as ServicesModule, a1 as CartControllerGetCartParams, t as AddToCartDto, cB as RemoveFromCartDto, a0 as CartControllerClearCartParams, O as OrderResponseDto, dn as UpdateCustomerDto, v as AddressDto, cx as RegisterCustomerDto, bd as CustomerAuthResponseDto, ak as CreateBookingDto, cN as ServiceBookingItemDto, d1 as ServicesUpdateBookingStatusBodyStatus, ai as CompleteBookingDto, cD as RequestOtpDto, dQ as VerifyOtpDto, cg as PublicBookingDto, K as AuthModule, a as AuthExchangeToken201 } from './base-B8f1zwJA.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Configuration options for the isolated ScrymeServerSDK.
|
package/dist/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
2
|
-
import { b as ProductResponseDto, S as ServiceCatalogResponseDto,
|
|
2
|
+
import { b as ProductResponseDto, S as ServiceCatalogResponseDto, a2 as CartItemDto, C as CartResponseDto, f as CustomerResponseDto, bf as CustomerSessionDto, cn as RawAPI, a8 as CatalogModule, bx as InventoryModule, bX as OrdersModule, $ as CRMModule, bZ as POSModule, p as AccountingModule, bF as LoyaltyModule, bR as MembersModule, x as AdminModule, dR as WebhooksModule, c_ as ServicesModule, a1 as CartControllerGetCartParams, t as AddToCartDto, cB as RemoveFromCartDto, a0 as CartControllerClearCartParams, O as OrderResponseDto, dn as UpdateCustomerDto, v as AddressDto, cx as RegisterCustomerDto, bd as CustomerAuthResponseDto, ak as CreateBookingDto, cN as ServiceBookingItemDto, d1 as ServicesUpdateBookingStatusBodyStatus, ai as CompleteBookingDto, cD as RequestOtpDto, dQ as VerifyOtpDto, cg as PublicBookingDto, K as AuthModule, a as AuthExchangeToken201 } from './base-B8f1zwJA.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Configuration options for the isolated ScrymeServerSDK.
|
package/dist/server.js
CHANGED
|
@@ -1909,85 +1909,6 @@ var getScrymeV3API = (axiosInstance = import_axios.default) => {
|
|
|
1909
1909
|
}
|
|
1910
1910
|
);
|
|
1911
1911
|
};
|
|
1912
|
-
const strapiCreateConnection = (orgSlug, createStrapiConnectionDto, options) => {
|
|
1913
|
-
return axiosInstance.post(
|
|
1914
|
-
`/v3/${orgSlug}/strapi/connections`,
|
|
1915
|
-
createStrapiConnectionDto,
|
|
1916
|
-
options
|
|
1917
|
-
);
|
|
1918
|
-
};
|
|
1919
|
-
const strapiListConnections = (orgSlug, options) => {
|
|
1920
|
-
return axiosInstance.get(
|
|
1921
|
-
`/v3/${orgSlug}/strapi/connections`,
|
|
1922
|
-
options
|
|
1923
|
-
);
|
|
1924
|
-
};
|
|
1925
|
-
const strapiGetConnection = (orgSlug, connectionId, options) => {
|
|
1926
|
-
return axiosInstance.get(
|
|
1927
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
1928
|
-
options
|
|
1929
|
-
);
|
|
1930
|
-
};
|
|
1931
|
-
const strapiUpdateConnection = (orgSlug, connectionId, updateStrapiConnectionDto, options) => {
|
|
1932
|
-
return axiosInstance.patch(
|
|
1933
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
1934
|
-
updateStrapiConnectionDto,
|
|
1935
|
-
options
|
|
1936
|
-
);
|
|
1937
|
-
};
|
|
1938
|
-
const strapiDeleteConnection = (orgSlug, connectionId, options) => {
|
|
1939
|
-
return axiosInstance.delete(
|
|
1940
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}`,
|
|
1941
|
-
options
|
|
1942
|
-
);
|
|
1943
|
-
};
|
|
1944
|
-
const strapiTriggerSync = (orgSlug, connectionId, triggerSyncDto, options) => {
|
|
1945
|
-
return axiosInstance.post(
|
|
1946
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync`,
|
|
1947
|
-
triggerSyncDto,
|
|
1948
|
-
options
|
|
1949
|
-
);
|
|
1950
|
-
};
|
|
1951
|
-
const strapiEnqueueSync = (orgSlug, connectionId, triggerSyncDto, options) => {
|
|
1952
|
-
return axiosInstance.post(
|
|
1953
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync/queue`,
|
|
1954
|
-
triggerSyncDto,
|
|
1955
|
-
options
|
|
1956
|
-
);
|
|
1957
|
-
};
|
|
1958
|
-
const strapiGetWebhookLogs = (orgSlug, connectionId, options) => {
|
|
1959
|
-
return axiosInstance.get(
|
|
1960
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/webhook-logs`,
|
|
1961
|
-
options
|
|
1962
|
-
);
|
|
1963
|
-
};
|
|
1964
|
-
const strapiGetSyncLogs = (orgSlug, connectionId, options) => {
|
|
1965
|
-
return axiosInstance.get(
|
|
1966
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/sync-logs`,
|
|
1967
|
-
options
|
|
1968
|
-
);
|
|
1969
|
-
};
|
|
1970
|
-
const strapiExchangeCustomerToken = (orgSlug, connectionId, options) => {
|
|
1971
|
-
return axiosInstance.post(
|
|
1972
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/customers/exchange-token`,
|
|
1973
|
-
void 0,
|
|
1974
|
-
options
|
|
1975
|
-
);
|
|
1976
|
-
};
|
|
1977
|
-
const strapiRegisterCustomer = (orgSlug, connectionId, options) => {
|
|
1978
|
-
return axiosInstance.post(
|
|
1979
|
-
`/v3/${orgSlug}/strapi/connections/${connectionId}/customers/register`,
|
|
1980
|
-
void 0,
|
|
1981
|
-
options
|
|
1982
|
-
);
|
|
1983
|
-
};
|
|
1984
|
-
const strapiReceiveWebhook = (connectionId, options) => {
|
|
1985
|
-
return axiosInstance.post(
|
|
1986
|
-
`/v3/webhooks/strapi/${connectionId}`,
|
|
1987
|
-
void 0,
|
|
1988
|
-
options
|
|
1989
|
-
);
|
|
1990
|
-
};
|
|
1991
1912
|
const analyticsControllerGetDashboardAnalytics = (orgSlug, options) => {
|
|
1992
1913
|
return axiosInstance.get(
|
|
1993
1914
|
`/v3/${orgSlug}/analytics/dashboard`,
|
|
@@ -2003,7 +1924,7 @@ var getScrymeV3API = (axiosInstance = import_axios.default) => {
|
|
|
2003
1924
|
}
|
|
2004
1925
|
);
|
|
2005
1926
|
};
|
|
2006
|
-
return { servicesCreateCategory, servicesGetCategories, servicesUpdateCategory, servicesDeleteCategory, servicesCreateService, servicesGetServices, servicesGetCurrentMemberShifts, servicesGetShifts, servicesGetService, servicesUpdateService, servicesGetAvailability, servicesDeleteService, servicesCreateResource, servicesGetResources, servicesUpdateResource, servicesDeleteResource, servicesCreateBooking, servicesGetBookings, servicesGetBooking, servicesUpdateBookingStatus, servicesCompleteBooking, servicesCancelBookingSeries, servicesCreateShift, servicesGetStaffShifts, servicesAddBreak, servicesRegisterCustomerApp, servicesGetUtilization, servicesGetPerformance, servicesGetFunnel, publicServicesListServices, publicServicesGetCategories, publicServicesGetService, publicServicesGetAvailability, publicServicesRequestOtp, publicServicesVerifyOtp, publicServicesCreatePublicBooking, inventoryVerifyIntegrity, inventoryFixIntegrity, inventoryGetInventory, inventoryTraceBatch, inventorySplitBatch, inventoryMergeBatches, inventoryCreateAssembly, inventoryCompleteAssembly, inventoryRequestAdjustment, inventoryGetAdjustments, inventoryApproveAdjustment, inventoryRejectAdjustment, inventoryGetLeadTime, inventoryGetWasteAnalysis, inventoryCheckB2BAvailability, inventoryUnpackBatch, inventoryScanUnpackBatch, inventoryQuickStockInquiry, expenseControllerCreateExpense, expenseControllerGetExpenses, expenseControllerGetExpenseCategories, expenseControllerGetExpense, pettyCashControllerCreateFund, pettyCashControllerGetFunds, pettyCashControllerGetFund, pettyCashControllerTopUpFund, pettyCashControllerGetFundTransactions, utilityAccountControllerCreateAccount, utilityAccountControllerGetAccounts, utilityAccountControllerGetAccount, accountingInitialize, accountingGetProfitLoss, accountingGetBalanceSheet, accountingGetCashFlow, accountingGetTaxSummary, invoiceControllerCreateInvoice, invoiceControllerGetInvoices, invoiceControllerGetInvoice, invoiceControllerUpdateInvoice, invoiceControllerDeleteInvoice, invoiceControllerFinalizeInvoice, invoiceControllerGetTemplates, invoiceControllerCreateTemplate, invoiceControllerGetConfig, invoiceControllerUpdateConfig, publicInvoiceControllerDownloadInvoice, publicInvoiceControllerDownloadInvoiceByTransaction, publicInvoiceControllerDownloadReceipt, publicInvoiceControllerGeneratePublicLink, authExchangeToken, authCreateOAuthClient, authListOAuthClients, authGetOAuthClient, authUpdateOAuthClient, authDeleteOAuthClient, authControllerHandleOAuth2, adminControllerGetStats, adminControllerListOrganizations, adminControllerCreateOrganization, adminControllerGetOrganizationDetails, adminControllerUpdateOrganization, adminControllerDeleteOrganization, adminControllerSuspendOrganization, adminControllerReactivateOrganization, adminControllerGetEffectiveQuota, adminControllerSetQuotaOverrides, adminControllerListMembers, adminControllerListUsers, adminControllerBanUser, adminControllerUnbanUser, adminControllerListConnectedApps, adminControllerListSystemLogs, adminControllerListGlobalSettings, adminControllerSetGlobalSetting, adminControllerDeleteGlobalSetting, adminControllerListTiers, adminControllerDefineTier, adminControllerDeleteTier, adminControllerGetOrganizationSubscription, adminControllerUpdateOrganizationSubscription, adminControllerListSystemPayments, adminControllerRecordCustomPayment, adminControllerListIntegrationDefinitions, adminControllerCreateIntegrationDefinition, adminControllerUpdateIntegrationDefinition, adminControllerDeleteIntegrationDefinition, adminControllerListActiveOrganizationIntegrations, webhooksCreate, webhooksList, webhooksDelete, catalogGetProducts, catalogCreateProduct, catalogGetProduct, catalogGetServices, catalogUpdateProduct, catalogUpdateSupplierVariant, catalogGetPriceChangeRequests, catalogReviewPriceChangeRequest, catalogCreateReview, catalogUpdateReview, catalogDeleteReview, customersGetCustomers, customersRegister, customerRegister, customersLogin, customersRefreshSession, customersGetCurrentSession, customersGetSessions, customersRevokeAllSessions, customersRevokeSession, customersUpdate, customersGetCustomerById, customersDelete, customersGetAddresses, customersAddAddress, businessAccountControllerCreate, businessAccountControllerGetOne, crmControllerCreateRecord, crmControllerGetRecord, crmControllerUpdateRecord, crmControllerCreateNote, crmControllerGetRecordNotes, crmControllerCreateActivity, crmControllerGetTimeline, crmControllerCreateObject, crmControllerListObjects, crmControllerCreateField, crmControllerListFields, crmControllerCreateRelationship, crmControllerListRelationships, crmControllerCreateAssociation, crmControllerListRecordAssociations, loyaltyRedeemReward, loyaltyGetCustomerStatus, loyaltyValidateVoucher, ordersCreateOrder, ordersGetOrders, ordersUpdateStatus, ordersRequestB2BQuote, ordersConvertQuoteToOrder, paymentsCheckout, paymentsControllerHandleStkCallback, pOSProvision, pOSLogin, pOSGetMe, pOSProcessSale, pOSSync, pOSGetTransactions, pOSRegisterPettyCash, pOSGetPettyCashFunds, pOSGetPettyCashTransactions, pOSCreatePairingSession, pOSGetPairingSessionStatus, pOSAuthorizePairingSession, membersControllerGetMembers, membersControllerCreateMember, membersControllerGetMember, membersControllerUpdateMember, membersControllerDeleteMember, membersControllerGetMemberActivity, membersControllerUpdateStatus, membersControllerAdminCheckOut, terminalMembersControllerLogin, invitationsList, invitationsCreate, invitationsRevoke, invitationsAccept, roleManagementControllerGetCustomRoles, roleManagementControllerCreateCustomRole, roleManagementControllerUpdateCustomRole, roleManagementControllerDeleteCustomRole, roleManagementControllerGetPermissionSets, roleManagementControllerCreatePermissionSet, roleManagementControllerGetRoleGroups, roleManagementControllerCreateRoleGroup, roleManagementControllerAssignRoles, roleManagementControllerRemoveRoles, departmentsList, departmentsCreate, departmentsGet, departmentsUpdate, departmentsDelete, departmentsAddMember, departmentsRemoveMember, attendanceControllerGetLogs, attendanceControllerCheckIn, attendanceControllerCheckOut, attendanceControllerGetMyStatus, attendanceControllerGetStatus, announcementControllerBroadcastAnnouncement, cartControllerGetCart, cartControllerClearCart, cartControllerAddToCart, cartControllerRemoveFromCart, favoritesControllerGetFavorites, favoritesControllerAddFavorite, favoritesControllerRemoveFavorite, stockingGetPurchases, stockingCreatePurchase, stockingReceivePurchase, stockingGetTransfers, stockingCreateTransfer, stockingShipTransfer, stockingReceiveTransfer, stockingGetRequests, stockingGetPendingDispatch, stockingDispatchOrders, stockingGetActiveDeliveries, stockingReconcilePod, stockingGetPhysicalReconciliations, stockingSubmitPhysicalReconciliation, stockingGetReconciliationReport, stockingGetPartners, stockingCreatePartner, stockingGetPartner, stockingUpdatePartner, stockingAdjustPartnerWallet, standalonePosControllerCreateSetupKey, standalonePosControllerActivateDevice, standalonePosControllerValidateKey, standalonePosControllerLinkOrganization, b2BGetCatalog, b2BGetInvoices, b2BGetOrders, b2BCreateOrder, b2BCreateQuote, crmIntegrationsGetAuthUrl, crmIntegrationsHandleCallback, crmIntegrationsHandleWebhook, crmIntegrationsReplyToActivity, unitsGetUnits,
|
|
1927
|
+
return { servicesCreateCategory, servicesGetCategories, servicesUpdateCategory, servicesDeleteCategory, servicesCreateService, servicesGetServices, servicesGetCurrentMemberShifts, servicesGetShifts, servicesGetService, servicesUpdateService, servicesGetAvailability, servicesDeleteService, servicesCreateResource, servicesGetResources, servicesUpdateResource, servicesDeleteResource, servicesCreateBooking, servicesGetBookings, servicesGetBooking, servicesUpdateBookingStatus, servicesCompleteBooking, servicesCancelBookingSeries, servicesCreateShift, servicesGetStaffShifts, servicesAddBreak, servicesRegisterCustomerApp, servicesGetUtilization, servicesGetPerformance, servicesGetFunnel, publicServicesListServices, publicServicesGetCategories, publicServicesGetService, publicServicesGetAvailability, publicServicesRequestOtp, publicServicesVerifyOtp, publicServicesCreatePublicBooking, inventoryVerifyIntegrity, inventoryFixIntegrity, inventoryGetInventory, inventoryTraceBatch, inventorySplitBatch, inventoryMergeBatches, inventoryCreateAssembly, inventoryCompleteAssembly, inventoryRequestAdjustment, inventoryGetAdjustments, inventoryApproveAdjustment, inventoryRejectAdjustment, inventoryGetLeadTime, inventoryGetWasteAnalysis, inventoryCheckB2BAvailability, inventoryUnpackBatch, inventoryScanUnpackBatch, inventoryQuickStockInquiry, expenseControllerCreateExpense, expenseControllerGetExpenses, expenseControllerGetExpenseCategories, expenseControllerGetExpense, pettyCashControllerCreateFund, pettyCashControllerGetFunds, pettyCashControllerGetFund, pettyCashControllerTopUpFund, pettyCashControllerGetFundTransactions, utilityAccountControllerCreateAccount, utilityAccountControllerGetAccounts, utilityAccountControllerGetAccount, accountingInitialize, accountingGetProfitLoss, accountingGetBalanceSheet, accountingGetCashFlow, accountingGetTaxSummary, invoiceControllerCreateInvoice, invoiceControllerGetInvoices, invoiceControllerGetInvoice, invoiceControllerUpdateInvoice, invoiceControllerDeleteInvoice, invoiceControllerFinalizeInvoice, invoiceControllerGetTemplates, invoiceControllerCreateTemplate, invoiceControllerGetConfig, invoiceControllerUpdateConfig, publicInvoiceControllerDownloadInvoice, publicInvoiceControllerDownloadInvoiceByTransaction, publicInvoiceControllerDownloadReceipt, publicInvoiceControllerGeneratePublicLink, authExchangeToken, authCreateOAuthClient, authListOAuthClients, authGetOAuthClient, authUpdateOAuthClient, authDeleteOAuthClient, authControllerHandleOAuth2, adminControllerGetStats, adminControllerListOrganizations, adminControllerCreateOrganization, adminControllerGetOrganizationDetails, adminControllerUpdateOrganization, adminControllerDeleteOrganization, adminControllerSuspendOrganization, adminControllerReactivateOrganization, adminControllerGetEffectiveQuota, adminControllerSetQuotaOverrides, adminControllerListMembers, adminControllerListUsers, adminControllerBanUser, adminControllerUnbanUser, adminControllerListConnectedApps, adminControllerListSystemLogs, adminControllerListGlobalSettings, adminControllerSetGlobalSetting, adminControllerDeleteGlobalSetting, adminControllerListTiers, adminControllerDefineTier, adminControllerDeleteTier, adminControllerGetOrganizationSubscription, adminControllerUpdateOrganizationSubscription, adminControllerListSystemPayments, adminControllerRecordCustomPayment, adminControllerListIntegrationDefinitions, adminControllerCreateIntegrationDefinition, adminControllerUpdateIntegrationDefinition, adminControllerDeleteIntegrationDefinition, adminControllerListActiveOrganizationIntegrations, webhooksCreate, webhooksList, webhooksDelete, catalogGetProducts, catalogCreateProduct, catalogGetProduct, catalogGetServices, catalogUpdateProduct, catalogUpdateSupplierVariant, catalogGetPriceChangeRequests, catalogReviewPriceChangeRequest, catalogCreateReview, catalogUpdateReview, catalogDeleteReview, customersGetCustomers, customersRegister, customerRegister, customersLogin, customersRefreshSession, customersGetCurrentSession, customersGetSessions, customersRevokeAllSessions, customersRevokeSession, customersUpdate, customersGetCustomerById, customersDelete, customersGetAddresses, customersAddAddress, businessAccountControllerCreate, businessAccountControllerGetOne, crmControllerCreateRecord, crmControllerGetRecord, crmControllerUpdateRecord, crmControllerCreateNote, crmControllerGetRecordNotes, crmControllerCreateActivity, crmControllerGetTimeline, crmControllerCreateObject, crmControllerListObjects, crmControllerCreateField, crmControllerListFields, crmControllerCreateRelationship, crmControllerListRelationships, crmControllerCreateAssociation, crmControllerListRecordAssociations, loyaltyRedeemReward, loyaltyGetCustomerStatus, loyaltyValidateVoucher, ordersCreateOrder, ordersGetOrders, ordersUpdateStatus, ordersRequestB2BQuote, ordersConvertQuoteToOrder, paymentsCheckout, paymentsControllerHandleStkCallback, pOSProvision, pOSLogin, pOSGetMe, pOSProcessSale, pOSSync, pOSGetTransactions, pOSRegisterPettyCash, pOSGetPettyCashFunds, pOSGetPettyCashTransactions, pOSCreatePairingSession, pOSGetPairingSessionStatus, pOSAuthorizePairingSession, membersControllerGetMembers, membersControllerCreateMember, membersControllerGetMember, membersControllerUpdateMember, membersControllerDeleteMember, membersControllerGetMemberActivity, membersControllerUpdateStatus, membersControllerAdminCheckOut, terminalMembersControllerLogin, invitationsList, invitationsCreate, invitationsRevoke, invitationsAccept, roleManagementControllerGetCustomRoles, roleManagementControllerCreateCustomRole, roleManagementControllerUpdateCustomRole, roleManagementControllerDeleteCustomRole, roleManagementControllerGetPermissionSets, roleManagementControllerCreatePermissionSet, roleManagementControllerGetRoleGroups, roleManagementControllerCreateRoleGroup, roleManagementControllerAssignRoles, roleManagementControllerRemoveRoles, departmentsList, departmentsCreate, departmentsGet, departmentsUpdate, departmentsDelete, departmentsAddMember, departmentsRemoveMember, attendanceControllerGetLogs, attendanceControllerCheckIn, attendanceControllerCheckOut, attendanceControllerGetMyStatus, attendanceControllerGetStatus, announcementControllerBroadcastAnnouncement, cartControllerGetCart, cartControllerClearCart, cartControllerAddToCart, cartControllerRemoveFromCart, favoritesControllerGetFavorites, favoritesControllerAddFavorite, favoritesControllerRemoveFavorite, stockingGetPurchases, stockingCreatePurchase, stockingReceivePurchase, stockingGetTransfers, stockingCreateTransfer, stockingShipTransfer, stockingReceiveTransfer, stockingGetRequests, stockingGetPendingDispatch, stockingDispatchOrders, stockingGetActiveDeliveries, stockingReconcilePod, stockingGetPhysicalReconciliations, stockingSubmitPhysicalReconciliation, stockingGetReconciliationReport, stockingGetPartners, stockingCreatePartner, stockingGetPartner, stockingUpdatePartner, stockingAdjustPartnerWallet, standalonePosControllerCreateSetupKey, standalonePosControllerActivateDevice, standalonePosControllerValidateKey, standalonePosControllerLinkOrganization, b2BGetCatalog, b2BGetInvoices, b2BGetOrders, b2BCreateOrder, b2BCreateQuote, crmIntegrationsGetAuthUrl, crmIntegrationsHandleCallback, crmIntegrationsHandleWebhook, crmIntegrationsReplyToActivity, unitsGetUnits, analyticsControllerGetDashboardAnalytics, analyticsControllerGetResourceUtilization };
|
|
2007
1928
|
};
|
|
2008
1929
|
|
|
2009
1930
|
// src/proxy.ts
|
|
@@ -2361,19 +2282,7 @@ var crmMapping = {
|
|
|
2361
2282
|
getIntegrationsAuthUrl: "crmIntegrationsGetAuthUrl",
|
|
2362
2283
|
handleIntegrationsCallback: "crmIntegrationsHandleCallback",
|
|
2363
2284
|
handleIntegrationsWebhook: "crmIntegrationsHandleWebhook",
|
|
2364
|
-
replyToIntegrationsActivity: "crmIntegrationsReplyToActivity"
|
|
2365
|
-
createStrapiConnection: "strapiCreateConnection",
|
|
2366
|
-
listStrapiConnections: "strapiListConnections",
|
|
2367
|
-
getStrapiConnection: "strapiGetConnection",
|
|
2368
|
-
updateStrapiConnection: "strapiUpdateConnection",
|
|
2369
|
-
deleteStrapiConnection: "strapiDeleteConnection",
|
|
2370
|
-
triggerStrapiSync: "strapiTriggerSync",
|
|
2371
|
-
enqueueStrapiSync: "strapiEnqueueSync",
|
|
2372
|
-
getStrapiWebhookLogs: "strapiGetWebhookLogs",
|
|
2373
|
-
getStrapiSyncLogs: "strapiGetSyncLogs",
|
|
2374
|
-
exchangeStrapiCustomerToken: "strapiExchangeCustomerToken",
|
|
2375
|
-
registerStrapiCustomer: "strapiRegisterCustomer",
|
|
2376
|
-
receiveStrapiWebhook: "strapiReceiveWebhook"
|
|
2285
|
+
replyToIntegrationsActivity: "crmIntegrationsReplyToActivity"
|
|
2377
2286
|
};
|
|
2378
2287
|
var posMapping = {
|
|
2379
2288
|
provision: "pOSProvision",
|