mcp-costlocker 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -0
- package/dist/index.js +87 -0
- package/dist/integrations/costlocker/client.js +58 -0
- package/dist/integrations/costlocker/generated/client.js +1492 -0
- package/dist/integrations/costlocker/generated/types.js +1027 -0
- package/dist/integrations/costlocker/mutations/updateCostlockerEntry.js +50 -0
- package/dist/integrations/costlocker/queries/getCostlockerEntries.js +66 -0
- package/dist/tools/finance.js +62 -0
- package/dist/tools/lookup.js +65 -0
- package/dist/tools/people.js +55 -0
- package/dist/tools/projects.js +217 -0
- package/dist/tools/registerCostlockerGraphTools.js +12 -0
- package/dist/tools/shared.js +27 -0
- package/dist/tools/timesheet.js +206 -0
- package/package.json +64 -0
|
@@ -0,0 +1,1492 @@
|
|
|
1
|
+
import gql from 'graphql-tag';
|
|
2
|
+
export var ActivitySortingOptions;
|
|
3
|
+
(function (ActivitySortingOptions) {
|
|
4
|
+
ActivitySortingOptions["Id"] = "ID";
|
|
5
|
+
ActivitySortingOptions["LegacyMetricBudgetCountFinished"] = "LEGACY_METRIC_BUDGET_COUNT_FINISHED";
|
|
6
|
+
ActivitySortingOptions["LegacyMetricBudgetCountRunning"] = "LEGACY_METRIC_BUDGET_COUNT_RUNNING";
|
|
7
|
+
ActivitySortingOptions["LegacyMetricCost"] = "LEGACY_METRIC_COST";
|
|
8
|
+
ActivitySortingOptions["LegacyMetricProfit"] = "LEGACY_METRIC_PROFIT";
|
|
9
|
+
ActivitySortingOptions["LegacyMetricProfitMargin"] = "LEGACY_METRIC_PROFIT_MARGIN";
|
|
10
|
+
ActivitySortingOptions["LegacyMetricRevenue"] = "LEGACY_METRIC_REVENUE";
|
|
11
|
+
ActivitySortingOptions["LegacyMetricRevenueFinished"] = "LEGACY_METRIC_REVENUE_FINISHED";
|
|
12
|
+
ActivitySortingOptions["LegacyMetricRevenueGain"] = "LEGACY_METRIC_REVENUE_GAIN";
|
|
13
|
+
ActivitySortingOptions["LegacyMetricRevenueLoga"] = "LEGACY_METRIC_REVENUE_LOGA";
|
|
14
|
+
ActivitySortingOptions["LegacyMetricRevenueLoss"] = "LEGACY_METRIC_REVENUE_LOSS";
|
|
15
|
+
ActivitySortingOptions["LegacyMetricRevenueRunning"] = "LEGACY_METRIC_REVENUE_RUNNING";
|
|
16
|
+
ActivitySortingOptions["Name"] = "NAME";
|
|
17
|
+
})(ActivitySortingOptions || (ActivitySortingOptions = {}));
|
|
18
|
+
export var ActivityWithMetricsSortingOptions;
|
|
19
|
+
(function (ActivityWithMetricsSortingOptions) {
|
|
20
|
+
ActivityWithMetricsSortingOptions["Disabled"] = "DISABLED";
|
|
21
|
+
ActivityWithMetricsSortingOptions["FinishedCosts"] = "FINISHED_COSTS";
|
|
22
|
+
ActivityWithMetricsSortingOptions["FinishedProfit"] = "FINISHED_PROFIT";
|
|
23
|
+
ActivityWithMetricsSortingOptions["FinishedProfitMargin"] = "FINISHED_PROFIT_MARGIN";
|
|
24
|
+
ActivityWithMetricsSortingOptions["FinishedProjectsCount"] = "FINISHED_PROJECTS_COUNT";
|
|
25
|
+
ActivityWithMetricsSortingOptions["FinishedRevenue"] = "FINISHED_REVENUE";
|
|
26
|
+
ActivityWithMetricsSortingOptions["FinishedRevenueGain"] = "FINISHED_REVENUE_GAIN";
|
|
27
|
+
ActivityWithMetricsSortingOptions["FinishedRevenueLoss"] = "FINISHED_REVENUE_LOSS";
|
|
28
|
+
ActivityWithMetricsSortingOptions["FinishedRevenueTotal"] = "FINISHED_REVENUE_TOTAL";
|
|
29
|
+
ActivityWithMetricsSortingOptions["Id"] = "ID";
|
|
30
|
+
ActivityWithMetricsSortingOptions["Name"] = "NAME";
|
|
31
|
+
ActivityWithMetricsSortingOptions["RunningCosts"] = "RUNNING_COSTS";
|
|
32
|
+
ActivityWithMetricsSortingOptions["RunningProfit"] = "RUNNING_PROFIT";
|
|
33
|
+
ActivityWithMetricsSortingOptions["RunningProfitMargin"] = "RUNNING_PROFIT_MARGIN";
|
|
34
|
+
ActivityWithMetricsSortingOptions["RunningProjectsCount"] = "RUNNING_PROJECTS_COUNT";
|
|
35
|
+
ActivityWithMetricsSortingOptions["RunningRevenue"] = "RUNNING_REVENUE";
|
|
36
|
+
ActivityWithMetricsSortingOptions["RunningRevenueGain"] = "RUNNING_REVENUE_GAIN";
|
|
37
|
+
ActivityWithMetricsSortingOptions["RunningRevenueLoss"] = "RUNNING_REVENUE_LOSS";
|
|
38
|
+
ActivityWithMetricsSortingOptions["RunningRevenueTotal"] = "RUNNING_REVENUE_TOTAL";
|
|
39
|
+
ActivityWithMetricsSortingOptions["TotalCosts"] = "TOTAL_COSTS";
|
|
40
|
+
ActivityWithMetricsSortingOptions["TotalProfit"] = "TOTAL_PROFIT";
|
|
41
|
+
ActivityWithMetricsSortingOptions["TotalProfitMargin"] = "TOTAL_PROFIT_MARGIN";
|
|
42
|
+
ActivityWithMetricsSortingOptions["TotalProjectsCount"] = "TOTAL_PROJECTS_COUNT";
|
|
43
|
+
ActivityWithMetricsSortingOptions["TotalRevenue"] = "TOTAL_REVENUE";
|
|
44
|
+
ActivityWithMetricsSortingOptions["TotalRevenueGain"] = "TOTAL_REVENUE_GAIN";
|
|
45
|
+
ActivityWithMetricsSortingOptions["TotalRevenueLoss"] = "TOTAL_REVENUE_LOSS";
|
|
46
|
+
ActivityWithMetricsSortingOptions["TotalRevenueTotal"] = "TOTAL_REVENUE_TOTAL";
|
|
47
|
+
})(ActivityWithMetricsSortingOptions || (ActivityWithMetricsSortingOptions = {}));
|
|
48
|
+
export var AddonsTypes;
|
|
49
|
+
(function (AddonsTypes) {
|
|
50
|
+
AddonsTypes["Basecamp"] = "BASECAMP";
|
|
51
|
+
AddonsTypes["Fakturoid"] = "FAKTUROID";
|
|
52
|
+
AddonsTypes["Idoklad"] = "IDOKLAD";
|
|
53
|
+
AddonsTypes["Schedule"] = "SCHEDULE";
|
|
54
|
+
})(AddonsTypes || (AddonsTypes = {}));
|
|
55
|
+
export var AppsTypes;
|
|
56
|
+
(function (AppsTypes) {
|
|
57
|
+
AppsTypes["RapidEntry"] = "RAPID_ENTRY";
|
|
58
|
+
AppsTypes["Schedule"] = "SCHEDULE";
|
|
59
|
+
})(AppsTypes || (AppsTypes = {}));
|
|
60
|
+
export var AvailabilityStateResourceType;
|
|
61
|
+
(function (AvailabilityStateResourceType) {
|
|
62
|
+
AvailabilityStateResourceType["Person"] = "PERSON";
|
|
63
|
+
})(AvailabilityStateResourceType || (AvailabilityStateResourceType = {}));
|
|
64
|
+
export var BillingOutlookGroupByOptions;
|
|
65
|
+
(function (BillingOutlookGroupByOptions) {
|
|
66
|
+
BillingOutlookGroupByOptions["Billing"] = "BILLING";
|
|
67
|
+
BillingOutlookGroupByOptions["BillingStatus"] = "BILLING_STATUS";
|
|
68
|
+
BillingOutlookGroupByOptions["Client"] = "CLIENT";
|
|
69
|
+
BillingOutlookGroupByOptions["Project"] = "PROJECT";
|
|
70
|
+
})(BillingOutlookGroupByOptions || (BillingOutlookGroupByOptions = {}));
|
|
71
|
+
export var BillingOutlookMetricsSortingOptions;
|
|
72
|
+
(function (BillingOutlookMetricsSortingOptions) {
|
|
73
|
+
BillingOutlookMetricsSortingOptions["BillingDate"] = "BILLING_DATE";
|
|
74
|
+
BillingOutlookMetricsSortingOptions["BillingStatus"] = "BILLING_STATUS";
|
|
75
|
+
BillingOutlookMetricsSortingOptions["BillIdDescription"] = "BILL_ID_DESCRIPTION";
|
|
76
|
+
BillingOutlookMetricsSortingOptions["ClientId"] = "CLIENT_ID";
|
|
77
|
+
BillingOutlookMetricsSortingOptions["ProjectId"] = "PROJECT_ID";
|
|
78
|
+
BillingOutlookMetricsSortingOptions["ProjectName"] = "PROJECT_NAME";
|
|
79
|
+
BillingOutlookMetricsSortingOptions["ToBeBilled"] = "TO_BE_BILLED";
|
|
80
|
+
})(BillingOutlookMetricsSortingOptions || (BillingOutlookMetricsSortingOptions = {}));
|
|
81
|
+
export var BillingOutlookStatusTypesOptions;
|
|
82
|
+
(function (BillingOutlookStatusTypesOptions) {
|
|
83
|
+
BillingOutlookStatusTypesOptions["Draft"] = "DRAFT";
|
|
84
|
+
BillingOutlookStatusTypesOptions["RemainingFutureRecurring"] = "REMAINING_FUTURE_RECURRING";
|
|
85
|
+
BillingOutlookStatusTypesOptions["RemainingRunning"] = "REMAINING_RUNNING";
|
|
86
|
+
BillingOutlookStatusTypesOptions["Sent"] = "SENT";
|
|
87
|
+
})(BillingOutlookStatusTypesOptions || (BillingOutlookStatusTypesOptions = {}));
|
|
88
|
+
export var BudgetClientRateOptions;
|
|
89
|
+
(function (BudgetClientRateOptions) {
|
|
90
|
+
BudgetClientRateOptions["None"] = "NONE";
|
|
91
|
+
BudgetClientRateOptions["PerActivity"] = "PER_ACTIVITY";
|
|
92
|
+
BudgetClientRateOptions["PerPerson"] = "PER_PERSON";
|
|
93
|
+
})(BudgetClientRateOptions || (BudgetClientRateOptions = {}));
|
|
94
|
+
export var BudgetRecurrenceEndActions;
|
|
95
|
+
(function (BudgetRecurrenceEndActions) {
|
|
96
|
+
BudgetRecurrenceEndActions["Close"] = "CLOSE";
|
|
97
|
+
BudgetRecurrenceEndActions["Keep"] = "KEEP";
|
|
98
|
+
BudgetRecurrenceEndActions["Lock"] = "LOCK";
|
|
99
|
+
})(BudgetRecurrenceEndActions || (BudgetRecurrenceEndActions = {}));
|
|
100
|
+
export var BudgetRecursionPeriodOptions;
|
|
101
|
+
(function (BudgetRecursionPeriodOptions) {
|
|
102
|
+
BudgetRecursionPeriodOptions["HalfYearly"] = "HALF_YEARLY";
|
|
103
|
+
BudgetRecursionPeriodOptions["Monthly"] = "MONTHLY";
|
|
104
|
+
BudgetRecursionPeriodOptions["Quarterly"] = "QUARTERLY";
|
|
105
|
+
BudgetRecursionPeriodOptions["Yearly"] = "YEARLY";
|
|
106
|
+
})(BudgetRecursionPeriodOptions || (BudgetRecursionPeriodOptions = {}));
|
|
107
|
+
export var BudgetSortingOptions;
|
|
108
|
+
(function (BudgetSortingOptions) {
|
|
109
|
+
BudgetSortingOptions["Id"] = "ID";
|
|
110
|
+
BudgetSortingOptions["JobId"] = "JOB_ID";
|
|
111
|
+
BudgetSortingOptions["LegacyClientName"] = "LEGACY_CLIENT_NAME";
|
|
112
|
+
BudgetSortingOptions["LegacyMetricCost"] = "LEGACY_METRIC_COST";
|
|
113
|
+
BudgetSortingOptions["LegacyMetricDisc"] = "LEGACY_METRIC_DISC";
|
|
114
|
+
BudgetSortingOptions["LegacyMetricHrsPct"] = "LEGACY_METRIC_HRS_PCT";
|
|
115
|
+
BudgetSortingOptions["LegacyMetricProfit"] = "LEGACY_METRIC_PROFIT";
|
|
116
|
+
BudgetSortingOptions["LegacyMetricProfitBudget"] = "LEGACY_METRIC_PROFIT_BUDGET";
|
|
117
|
+
BudgetSortingOptions["LegacyMetricProfitMargin"] = "LEGACY_METRIC_PROFIT_MARGIN";
|
|
118
|
+
BudgetSortingOptions["LegacyMetricRevenue"] = "LEGACY_METRIC_REVENUE";
|
|
119
|
+
BudgetSortingOptions["LegacyMetricRevenueGain"] = "LEGACY_METRIC_REVENUE_GAIN";
|
|
120
|
+
BudgetSortingOptions["LegacyMetricRevenueLoga"] = "LEGACY_METRIC_REVENUE_LOGA";
|
|
121
|
+
BudgetSortingOptions["LegacyMetricRevenueLoss"] = "LEGACY_METRIC_REVENUE_LOSS";
|
|
122
|
+
BudgetSortingOptions["LegacyMetricTroubles"] = "LEGACY_METRIC_TROUBLES";
|
|
123
|
+
BudgetSortingOptions["Name"] = "NAME";
|
|
124
|
+
BudgetSortingOptions["StartAt"] = "START_AT";
|
|
125
|
+
})(BudgetSortingOptions || (BudgetSortingOptions = {}));
|
|
126
|
+
export var BudgetStates;
|
|
127
|
+
(function (BudgetStates) {
|
|
128
|
+
BudgetStates["Active"] = "ACTIVE";
|
|
129
|
+
BudgetStates["Finished"] = "FINISHED";
|
|
130
|
+
BudgetStates["FutureRecurring"] = "FUTURE_RECURRING";
|
|
131
|
+
})(BudgetStates || (BudgetStates = {}));
|
|
132
|
+
export var BudgetTrackProgressEstimatesOptions;
|
|
133
|
+
(function (BudgetTrackProgressEstimatesOptions) {
|
|
134
|
+
BudgetTrackProgressEstimatesOptions["Activity"] = "ACTIVITY";
|
|
135
|
+
BudgetTrackProgressEstimatesOptions["None"] = "NONE";
|
|
136
|
+
BudgetTrackProgressEstimatesOptions["Person"] = "PERSON";
|
|
137
|
+
})(BudgetTrackProgressEstimatesOptions || (BudgetTrackProgressEstimatesOptions = {}));
|
|
138
|
+
export var BudgetTypes;
|
|
139
|
+
(function (BudgetTypes) {
|
|
140
|
+
BudgetTypes["FixedPriceActivity"] = "FIXED_PRICE_ACTIVITY";
|
|
141
|
+
BudgetTypes["FixedPriceProject"] = "FIXED_PRICE_PROJECT";
|
|
142
|
+
BudgetTypes["NoBudget"] = "NO_BUDGET";
|
|
143
|
+
BudgetTypes["Timesheet"] = "TIMESHEET";
|
|
144
|
+
BudgetTypes["TimeEstimatesActivity"] = "TIME_ESTIMATES_ACTIVITY";
|
|
145
|
+
BudgetTypes["TimeEstimatesPerson"] = "TIME_ESTIMATES_PERSON";
|
|
146
|
+
})(BudgetTypes || (BudgetTypes = {}));
|
|
147
|
+
export var CompanySortingOptions;
|
|
148
|
+
(function (CompanySortingOptions) {
|
|
149
|
+
CompanySortingOptions["Id"] = "ID";
|
|
150
|
+
CompanySortingOptions["LegacyMetricBudgetCountFinished"] = "LEGACY_METRIC_BUDGET_COUNT_FINISHED";
|
|
151
|
+
CompanySortingOptions["LegacyMetricBudgetCountRunning"] = "LEGACY_METRIC_BUDGET_COUNT_RUNNING";
|
|
152
|
+
CompanySortingOptions["LegacyMetricCost"] = "LEGACY_METRIC_COST";
|
|
153
|
+
CompanySortingOptions["LegacyMetricDisc"] = "LEGACY_METRIC_DISC";
|
|
154
|
+
CompanySortingOptions["LegacyMetricProfit"] = "LEGACY_METRIC_PROFIT";
|
|
155
|
+
CompanySortingOptions["LegacyMetricProfitBudget"] = "LEGACY_METRIC_PROFIT_BUDGET";
|
|
156
|
+
CompanySortingOptions["LegacyMetricProfitMargin"] = "LEGACY_METRIC_PROFIT_MARGIN";
|
|
157
|
+
CompanySortingOptions["LegacyMetricRevenue"] = "LEGACY_METRIC_REVENUE";
|
|
158
|
+
CompanySortingOptions["LegacyMetricRevenueFinished"] = "LEGACY_METRIC_REVENUE_FINISHED";
|
|
159
|
+
CompanySortingOptions["LegacyMetricRevenueGain"] = "LEGACY_METRIC_REVENUE_GAIN";
|
|
160
|
+
CompanySortingOptions["LegacyMetricRevenueLoga"] = "LEGACY_METRIC_REVENUE_LOGA";
|
|
161
|
+
CompanySortingOptions["LegacyMetricRevenueLoss"] = "LEGACY_METRIC_REVENUE_LOSS";
|
|
162
|
+
CompanySortingOptions["LegacyMetricRevenueRunning"] = "LEGACY_METRIC_REVENUE_RUNNING";
|
|
163
|
+
CompanySortingOptions["Name"] = "NAME";
|
|
164
|
+
})(CompanySortingOptions || (CompanySortingOptions = {}));
|
|
165
|
+
export var CompanyTypesOptions;
|
|
166
|
+
(function (CompanyTypesOptions) {
|
|
167
|
+
CompanyTypesOptions["Client"] = "CLIENT";
|
|
168
|
+
CompanyTypesOptions["ClientAndVendor"] = "CLIENT_AND_VENDOR";
|
|
169
|
+
CompanyTypesOptions["Vendor"] = "VENDOR";
|
|
170
|
+
})(CompanyTypesOptions || (CompanyTypesOptions = {}));
|
|
171
|
+
export var ConfirmEmailResendStatus;
|
|
172
|
+
(function (ConfirmEmailResendStatus) {
|
|
173
|
+
ConfirmEmailResendStatus["AlreadyConfirmed"] = "ALREADY_CONFIRMED";
|
|
174
|
+
ConfirmEmailResendStatus["Disabled"] = "DISABLED";
|
|
175
|
+
ConfirmEmailResendStatus["Sent"] = "SENT";
|
|
176
|
+
})(ConfirmEmailResendStatus || (ConfirmEmailResendStatus = {}));
|
|
177
|
+
export var ConfirmEmailStatus;
|
|
178
|
+
(function (ConfirmEmailStatus) {
|
|
179
|
+
ConfirmEmailStatus["Confirmed"] = "CONFIRMED";
|
|
180
|
+
ConfirmEmailStatus["Error"] = "ERROR";
|
|
181
|
+
ConfirmEmailStatus["Expired"] = "EXPIRED";
|
|
182
|
+
ConfirmEmailStatus["Invalid"] = "INVALID";
|
|
183
|
+
})(ConfirmEmailStatus || (ConfirmEmailStatus = {}));
|
|
184
|
+
export var CostBudgetSortingOptions;
|
|
185
|
+
(function (CostBudgetSortingOptions) {
|
|
186
|
+
CostBudgetSortingOptions["BudgetName"] = "budgetName";
|
|
187
|
+
CostBudgetSortingOptions["Buy"] = "buy";
|
|
188
|
+
CostBudgetSortingOptions["CategoryName"] = "categoryName";
|
|
189
|
+
CostBudgetSortingOptions["Id"] = "id";
|
|
190
|
+
CostBudgetSortingOptions["Name"] = "name";
|
|
191
|
+
CostBudgetSortingOptions["Order"] = "order";
|
|
192
|
+
CostBudgetSortingOptions["PurchaseDate"] = "purchaseDate";
|
|
193
|
+
CostBudgetSortingOptions["Sell"] = "sell";
|
|
194
|
+
})(CostBudgetSortingOptions || (CostBudgetSortingOptions = {}));
|
|
195
|
+
export var CostBudgetTypes;
|
|
196
|
+
(function (CostBudgetTypes) {
|
|
197
|
+
CostBudgetTypes["ActualCosts"] = "actual_costs";
|
|
198
|
+
CostBudgetTypes["FixedPrice"] = "fixed_price";
|
|
199
|
+
CostBudgetTypes["NonBillable"] = "non_billable";
|
|
200
|
+
CostBudgetTypes["NotBudget"] = "not_budget";
|
|
201
|
+
})(CostBudgetTypes || (CostBudgetTypes = {}));
|
|
202
|
+
export var CostModes;
|
|
203
|
+
(function (CostModes) {
|
|
204
|
+
CostModes["FixedRate"] = "FIXED_RATE";
|
|
205
|
+
CostModes["MonthlyRate"] = "MONTHLY_RATE";
|
|
206
|
+
})(CostModes || (CostModes = {}));
|
|
207
|
+
export var CostSortingOptions;
|
|
208
|
+
(function (CostSortingOptions) {
|
|
209
|
+
CostSortingOptions["Amount"] = "amount";
|
|
210
|
+
CostSortingOptions["CompanyName"] = "companyName";
|
|
211
|
+
CostSortingOptions["Description"] = "description";
|
|
212
|
+
CostSortingOptions["Id"] = "id";
|
|
213
|
+
CostSortingOptions["IssuedDate"] = "issuedDate";
|
|
214
|
+
CostSortingOptions["RemainingToAllocate"] = "remainingToAllocate";
|
|
215
|
+
})(CostSortingOptions || (CostSortingOptions = {}));
|
|
216
|
+
export var CostsAvailableOptions;
|
|
217
|
+
(function (CostsAvailableOptions) {
|
|
218
|
+
CostsAvailableOptions["Bonus"] = "BONUS";
|
|
219
|
+
CostsAvailableOptions["ExpenseBuy"] = "EXPENSE_BUY";
|
|
220
|
+
CostsAvailableOptions["ExternalPay"] = "EXTERNAL_PAY";
|
|
221
|
+
CostsAvailableOptions["Overhead"] = "OVERHEAD";
|
|
222
|
+
CostsAvailableOptions["Sallary"] = "SALLARY";
|
|
223
|
+
})(CostsAvailableOptions || (CostsAvailableOptions = {}));
|
|
224
|
+
export var CountryCodes;
|
|
225
|
+
(function (CountryCodes) {
|
|
226
|
+
CountryCodes["Ac"] = "AC";
|
|
227
|
+
CountryCodes["Ad"] = "AD";
|
|
228
|
+
CountryCodes["Ae"] = "AE";
|
|
229
|
+
CountryCodes["Af"] = "AF";
|
|
230
|
+
CountryCodes["Ag"] = "AG";
|
|
231
|
+
CountryCodes["Ai"] = "AI";
|
|
232
|
+
CountryCodes["Al"] = "AL";
|
|
233
|
+
CountryCodes["Am"] = "AM";
|
|
234
|
+
CountryCodes["An"] = "AN";
|
|
235
|
+
CountryCodes["Ao"] = "AO";
|
|
236
|
+
CountryCodes["Aq"] = "AQ";
|
|
237
|
+
CountryCodes["Ar"] = "AR";
|
|
238
|
+
CountryCodes["As"] = "AS";
|
|
239
|
+
CountryCodes["At"] = "AT";
|
|
240
|
+
CountryCodes["Au"] = "AU";
|
|
241
|
+
CountryCodes["Aw"] = "AW";
|
|
242
|
+
CountryCodes["Ax"] = "AX";
|
|
243
|
+
CountryCodes["Az"] = "AZ";
|
|
244
|
+
CountryCodes["Ba"] = "BA";
|
|
245
|
+
CountryCodes["Bb"] = "BB";
|
|
246
|
+
CountryCodes["Bd"] = "BD";
|
|
247
|
+
CountryCodes["Be"] = "BE";
|
|
248
|
+
CountryCodes["Bf"] = "BF";
|
|
249
|
+
CountryCodes["Bg"] = "BG";
|
|
250
|
+
CountryCodes["Bh"] = "BH";
|
|
251
|
+
CountryCodes["Bi"] = "BI";
|
|
252
|
+
CountryCodes["Bj"] = "BJ";
|
|
253
|
+
CountryCodes["Bl"] = "BL";
|
|
254
|
+
CountryCodes["Bm"] = "BM";
|
|
255
|
+
CountryCodes["Bn"] = "BN";
|
|
256
|
+
CountryCodes["Bo"] = "BO";
|
|
257
|
+
CountryCodes["Bq"] = "BQ";
|
|
258
|
+
CountryCodes["Br"] = "BR";
|
|
259
|
+
CountryCodes["Bs"] = "BS";
|
|
260
|
+
CountryCodes["Bt"] = "BT";
|
|
261
|
+
CountryCodes["Bv"] = "BV";
|
|
262
|
+
CountryCodes["Bw"] = "BW";
|
|
263
|
+
CountryCodes["By"] = "BY";
|
|
264
|
+
CountryCodes["Bz"] = "BZ";
|
|
265
|
+
CountryCodes["Ca"] = "CA";
|
|
266
|
+
CountryCodes["Cc"] = "CC";
|
|
267
|
+
CountryCodes["Cd"] = "CD";
|
|
268
|
+
CountryCodes["Cf"] = "CF";
|
|
269
|
+
CountryCodes["Cg"] = "CG";
|
|
270
|
+
CountryCodes["Ch"] = "CH";
|
|
271
|
+
CountryCodes["Ci"] = "CI";
|
|
272
|
+
CountryCodes["Ck"] = "CK";
|
|
273
|
+
CountryCodes["Cl"] = "CL";
|
|
274
|
+
CountryCodes["Cm"] = "CM";
|
|
275
|
+
CountryCodes["Cn"] = "CN";
|
|
276
|
+
CountryCodes["Co"] = "CO";
|
|
277
|
+
CountryCodes["Cp"] = "CP";
|
|
278
|
+
CountryCodes["Cr"] = "CR";
|
|
279
|
+
CountryCodes["Cu"] = "CU";
|
|
280
|
+
CountryCodes["Cv"] = "CV";
|
|
281
|
+
CountryCodes["Cw"] = "CW";
|
|
282
|
+
CountryCodes["Cx"] = "CX";
|
|
283
|
+
CountryCodes["Cy"] = "CY";
|
|
284
|
+
CountryCodes["Cz"] = "CZ";
|
|
285
|
+
CountryCodes["De"] = "DE";
|
|
286
|
+
CountryCodes["Dg"] = "DG";
|
|
287
|
+
CountryCodes["Dj"] = "DJ";
|
|
288
|
+
CountryCodes["Dk"] = "DK";
|
|
289
|
+
CountryCodes["Dm"] = "DM";
|
|
290
|
+
CountryCodes["Do"] = "DO";
|
|
291
|
+
CountryCodes["Dz"] = "DZ";
|
|
292
|
+
CountryCodes["Ea"] = "EA";
|
|
293
|
+
CountryCodes["Ec"] = "EC";
|
|
294
|
+
CountryCodes["Ee"] = "EE";
|
|
295
|
+
CountryCodes["Eg"] = "EG";
|
|
296
|
+
CountryCodes["Eh"] = "EH";
|
|
297
|
+
CountryCodes["Er"] = "ER";
|
|
298
|
+
CountryCodes["Es"] = "ES";
|
|
299
|
+
CountryCodes["Et"] = "ET";
|
|
300
|
+
CountryCodes["Fi"] = "FI";
|
|
301
|
+
CountryCodes["Fj"] = "FJ";
|
|
302
|
+
CountryCodes["Fk"] = "FK";
|
|
303
|
+
CountryCodes["Fm"] = "FM";
|
|
304
|
+
CountryCodes["Fo"] = "FO";
|
|
305
|
+
CountryCodes["Fr"] = "FR";
|
|
306
|
+
CountryCodes["Ga"] = "GA";
|
|
307
|
+
CountryCodes["Gb"] = "GB";
|
|
308
|
+
CountryCodes["Gd"] = "GD";
|
|
309
|
+
CountryCodes["Ge"] = "GE";
|
|
310
|
+
CountryCodes["Gf"] = "GF";
|
|
311
|
+
CountryCodes["Gg"] = "GG";
|
|
312
|
+
CountryCodes["Gh"] = "GH";
|
|
313
|
+
CountryCodes["Gi"] = "GI";
|
|
314
|
+
CountryCodes["Gl"] = "GL";
|
|
315
|
+
CountryCodes["Gm"] = "GM";
|
|
316
|
+
CountryCodes["Gn"] = "GN";
|
|
317
|
+
CountryCodes["Gp"] = "GP";
|
|
318
|
+
CountryCodes["Gq"] = "GQ";
|
|
319
|
+
CountryCodes["Gr"] = "GR";
|
|
320
|
+
CountryCodes["Gs"] = "GS";
|
|
321
|
+
CountryCodes["Gt"] = "GT";
|
|
322
|
+
CountryCodes["Gu"] = "GU";
|
|
323
|
+
CountryCodes["Gw"] = "GW";
|
|
324
|
+
CountryCodes["Gy"] = "GY";
|
|
325
|
+
CountryCodes["Hk"] = "HK";
|
|
326
|
+
CountryCodes["Hm"] = "HM";
|
|
327
|
+
CountryCodes["Hn"] = "HN";
|
|
328
|
+
CountryCodes["Hr"] = "HR";
|
|
329
|
+
CountryCodes["Ht"] = "HT";
|
|
330
|
+
CountryCodes["Hu"] = "HU";
|
|
331
|
+
CountryCodes["Ic"] = "IC";
|
|
332
|
+
CountryCodes["Id"] = "ID";
|
|
333
|
+
CountryCodes["Ie"] = "IE";
|
|
334
|
+
CountryCodes["Il"] = "IL";
|
|
335
|
+
CountryCodes["Im"] = "IM";
|
|
336
|
+
CountryCodes["In"] = "IN";
|
|
337
|
+
CountryCodes["Io"] = "IO";
|
|
338
|
+
CountryCodes["Iq"] = "IQ";
|
|
339
|
+
CountryCodes["Ir"] = "IR";
|
|
340
|
+
CountryCodes["Is"] = "IS";
|
|
341
|
+
CountryCodes["It"] = "IT";
|
|
342
|
+
CountryCodes["Je"] = "JE";
|
|
343
|
+
CountryCodes["Jm"] = "JM";
|
|
344
|
+
CountryCodes["Jo"] = "JO";
|
|
345
|
+
CountryCodes["Jp"] = "JP";
|
|
346
|
+
CountryCodes["Ke"] = "KE";
|
|
347
|
+
CountryCodes["Kg"] = "KG";
|
|
348
|
+
CountryCodes["Kh"] = "KH";
|
|
349
|
+
CountryCodes["Ki"] = "KI";
|
|
350
|
+
CountryCodes["Km"] = "KM";
|
|
351
|
+
CountryCodes["Kn"] = "KN";
|
|
352
|
+
CountryCodes["Kp"] = "KP";
|
|
353
|
+
CountryCodes["Kr"] = "KR";
|
|
354
|
+
CountryCodes["Kw"] = "KW";
|
|
355
|
+
CountryCodes["Ky"] = "KY";
|
|
356
|
+
CountryCodes["Kz"] = "KZ";
|
|
357
|
+
CountryCodes["La"] = "LA";
|
|
358
|
+
CountryCodes["Lb"] = "LB";
|
|
359
|
+
CountryCodes["Lc"] = "LC";
|
|
360
|
+
CountryCodes["Li"] = "LI";
|
|
361
|
+
CountryCodes["Lk"] = "LK";
|
|
362
|
+
CountryCodes["Lr"] = "LR";
|
|
363
|
+
CountryCodes["Ls"] = "LS";
|
|
364
|
+
CountryCodes["Lt"] = "LT";
|
|
365
|
+
CountryCodes["Lu"] = "LU";
|
|
366
|
+
CountryCodes["Lv"] = "LV";
|
|
367
|
+
CountryCodes["Ly"] = "LY";
|
|
368
|
+
CountryCodes["Ma"] = "MA";
|
|
369
|
+
CountryCodes["Mc"] = "MC";
|
|
370
|
+
CountryCodes["Md"] = "MD";
|
|
371
|
+
CountryCodes["Me"] = "ME";
|
|
372
|
+
CountryCodes["Mf"] = "MF";
|
|
373
|
+
CountryCodes["Mg"] = "MG";
|
|
374
|
+
CountryCodes["Mh"] = "MH";
|
|
375
|
+
CountryCodes["Mk"] = "MK";
|
|
376
|
+
CountryCodes["Ml"] = "ML";
|
|
377
|
+
CountryCodes["Mm"] = "MM";
|
|
378
|
+
CountryCodes["Mn"] = "MN";
|
|
379
|
+
CountryCodes["Mo"] = "MO";
|
|
380
|
+
CountryCodes["Mp"] = "MP";
|
|
381
|
+
CountryCodes["Mq"] = "MQ";
|
|
382
|
+
CountryCodes["Mr"] = "MR";
|
|
383
|
+
CountryCodes["Ms"] = "MS";
|
|
384
|
+
CountryCodes["Mt"] = "MT";
|
|
385
|
+
CountryCodes["Mu"] = "MU";
|
|
386
|
+
CountryCodes["Mv"] = "MV";
|
|
387
|
+
CountryCodes["Mw"] = "MW";
|
|
388
|
+
CountryCodes["Mx"] = "MX";
|
|
389
|
+
CountryCodes["My"] = "MY";
|
|
390
|
+
CountryCodes["Mz"] = "MZ";
|
|
391
|
+
CountryCodes["Na"] = "NA";
|
|
392
|
+
CountryCodes["Nc"] = "NC";
|
|
393
|
+
CountryCodes["Ne"] = "NE";
|
|
394
|
+
CountryCodes["Nf"] = "NF";
|
|
395
|
+
CountryCodes["Ng"] = "NG";
|
|
396
|
+
CountryCodes["Ni"] = "NI";
|
|
397
|
+
CountryCodes["Nl"] = "NL";
|
|
398
|
+
CountryCodes["No"] = "NO";
|
|
399
|
+
CountryCodes["Np"] = "NP";
|
|
400
|
+
CountryCodes["Nr"] = "NR";
|
|
401
|
+
CountryCodes["Nu"] = "NU";
|
|
402
|
+
CountryCodes["Nz"] = "NZ";
|
|
403
|
+
CountryCodes["Om"] = "OM";
|
|
404
|
+
CountryCodes["Pa"] = "PA";
|
|
405
|
+
CountryCodes["Pe"] = "PE";
|
|
406
|
+
CountryCodes["Pf"] = "PF";
|
|
407
|
+
CountryCodes["Pg"] = "PG";
|
|
408
|
+
CountryCodes["Ph"] = "PH";
|
|
409
|
+
CountryCodes["Pk"] = "PK";
|
|
410
|
+
CountryCodes["Pl"] = "PL";
|
|
411
|
+
CountryCodes["Pm"] = "PM";
|
|
412
|
+
CountryCodes["Pn"] = "PN";
|
|
413
|
+
CountryCodes["Pr"] = "PR";
|
|
414
|
+
CountryCodes["Ps"] = "PS";
|
|
415
|
+
CountryCodes["Pt"] = "PT";
|
|
416
|
+
CountryCodes["Pw"] = "PW";
|
|
417
|
+
CountryCodes["Py"] = "PY";
|
|
418
|
+
CountryCodes["Qa"] = "QA";
|
|
419
|
+
CountryCodes["Re"] = "RE";
|
|
420
|
+
CountryCodes["Ro"] = "RO";
|
|
421
|
+
CountryCodes["Rs"] = "RS";
|
|
422
|
+
CountryCodes["Ru"] = "RU";
|
|
423
|
+
CountryCodes["Rw"] = "RW";
|
|
424
|
+
CountryCodes["Sa"] = "SA";
|
|
425
|
+
CountryCodes["Sb"] = "SB";
|
|
426
|
+
CountryCodes["Sc"] = "SC";
|
|
427
|
+
CountryCodes["Sd"] = "SD";
|
|
428
|
+
CountryCodes["Se"] = "SE";
|
|
429
|
+
CountryCodes["Sg"] = "SG";
|
|
430
|
+
CountryCodes["Sh"] = "SH";
|
|
431
|
+
CountryCodes["Si"] = "SI";
|
|
432
|
+
CountryCodes["Sj"] = "SJ";
|
|
433
|
+
CountryCodes["Sk"] = "SK";
|
|
434
|
+
CountryCodes["Sl"] = "SL";
|
|
435
|
+
CountryCodes["Sm"] = "SM";
|
|
436
|
+
CountryCodes["Sn"] = "SN";
|
|
437
|
+
CountryCodes["So"] = "SO";
|
|
438
|
+
CountryCodes["Sr"] = "SR";
|
|
439
|
+
CountryCodes["Ss"] = "SS";
|
|
440
|
+
CountryCodes["St"] = "ST";
|
|
441
|
+
CountryCodes["Sv"] = "SV";
|
|
442
|
+
CountryCodes["Sx"] = "SX";
|
|
443
|
+
CountryCodes["Sy"] = "SY";
|
|
444
|
+
CountryCodes["Sz"] = "SZ";
|
|
445
|
+
CountryCodes["Ta"] = "TA";
|
|
446
|
+
CountryCodes["Tc"] = "TC";
|
|
447
|
+
CountryCodes["Td"] = "TD";
|
|
448
|
+
CountryCodes["Tf"] = "TF";
|
|
449
|
+
CountryCodes["Tg"] = "TG";
|
|
450
|
+
CountryCodes["Th"] = "TH";
|
|
451
|
+
CountryCodes["Tj"] = "TJ";
|
|
452
|
+
CountryCodes["Tk"] = "TK";
|
|
453
|
+
CountryCodes["Tl"] = "TL";
|
|
454
|
+
CountryCodes["Tm"] = "TM";
|
|
455
|
+
CountryCodes["Tn"] = "TN";
|
|
456
|
+
CountryCodes["To"] = "TO";
|
|
457
|
+
CountryCodes["Tr"] = "TR";
|
|
458
|
+
CountryCodes["Tt"] = "TT";
|
|
459
|
+
CountryCodes["Tv"] = "TV";
|
|
460
|
+
CountryCodes["Tw"] = "TW";
|
|
461
|
+
CountryCodes["Tz"] = "TZ";
|
|
462
|
+
CountryCodes["Ua"] = "UA";
|
|
463
|
+
CountryCodes["Ug"] = "UG";
|
|
464
|
+
CountryCodes["Um"] = "UM";
|
|
465
|
+
CountryCodes["Us"] = "US";
|
|
466
|
+
CountryCodes["Uy"] = "UY";
|
|
467
|
+
CountryCodes["Uz"] = "UZ";
|
|
468
|
+
CountryCodes["Va"] = "VA";
|
|
469
|
+
CountryCodes["Vc"] = "VC";
|
|
470
|
+
CountryCodes["Ve"] = "VE";
|
|
471
|
+
CountryCodes["Vg"] = "VG";
|
|
472
|
+
CountryCodes["Vi"] = "VI";
|
|
473
|
+
CountryCodes["Vn"] = "VN";
|
|
474
|
+
CountryCodes["Vu"] = "VU";
|
|
475
|
+
CountryCodes["Wf"] = "WF";
|
|
476
|
+
CountryCodes["Ws"] = "WS";
|
|
477
|
+
CountryCodes["Xk"] = "XK";
|
|
478
|
+
CountryCodes["Ye"] = "YE";
|
|
479
|
+
CountryCodes["Yt"] = "YT";
|
|
480
|
+
CountryCodes["Za"] = "ZA";
|
|
481
|
+
CountryCodes["Zm"] = "ZM";
|
|
482
|
+
CountryCodes["Zw"] = "ZW";
|
|
483
|
+
CountryCodes["Zz"] = "ZZ";
|
|
484
|
+
})(CountryCodes || (CountryCodes = {}));
|
|
485
|
+
export var Currencies;
|
|
486
|
+
(function (Currencies) {
|
|
487
|
+
Currencies["Aad"] = "AAD";
|
|
488
|
+
Currencies["Aed"] = "AED";
|
|
489
|
+
Currencies["Afn"] = "AFN";
|
|
490
|
+
Currencies["All"] = "ALL";
|
|
491
|
+
Currencies["Amd"] = "AMD";
|
|
492
|
+
Currencies["Ang"] = "ANG";
|
|
493
|
+
Currencies["Aoa"] = "AOA";
|
|
494
|
+
Currencies["Ars"] = "ARS";
|
|
495
|
+
Currencies["Aud"] = "AUD";
|
|
496
|
+
Currencies["Awg"] = "AWG";
|
|
497
|
+
Currencies["Azn"] = "AZN";
|
|
498
|
+
Currencies["Bam"] = "BAM";
|
|
499
|
+
Currencies["Bbd"] = "BBD";
|
|
500
|
+
Currencies["Bdt"] = "BDT";
|
|
501
|
+
Currencies["Bgn"] = "BGN";
|
|
502
|
+
Currencies["Bhd"] = "BHD";
|
|
503
|
+
Currencies["Bif"] = "BIF";
|
|
504
|
+
Currencies["Bmd"] = "BMD";
|
|
505
|
+
Currencies["Bnd"] = "BND";
|
|
506
|
+
Currencies["Bob"] = "BOB";
|
|
507
|
+
Currencies["Brl"] = "BRL";
|
|
508
|
+
Currencies["Bsd"] = "BSD";
|
|
509
|
+
Currencies["Btn"] = "BTN";
|
|
510
|
+
Currencies["Bwp"] = "BWP";
|
|
511
|
+
Currencies["Byr"] = "BYR";
|
|
512
|
+
Currencies["Bzd"] = "BZD";
|
|
513
|
+
Currencies["Cad"] = "CAD";
|
|
514
|
+
Currencies["Cdf"] = "CDF";
|
|
515
|
+
Currencies["Chf"] = "CHF";
|
|
516
|
+
Currencies["Clp"] = "CLP";
|
|
517
|
+
Currencies["Cny"] = "CNY";
|
|
518
|
+
Currencies["Cop"] = "COP";
|
|
519
|
+
Currencies["Crc"] = "CRC";
|
|
520
|
+
Currencies["Cuc"] = "CUC";
|
|
521
|
+
Currencies["Cup"] = "CUP";
|
|
522
|
+
Currencies["Cve"] = "CVE";
|
|
523
|
+
Currencies["Czk"] = "CZK";
|
|
524
|
+
Currencies["Djf"] = "DJF";
|
|
525
|
+
Currencies["Dkk"] = "DKK";
|
|
526
|
+
Currencies["Dop"] = "DOP";
|
|
527
|
+
Currencies["Dzd"] = "DZD";
|
|
528
|
+
Currencies["Egp"] = "EGP";
|
|
529
|
+
Currencies["Ern"] = "ERN";
|
|
530
|
+
Currencies["Etb"] = "ETB";
|
|
531
|
+
Currencies["Eur"] = "EUR";
|
|
532
|
+
Currencies["Fjd"] = "FJD";
|
|
533
|
+
Currencies["Fkp"] = "FKP";
|
|
534
|
+
Currencies["Gbp"] = "GBP";
|
|
535
|
+
Currencies["Gel"] = "GEL";
|
|
536
|
+
Currencies["Ghs"] = "GHS";
|
|
537
|
+
Currencies["Gip"] = "GIP";
|
|
538
|
+
Currencies["Gmd"] = "GMD";
|
|
539
|
+
Currencies["Gnf"] = "GNF";
|
|
540
|
+
Currencies["Gtq"] = "GTQ";
|
|
541
|
+
Currencies["Gyd"] = "GYD";
|
|
542
|
+
Currencies["Hkd"] = "HKD";
|
|
543
|
+
Currencies["Hnl"] = "HNL";
|
|
544
|
+
Currencies["Hrk"] = "HRK";
|
|
545
|
+
Currencies["Htg"] = "HTG";
|
|
546
|
+
Currencies["Huf"] = "HUF";
|
|
547
|
+
Currencies["Idr"] = "IDR";
|
|
548
|
+
Currencies["Ils"] = "ILS";
|
|
549
|
+
Currencies["Inr"] = "INR";
|
|
550
|
+
Currencies["Iqd"] = "IQD";
|
|
551
|
+
Currencies["Irr"] = "IRR";
|
|
552
|
+
Currencies["Isk"] = "ISK";
|
|
553
|
+
Currencies["Jmd"] = "JMD";
|
|
554
|
+
Currencies["Jod"] = "JOD";
|
|
555
|
+
Currencies["Jpy"] = "JPY";
|
|
556
|
+
Currencies["Kes"] = "KES";
|
|
557
|
+
Currencies["Kgs"] = "KGS";
|
|
558
|
+
Currencies["Khr"] = "KHR";
|
|
559
|
+
Currencies["Kmf"] = "KMF";
|
|
560
|
+
Currencies["Kpw"] = "KPW";
|
|
561
|
+
Currencies["Krw"] = "KRW";
|
|
562
|
+
Currencies["Kwd"] = "KWD";
|
|
563
|
+
Currencies["Kyd"] = "KYD";
|
|
564
|
+
Currencies["Kzt"] = "KZT";
|
|
565
|
+
Currencies["Lak"] = "LAK";
|
|
566
|
+
Currencies["Lbp"] = "LBP";
|
|
567
|
+
Currencies["Lkr"] = "LKR";
|
|
568
|
+
Currencies["Lrd"] = "LRD";
|
|
569
|
+
Currencies["Lsl"] = "LSL";
|
|
570
|
+
Currencies["Ltl"] = "LTL";
|
|
571
|
+
Currencies["Lvl"] = "LVL";
|
|
572
|
+
Currencies["Lyd"] = "LYD";
|
|
573
|
+
Currencies["Mad"] = "MAD";
|
|
574
|
+
Currencies["Mdl"] = "MDL";
|
|
575
|
+
Currencies["Mga"] = "MGA";
|
|
576
|
+
Currencies["Mkd"] = "MKD";
|
|
577
|
+
Currencies["Mmk"] = "MMK";
|
|
578
|
+
Currencies["Mnt"] = "MNT";
|
|
579
|
+
Currencies["Mop"] = "MOP";
|
|
580
|
+
Currencies["Mro"] = "MRO";
|
|
581
|
+
Currencies["Mur"] = "MUR";
|
|
582
|
+
Currencies["Mvr"] = "MVR";
|
|
583
|
+
Currencies["Mwk"] = "MWK";
|
|
584
|
+
Currencies["Mxn"] = "MXN";
|
|
585
|
+
Currencies["Myr"] = "MYR";
|
|
586
|
+
Currencies["Mzn"] = "MZN";
|
|
587
|
+
Currencies["Nad"] = "NAD";
|
|
588
|
+
Currencies["Ngn"] = "NGN";
|
|
589
|
+
Currencies["Nio"] = "NIO";
|
|
590
|
+
Currencies["Nok"] = "NOK";
|
|
591
|
+
Currencies["Npr"] = "NPR";
|
|
592
|
+
Currencies["Nzd"] = "NZD";
|
|
593
|
+
Currencies["Omr"] = "OMR";
|
|
594
|
+
Currencies["Pab"] = "PAB";
|
|
595
|
+
Currencies["Pen"] = "PEN";
|
|
596
|
+
Currencies["Pgk"] = "PGK";
|
|
597
|
+
Currencies["Php"] = "PHP";
|
|
598
|
+
Currencies["Pkr"] = "PKR";
|
|
599
|
+
Currencies["Pln"] = "PLN";
|
|
600
|
+
Currencies["Pyg"] = "PYG";
|
|
601
|
+
Currencies["Qar"] = "QAR";
|
|
602
|
+
Currencies["Ron"] = "RON";
|
|
603
|
+
Currencies["Rsd"] = "RSD";
|
|
604
|
+
Currencies["Rub"] = "RUB";
|
|
605
|
+
Currencies["Rwf"] = "RWF";
|
|
606
|
+
Currencies["Sar"] = "SAR";
|
|
607
|
+
Currencies["Sbd"] = "SBD";
|
|
608
|
+
Currencies["Scr"] = "SCR";
|
|
609
|
+
Currencies["Sdg"] = "SDG";
|
|
610
|
+
Currencies["Sek"] = "SEK";
|
|
611
|
+
Currencies["Sgd"] = "SGD";
|
|
612
|
+
Currencies["Shp"] = "SHP";
|
|
613
|
+
Currencies["Sll"] = "SLL";
|
|
614
|
+
Currencies["Sos"] = "SOS";
|
|
615
|
+
Currencies["Srd"] = "SRD";
|
|
616
|
+
Currencies["Ssp"] = "SSP";
|
|
617
|
+
Currencies["Std"] = "STD";
|
|
618
|
+
Currencies["Syp"] = "SYP";
|
|
619
|
+
Currencies["Szl"] = "SZL";
|
|
620
|
+
Currencies["Thb"] = "THB";
|
|
621
|
+
Currencies["Tjs"] = "TJS";
|
|
622
|
+
Currencies["Tmt"] = "TMT";
|
|
623
|
+
Currencies["Tnd"] = "TND";
|
|
624
|
+
Currencies["Top"] = "TOP";
|
|
625
|
+
Currencies["Try"] = "TRY";
|
|
626
|
+
Currencies["Ttd"] = "TTD";
|
|
627
|
+
Currencies["Twd"] = "TWD";
|
|
628
|
+
Currencies["Tzs"] = "TZS";
|
|
629
|
+
Currencies["Uah"] = "UAH";
|
|
630
|
+
Currencies["Ugx"] = "UGX";
|
|
631
|
+
Currencies["Usd"] = "USD";
|
|
632
|
+
Currencies["Uyu"] = "UYU";
|
|
633
|
+
Currencies["Uzs"] = "UZS";
|
|
634
|
+
Currencies["Vef"] = "VEF";
|
|
635
|
+
Currencies["Vnd"] = "VND";
|
|
636
|
+
Currencies["Vuv"] = "VUV";
|
|
637
|
+
Currencies["Wst"] = "WST";
|
|
638
|
+
Currencies["Xaf"] = "XAF";
|
|
639
|
+
Currencies["Xcd"] = "XCD";
|
|
640
|
+
Currencies["Xof"] = "XOF";
|
|
641
|
+
Currencies["Xpf"] = "XPF";
|
|
642
|
+
Currencies["Yer"] = "YER";
|
|
643
|
+
Currencies["Zar"] = "ZAR";
|
|
644
|
+
Currencies["Zmw"] = "ZMW";
|
|
645
|
+
})(Currencies || (Currencies = {}));
|
|
646
|
+
export var CustomFieldLinkEntityTypes;
|
|
647
|
+
(function (CustomFieldLinkEntityTypes) {
|
|
648
|
+
CustomFieldLinkEntityTypes["Activity"] = "ACTIVITY";
|
|
649
|
+
CustomFieldLinkEntityTypes["Budget"] = "BUDGET";
|
|
650
|
+
CustomFieldLinkEntityTypes["Company"] = "COMPANY";
|
|
651
|
+
CustomFieldLinkEntityTypes["Person"] = "PERSON";
|
|
652
|
+
})(CustomFieldLinkEntityTypes || (CustomFieldLinkEntityTypes = {}));
|
|
653
|
+
export var CustomFieldSortingOptions;
|
|
654
|
+
(function (CustomFieldSortingOptions) {
|
|
655
|
+
CustomFieldSortingOptions["Id"] = "ID";
|
|
656
|
+
CustomFieldSortingOptions["Name"] = "NAME";
|
|
657
|
+
CustomFieldSortingOptions["Order"] = "ORDER";
|
|
658
|
+
})(CustomFieldSortingOptions || (CustomFieldSortingOptions = {}));
|
|
659
|
+
export var CustomFieldTypes;
|
|
660
|
+
(function (CustomFieldTypes) {
|
|
661
|
+
CustomFieldTypes["Checkbox"] = "CHECKBOX";
|
|
662
|
+
CustomFieldTypes["Date"] = "DATE";
|
|
663
|
+
CustomFieldTypes["Dropdown"] = "DROPDOWN";
|
|
664
|
+
CustomFieldTypes["Email"] = "EMAIL";
|
|
665
|
+
CustomFieldTypes["Labels"] = "LABELS";
|
|
666
|
+
CustomFieldTypes["Money"] = "MONEY";
|
|
667
|
+
CustomFieldTypes["Number"] = "NUMBER";
|
|
668
|
+
CustomFieldTypes["People"] = "PEOPLE";
|
|
669
|
+
CustomFieldTypes["Phone"] = "PHONE";
|
|
670
|
+
CustomFieldTypes["Progress"] = "PROGRESS";
|
|
671
|
+
CustomFieldTypes["Ratings"] = "RATINGS";
|
|
672
|
+
CustomFieldTypes["String"] = "STRING";
|
|
673
|
+
CustomFieldTypes["Website"] = "WEBSITE";
|
|
674
|
+
})(CustomFieldTypes || (CustomFieldTypes = {}));
|
|
675
|
+
export var DataViewSettingLinkEntityTypes;
|
|
676
|
+
(function (DataViewSettingLinkEntityTypes) {
|
|
677
|
+
DataViewSettingLinkEntityTypes["Activity"] = "ACTIVITY";
|
|
678
|
+
DataViewSettingLinkEntityTypes["Budget"] = "BUDGET";
|
|
679
|
+
})(DataViewSettingLinkEntityTypes || (DataViewSettingLinkEntityTypes = {}));
|
|
680
|
+
export var DataViewSettingSortingOptions;
|
|
681
|
+
(function (DataViewSettingSortingOptions) {
|
|
682
|
+
DataViewSettingSortingOptions["Id"] = "ID";
|
|
683
|
+
DataViewSettingSortingOptions["IsDefault"] = "IS_DEFAULT";
|
|
684
|
+
DataViewSettingSortingOptions["LinkEntity"] = "LINK_ENTITY";
|
|
685
|
+
DataViewSettingSortingOptions["Name"] = "NAME";
|
|
686
|
+
})(DataViewSettingSortingOptions || (DataViewSettingSortingOptions = {}));
|
|
687
|
+
export var DateFormats;
|
|
688
|
+
(function (DateFormats) {
|
|
689
|
+
DateFormats["Dmy"] = "DMY";
|
|
690
|
+
DateFormats["DmyCz"] = "DMY_CZ";
|
|
691
|
+
DateFormats["DmyD"] = "DMY_D";
|
|
692
|
+
DateFormats["DmyS"] = "DMY_S";
|
|
693
|
+
DateFormats["Mdy"] = "MDY";
|
|
694
|
+
DateFormats["MdyD"] = "MDY_D";
|
|
695
|
+
DateFormats["MdyN"] = "MDY_N";
|
|
696
|
+
DateFormats["MdyS"] = "MDY_S";
|
|
697
|
+
DateFormats["Ymd"] = "YMD";
|
|
698
|
+
DateFormats["YmdD"] = "YMD_D";
|
|
699
|
+
DateFormats["YmdS"] = "YMD_S";
|
|
700
|
+
})(DateFormats || (DateFormats = {}));
|
|
701
|
+
export var FinanceMetricsAccess;
|
|
702
|
+
(function (FinanceMetricsAccess) {
|
|
703
|
+
FinanceMetricsAccess["All"] = "ALL";
|
|
704
|
+
FinanceMetricsAccess["Margin"] = "MARGIN";
|
|
705
|
+
FinanceMetricsAccess["None"] = "NONE";
|
|
706
|
+
})(FinanceMetricsAccess || (FinanceMetricsAccess = {}));
|
|
707
|
+
export var Gateways;
|
|
708
|
+
(function (Gateways) {
|
|
709
|
+
Gateways["Braintree"] = "BRAINTREE";
|
|
710
|
+
Gateways["Stripe"] = "STRIPE";
|
|
711
|
+
})(Gateways || (Gateways = {}));
|
|
712
|
+
export var GlobalTroublesSortingOptions;
|
|
713
|
+
(function (GlobalTroublesSortingOptions) {
|
|
714
|
+
GlobalTroublesSortingOptions["ActivityName"] = "ACTIVITY_NAME";
|
|
715
|
+
GlobalTroublesSortingOptions["HrsBalance"] = "HRS_BALANCE";
|
|
716
|
+
GlobalTroublesSortingOptions["PersonName"] = "PERSON_NAME";
|
|
717
|
+
GlobalTroublesSortingOptions["ProjectName"] = "PROJECT_NAME";
|
|
718
|
+
})(GlobalTroublesSortingOptions || (GlobalTroublesSortingOptions = {}));
|
|
719
|
+
export var GlobalTroublesStateOptions;
|
|
720
|
+
(function (GlobalTroublesStateOptions) {
|
|
721
|
+
GlobalTroublesStateOptions["Exceeded"] = "EXCEEDED";
|
|
722
|
+
GlobalTroublesStateOptions["Left"] = "LEFT";
|
|
723
|
+
})(GlobalTroublesStateOptions || (GlobalTroublesStateOptions = {}));
|
|
724
|
+
export var GroupSortingOptions;
|
|
725
|
+
(function (GroupSortingOptions) {
|
|
726
|
+
GroupSortingOptions["Id"] = "ID";
|
|
727
|
+
GroupSortingOptions["Name"] = "NAME";
|
|
728
|
+
})(GroupSortingOptions || (GroupSortingOptions = {}));
|
|
729
|
+
export var IdsOperator;
|
|
730
|
+
(function (IdsOperator) {
|
|
731
|
+
IdsOperator["And"] = "AND";
|
|
732
|
+
IdsOperator["Or"] = "OR";
|
|
733
|
+
})(IdsOperator || (IdsOperator = {}));
|
|
734
|
+
export var InvoiceAllocatedOptions;
|
|
735
|
+
(function (InvoiceAllocatedOptions) {
|
|
736
|
+
InvoiceAllocatedOptions["All"] = "all";
|
|
737
|
+
InvoiceAllocatedOptions["Allocated"] = "allocated";
|
|
738
|
+
InvoiceAllocatedOptions["Unallocated"] = "unallocated";
|
|
739
|
+
})(InvoiceAllocatedOptions || (InvoiceAllocatedOptions = {}));
|
|
740
|
+
export var Languages;
|
|
741
|
+
(function (Languages) {
|
|
742
|
+
Languages["Cs"] = "CS";
|
|
743
|
+
Languages["En"] = "EN";
|
|
744
|
+
})(Languages || (Languages = {}));
|
|
745
|
+
export var LegacyBudgetMetricPartialOptions;
|
|
746
|
+
(function (LegacyBudgetMetricPartialOptions) {
|
|
747
|
+
LegacyBudgetMetricPartialOptions["Activity"] = "Activity";
|
|
748
|
+
LegacyBudgetMetricPartialOptions["Person"] = "Person";
|
|
749
|
+
})(LegacyBudgetMetricPartialOptions || (LegacyBudgetMetricPartialOptions = {}));
|
|
750
|
+
export var LegacyBudgetMetricWithOptions;
|
|
751
|
+
(function (LegacyBudgetMetricWithOptions) {
|
|
752
|
+
LegacyBudgetMetricWithOptions["Billed"] = "Billed";
|
|
753
|
+
LegacyBudgetMetricWithOptions["ProfitBudget"] = "ProfitBudget";
|
|
754
|
+
LegacyBudgetMetricWithOptions["Troubles"] = "Troubles";
|
|
755
|
+
})(LegacyBudgetMetricWithOptions || (LegacyBudgetMetricWithOptions = {}));
|
|
756
|
+
export var NullsBehaviorOptions;
|
|
757
|
+
(function (NullsBehaviorOptions) {
|
|
758
|
+
NullsBehaviorOptions["Exclude"] = "exclude";
|
|
759
|
+
NullsBehaviorOptions["Include"] = "include";
|
|
760
|
+
NullsBehaviorOptions["Only"] = "only";
|
|
761
|
+
})(NullsBehaviorOptions || (NullsBehaviorOptions = {}));
|
|
762
|
+
export var NumberFormats;
|
|
763
|
+
(function (NumberFormats) {
|
|
764
|
+
NumberFormats["Cd"] = "CD";
|
|
765
|
+
NumberFormats["Dc"] = "DC";
|
|
766
|
+
NumberFormats["Sc"] = "SC";
|
|
767
|
+
NumberFormats["Sd"] = "SD";
|
|
768
|
+
})(NumberFormats || (NumberFormats = {}));
|
|
769
|
+
export var OverheadSortingOptions;
|
|
770
|
+
(function (OverheadSortingOptions) {
|
|
771
|
+
OverheadSortingOptions["Costs"] = "COSTS";
|
|
772
|
+
OverheadSortingOptions["DateFrom"] = "DATE_FROM";
|
|
773
|
+
OverheadSortingOptions["Id"] = "ID";
|
|
774
|
+
OverheadSortingOptions["Name"] = "NAME";
|
|
775
|
+
OverheadSortingOptions["Revenue"] = "REVENUE";
|
|
776
|
+
})(OverheadSortingOptions || (OverheadSortingOptions = {}));
|
|
777
|
+
export var OverheadTypesOptions;
|
|
778
|
+
(function (OverheadTypesOptions) {
|
|
779
|
+
OverheadTypesOptions["OneTimeCost"] = "ONE_TIME_COST";
|
|
780
|
+
OverheadTypesOptions["OneTimeRevenue"] = "ONE_TIME_REVENUE";
|
|
781
|
+
OverheadTypesOptions["PersonBonus"] = "PERSON_BONUS";
|
|
782
|
+
OverheadTypesOptions["RecurringCosts"] = "RECURRING_COSTS";
|
|
783
|
+
})(OverheadTypesOptions || (OverheadTypesOptions = {}));
|
|
784
|
+
export var OverheadsAnalysisSortingOptions;
|
|
785
|
+
(function (OverheadsAnalysisSortingOptions) {
|
|
786
|
+
OverheadsAnalysisSortingOptions["Id"] = "ID";
|
|
787
|
+
OverheadsAnalysisSortingOptions["InaccurateProjectCosts"] = "INACCURATE_PROJECT_COSTS";
|
|
788
|
+
OverheadsAnalysisSortingOptions["Month"] = "MONTH";
|
|
789
|
+
OverheadsAnalysisSortingOptions["OverheadCosts"] = "OVERHEAD_COSTS";
|
|
790
|
+
OverheadsAnalysisSortingOptions["PeopleCosts"] = "PEOPLE_COSTS";
|
|
791
|
+
})(OverheadsAnalysisSortingOptions || (OverheadsAnalysisSortingOptions = {}));
|
|
792
|
+
export var PersonHideTroubleLevelOptions;
|
|
793
|
+
(function (PersonHideTroubleLevelOptions) {
|
|
794
|
+
PersonHideTroubleLevelOptions["Hidden"] = "HIDDEN";
|
|
795
|
+
PersonHideTroubleLevelOptions["Visible"] = "VISIBLE";
|
|
796
|
+
})(PersonHideTroubleLevelOptions || (PersonHideTroubleLevelOptions = {}));
|
|
797
|
+
export var PersonInvitationOrConnectAccountStatus;
|
|
798
|
+
(function (PersonInvitationOrConnectAccountStatus) {
|
|
799
|
+
PersonInvitationOrConnectAccountStatus["AccountAlreadyConnected"] = "ACCOUNT_ALREADY_CONNECTED";
|
|
800
|
+
PersonInvitationOrConnectAccountStatus["AccountConnected"] = "ACCOUNT_CONNECTED";
|
|
801
|
+
PersonInvitationOrConnectAccountStatus["InvitationSent"] = "INVITATION_SENT";
|
|
802
|
+
})(PersonInvitationOrConnectAccountStatus || (PersonInvitationOrConnectAccountStatus = {}));
|
|
803
|
+
export var PersonSalaryTypeOptions;
|
|
804
|
+
(function (PersonSalaryTypeOptions) {
|
|
805
|
+
PersonSalaryTypeOptions["HourlyRate"] = "HOURLY_RATE";
|
|
806
|
+
PersonSalaryTypeOptions["MonthlySalary"] = "MONTHLY_SALARY";
|
|
807
|
+
})(PersonSalaryTypeOptions || (PersonSalaryTypeOptions = {}));
|
|
808
|
+
export var PersonSortingOptions;
|
|
809
|
+
(function (PersonSortingOptions) {
|
|
810
|
+
PersonSortingOptions["FirstName"] = "FIRST_NAME";
|
|
811
|
+
PersonSortingOptions["Id"] = "ID";
|
|
812
|
+
PersonSortingOptions["LastName"] = "LAST_NAME";
|
|
813
|
+
PersonSortingOptions["LegacyMetricBudgetCountFinished"] = "LEGACY_METRIC_BUDGET_COUNT_FINISHED";
|
|
814
|
+
PersonSortingOptions["LegacyMetricBudgetCountRunning"] = "LEGACY_METRIC_BUDGET_COUNT_RUNNING";
|
|
815
|
+
PersonSortingOptions["LegacyMetricCost"] = "LEGACY_METRIC_COST";
|
|
816
|
+
PersonSortingOptions["LegacyMetricDisc"] = "LEGACY_METRIC_DISC";
|
|
817
|
+
PersonSortingOptions["LegacyMetricHourlyRate"] = "LEGACY_METRIC_HOURLY_RATE";
|
|
818
|
+
PersonSortingOptions["LegacyMetricMonthlyHours"] = "LEGACY_METRIC_MONTHLY_HOURS";
|
|
819
|
+
PersonSortingOptions["LegacyMetricMonthlyPay"] = "LEGACY_METRIC_MONTHLY_PAY";
|
|
820
|
+
PersonSortingOptions["LegacyMetricProfit"] = "LEGACY_METRIC_PROFIT";
|
|
821
|
+
PersonSortingOptions["LegacyMetricProfitBudget"] = "LEGACY_METRIC_PROFIT_BUDGET";
|
|
822
|
+
PersonSortingOptions["LegacyMetricProfitMargin"] = "LEGACY_METRIC_PROFIT_MARGIN";
|
|
823
|
+
PersonSortingOptions["LegacyMetricRevenue"] = "LEGACY_METRIC_REVENUE";
|
|
824
|
+
PersonSortingOptions["LegacyMetricRevenueFinished"] = "LEGACY_METRIC_REVENUE_FINISHED";
|
|
825
|
+
PersonSortingOptions["LegacyMetricRevenueGain"] = "LEGACY_METRIC_REVENUE_GAIN";
|
|
826
|
+
PersonSortingOptions["LegacyMetricRevenueLoga"] = "LEGACY_METRIC_REVENUE_LOGA";
|
|
827
|
+
PersonSortingOptions["LegacyMetricRevenueLoss"] = "LEGACY_METRIC_REVENUE_LOSS";
|
|
828
|
+
PersonSortingOptions["LegacyMetricRevenueRunning"] = "LEGACY_METRIC_REVENUE_RUNNING";
|
|
829
|
+
PersonSortingOptions["LegacyMetricSalaryType"] = "LEGACY_METRIC_SALARY_TYPE";
|
|
830
|
+
})(PersonSortingOptions || (PersonSortingOptions = {}));
|
|
831
|
+
export var ProjectBudgetTypes;
|
|
832
|
+
(function (ProjectBudgetTypes) {
|
|
833
|
+
ProjectBudgetTypes["FixedPriceActivity"] = "FIXED_PRICE_ACTIVITY";
|
|
834
|
+
ProjectBudgetTypes["FixedPriceProject"] = "FIXED_PRICE_PROJECT";
|
|
835
|
+
ProjectBudgetTypes["NoBudget"] = "NO_BUDGET";
|
|
836
|
+
ProjectBudgetTypes["Timesheet"] = "TIMESHEET";
|
|
837
|
+
ProjectBudgetTypes["TimeEstimatesActivity"] = "TIME_ESTIMATES_ACTIVITY";
|
|
838
|
+
ProjectBudgetTypes["TimeEstimatesWorkunit"] = "TIME_ESTIMATES_WORKUNIT";
|
|
839
|
+
})(ProjectBudgetTypes || (ProjectBudgetTypes = {}));
|
|
840
|
+
export var ProjectSortingOptions;
|
|
841
|
+
(function (ProjectSortingOptions) {
|
|
842
|
+
ProjectSortingOptions["Id"] = "ID";
|
|
843
|
+
ProjectSortingOptions["JobId"] = "JOB_ID";
|
|
844
|
+
ProjectSortingOptions["Name"] = "NAME";
|
|
845
|
+
ProjectSortingOptions["StartAt"] = "START_AT";
|
|
846
|
+
})(ProjectSortingOptions || (ProjectSortingOptions = {}));
|
|
847
|
+
export var ProjectStates;
|
|
848
|
+
(function (ProjectStates) {
|
|
849
|
+
ProjectStates["Active"] = "ACTIVE";
|
|
850
|
+
ProjectStates["Finished"] = "FINISHED";
|
|
851
|
+
ProjectStates["FutureRecurring"] = "FUTURE_RECURRING";
|
|
852
|
+
})(ProjectStates || (ProjectStates = {}));
|
|
853
|
+
export var ProjectTypes;
|
|
854
|
+
(function (ProjectTypes) {
|
|
855
|
+
ProjectTypes["Recurring"] = "RECURRING";
|
|
856
|
+
ProjectTypes["Standard"] = "STANDARD";
|
|
857
|
+
})(ProjectTypes || (ProjectTypes = {}));
|
|
858
|
+
export var ProjectWithMetricsSort;
|
|
859
|
+
(function (ProjectWithMetricsSort) {
|
|
860
|
+
ProjectWithMetricsSort["ActualCosts"] = "ACTUAL_COSTS";
|
|
861
|
+
ProjectWithMetricsSort["EndAt"] = "END_AT";
|
|
862
|
+
ProjectWithMetricsSort["EstimatedProfit"] = "ESTIMATED_PROFIT";
|
|
863
|
+
ProjectWithMetricsSort["Id"] = "ID";
|
|
864
|
+
ProjectWithMetricsSort["Name"] = "NAME";
|
|
865
|
+
ProjectWithMetricsSort["RemainingBudget"] = "REMAINING_BUDGET";
|
|
866
|
+
ProjectWithMetricsSort["Revenue"] = "REVENUE";
|
|
867
|
+
ProjectWithMetricsSort["StartAt"] = "START_AT";
|
|
868
|
+
ProjectWithMetricsSort["TrackedHours"] = "TRACKED_HOURS";
|
|
869
|
+
})(ProjectWithMetricsSort || (ProjectWithMetricsSort = {}));
|
|
870
|
+
export var ProjectsAccess;
|
|
871
|
+
(function (ProjectsAccess) {
|
|
872
|
+
ProjectsAccess["All"] = "ALL";
|
|
873
|
+
ProjectsAccess["Assigned"] = "ASSIGNED";
|
|
874
|
+
ProjectsAccess["None"] = "NONE";
|
|
875
|
+
})(ProjectsAccess || (ProjectsAccess = {}));
|
|
876
|
+
export var Roles;
|
|
877
|
+
(function (Roles) {
|
|
878
|
+
Roles["Admin"] = "ADMIN";
|
|
879
|
+
Roles["Employee"] = "EMPLOYEE";
|
|
880
|
+
Roles["Manager"] = "MANAGER";
|
|
881
|
+
Roles["Owner"] = "OWNER";
|
|
882
|
+
})(Roles || (Roles = {}));
|
|
883
|
+
export var SortDirections;
|
|
884
|
+
(function (SortDirections) {
|
|
885
|
+
SortDirections["Asc"] = "ASC";
|
|
886
|
+
SortDirections["Desc"] = "DESC";
|
|
887
|
+
})(SortDirections || (SortDirections = {}));
|
|
888
|
+
export var StringFilterOperator;
|
|
889
|
+
(function (StringFilterOperator) {
|
|
890
|
+
StringFilterOperator["Contains"] = "CONTAINS";
|
|
891
|
+
StringFilterOperator["EndsWith"] = "ENDS_WITH";
|
|
892
|
+
StringFilterOperator["Equals"] = "EQUALS";
|
|
893
|
+
StringFilterOperator["NotContains"] = "NOT_CONTAINS";
|
|
894
|
+
StringFilterOperator["NotEquals"] = "NOT_EQUALS";
|
|
895
|
+
StringFilterOperator["StartsWith"] = "STARTS_WITH";
|
|
896
|
+
})(StringFilterOperator || (StringFilterOperator = {}));
|
|
897
|
+
export var SubscriptionPeriods;
|
|
898
|
+
(function (SubscriptionPeriods) {
|
|
899
|
+
SubscriptionPeriods["FreeTrial"] = "FREE_TRIAL";
|
|
900
|
+
SubscriptionPeriods["Halfyear"] = "HALFYEAR";
|
|
901
|
+
SubscriptionPeriods["Month"] = "MONTH";
|
|
902
|
+
SubscriptionPeriods["Quater"] = "QUATER";
|
|
903
|
+
SubscriptionPeriods["Year"] = "YEAR";
|
|
904
|
+
})(SubscriptionPeriods || (SubscriptionPeriods = {}));
|
|
905
|
+
export var TenantStates;
|
|
906
|
+
(function (TenantStates) {
|
|
907
|
+
TenantStates["PaidExpired"] = "PAID_EXPIRED";
|
|
908
|
+
TenantStates["PaidGrace"] = "PAID_GRACE";
|
|
909
|
+
TenantStates["PaidOk"] = "PAID_OK";
|
|
910
|
+
TenantStates["SoftDeleted"] = "SOFT_DELETED";
|
|
911
|
+
TenantStates["TrialExpired"] = "TRIAL_EXPIRED";
|
|
912
|
+
TenantStates["TrialOk"] = "TRIAL_OK";
|
|
913
|
+
})(TenantStates || (TenantStates = {}));
|
|
914
|
+
export var TimeAllocationSortingOptions;
|
|
915
|
+
(function (TimeAllocationSortingOptions) {
|
|
916
|
+
TimeAllocationSortingOptions["Id"] = "ID";
|
|
917
|
+
})(TimeAllocationSortingOptions || (TimeAllocationSortingOptions = {}));
|
|
918
|
+
export var TimeAvailableSortingOptions;
|
|
919
|
+
(function (TimeAvailableSortingOptions) {
|
|
920
|
+
TimeAvailableSortingOptions["ResourceId"] = "RESOURCE_ID";
|
|
921
|
+
})(TimeAvailableSortingOptions || (TimeAvailableSortingOptions = {}));
|
|
922
|
+
export var TimeChartModeEnumOptions;
|
|
923
|
+
(function (TimeChartModeEnumOptions) {
|
|
924
|
+
TimeChartModeEnumOptions["Day"] = "DAY";
|
|
925
|
+
TimeChartModeEnumOptions["Month"] = "MONTH";
|
|
926
|
+
TimeChartModeEnumOptions["Week"] = "WEEK";
|
|
927
|
+
})(TimeChartModeEnumOptions || (TimeChartModeEnumOptions = {}));
|
|
928
|
+
export var TimeEntryBillableOptions;
|
|
929
|
+
(function (TimeEntryBillableOptions) {
|
|
930
|
+
TimeEntryBillableOptions["All"] = "ALL";
|
|
931
|
+
TimeEntryBillableOptions["Billable"] = "BILLABLE";
|
|
932
|
+
TimeEntryBillableOptions["NonBillable"] = "NON_BILLABLE";
|
|
933
|
+
})(TimeEntryBillableOptions || (TimeEntryBillableOptions = {}));
|
|
934
|
+
export var TimeEntryGroupByOptions;
|
|
935
|
+
(function (TimeEntryGroupByOptions) {
|
|
936
|
+
TimeEntryGroupByOptions["Activities"] = "ACTIVITIES";
|
|
937
|
+
TimeEntryGroupByOptions["Clients"] = "CLIENTS";
|
|
938
|
+
TimeEntryGroupByOptions["Dates"] = "DATES";
|
|
939
|
+
TimeEntryGroupByOptions["Persons"] = "PERSONS";
|
|
940
|
+
TimeEntryGroupByOptions["Projects"] = "PROJECTS";
|
|
941
|
+
})(TimeEntryGroupByOptions || (TimeEntryGroupByOptions = {}));
|
|
942
|
+
export var TimeEntryGroupSortingOptions;
|
|
943
|
+
(function (TimeEntryGroupSortingOptions) {
|
|
944
|
+
TimeEntryGroupSortingOptions["Hours"] = "HOURS";
|
|
945
|
+
TimeEntryGroupSortingOptions["Id"] = "ID";
|
|
946
|
+
TimeEntryGroupSortingOptions["Name"] = "NAME";
|
|
947
|
+
})(TimeEntryGroupSortingOptions || (TimeEntryGroupSortingOptions = {}));
|
|
948
|
+
export var TimeEntryOverwriteBillableOptions;
|
|
949
|
+
(function (TimeEntryOverwriteBillableOptions) {
|
|
950
|
+
TimeEntryOverwriteBillableOptions["Billable"] = "BILLABLE";
|
|
951
|
+
TimeEntryOverwriteBillableOptions["NonBillable"] = "NON_BILLABLE";
|
|
952
|
+
TimeEntryOverwriteBillableOptions["NoOverwrite"] = "NO_OVERWRITE";
|
|
953
|
+
})(TimeEntryOverwriteBillableOptions || (TimeEntryOverwriteBillableOptions = {}));
|
|
954
|
+
export var TimeEntrySortingOptions;
|
|
955
|
+
(function (TimeEntrySortingOptions) {
|
|
956
|
+
TimeEntrySortingOptions["Date"] = "DATE";
|
|
957
|
+
})(TimeEntrySortingOptions || (TimeEntrySortingOptions = {}));
|
|
958
|
+
export var TimeTrackBudgetStatus;
|
|
959
|
+
(function (TimeTrackBudgetStatus) {
|
|
960
|
+
TimeTrackBudgetStatus["InBudget"] = "IN_BUDGET";
|
|
961
|
+
TimeTrackBudgetStatus["NoCalculated"] = "NO_CALCULATED";
|
|
962
|
+
TimeTrackBudgetStatus["OverBudget"] = "OVER_BUDGET";
|
|
963
|
+
TimeTrackBudgetStatus["PartiallyInBudget"] = "PARTIALLY_IN_BUDGET";
|
|
964
|
+
})(TimeTrackBudgetStatus || (TimeTrackBudgetStatus = {}));
|
|
965
|
+
export var WeekStartDays;
|
|
966
|
+
(function (WeekStartDays) {
|
|
967
|
+
WeekStartDays["Monday"] = "MONDAY";
|
|
968
|
+
WeekStartDays["Saturday"] = "SATURDAY";
|
|
969
|
+
WeekStartDays["Sunday"] = "SUNDAY";
|
|
970
|
+
})(WeekStartDays || (WeekStartDays = {}));
|
|
971
|
+
export var WorkunitMetricsBillableTypesOptions;
|
|
972
|
+
(function (WorkunitMetricsBillableTypesOptions) {
|
|
973
|
+
WorkunitMetricsBillableTypesOptions["Billable"] = "BILLABLE";
|
|
974
|
+
WorkunitMetricsBillableTypesOptions["BudgetExceeded"] = "BUDGET_EXCEEDED";
|
|
975
|
+
WorkunitMetricsBillableTypesOptions["BudgetIn"] = "BUDGET_IN";
|
|
976
|
+
WorkunitMetricsBillableTypesOptions["BudgetLeft"] = "BUDGET_LEFT";
|
|
977
|
+
WorkunitMetricsBillableTypesOptions["BudgetNo"] = "BUDGET_NO";
|
|
978
|
+
WorkunitMetricsBillableTypesOptions["NonBillable"] = "NON_BILLABLE";
|
|
979
|
+
WorkunitMetricsBillableTypesOptions["NoTracking"] = "NO_TRACKING";
|
|
980
|
+
WorkunitMetricsBillableTypesOptions["UntrackedActivity"] = "UNTRACKED_ACTIVITY";
|
|
981
|
+
WorkunitMetricsBillableTypesOptions["UntrackedWorkunit"] = "UNTRACKED_WORKUNIT";
|
|
982
|
+
})(WorkunitMetricsBillableTypesOptions || (WorkunitMetricsBillableTypesOptions = {}));
|
|
983
|
+
export var WorkunitMetricsGroupBySortingOptions;
|
|
984
|
+
(function (WorkunitMetricsGroupBySortingOptions) {
|
|
985
|
+
WorkunitMetricsGroupBySortingOptions["GroupByActivity"] = "GROUP_BY_ACTIVITY";
|
|
986
|
+
WorkunitMetricsGroupBySortingOptions["GroupByClient"] = "GROUP_BY_CLIENT";
|
|
987
|
+
WorkunitMetricsGroupBySortingOptions["GroupByGroups"] = "GROUP_BY_GROUPS";
|
|
988
|
+
WorkunitMetricsGroupBySortingOptions["GroupByMonth"] = "GROUP_BY_MONTH";
|
|
989
|
+
WorkunitMetricsGroupBySortingOptions["GroupByPerson"] = "GROUP_BY_PERSON";
|
|
990
|
+
WorkunitMetricsGroupBySortingOptions["GroupByPersonMonth"] = "GROUP_BY_PERSON_MONTH";
|
|
991
|
+
WorkunitMetricsGroupBySortingOptions["GroupByProject"] = "GROUP_BY_PROJECT";
|
|
992
|
+
WorkunitMetricsGroupBySortingOptions["GroupByProjectActivity"] = "GROUP_BY_PROJECT_ACTIVITY";
|
|
993
|
+
WorkunitMetricsGroupBySortingOptions["GroupByProjectPerson"] = "GROUP_BY_PROJECT_PERSON";
|
|
994
|
+
WorkunitMetricsGroupBySortingOptions["GroupByTask"] = "GROUP_BY_TASK";
|
|
995
|
+
WorkunitMetricsGroupBySortingOptions["GroupByWorkunit"] = "GROUP_BY_WORKUNIT";
|
|
996
|
+
})(WorkunitMetricsGroupBySortingOptions || (WorkunitMetricsGroupBySortingOptions = {}));
|
|
997
|
+
export var WorkunitMetricsSortingOptions;
|
|
998
|
+
(function (WorkunitMetricsSortingOptions) {
|
|
999
|
+
WorkunitMetricsSortingOptions["ActivityId"] = "ACTIVITY_ID";
|
|
1000
|
+
WorkunitMetricsSortingOptions["BillableContractedMonthlyHours"] = "BILLABLE_CONTRACTED_MONTHLY_HOURS";
|
|
1001
|
+
WorkunitMetricsSortingOptions["BillableTracked"] = "BILLABLE_TRACKED";
|
|
1002
|
+
WorkunitMetricsSortingOptions["BillableTrackedPctTracked"] = "BILLABLE_TRACKED_PCT_TRACKED";
|
|
1003
|
+
WorkunitMetricsSortingOptions["BillableUntracked"] = "BILLABLE_UNTRACKED";
|
|
1004
|
+
WorkunitMetricsSortingOptions["BudgetName"] = "BUDGET_NAME";
|
|
1005
|
+
WorkunitMetricsSortingOptions["Costs"] = "COSTS";
|
|
1006
|
+
WorkunitMetricsSortingOptions["CostsSalary"] = "COSTS_SALARY";
|
|
1007
|
+
WorkunitMetricsSortingOptions["EstimatedHours"] = "ESTIMATED_HOURS";
|
|
1008
|
+
WorkunitMetricsSortingOptions["ExceededEstimatedHours"] = "EXCEEDED_ESTIMATED_HOURS";
|
|
1009
|
+
WorkunitMetricsSortingOptions["Id"] = "ID";
|
|
1010
|
+
WorkunitMetricsSortingOptions["LeftEstimatedHours"] = "LEFT_ESTIMATED_HOURS";
|
|
1011
|
+
WorkunitMetricsSortingOptions["MonthlyBonus"] = "MONTHLY_BONUS";
|
|
1012
|
+
WorkunitMetricsSortingOptions["MonthlySalary"] = "MONTHLY_SALARY";
|
|
1013
|
+
WorkunitMetricsSortingOptions["Name"] = "NAME";
|
|
1014
|
+
WorkunitMetricsSortingOptions["NonBillable"] = "NON_BILLABLE";
|
|
1015
|
+
WorkunitMetricsSortingOptions["OverheadCosts"] = "OVERHEAD_COSTS";
|
|
1016
|
+
WorkunitMetricsSortingOptions["Profit"] = "PROFIT";
|
|
1017
|
+
WorkunitMetricsSortingOptions["Revenue"] = "REVENUE";
|
|
1018
|
+
WorkunitMetricsSortingOptions["SalaryProfit"] = "SALARY_PROFIT";
|
|
1019
|
+
WorkunitMetricsSortingOptions["Subgroup"] = "SUBGROUP";
|
|
1020
|
+
WorkunitMetricsSortingOptions["TrackedContractedMonthlyHours"] = "TRACKED_CONTRACTED_MONTHLY_HOURS";
|
|
1021
|
+
WorkunitMetricsSortingOptions["TrackedEstimatedHours"] = "TRACKED_ESTIMATED_HOURS";
|
|
1022
|
+
WorkunitMetricsSortingOptions["TrackedHours"] = "TRACKED_HOURS";
|
|
1023
|
+
})(WorkunitMetricsSortingOptions || (WorkunitMetricsSortingOptions = {}));
|
|
1024
|
+
export var WorkweekTypeEnum;
|
|
1025
|
+
(function (WorkweekTypeEnum) {
|
|
1026
|
+
WorkweekTypeEnum["Person"] = "PERSON";
|
|
1027
|
+
WorkweekTypeEnum["Tenant"] = "TENANT";
|
|
1028
|
+
})(WorkweekTypeEnum || (WorkweekTypeEnum = {}));
|
|
1029
|
+
export const McpListCompaniesDocument = gql `
|
|
1030
|
+
query McpListCompanies($pagination: PaginationInput) {
|
|
1031
|
+
companies(pagination: $pagination) {
|
|
1032
|
+
totalCount
|
|
1033
|
+
items {
|
|
1034
|
+
id
|
|
1035
|
+
name
|
|
1036
|
+
disabled
|
|
1037
|
+
type
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
`;
|
|
1042
|
+
export const McpListActivitiesDocument = gql `
|
|
1043
|
+
query McpListActivities($pagination: PaginationInput) {
|
|
1044
|
+
activities(pagination: $pagination) {
|
|
1045
|
+
totalCount
|
|
1046
|
+
items {
|
|
1047
|
+
id
|
|
1048
|
+
name
|
|
1049
|
+
disabled
|
|
1050
|
+
tenantId
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
`;
|
|
1055
|
+
export const McpListTagsDocument = gql `
|
|
1056
|
+
query McpListTags {
|
|
1057
|
+
tags {
|
|
1058
|
+
id
|
|
1059
|
+
name
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
`;
|
|
1063
|
+
export const McpListGroupsDocument = gql `
|
|
1064
|
+
query McpListGroups($pagination: PaginationInput) {
|
|
1065
|
+
groups(pagination: $pagination) {
|
|
1066
|
+
totalCount
|
|
1067
|
+
items {
|
|
1068
|
+
id
|
|
1069
|
+
name
|
|
1070
|
+
people {
|
|
1071
|
+
id
|
|
1072
|
+
firstName
|
|
1073
|
+
lastName
|
|
1074
|
+
email
|
|
1075
|
+
role
|
|
1076
|
+
}
|
|
1077
|
+
activities {
|
|
1078
|
+
id
|
|
1079
|
+
name
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
`;
|
|
1085
|
+
export const McpListPeopleDocument = gql `
|
|
1086
|
+
query McpListPeople($pagination: PaginationInput) {
|
|
1087
|
+
people(pagination: $pagination) {
|
|
1088
|
+
totalCount
|
|
1089
|
+
items {
|
|
1090
|
+
id
|
|
1091
|
+
firstName
|
|
1092
|
+
lastName
|
|
1093
|
+
name
|
|
1094
|
+
email
|
|
1095
|
+
role
|
|
1096
|
+
disabled
|
|
1097
|
+
hourlyRate
|
|
1098
|
+
groupIds
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
`;
|
|
1103
|
+
export const McpGetMeDocument = gql `
|
|
1104
|
+
query McpGetMe {
|
|
1105
|
+
currentAccount {
|
|
1106
|
+
id
|
|
1107
|
+
email
|
|
1108
|
+
firstName
|
|
1109
|
+
lastName
|
|
1110
|
+
}
|
|
1111
|
+
currentPerson {
|
|
1112
|
+
id
|
|
1113
|
+
firstName
|
|
1114
|
+
lastName
|
|
1115
|
+
name
|
|
1116
|
+
email
|
|
1117
|
+
role
|
|
1118
|
+
disabled
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
`;
|
|
1122
|
+
export const McpGetBudgetForPeopleDocument = gql `
|
|
1123
|
+
query McpGetBudgetForPeople($budgetId: Int!) {
|
|
1124
|
+
getBudget(budgetId: $budgetId) {
|
|
1125
|
+
id
|
|
1126
|
+
name
|
|
1127
|
+
state
|
|
1128
|
+
companyId
|
|
1129
|
+
company {
|
|
1130
|
+
id
|
|
1131
|
+
name
|
|
1132
|
+
}
|
|
1133
|
+
activityBudgets {
|
|
1134
|
+
activityId
|
|
1135
|
+
activity {
|
|
1136
|
+
id
|
|
1137
|
+
name
|
|
1138
|
+
}
|
|
1139
|
+
budgetHours
|
|
1140
|
+
hoursTrackedSUM
|
|
1141
|
+
peopleBudgets {
|
|
1142
|
+
personId
|
|
1143
|
+
budgetHours
|
|
1144
|
+
person {
|
|
1145
|
+
id
|
|
1146
|
+
firstName
|
|
1147
|
+
lastName
|
|
1148
|
+
email
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
responsiblePeople {
|
|
1153
|
+
id
|
|
1154
|
+
firstName
|
|
1155
|
+
lastName
|
|
1156
|
+
email
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
`;
|
|
1161
|
+
export const McpListBudgetsDocument = gql `
|
|
1162
|
+
query McpListBudgets($filter: BudgetFilterInput, $pagination: PaginationInput, $sorting: BudgetSortingInput) {
|
|
1163
|
+
budgets(filter: $filter, pagination: $pagination, sorting: $sorting) {
|
|
1164
|
+
totalCount
|
|
1165
|
+
items {
|
|
1166
|
+
id
|
|
1167
|
+
name
|
|
1168
|
+
state
|
|
1169
|
+
startOn
|
|
1170
|
+
endOn
|
|
1171
|
+
company {
|
|
1172
|
+
id
|
|
1173
|
+
name
|
|
1174
|
+
}
|
|
1175
|
+
clientRateType
|
|
1176
|
+
type
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
`;
|
|
1181
|
+
export const McpGetBudgetDetailDocument = gql `
|
|
1182
|
+
query McpGetBudgetDetail($budgetId: Int!) {
|
|
1183
|
+
getBudget(budgetId: $budgetId) {
|
|
1184
|
+
id
|
|
1185
|
+
name
|
|
1186
|
+
state
|
|
1187
|
+
startOn
|
|
1188
|
+
endOn
|
|
1189
|
+
companyId
|
|
1190
|
+
company {
|
|
1191
|
+
id
|
|
1192
|
+
name
|
|
1193
|
+
}
|
|
1194
|
+
tags {
|
|
1195
|
+
id
|
|
1196
|
+
name
|
|
1197
|
+
}
|
|
1198
|
+
metrics {
|
|
1199
|
+
hasBillableRevenue
|
|
1200
|
+
totalBilled
|
|
1201
|
+
activityTotal {
|
|
1202
|
+
billableHours
|
|
1203
|
+
budgetHours
|
|
1204
|
+
revenue
|
|
1205
|
+
revenueBudget
|
|
1206
|
+
taskTrackedSeconds
|
|
1207
|
+
trackedBillableSeconds
|
|
1208
|
+
trackedSeconds
|
|
1209
|
+
}
|
|
1210
|
+
costsTotal {
|
|
1211
|
+
cost
|
|
1212
|
+
profit
|
|
1213
|
+
profitMargin
|
|
1214
|
+
revenue
|
|
1215
|
+
}
|
|
1216
|
+
costsNotBudgetTotal {
|
|
1217
|
+
cost
|
|
1218
|
+
revenue
|
|
1219
|
+
profitMargin
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
`;
|
|
1225
|
+
export const McpGetBudgetBillingDocument = gql `
|
|
1226
|
+
query McpGetBudgetBilling($budgetId: Int!) {
|
|
1227
|
+
getBudget(budgetId: $budgetId) {
|
|
1228
|
+
id
|
|
1229
|
+
name
|
|
1230
|
+
bills {
|
|
1231
|
+
id
|
|
1232
|
+
name
|
|
1233
|
+
amount
|
|
1234
|
+
date
|
|
1235
|
+
isIssued
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
`;
|
|
1240
|
+
export const McpGetBudgetCostBudgetsDocument = gql `
|
|
1241
|
+
query McpGetBudgetCostBudgets($budgetId: Int!) {
|
|
1242
|
+
getBudget(budgetId: $budgetId) {
|
|
1243
|
+
id
|
|
1244
|
+
name
|
|
1245
|
+
costBudgets {
|
|
1246
|
+
id
|
|
1247
|
+
name
|
|
1248
|
+
buy
|
|
1249
|
+
sell
|
|
1250
|
+
type
|
|
1251
|
+
date
|
|
1252
|
+
category {
|
|
1253
|
+
id
|
|
1254
|
+
name
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
`;
|
|
1260
|
+
export const McpSearchGloballyDocument = gql `
|
|
1261
|
+
query McpSearchGlobally($query: String!) {
|
|
1262
|
+
searchGlobally(query: $query) {
|
|
1263
|
+
budgetIds
|
|
1264
|
+
budgets {
|
|
1265
|
+
id
|
|
1266
|
+
name
|
|
1267
|
+
state
|
|
1268
|
+
company {
|
|
1269
|
+
id
|
|
1270
|
+
name
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
`;
|
|
1276
|
+
export const McpCreateProjectAndBudgetDocument = gql `
|
|
1277
|
+
mutation McpCreateProjectAndBudget($input: CreateProjectAndBudgetInput!) {
|
|
1278
|
+
createProjectAndBudget(createProjectAndBudgetInput: $input) {
|
|
1279
|
+
id
|
|
1280
|
+
name
|
|
1281
|
+
state
|
|
1282
|
+
startOn
|
|
1283
|
+
endOn
|
|
1284
|
+
companyId
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
`;
|
|
1288
|
+
export const McpUpdateBudgetAndProjectDocument = gql `
|
|
1289
|
+
mutation McpUpdateBudgetAndProject($budgetId: Int!, $input: UpdateBudgetAndProjectInput!) {
|
|
1290
|
+
updateBudgetAndProject(budgetId: $budgetId, updateBudgetAndProjectInput: $input) {
|
|
1291
|
+
id
|
|
1292
|
+
name
|
|
1293
|
+
state
|
|
1294
|
+
startOn
|
|
1295
|
+
endOn
|
|
1296
|
+
companyId
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
`;
|
|
1300
|
+
export const McpTimeEntriesDocument = gql `
|
|
1301
|
+
query McpTimeEntries($filter: TimeEntryFilterInput!, $pagination: PaginationInput, $sorting: TimeEntrySortingInput) {
|
|
1302
|
+
timeEntries(filter: $filter, pagination: $pagination, sorting: $sorting) {
|
|
1303
|
+
totalCount
|
|
1304
|
+
items {
|
|
1305
|
+
uuid
|
|
1306
|
+
startAt
|
|
1307
|
+
description
|
|
1308
|
+
duration
|
|
1309
|
+
secondsBillable
|
|
1310
|
+
budgetName
|
|
1311
|
+
activityName
|
|
1312
|
+
subTaskName
|
|
1313
|
+
personName
|
|
1314
|
+
assignmentKey {
|
|
1315
|
+
personId
|
|
1316
|
+
taskKey {
|
|
1317
|
+
budgetId
|
|
1318
|
+
activityId
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
`;
|
|
1325
|
+
export const McpTimeEntriesGroupDocument = gql `
|
|
1326
|
+
query McpTimeEntriesGroup($filter: TimeEntryFilterInput!, $groupBy: TimeEntryGroupByFilterInput!, $sorting: TimeEntryGroupSortingInput!) {
|
|
1327
|
+
timeEntriesGroup(filter: $filter, groupBy: $groupBy, sorting: $sorting) {
|
|
1328
|
+
name
|
|
1329
|
+
duration
|
|
1330
|
+
scs_billable
|
|
1331
|
+
person_id
|
|
1332
|
+
project_id
|
|
1333
|
+
activity_id
|
|
1334
|
+
subgroup {
|
|
1335
|
+
name
|
|
1336
|
+
duration
|
|
1337
|
+
scs_billable
|
|
1338
|
+
person_id
|
|
1339
|
+
project_id
|
|
1340
|
+
activity_id
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
`;
|
|
1345
|
+
export const McpRunningTrackingDocument = gql `
|
|
1346
|
+
query McpRunningTracking {
|
|
1347
|
+
runningTracking {
|
|
1348
|
+
uuid
|
|
1349
|
+
startAt
|
|
1350
|
+
description
|
|
1351
|
+
duration
|
|
1352
|
+
personName
|
|
1353
|
+
budgetName
|
|
1354
|
+
activityName
|
|
1355
|
+
assignmentKey {
|
|
1356
|
+
personId
|
|
1357
|
+
taskKey {
|
|
1358
|
+
budgetId
|
|
1359
|
+
activityId
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
`;
|
|
1365
|
+
export const McpAssignmentsDocument = gql `
|
|
1366
|
+
query McpAssignments($personId: Int!, $startsBefore: DateTime!) {
|
|
1367
|
+
assignments(personId: $personId, startsBefore: $startsBefore) {
|
|
1368
|
+
budgetName
|
|
1369
|
+
activityName
|
|
1370
|
+
companyName
|
|
1371
|
+
personName
|
|
1372
|
+
key {
|
|
1373
|
+
personId
|
|
1374
|
+
taskKey {
|
|
1375
|
+
budgetId
|
|
1376
|
+
activityId
|
|
1377
|
+
subtaskId
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
`;
|
|
1383
|
+
export const McpCreateTimeEntryDocument = gql `
|
|
1384
|
+
mutation McpCreateTimeEntry($input: [CreateTimeEntryInput!]!) {
|
|
1385
|
+
createTimeEntry(input: $input) {
|
|
1386
|
+
uuid
|
|
1387
|
+
startAt
|
|
1388
|
+
description
|
|
1389
|
+
duration
|
|
1390
|
+
budgetName
|
|
1391
|
+
activityName
|
|
1392
|
+
personName
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
`;
|
|
1396
|
+
export const DailyTimeEntriesDocument = gql `
|
|
1397
|
+
query DailyTimeEntries($filter: TimeEntryFilterInput!, $pagination: PaginationInput, $sorting: TimeEntrySortingInput) {
|
|
1398
|
+
timeEntries(filter: $filter, pagination: $pagination, sorting: $sorting) {
|
|
1399
|
+
items {
|
|
1400
|
+
uuid
|
|
1401
|
+
startAt
|
|
1402
|
+
description
|
|
1403
|
+
duration
|
|
1404
|
+
secondsBillable
|
|
1405
|
+
budgetName
|
|
1406
|
+
activityName
|
|
1407
|
+
subTaskName
|
|
1408
|
+
personName
|
|
1409
|
+
}
|
|
1410
|
+
totalCount
|
|
1411
|
+
pagination {
|
|
1412
|
+
page
|
|
1413
|
+
pageSize
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
`;
|
|
1418
|
+
export const UpdateTimeEntryDocument = gql `
|
|
1419
|
+
mutation UpdateTimeEntry($input: [UpdateTimeEntryInput!]!) {
|
|
1420
|
+
updateTimeEntry(input: $input) {
|
|
1421
|
+
uuid
|
|
1422
|
+
description
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
`;
|
|
1426
|
+
export function getSdk(requester) {
|
|
1427
|
+
return {
|
|
1428
|
+
McpListCompanies(variables, options) {
|
|
1429
|
+
return requester(McpListCompaniesDocument, variables, options);
|
|
1430
|
+
},
|
|
1431
|
+
McpListActivities(variables, options) {
|
|
1432
|
+
return requester(McpListActivitiesDocument, variables, options);
|
|
1433
|
+
},
|
|
1434
|
+
McpListTags(variables, options) {
|
|
1435
|
+
return requester(McpListTagsDocument, variables, options);
|
|
1436
|
+
},
|
|
1437
|
+
McpListGroups(variables, options) {
|
|
1438
|
+
return requester(McpListGroupsDocument, variables, options);
|
|
1439
|
+
},
|
|
1440
|
+
McpListPeople(variables, options) {
|
|
1441
|
+
return requester(McpListPeopleDocument, variables, options);
|
|
1442
|
+
},
|
|
1443
|
+
McpGetMe(variables, options) {
|
|
1444
|
+
return requester(McpGetMeDocument, variables, options);
|
|
1445
|
+
},
|
|
1446
|
+
McpGetBudgetForPeople(variables, options) {
|
|
1447
|
+
return requester(McpGetBudgetForPeopleDocument, variables, options);
|
|
1448
|
+
},
|
|
1449
|
+
McpListBudgets(variables, options) {
|
|
1450
|
+
return requester(McpListBudgetsDocument, variables, options);
|
|
1451
|
+
},
|
|
1452
|
+
McpGetBudgetDetail(variables, options) {
|
|
1453
|
+
return requester(McpGetBudgetDetailDocument, variables, options);
|
|
1454
|
+
},
|
|
1455
|
+
McpGetBudgetBilling(variables, options) {
|
|
1456
|
+
return requester(McpGetBudgetBillingDocument, variables, options);
|
|
1457
|
+
},
|
|
1458
|
+
McpGetBudgetCostBudgets(variables, options) {
|
|
1459
|
+
return requester(McpGetBudgetCostBudgetsDocument, variables, options);
|
|
1460
|
+
},
|
|
1461
|
+
McpSearchGlobally(variables, options) {
|
|
1462
|
+
return requester(McpSearchGloballyDocument, variables, options);
|
|
1463
|
+
},
|
|
1464
|
+
McpCreateProjectAndBudget(variables, options) {
|
|
1465
|
+
return requester(McpCreateProjectAndBudgetDocument, variables, options);
|
|
1466
|
+
},
|
|
1467
|
+
McpUpdateBudgetAndProject(variables, options) {
|
|
1468
|
+
return requester(McpUpdateBudgetAndProjectDocument, variables, options);
|
|
1469
|
+
},
|
|
1470
|
+
McpTimeEntries(variables, options) {
|
|
1471
|
+
return requester(McpTimeEntriesDocument, variables, options);
|
|
1472
|
+
},
|
|
1473
|
+
McpTimeEntriesGroup(variables, options) {
|
|
1474
|
+
return requester(McpTimeEntriesGroupDocument, variables, options);
|
|
1475
|
+
},
|
|
1476
|
+
McpRunningTracking(variables, options) {
|
|
1477
|
+
return requester(McpRunningTrackingDocument, variables, options);
|
|
1478
|
+
},
|
|
1479
|
+
McpAssignments(variables, options) {
|
|
1480
|
+
return requester(McpAssignmentsDocument, variables, options);
|
|
1481
|
+
},
|
|
1482
|
+
McpCreateTimeEntry(variables, options) {
|
|
1483
|
+
return requester(McpCreateTimeEntryDocument, variables, options);
|
|
1484
|
+
},
|
|
1485
|
+
DailyTimeEntries(variables, options) {
|
|
1486
|
+
return requester(DailyTimeEntriesDocument, variables, options);
|
|
1487
|
+
},
|
|
1488
|
+
UpdateTimeEntry(variables, options) {
|
|
1489
|
+
return requester(UpdateTimeEntryDocument, variables, options);
|
|
1490
|
+
}
|
|
1491
|
+
};
|
|
1492
|
+
}
|