@ptkl/sdk 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.0.10.js +36 -6
- package/dist/index.0.9.js +6 -6
- package/dist/package.json +1 -1
- package/dist/v0.10/api/component.d.ts +26 -0
- package/dist/v0.10/index.cjs.js +36 -6
- package/dist/v0.10/index.esm.js +36 -6
- package/dist/v0.9/index.cjs.js +6 -6
- package/dist/v0.9/index.esm.js +6 -6
- package/package.json +1 -1
- package/dist/v0.10/api/integrations/serbiaUtil.d.ts +0 -12
- package/dist/v0.10/api/integrations/vpfr.d.ts +0 -4
- package/dist/v0.10/apiUser.d.ts +0 -9
- package/dist/v0.10/apps.d.ts +0 -8
- package/dist/v0.10/baseClient.d.ts +0 -6
- package/dist/v0.10/component.d.ts +0 -128
- package/dist/v0.10/componentUtils.d.ts +0 -7
- package/dist/v0.10/config.d.ts +0 -14
- package/dist/v0.10/forge.d.ts +0 -7
- package/dist/v0.10/functions.d.ts +0 -23
- package/dist/v0.10/index.d.ts +0 -21
- package/dist/v0.10/integrations/dms.d.ts +0 -469
- package/dist/v0.10/integrations/invoicing.d.ts +0 -6
- package/dist/v0.10/integrations/minimax.d.ts +0 -289
- package/dist/v0.10/integrations/payments.d.ts +0 -40
- package/dist/v0.10/integrations/serbiaUtil.d.ts +0 -10
- package/dist/v0.10/integrations/vpfr.d.ts +0 -4
- package/dist/v0.10/integrations.d.ts +0 -22
- package/dist/v0.10/integrationsBaseClient.d.ts +0 -11
- package/dist/v0.10/platform.d.ts +0 -34
- package/dist/v0.10/platformBaseClient.d.ts +0 -27
- package/dist/v0.10/project.d.ts +0 -146
- package/dist/v0.10/ratchet.d.ts +0 -196
- package/dist/v0.10/sandbox.d.ts +0 -14
- package/dist/v0.10/system.d.ts +0 -4
- package/dist/v0.10/thunder.d.ts +0 -13
- package/dist/v0.10/types/integrations/serbiaUtits.d.ts +0 -37
- package/dist/v0.10/users.d.ts +0 -69
- package/dist/v0.10/workflow.d.ts +0 -5
- package/dist/v0.9/apiUser.d.ts +0 -9
- package/dist/v0.9/apps.d.ts +0 -8
- package/dist/v0.9/baseClient.d.ts +0 -6
- package/dist/v0.9/component.d.ts +0 -128
- package/dist/v0.9/componentUtils.d.ts +0 -7
- package/dist/v0.9/config.d.ts +0 -14
- package/dist/v0.9/forge.d.ts +0 -7
- package/dist/v0.9/functions.d.ts +0 -23
- package/dist/v0.9/index.d.ts +0 -21
- package/dist/v0.9/integrations/dms.d.ts +0 -469
- package/dist/v0.9/integrations/invoicing.d.ts +0 -6
- package/dist/v0.9/integrations/minimax.d.ts +0 -289
- package/dist/v0.9/integrations/payments.d.ts +0 -40
- package/dist/v0.9/integrations/serbiaUtil.d.ts +0 -10
- package/dist/v0.9/integrations/vpfr.d.ts +0 -4
- package/dist/v0.9/integrations.d.ts +0 -22
- package/dist/v0.9/integrationsBaseClient.d.ts +0 -11
- package/dist/v0.9/platform.d.ts +0 -34
- package/dist/v0.9/platformBaseClient.d.ts +0 -27
- package/dist/v0.9/project.d.ts +0 -146
- package/dist/v0.9/ratchet.d.ts +0 -196
- package/dist/v0.9/sandbox.d.ts +0 -14
- package/dist/v0.9/system.d.ts +0 -4
- package/dist/v0.9/thunder.d.ts +0 -13
- package/dist/v0.9/users.d.ts +0 -69
- package/dist/v0.9/workflow.d.ts +0 -5
|
@@ -1,289 +0,0 @@
|
|
|
1
|
-
import IntegrationsBaseClient from "../integrationsBaseClient";
|
|
2
|
-
import { MinimaxAccount, MinimaxAddress, MinimaxAnalytic, MinimaxBankAccount, MinimaxContact, MinimaxCountry, MinimaxCurrency, MinimaxCustomer, MinimaxDashboardData, MinimaxDocument, MinimaxDocumentAttachment, MinimaxDocumentNumbering, MinimaxEFaktura, MinimaxEmployee, MinimaxExchangeRate, MinimaxInbox, MinimaxInboxAttachment, MinimaxIssuedInvoice, MinimaxIssuedInvoicePosting, MinimaxItem, MinimaxJournal, MinimaxJournalEntry, MinimaxJournalType, MinimaxJournalVatEntry, MinimaxLeanCustomer, MinimaxLeanDocument, MinimaxLeanEmployee, MinimaxLeanIssuedInvoice, MinimaxLeanIssuedInvoicePosting, MinimaxLeanItem, MinimaxLeanJournal, MinimaxLeanOrder, MinimaxLeanReceivedInvoice, MinimaxLeanStockEntry, MinimaxOrder, MinimaxOrganisation, MinimaxOutbox, MinimaxPaymentMethod, MinimaxPayrollSettings, MinimaxPostalCode, MinimaxProductGroup, MinimaxPurposeCode, MinimaxReceivedInvoice, MinimaxReceivedInvoiceAttachment, MinimaxReference, MinimaxReportTemplate, MinimaxSearchParams, MinimaxSearchResult, MinimaxStock, MinimaxStockEntry, MinimaxSyncReference, MinimaxSyncSearchParams, MinimaxUser, MinimaxVatAccountingType, MinimaxVatRate, MinimaxWarehouse } from "../types/integrations/minimax";
|
|
3
|
-
export default class Minimax extends IntegrationsBaseClient {
|
|
4
|
-
settings(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
getAccounts(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxAccount>): Promise<MinimaxSearchResult<MinimaxAccount>>;
|
|
6
|
-
getAccount(userId: string, organisationId: number, accountId: number): Promise<MinimaxAccount>;
|
|
7
|
-
getAccountByCode(userId: string, organisationId: number, code: string): Promise<MinimaxAccount>;
|
|
8
|
-
getAccountByContent(userId: string, organisationId: number, content: string): Promise<MinimaxAccount>;
|
|
9
|
-
getAccountsForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxAccount>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
10
|
-
/** ADDRESSES */
|
|
11
|
-
getAddresses(userId: string, organisationId: number, customerId: number, params?: MinimaxSearchParams<MinimaxAddress>): Promise<MinimaxSearchResult<MinimaxAddress>>;
|
|
12
|
-
newAddress(userId: string, organisationId: number, customerId: number, address: MinimaxAddress): Promise<{}>;
|
|
13
|
-
deleteAddress(userId: string, organisationId: number, customerId: number, addressId: number): Promise<{}>;
|
|
14
|
-
getAddress(userId: string, organisationId: number, customerId: number, addressId: number): Promise<MinimaxAddress>;
|
|
15
|
-
updateAddress(userId: string, organisationId: number, customerId: number, address: MinimaxAddress): Promise<{}>;
|
|
16
|
-
getAddressesForSync(userId: string, organisationId: number, customerId: number, params?: MinimaxSyncSearchParams<MinimaxAddress>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
17
|
-
/** ANALYTICS */
|
|
18
|
-
getAnalytics(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxAnalytic>): Promise<MinimaxSearchResult<MinimaxAnalytic>>;
|
|
19
|
-
newAnalytic(userId: string, organisationId: number, analytic: MinimaxAnalytic): Promise<{}>;
|
|
20
|
-
deleteAnalytic(userId: string, organisationId: number, analyticId: number): Promise<{}>;
|
|
21
|
-
getAnalytic(userId: string, organisationId: number, analyticId: number): Promise<MinimaxAnalytic>;
|
|
22
|
-
updateAnalytic(userId: string, organisationId: number, analytic: MinimaxAnalytic): Promise<{}>;
|
|
23
|
-
getAnalyticsForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxAnalytic>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
24
|
-
/** BANK ACCOUNTS */
|
|
25
|
-
getBankAccounts(userId: string, organisationId: number, customerId: number, params?: MinimaxSearchParams<MinimaxBankAccount>): Promise<MinimaxSearchResult<MinimaxBankAccount>>;
|
|
26
|
-
newBankAccount(userId: string, organisationId: number, customerId: number, bankAccount: MinimaxBankAccount): Promise<{}>;
|
|
27
|
-
deleteBankAccount(userId: string, organisationId: number, customerId: number, bankAccountId: number): Promise<{}>;
|
|
28
|
-
getBankAccount(userId: string, organisationId: number, customerId: number, bankAccountId: number): Promise<MinimaxBankAccount>;
|
|
29
|
-
updateBankAccount(userId: string, organisationId: number, customerId: number, bankAccount: MinimaxBankAccount): Promise<{}>;
|
|
30
|
-
getBankAccountsForSync(userId: string, organisationId: number, customerId: number, params?: MinimaxSyncSearchParams<MinimaxBankAccount>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
31
|
-
/** CONTACTS */
|
|
32
|
-
getCustomerContacts(userId: string, organisationId: number, customerId: number, params?: MinimaxSearchParams<MinimaxContact>): Promise<MinimaxSearchResult<MinimaxContact>>;
|
|
33
|
-
newContact(userId: string, organisationId: number, customerId: number, contact: MinimaxContact): Promise<{}>;
|
|
34
|
-
deleteContact(userId: string, organisationId: number, customerId: number, contactId: number): Promise<{}>;
|
|
35
|
-
getContact(userId: string, organisationId: number, customerId: number, contactId: number): Promise<MinimaxContact>;
|
|
36
|
-
updateContact(userId: string, organisationId: number, customerId: number, contact: MinimaxContact): Promise<{}>;
|
|
37
|
-
getContacts(userId: string, organisationId: number, params?: Omit<MinimaxSearchParams<MinimaxContact>, "SearchString"> & {
|
|
38
|
-
Email?: string;
|
|
39
|
-
}): Promise<MinimaxSearchResult<MinimaxContact>>;
|
|
40
|
-
getContactForSync(userId: string, organisationId: number, customerId: number, params?: MinimaxSyncSearchParams<MinimaxContact>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
41
|
-
/** COUNTRIES */
|
|
42
|
-
getCountries(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxCountry>): Promise<MinimaxSearchResult<MinimaxCountry>>;
|
|
43
|
-
getCountry(userId: string, organisationId: number, countryId: number): Promise<MinimaxCountry>;
|
|
44
|
-
getCountryByCode(userId: string, organisationId: number, code: string): Promise<MinimaxCountry>;
|
|
45
|
-
getCountriesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxCountry>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
46
|
-
/** CURRENCIES */
|
|
47
|
-
getCurrencies(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxCurrency>): Promise<MinimaxSearchResult<MinimaxCurrency>>;
|
|
48
|
-
getCurrency(userId: string, organisationId: number, currencyId: number): Promise<MinimaxCurrency>;
|
|
49
|
-
getCurrencyByDate(userId: string, organisationId: number, date: Date): Promise<MinimaxCurrency>;
|
|
50
|
-
getCurrencyByCode(userId: string, organisationId: number, code: string): Promise<MinimaxCurrency>;
|
|
51
|
-
getCurrenciesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxCurrency>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
52
|
-
/** CUSTOMERS */
|
|
53
|
-
getCustomers(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanCustomer>): Promise<MinimaxSearchResult<MinimaxLeanCustomer>>;
|
|
54
|
-
newCustomer(userId: string, organisationId: number, customer: MinimaxCustomer): Promise<{}>;
|
|
55
|
-
deleteCusomter(userId: string, organisationId: number, customerId: number): Promise<{}>;
|
|
56
|
-
getCustomer(userId: string, organisationId: number, customerId: number): Promise<MinimaxCustomer>;
|
|
57
|
-
updateCustomer(userId: string, organisationId: number, customer: MinimaxCustomer): Promise<{}>;
|
|
58
|
-
getCustomerByCode(userId: string, organisationId: number, code: string): Promise<MinimaxCustomer>;
|
|
59
|
-
newCustomerByTaxNumber(userId: string, organisationId: number, taxNumber: string): Promise<{}>;
|
|
60
|
-
getCustomersForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxCustomer>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
61
|
-
/** DASHBOARDS */
|
|
62
|
-
getDashboardsData(userId: string, organisationId: number): Promise<MinimaxDashboardData>;
|
|
63
|
-
/** DOCUMENTS */
|
|
64
|
-
getDocuments(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanDocument>): Promise<MinimaxSearchResult<MinimaxLeanDocument>>;
|
|
65
|
-
newDocument(userId: string, organisationId: number, document: MinimaxDocument): Promise<{}>;
|
|
66
|
-
deleteDocument(userId: string, organisationId: number, documentId: number): Promise<{}>;
|
|
67
|
-
getDocument(userId: string, organisationId: number, documentId: number): Promise<MinimaxDocument>;
|
|
68
|
-
updateDocument(userId: string, organisationId: number, document: MinimaxDocument): Promise<{}>;
|
|
69
|
-
deleteDocumentAttachment(userId: string, organisationId: number, documentId: number, documentAttachmentId: number): Promise<{}>;
|
|
70
|
-
getDocumentAttachment(userId: string, organisationId: number, documentId: number, documentAttachmentId: number): Promise<MinimaxDocumentAttachment>;
|
|
71
|
-
updateDocumentAttachment(userId: string, organisationId: number, documentId: number, documentAttachment: MinimaxDocumentAttachment): Promise<{}>;
|
|
72
|
-
newDocumentAttachment(userId: string, organisationId: number, documentId: number, documentAttachment: MinimaxDocumentAttachment): Promise<{}>;
|
|
73
|
-
getDocumentsForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxDocument>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
74
|
-
/** DOCUMENT NUMBERINGS */
|
|
75
|
-
getDocumentNumberings(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxDocumentNumbering>): Promise<MinimaxSearchResult<MinimaxDocumentNumbering>>;
|
|
76
|
-
getDocumentNumbering(userId: string, organisationId: number, documentNumberingId: number): Promise<MinimaxDocumentNumbering>;
|
|
77
|
-
/** EFAKTURA */
|
|
78
|
-
getEFakturaList(userId: string, params?: Omit<MinimaxSearchParams<MinimaxEFaktura>, "SearchString"> & {
|
|
79
|
-
RegistrationNumber: string;
|
|
80
|
-
BudgetUserNumber: string;
|
|
81
|
-
VatIdentificationNumber: string;
|
|
82
|
-
Name: string;
|
|
83
|
-
}): Promise<MinimaxSearchResult<MinimaxEFaktura>>;
|
|
84
|
-
/** EMPLOYEES */
|
|
85
|
-
getEmployees(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanEmployee>): Promise<MinimaxSearchResult<MinimaxLeanEmployee>>;
|
|
86
|
-
newEmployee(userId: string, organisationId: number, employee: MinimaxEmployee): Promise<{}>;
|
|
87
|
-
deleteEmployee(userId: string, organisationId: number, employeeId: number): Promise<{}>;
|
|
88
|
-
getEmployee(userId: string, organisationId: number, employeeId: number): Promise<MinimaxEmployee>;
|
|
89
|
-
updateEmployee(userId: string, organisationId: number, employee: MinimaxEmployee): Promise<{}>;
|
|
90
|
-
getEmployeesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxEmployee>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
91
|
-
/** EXCHANGE RATES */
|
|
92
|
-
getExchangeRate(userId: string, organisationId: number, currencyId: number): Promise<MinimaxExchangeRate>;
|
|
93
|
-
getExchangeRateByCode(userId: string, organisationId: number, currencyCode: string): Promise<MinimaxExchangeRate>;
|
|
94
|
-
/** INBOX */
|
|
95
|
-
getInboxes(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxInbox>): Promise<MinimaxSearchResult<MinimaxInbox>>;
|
|
96
|
-
newInbox(userId: string, organisationId: number, inbox: MinimaxInbox): Promise<{}>;
|
|
97
|
-
deleteInbox(userId: string, organisationId: number, inboxId: number): Promise<{}>;
|
|
98
|
-
getInbox(userId: string, organisationId: number, inboxId: number): Promise<MinimaxInbox>;
|
|
99
|
-
newInboxAttachment(userId: string, organisationId: number, inboxId: number, inboxAttachment: MinimaxInboxAttachment): Promise<{}>;
|
|
100
|
-
deleteInboxAttachment(userId: string, organisationId: number, inboxId: number, inboxAttachmentId: number): Promise<{}>;
|
|
101
|
-
actionOnInbox(userId: string, organisationId: number, inboxId: number, action: "approve" | "reject"): Promise<{}>;
|
|
102
|
-
/** ISSUED INVOICE */
|
|
103
|
-
getIssuedInvoices(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanIssuedInvoice>): Promise<MinimaxSearchResult<MinimaxLeanIssuedInvoice>>;
|
|
104
|
-
newIssuedInvoice(userId: string, organisationId: number, issuedInvoice: MinimaxIssuedInvoice): Promise<{}>;
|
|
105
|
-
deleteIssuedInvoice(userId: string, organisationId: number, issuedInvoiceId: number): Promise<{}>;
|
|
106
|
-
getIssuedInvoice(userId: string, organisationId: number, issuedInvoiceId: number): Promise<MinimaxIssuedInvoice>;
|
|
107
|
-
updateIssuedInvoice(userId: string, organisationId: number, issuedInvoice: MinimaxIssuedInvoice): Promise<{}>;
|
|
108
|
-
actionOnIssuedInvoice(userId: string, organisationId: number, issuedInvoiceId: number, action: "issue" | "issueCancellation" | "generatepdf" | "copytocreditnote" | "copyToReverse" | "issueAndGeneratepdf" | "sendEInvoice"): Promise<{}>;
|
|
109
|
-
getIssuedInvoicesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxLeanIssuedInvoice>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
110
|
-
getPaymentMethodsOnIssuedInvoices(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxPaymentMethod>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
111
|
-
/** ISSUED INVOICE POSTING */
|
|
112
|
-
getIssuedInvoicePostings(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanIssuedInvoicePosting>): Promise<MinimaxSearchResult<MinimaxLeanIssuedInvoicePosting>>;
|
|
113
|
-
newIssuedInvoicePosting(userId: string, organisationId: number, issuedInvoicePosting: MinimaxIssuedInvoicePosting): Promise<{}>;
|
|
114
|
-
deleteIssuedInvoicePosting(userId: string, organisationId: number, issuedInvoicePostingId: number): Promise<{}>;
|
|
115
|
-
getIssuedInvoicePosting(userId: string, organisationId: number, issuedInvoicePostingId: number): Promise<MinimaxIssuedInvoicePosting>;
|
|
116
|
-
getPaymentMethodsOnIssuedInvoicePostings(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxPaymentMethod>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
117
|
-
actionOnIssuedInvoicePosting(userId: string, organisationId: number, issuedInvoicePostingId: number, action: "issue" | "issueCancellation"): Promise<{}>;
|
|
118
|
-
/** ITEMS */
|
|
119
|
-
getItems(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanItem>): Promise<MinimaxSearchResult<MinimaxLeanItem>>;
|
|
120
|
-
newItem(userId: string, organisationId: number, item: MinimaxItem): Promise<{}>;
|
|
121
|
-
deleteItem(userId: string, organisationId: number, itemId: number): Promise<{}>;
|
|
122
|
-
getItem(userId: string, organisationId: number, itemId: number): Promise<MinimaxItem>;
|
|
123
|
-
updateItem(userId: string, organisationId: number, item: MinimaxItem): Promise<{}>;
|
|
124
|
-
getItemByCode(userId: string, organisationId: number, code: string): Promise<MinimaxItem>;
|
|
125
|
-
getItemSettings(userId: string, organisationId: number, code: string): Promise<{
|
|
126
|
-
PricesIncludeVAT: string;
|
|
127
|
-
}>;
|
|
128
|
-
getItemData(userId: string, organisationId: number, params: {
|
|
129
|
-
WarehouseId: number;
|
|
130
|
-
CustomerId: number;
|
|
131
|
-
ItemId: number;
|
|
132
|
-
}): Promise<{
|
|
133
|
-
Rows: (Pick<MinimaxItem, "Title" | "Code" | "Price" | "UnitOfMeasurement"> & {
|
|
134
|
-
Item: MinimaxReference;
|
|
135
|
-
Warehouse: MinimaxReference;
|
|
136
|
-
Customer: MinimaxReference;
|
|
137
|
-
})[];
|
|
138
|
-
ValidationMessages: {
|
|
139
|
-
Message: string;
|
|
140
|
-
PropertyName: string;
|
|
141
|
-
}[];
|
|
142
|
-
}>;
|
|
143
|
-
getItemPricelist(userId: string, organisationId: number, params: {
|
|
144
|
-
WarehouseId: number;
|
|
145
|
-
CustomerId: number;
|
|
146
|
-
ItemId: number;
|
|
147
|
-
}): Promise<{
|
|
148
|
-
Rows: (Pick<MinimaxItem, "Title" | "Code" | "UnitOfMeasurement"> & {
|
|
149
|
-
PriceWithoutVAT: number;
|
|
150
|
-
PriceWithVAT: number;
|
|
151
|
-
Item: MinimaxReference;
|
|
152
|
-
Warehouse: MinimaxReference;
|
|
153
|
-
Customer: MinimaxReference;
|
|
154
|
-
})[];
|
|
155
|
-
ValidationMessages: {
|
|
156
|
-
Message: string;
|
|
157
|
-
PropertyName: string;
|
|
158
|
-
}[];
|
|
159
|
-
}>;
|
|
160
|
-
getItemsForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxLeanItem>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
161
|
-
/** JOURNALS */
|
|
162
|
-
getJournals(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanJournal>): Promise<MinimaxSearchResult<MinimaxLeanJournal>>;
|
|
163
|
-
newJournal(userId: string, organisationId: number, journal: MinimaxJournal): Promise<{}>;
|
|
164
|
-
deleteJournal(userId: string, organisationId: number, journalId: number): Promise<{}>;
|
|
165
|
-
getJournal(userId: string, organisationId: number, journalId: number): Promise<MinimaxJournal>;
|
|
166
|
-
updateJournal(userId: string, organisationId: number, journal: MinimaxJournal): Promise<{}>;
|
|
167
|
-
deleteJournalVatEntry(userId: string, organisationId: number, journalId: number, vatId: number): Promise<{}>;
|
|
168
|
-
getJournalVatEntry(userId: string, organisationId: number, journalId: number, vatId: number): Promise<MinimaxJournalVatEntry>;
|
|
169
|
-
updateJournalVatEntry(userId: string, organisationId: number, journalId: number, vatEntry: MinimaxJournalVatEntry): Promise<{}>;
|
|
170
|
-
newJournalVatEntry(userId: string, organisationId: number, journalId: number, vatEntry: MinimaxJournalVatEntry): Promise<{}>;
|
|
171
|
-
getJournalsForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxLeanJournal>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
172
|
-
getJournalsInVODStandard(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxLeanJournal> & {
|
|
173
|
-
DateTo?: string;
|
|
174
|
-
DateFrom?: string;
|
|
175
|
-
JournalId?: number;
|
|
176
|
-
FromJournalId?: number;
|
|
177
|
-
}): Promise<{
|
|
178
|
-
Version: string;
|
|
179
|
-
Content: string;
|
|
180
|
-
StatusCode: string;
|
|
181
|
-
ReasonPhrase: string;
|
|
182
|
-
Headers: string;
|
|
183
|
-
RequestMessage: string;
|
|
184
|
-
IsSuccessStatusCode: string;
|
|
185
|
-
}>;
|
|
186
|
-
getJournalEntries(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxJournalEntry>): Promise<MinimaxSearchResult<MinimaxJournalEntry>>;
|
|
187
|
-
/** JOURNAL TYPES */
|
|
188
|
-
getJournalTypes(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxJournalType>): Promise<MinimaxSearchResult<MinimaxJournalType>>;
|
|
189
|
-
getJournalType(userId: string, organisationId: number, journalTypeId: number): Promise<MinimaxJournalType>;
|
|
190
|
-
getJournalTypeByCode(userId: string, organisationId: number, code: string): Promise<MinimaxJournalType>;
|
|
191
|
-
getJournalTypesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxJournalType>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
192
|
-
/** ORDERS */
|
|
193
|
-
getOrders(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanOrder>): Promise<MinimaxSearchResult<MinimaxLeanOrder>>;
|
|
194
|
-
newOrder(userId: string, organisationId: number, order: MinimaxOrder): Promise<{}>;
|
|
195
|
-
deleteOrder(userId: string, organisationId: number, orderId: number): Promise<{}>;
|
|
196
|
-
getOrder(userId: string, organisationId: number, orderId: number): Promise<MinimaxOrder>;
|
|
197
|
-
updateOrder(userId: string, organisationId: number, order: MinimaxOrder): Promise<{}>;
|
|
198
|
-
actionGetOnOrder(userId: string, organisationId: number, orderId: number, action: "getorderpdf", params?: {
|
|
199
|
-
rowVersion?: string;
|
|
200
|
-
}): Promise<{}>;
|
|
201
|
-
actionPutOnOrder(userId: string, organisationId: number, orderId: number, action: "confirm" | "cancelConfirmation" | "complete" | "cancelCompletion" | "invalidate" | "cancelInvalidation" | "createissuedinvoice" | "generatepdf", params?: {
|
|
202
|
-
rowVersion?: string;
|
|
203
|
-
}): Promise<{}>;
|
|
204
|
-
getOrdersForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxLeanOrder>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
205
|
-
/** ORGANISATIONS */
|
|
206
|
-
getOrganisation(userId: string, organisationId: number): Promise<MinimaxOrganisation>;
|
|
207
|
-
getAllOrganisations(userId: string, params: {
|
|
208
|
-
startRowIndex: number;
|
|
209
|
-
endRowIndex: number;
|
|
210
|
-
searchString: string;
|
|
211
|
-
}): Promise<MinimaxSearchResult<MinimaxOrganisation>>;
|
|
212
|
-
/** OUTBOX */
|
|
213
|
-
getAllOuboxes(userId: string, organisationId: number, params: MinimaxSearchParams<MinimaxOutbox> & {
|
|
214
|
-
OutboxType?: string;
|
|
215
|
-
OutboxImportStatus?: string;
|
|
216
|
-
OutboxDateFrom?: string;
|
|
217
|
-
OutboxDateTo?: string;
|
|
218
|
-
}): Promise<MinimaxSearchResult<MinimaxOutbox>>;
|
|
219
|
-
getOutbox(userId: string, organisationId: number, outboxId: number): Promise<MinimaxOutbox>;
|
|
220
|
-
/** PAYMENT METHODS */
|
|
221
|
-
getPaymentMethods(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxPaymentMethod>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
222
|
-
/** PAYROLL SETTINGS */
|
|
223
|
-
getPayrollSettingsByCode(userId: string, code: string): Promise<MinimaxPayrollSettings>;
|
|
224
|
-
/** POSTAL CODE */
|
|
225
|
-
getPostalCodesByCountry(userId: string, organisationId: number, countryId: number, params?: MinimaxSearchParams<MinimaxPostalCode>): Promise<MinimaxSearchResult<MinimaxPostalCode>>;
|
|
226
|
-
getPostalCode(userId: string, organisationId: number, postalCodeId: number): Promise<MinimaxPostalCode>;
|
|
227
|
-
getPostalCodesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxPostalCode>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
228
|
-
/** PRODUCT GROUPS */
|
|
229
|
-
getProductGroups(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxProductGroup>): Promise<MinimaxSearchResult<MinimaxProductGroup>>;
|
|
230
|
-
newProductGroup(userId: string, organisationId: number, productGroup: MinimaxProductGroup): Promise<{}>;
|
|
231
|
-
deleteProductGroup(userId: string, organisationId: number, productGroupId: number): Promise<{}>;
|
|
232
|
-
getProductGroup(userId: string, organisationId: number, productGroupId: number): Promise<MinimaxProductGroup>;
|
|
233
|
-
updateProductGroup(userId: string, organisationId: number, productGroup: MinimaxProductGroup): Promise<{}>;
|
|
234
|
-
getProductGroupsForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxProductGroup>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
235
|
-
/** PURPOSE CODE */
|
|
236
|
-
getPurposeCodes(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxPurposeCode>): Promise<MinimaxSearchResult<MinimaxPurposeCode>>;
|
|
237
|
-
getPurposeCode(userId: string, organisationId: number, purposeCodeId: number): Promise<MinimaxPurposeCode>;
|
|
238
|
-
getPurposeCodeByCode(userId: string, organisationId: number, code: string): Promise<MinimaxPurposeCode>;
|
|
239
|
-
getPurposeCodesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxPurposeCode>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
240
|
-
/** RECEIVED INVOICES */
|
|
241
|
-
deleteReceivedInvoice(userId: string, organisationId: number, receivedInvoiceId: number): Promise<{}>;
|
|
242
|
-
getReceivedInvoice(userId: string, organisationId: number, receivedInvoiceId: number): Promise<MinimaxReceivedInvoice>;
|
|
243
|
-
updateReceivedInvoice(userId: string, organisationId: number, receivedInvoice: MinimaxReceivedInvoice): Promise<{}>;
|
|
244
|
-
getReceivedInvoices(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanReceivedInvoice>): Promise<MinimaxSearchResult<MinimaxLeanReceivedInvoice>>;
|
|
245
|
-
newReceivedInvoice(userId: string, organisationId: number, receivedInvoice: MinimaxReceivedInvoice): Promise<{}>;
|
|
246
|
-
getReceivedInvoicesAttachments(userId: string, organisationId: number, receivedInvoiceId: number, params?: MinimaxSearchParams<MinimaxReceivedInvoiceAttachment>): Promise<MinimaxSearchResult<MinimaxReceivedInvoiceAttachment>>;
|
|
247
|
-
newReceivedInvoiceAttachment(userId: string, organisationId: number, receivedInvoiceId: number, attachment: MinimaxReceivedInvoiceAttachment): Promise<{}>;
|
|
248
|
-
/** REPORT TEMPLATES */
|
|
249
|
-
getReportTemplates(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxReportTemplate>): Promise<MinimaxSearchResult<MinimaxReportTemplate>>;
|
|
250
|
-
getReportTemplate(userId: string, organisationId: number, reportTemplateId: number): Promise<MinimaxReportTemplate>;
|
|
251
|
-
getReportTemplatesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxReportTemplate>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
252
|
-
/** STOCK */
|
|
253
|
-
getStock(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxStock>): Promise<MinimaxSearchResult<MinimaxStock>>;
|
|
254
|
-
getStockForItem(userId: string, organisationId: number, itemId: number): Promise<MinimaxStock>;
|
|
255
|
-
/** STOCK ENTRIES */
|
|
256
|
-
getStockEntries(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxLeanStockEntry>): Promise<MinimaxSearchResult<MinimaxLeanStockEntry>>;
|
|
257
|
-
newStockEntry(userId: string, organisationId: number, stockEntry: MinimaxStockEntry): Promise<{}>;
|
|
258
|
-
deleteStockEntry(userId: string, organisationId: number, stockEntryId: number): Promise<{}>;
|
|
259
|
-
getStockEntry(userId: string, organisationId: number, stockEntryId: number): Promise<MinimaxStockEntry>;
|
|
260
|
-
updateStockEntry(userId: string, organisationId: number, stockEntry: MinimaxStockEntry): Promise<{}>;
|
|
261
|
-
actionGetOnStockEntry(userId: string, organisationId: number, stockEntryId: number, action: "getDeliveryNotepdf", params?: {
|
|
262
|
-
rowVersion?: string;
|
|
263
|
-
}): Promise<{}>;
|
|
264
|
-
actionPutOnStockEntry(userId: string, organisationId: number, stockEntryId: number, action: "confirm" | "cancelConfirmation", params?: {
|
|
265
|
-
rowVersion?: string;
|
|
266
|
-
}): Promise<{}>;
|
|
267
|
-
/** USERS */
|
|
268
|
-
getCurrentUser(userId: string): Promise<MinimaxUser>;
|
|
269
|
-
getCurrentUserOrgs(userId: string): Promise<MinimaxSearchResult<{
|
|
270
|
-
Organisation: MinimaxReference;
|
|
271
|
-
APIAccess: string;
|
|
272
|
-
MobileAccess: string;
|
|
273
|
-
}>>;
|
|
274
|
-
/** VAT ACCOUNTING TYPES */
|
|
275
|
-
getVatAccountingTypes(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxVatAccountingType>): Promise<MinimaxSearchResult<MinimaxVatAccountingType>>;
|
|
276
|
-
getVatAccountingTypesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxVatAccountingType>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
277
|
-
/** VAT RATES */
|
|
278
|
-
getVatRates(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxVatRate>): Promise<MinimaxSearchResult<MinimaxVatRate>>;
|
|
279
|
-
getVatRate(userId: string, organisationId: number, vatRateId: number): Promise<MinimaxVatRate>;
|
|
280
|
-
getVatRateByCode(userId: string, organisationId: number, code: string): Promise<MinimaxVatRate>;
|
|
281
|
-
getVatRatesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxVatRate>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
282
|
-
/** WAREHOUSES */
|
|
283
|
-
getWarehouses(userId: string, organisationId: number, params?: MinimaxSearchParams<MinimaxWarehouse>): Promise<MinimaxSearchResult<MinimaxWarehouse>>;
|
|
284
|
-
newWarehouse(userId: string, organisationId: number, warehouse: MinimaxWarehouse): Promise<{}>;
|
|
285
|
-
deleteWarehouse(userId: string, organisationId: number, warehouseId: number): Promise<{}>;
|
|
286
|
-
getWarehouse(userId: string, organisationId: number, warehouseId: number): Promise<MinimaxWarehouse>;
|
|
287
|
-
updateWarehouse(userId: string, organisationId: number, warehouse: MinimaxWarehouse): Promise<{}>;
|
|
288
|
-
getWarehousesForSync(userId: string, organisationId: number, params?: MinimaxSyncSearchParams<MinimaxWarehouse>): Promise<MinimaxSearchResult<MinimaxSyncReference>>;
|
|
289
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import IntegrationsBaseClient from "../integrationsBaseClient";
|
|
2
|
-
import { PaymentProvider, Transaction, PaymentAmount } from "../types/integrations/payments";
|
|
3
|
-
export default class Payments extends IntegrationsBaseClient {
|
|
4
|
-
getTransactions(userId: string, params?: {
|
|
5
|
-
status: string;
|
|
6
|
-
sortBy: string;
|
|
7
|
-
sortDirection: string;
|
|
8
|
-
limit: number;
|
|
9
|
-
page: number;
|
|
10
|
-
}): Promise<{
|
|
11
|
-
transactions: Transaction[];
|
|
12
|
-
totalCount: number;
|
|
13
|
-
currentPage: number;
|
|
14
|
-
pageSize: number;
|
|
15
|
-
}>;
|
|
16
|
-
getTransaction(provider: PaymentProvider, userId: string, transactionId: string): Promise<Transaction>;
|
|
17
|
-
settings(provider: PaymentProvider): Promise<{
|
|
18
|
-
merchant_key: string;
|
|
19
|
-
authenticity_token: string;
|
|
20
|
-
}>;
|
|
21
|
-
deactivatePaymentLink(provider: PaymentProvider, user: string, transactionId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
22
|
-
voidTransaction(provider: PaymentProvider, user: string, transactionId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
refund(provider: PaymentProvider, user: string, transactionId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
-
getPaymentLink(provider: PaymentProvider, user: string, options: PaymentAmount & {
|
|
25
|
-
description: string;
|
|
26
|
-
token?: string;
|
|
27
|
-
isTokenRequest?: boolean;
|
|
28
|
-
redirectUrl?: string;
|
|
29
|
-
lang?: "en" | "es" | "ba" | "hr";
|
|
30
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
|
-
getTokenRequestLink(provider: PaymentProvider, user: string, options: {
|
|
32
|
-
description: string;
|
|
33
|
-
redirectUrl?: string;
|
|
34
|
-
lang?: "en" | "es" | "ba" | "hr";
|
|
35
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
|
-
directPayUsingToken(provider: PaymentProvider, user: string, options: PaymentAmount & {
|
|
37
|
-
description: string;
|
|
38
|
-
token: string;
|
|
39
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import IntegrationsBaseClient from "../integrationsBaseClient";
|
|
2
|
-
import { NbsIpsQrCode } from "../types/integrations";
|
|
3
|
-
export default class SerbiaUtil extends IntegrationsBaseClient {
|
|
4
|
-
nbsSearch(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
generateNbsIpsQrCode(params: NbsIpsQrCode): any;
|
|
6
|
-
getReceiptFromUrl(url: string, source: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
getContoList(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
services(method: string, endpoint: string, params?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
-
request(method: string, endpoint: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import Invoicing from "./integrations/invoicing";
|
|
2
|
-
import DMS from "./integrations/dms";
|
|
3
|
-
import VPFR from "./integrations/vpfr";
|
|
4
|
-
import IntegrationsBaseClient from "./integrationsBaseClient";
|
|
5
|
-
import Payments from "./integrations/payments";
|
|
6
|
-
import Minimax from "./integrations/minimax";
|
|
7
|
-
export default class Integrations extends IntegrationsBaseClient {
|
|
8
|
-
private integrations;
|
|
9
|
-
constructor(options?: {
|
|
10
|
-
env?: string;
|
|
11
|
-
token?: string;
|
|
12
|
-
host?: string;
|
|
13
|
-
});
|
|
14
|
-
getSerbiaUtilities(): any;
|
|
15
|
-
getDMS(): DMS;
|
|
16
|
-
getVPFR(): VPFR;
|
|
17
|
-
getInvoicing(): Invoicing;
|
|
18
|
-
getPayments(): Payments;
|
|
19
|
-
getMinimax(): Minimax;
|
|
20
|
-
isInstalled(id: string): Promise<boolean>;
|
|
21
|
-
getInterfaceOf(id: string): any;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import BaseClient from "./baseClient";
|
|
2
|
-
export default class IntegrationsBaseClient extends BaseClient {
|
|
3
|
-
protected env: string | null;
|
|
4
|
-
protected token: string | null;
|
|
5
|
-
protected host: string | null;
|
|
6
|
-
constructor(options?: {
|
|
7
|
-
env?: string;
|
|
8
|
-
token?: string;
|
|
9
|
-
host?: string;
|
|
10
|
-
});
|
|
11
|
-
}
|
package/dist/v0.9/platform.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AxiosInstance } from "axios";
|
|
2
|
-
import Functions from "./functions";
|
|
3
|
-
import APIUser from "./apiUser";
|
|
4
|
-
import Users from "./users";
|
|
5
|
-
import Apps from "./apps";
|
|
6
|
-
import Component, { ComponentOptions } from "./component";
|
|
7
|
-
import ComponentUtils from "./componentUtils";
|
|
8
|
-
import Thunder from "./thunder";
|
|
9
|
-
import Ratchet from "./ratchet";
|
|
10
|
-
import Sandbox from "./sandbox";
|
|
11
|
-
import System from "./system";
|
|
12
|
-
import Workflow from "./workflow";
|
|
13
|
-
import Forge from "./forge";
|
|
14
|
-
import Project from "./project";
|
|
15
|
-
import Config from "./config";
|
|
16
|
-
import PlatformBaseClient from "./platformBaseClient";
|
|
17
|
-
export default class Platform extends PlatformBaseClient {
|
|
18
|
-
getPlatformClient(): AxiosInstance;
|
|
19
|
-
getPlatformBaseURL(): string;
|
|
20
|
-
apiUser(): APIUser;
|
|
21
|
-
function(): Functions;
|
|
22
|
-
user(): Users;
|
|
23
|
-
app(appType: string): Apps;
|
|
24
|
-
forge(): Forge;
|
|
25
|
-
component(ref: string, options?: ComponentOptions): Component;
|
|
26
|
-
componentUtils(): ComponentUtils;
|
|
27
|
-
ratchet(): Ratchet;
|
|
28
|
-
sandbox(): Sandbox;
|
|
29
|
-
system(): System;
|
|
30
|
-
workflow(): Workflow;
|
|
31
|
-
thunder(): Thunder;
|
|
32
|
-
project(): Project;
|
|
33
|
-
config(): Config;
|
|
34
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import BaseClient from "./baseClient";
|
|
2
|
-
/**
|
|
3
|
-
* Base client for the platform API
|
|
4
|
-
* Classes that extend PlatformBaseClient have intentins of only working in platform context
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* @class PlatformBaseClient
|
|
8
|
-
* @extends BaseClient
|
|
9
|
-
* @constructor
|
|
10
|
-
* @param {AxiosInstance} [client] - The axios instance to use for the client
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // if sdk is used in the forge app that is running in the platform context
|
|
14
|
-
* const utils = new ComponentUtils()
|
|
15
|
-
* // this won't work outside of platform context because client needs authtorization to communicate with the API.
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
export default class PlatformBaseClient extends BaseClient {
|
|
19
|
-
protected env: string | null;
|
|
20
|
-
protected token: string | null;
|
|
21
|
-
protected host: string | null;
|
|
22
|
-
constructor(options?: {
|
|
23
|
-
env?: string;
|
|
24
|
-
token?: string;
|
|
25
|
-
host?: string;
|
|
26
|
-
});
|
|
27
|
-
}
|
package/dist/v0.9/project.d.ts
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import PlatformBaseClient from "./platformBaseClient";
|
|
2
|
-
import { AxiosResponse } from "axios";
|
|
3
|
-
export default class Project extends PlatformBaseClient {
|
|
4
|
-
/**
|
|
5
|
-
* Get list of all projects for the current user
|
|
6
|
-
*/
|
|
7
|
-
list(): Promise<AxiosResponse<any>>;
|
|
8
|
-
/**
|
|
9
|
-
* Create a new project
|
|
10
|
-
* @param data Project creation data
|
|
11
|
-
*/
|
|
12
|
-
create(data: {
|
|
13
|
-
name: string;
|
|
14
|
-
description?: string;
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}): Promise<AxiosResponse<any>>;
|
|
17
|
-
/**
|
|
18
|
-
* Get information about a specific project
|
|
19
|
-
*/
|
|
20
|
-
info(): Promise<AxiosResponse<any>>;
|
|
21
|
-
/**
|
|
22
|
-
* Archive a project
|
|
23
|
-
*/
|
|
24
|
-
archive(): Promise<AxiosResponse<any>>;
|
|
25
|
-
/**
|
|
26
|
-
* Invite a user to the project
|
|
27
|
-
* @param email Array of emails
|
|
28
|
-
* @param roles Array of role UUIDs
|
|
29
|
-
*/
|
|
30
|
-
invite(emails: string[], roles: string[]): Promise<AxiosResponse<any>>;
|
|
31
|
-
/**
|
|
32
|
-
* Get list of project invites
|
|
33
|
-
*/
|
|
34
|
-
getInvites(): Promise<AxiosResponse<any>>;
|
|
35
|
-
/**
|
|
36
|
-
* Get a specific invite by UUID
|
|
37
|
-
* @param uuid Invite UUID
|
|
38
|
-
*/
|
|
39
|
-
getInvite(uuid: string): Promise<AxiosResponse<any>>;
|
|
40
|
-
/**
|
|
41
|
-
* Accept an invite
|
|
42
|
-
* @param uuid Invite UUID
|
|
43
|
-
*/
|
|
44
|
-
acceptInvite(uuid: string): Promise<AxiosResponse<any>>;
|
|
45
|
-
/**
|
|
46
|
-
* Register through an invite
|
|
47
|
-
* @param uuid Invite UUID
|
|
48
|
-
* @param data Registration data
|
|
49
|
-
*/
|
|
50
|
-
registerWithInvite(uuid: string, data: any): Promise<AxiosResponse<any>>;
|
|
51
|
-
/**
|
|
52
|
-
* Get list of project users
|
|
53
|
-
*/
|
|
54
|
-
getUsers(): Promise<AxiosResponse<any>>;
|
|
55
|
-
/**
|
|
56
|
-
* Get a specific project user
|
|
57
|
-
* @param uuid User UUID
|
|
58
|
-
*/
|
|
59
|
-
getUser(uuid: string): Promise<AxiosResponse<any>>;
|
|
60
|
-
/**
|
|
61
|
-
* Update a project user
|
|
62
|
-
* @param uuid User UUID
|
|
63
|
-
* @param data Update data
|
|
64
|
-
*/
|
|
65
|
-
updateUser(uuid: string, data: any): Promise<AxiosResponse<any>>;
|
|
66
|
-
/**
|
|
67
|
-
* Delete a user from the project
|
|
68
|
-
* @param uuid User UUID
|
|
69
|
-
*/
|
|
70
|
-
deleteUser(uuid: string): Promise<AxiosResponse<any>>;
|
|
71
|
-
/**
|
|
72
|
-
* Update project settings
|
|
73
|
-
* @param settings Settings data
|
|
74
|
-
*/
|
|
75
|
-
updateSettings(settings: any): Promise<AxiosResponse<any>>;
|
|
76
|
-
/**
|
|
77
|
-
* Create a new workspace
|
|
78
|
-
* @param data Workspace data
|
|
79
|
-
*/
|
|
80
|
-
createWorkspace(data: {
|
|
81
|
-
name: string;
|
|
82
|
-
description?: string;
|
|
83
|
-
[key: string]: any;
|
|
84
|
-
}): Promise<AxiosResponse<any>>;
|
|
85
|
-
/**
|
|
86
|
-
* Update a workspace
|
|
87
|
-
* @param uuid Workspace UUID
|
|
88
|
-
* @param data Update data
|
|
89
|
-
*/
|
|
90
|
-
updateWorkspace(uuid: string, data: any): Promise<AxiosResponse<any>>;
|
|
91
|
-
/**
|
|
92
|
-
* Delete a workspace
|
|
93
|
-
* @param uuid Workspace UUID
|
|
94
|
-
*/
|
|
95
|
-
deleteWorkspace(uuid: string): Promise<AxiosResponse<any>>;
|
|
96
|
-
/**
|
|
97
|
-
* Get available templates
|
|
98
|
-
*/
|
|
99
|
-
getAvailableTemplates(): Promise<AxiosResponse<any>>;
|
|
100
|
-
/**
|
|
101
|
-
* Search for templates
|
|
102
|
-
* @param query Search query
|
|
103
|
-
*/
|
|
104
|
-
searchTemplates(query: any): Promise<AxiosResponse<any>>;
|
|
105
|
-
/**
|
|
106
|
-
* Get template by ID
|
|
107
|
-
* @param id Template ID
|
|
108
|
-
*/
|
|
109
|
-
getTemplate(id: string): Promise<AxiosResponse<any>>;
|
|
110
|
-
/**
|
|
111
|
-
* Get template by activation code
|
|
112
|
-
* @param code Activation code
|
|
113
|
-
*/
|
|
114
|
-
getTemplateByCode(code: string): Promise<AxiosResponse<any>>;
|
|
115
|
-
/**
|
|
116
|
-
* Get templates for a workspace
|
|
117
|
-
*/
|
|
118
|
-
getWorkspaceTemplates(): Promise<AxiosResponse<any>>;
|
|
119
|
-
/**
|
|
120
|
-
* Install a template
|
|
121
|
-
* @param data Installation data
|
|
122
|
-
*/
|
|
123
|
-
installTemplate(data: {
|
|
124
|
-
template_id: string;
|
|
125
|
-
workspace_uuid: string;
|
|
126
|
-
[key: string]: any;
|
|
127
|
-
}): Promise<AxiosResponse<any>>;
|
|
128
|
-
/**
|
|
129
|
-
* Uninstall a template
|
|
130
|
-
* @param data Uninstallation data
|
|
131
|
-
*/
|
|
132
|
-
uninstallTemplate(data: {
|
|
133
|
-
template_id: string;
|
|
134
|
-
workspace_uuid: string;
|
|
135
|
-
[key: string]: any;
|
|
136
|
-
}): Promise<AxiosResponse<any>>;
|
|
137
|
-
/**
|
|
138
|
-
* Upgrade a template
|
|
139
|
-
* @param data Upgrade data
|
|
140
|
-
*/
|
|
141
|
-
upgradeTemplate(data: {
|
|
142
|
-
template_id: string;
|
|
143
|
-
workspace_uuid: string;
|
|
144
|
-
[key: string]: any;
|
|
145
|
-
}): Promise<AxiosResponse<any>>;
|
|
146
|
-
}
|