@outseta/api-client 0.2.5 → 0.3.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 +8 -23
- package/dist/index.js +1403 -1
- package/package.json +1 -1
- package/src/client.ts +7 -0
- package/src/index.ts +8 -3
package/dist/index.js
CHANGED
|
@@ -22,6 +22,9 @@ function createClient(creds) {
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
+
function withClient(client, init = {}) {
|
|
26
|
+
return { ...init, client };
|
|
27
|
+
}
|
|
25
28
|
var customFetch = async (url, options) => {
|
|
26
29
|
const { client, ...init } = options;
|
|
27
30
|
if (!client) {
|
|
@@ -31,7 +34,1406 @@ var customFetch = async (url, options) => {
|
|
|
31
34
|
const data = response.headers.get("content-type")?.includes("application/json") ? await response.json() : undefined;
|
|
32
35
|
return { data, status: response.status, headers: response.headers };
|
|
33
36
|
};
|
|
37
|
+
// src/generated/activity/activity.ts
|
|
38
|
+
var getActivityGetAllUrl = (params) => {
|
|
39
|
+
const normalizedParams = new URLSearchParams;
|
|
40
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
41
|
+
const explodeParameters = ["criteria"];
|
|
42
|
+
if (Array.isArray(value) && explodeParameters.includes(key)) {
|
|
43
|
+
value.forEach((v) => {
|
|
44
|
+
normalizedParams.append(key, v === null ? "null" : v.toString());
|
|
45
|
+
});
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (value !== undefined) {
|
|
49
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const stringifiedParams = normalizedParams.toString();
|
|
53
|
+
return stringifiedParams.length > 0 ? `/api/v1/activities?${stringifiedParams}` : `/api/v1/activities`;
|
|
54
|
+
};
|
|
55
|
+
var activityGetAll = async (params, options) => {
|
|
56
|
+
return customFetch(getActivityGetAllUrl(params), {
|
|
57
|
+
...options,
|
|
58
|
+
method: "GET"
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
var getActivityAddCustomActivityUrl = () => {
|
|
62
|
+
return `/api/v1/activities/customactivity`;
|
|
63
|
+
};
|
|
64
|
+
var activityAddCustomActivity = async (activityAddCustomActivityBody, options) => {
|
|
65
|
+
return customFetch(getActivityAddCustomActivityUrl(), {
|
|
66
|
+
...options,
|
|
67
|
+
method: "POST",
|
|
68
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
69
|
+
body: JSON.stringify(activityAddCustomActivityBody)
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
// src/generated/billing/billing.ts
|
|
73
|
+
var getDiscountCouponAddDiscountCouponUrl = () => {
|
|
74
|
+
return `/api/v1/billing/discountcoupons`;
|
|
75
|
+
};
|
|
76
|
+
var discountCouponAddDiscountCoupon = async (discountCouponAddDiscountCouponBody, options) => {
|
|
77
|
+
return customFetch(getDiscountCouponAddDiscountCouponUrl(), {
|
|
78
|
+
...options,
|
|
79
|
+
method: "POST",
|
|
80
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
81
|
+
body: JSON.stringify(discountCouponAddDiscountCouponBody)
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
var getUsageAddUsageUrl = () => {
|
|
85
|
+
return `/api/v1/billing/usage`;
|
|
86
|
+
};
|
|
87
|
+
var usageAddUsage = async (usageAddUsageBody, options) => {
|
|
88
|
+
return customFetch(getUsageAddUsageUrl(), {
|
|
89
|
+
...options,
|
|
90
|
+
method: "POST",
|
|
91
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
92
|
+
body: JSON.stringify(usageAddUsageBody)
|
|
93
|
+
});
|
|
94
|
+
};
|
|
95
|
+
var getTransactionsGetAllTransactionsByAccountIdUrl = (accountUid) => {
|
|
96
|
+
return `/api/v1/billing/transactions/${accountUid}`;
|
|
97
|
+
};
|
|
98
|
+
var transactionsGetAllTransactionsByAccountId = async (accountUid, options) => {
|
|
99
|
+
return customFetch(getTransactionsGetAllTransactionsByAccountIdUrl(accountUid), {
|
|
100
|
+
...options,
|
|
101
|
+
method: "GET"
|
|
102
|
+
});
|
|
103
|
+
};
|
|
104
|
+
var getTransactionsAddPaymentTransactionUrl = () => {
|
|
105
|
+
return `/api/v1/billing/transactions/payment`;
|
|
106
|
+
};
|
|
107
|
+
var transactionsAddPaymentTransaction = async (transactionsAddPaymentTransactionBody, options) => {
|
|
108
|
+
return customFetch(getTransactionsAddPaymentTransactionUrl(), {
|
|
109
|
+
...options,
|
|
110
|
+
method: "POST",
|
|
111
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
112
|
+
body: JSON.stringify(transactionsAddPaymentTransactionBody)
|
|
113
|
+
});
|
|
114
|
+
};
|
|
115
|
+
var getPaymentInformationSavePaymentInformationUrl = () => {
|
|
116
|
+
return `/api/v1/billing/paymentinformation`;
|
|
117
|
+
};
|
|
118
|
+
var paymentInformationSavePaymentInformation = async (paymentInformationSavePaymentInformationBody, options) => {
|
|
119
|
+
return customFetch(getPaymentInformationSavePaymentInformationUrl(), {
|
|
120
|
+
...options,
|
|
121
|
+
method: "POST",
|
|
122
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
123
|
+
body: JSON.stringify(paymentInformationSavePaymentInformationBody)
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
var getSubscriptionAddOnAddSubscriptionAddOnUrl = () => {
|
|
127
|
+
return `/api/v1/billing/subscriptionaddons`;
|
|
128
|
+
};
|
|
129
|
+
var subscriptionAddOnAddSubscriptionAddOn = async (subscriptionAddOnAddSubscriptionAddOnBody, options) => {
|
|
130
|
+
return customFetch(getSubscriptionAddOnAddSubscriptionAddOnUrl(), {
|
|
131
|
+
...options,
|
|
132
|
+
method: "POST",
|
|
133
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
134
|
+
body: JSON.stringify(subscriptionAddOnAddSubscriptionAddOnBody)
|
|
135
|
+
});
|
|
136
|
+
};
|
|
137
|
+
var getInvoiceGetAllInvoicesUrl = () => {
|
|
138
|
+
return `/api/v1/billing/invoices`;
|
|
139
|
+
};
|
|
140
|
+
var invoiceGetAllInvoices = async (options) => {
|
|
141
|
+
return customFetch(getInvoiceGetAllInvoicesUrl(), {
|
|
142
|
+
...options,
|
|
143
|
+
method: "GET"
|
|
144
|
+
});
|
|
145
|
+
};
|
|
146
|
+
var getInvoiceAddInvoiceUrl = () => {
|
|
147
|
+
return `/api/v1/billing/invoices`;
|
|
148
|
+
};
|
|
149
|
+
var invoiceAddInvoice = async (invoiceAddInvoiceBody, options) => {
|
|
150
|
+
return customFetch(getInvoiceAddInvoiceUrl(), {
|
|
151
|
+
...options,
|
|
152
|
+
method: "POST",
|
|
153
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
154
|
+
body: JSON.stringify(invoiceAddInvoiceBody)
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
var getInvoiceGetInvoiceUrl = (invoiceUid) => {
|
|
158
|
+
return `/api/v1/billing/invoices/${invoiceUid}`;
|
|
159
|
+
};
|
|
160
|
+
var invoiceGetInvoice = async (invoiceUid, options) => {
|
|
161
|
+
return customFetch(getInvoiceGetInvoiceUrl(invoiceUid), {
|
|
162
|
+
...options,
|
|
163
|
+
method: "GET"
|
|
164
|
+
});
|
|
165
|
+
};
|
|
166
|
+
var getInvoiceUpdateInvoiceUrl = (invoiceUid) => {
|
|
167
|
+
return `/api/v1/billing/invoices/${invoiceUid}`;
|
|
168
|
+
};
|
|
169
|
+
var invoiceUpdateInvoice = async (invoiceUid, invoiceUpdateInvoiceBody, options) => {
|
|
170
|
+
return customFetch(getInvoiceUpdateInvoiceUrl(invoiceUid), {
|
|
171
|
+
...options,
|
|
172
|
+
method: "PUT",
|
|
173
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
174
|
+
body: JSON.stringify(invoiceUpdateInvoiceBody)
|
|
175
|
+
});
|
|
176
|
+
};
|
|
177
|
+
var getInvoiceDeleteInvoiceUrl = (invoiceUid) => {
|
|
178
|
+
return `/api/v1/billing/invoices/${invoiceUid}`;
|
|
179
|
+
};
|
|
180
|
+
var invoiceDeleteInvoice = async (invoiceUid, options) => {
|
|
181
|
+
return customFetch(getInvoiceDeleteInvoiceUrl(invoiceUid), {
|
|
182
|
+
...options,
|
|
183
|
+
method: "DELETE"
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
var getInvoiceGetInvoiceAsPdfUrl = (invoiceUid) => {
|
|
187
|
+
return `/api/v1/billing/invoices/${invoiceUid}/pdf`;
|
|
188
|
+
};
|
|
189
|
+
var invoiceGetInvoiceAsPdf = async (invoiceUid, options) => {
|
|
190
|
+
return customFetch(getInvoiceGetInvoiceAsPdfUrl(invoiceUid), {
|
|
191
|
+
...options,
|
|
192
|
+
method: "GET"
|
|
193
|
+
});
|
|
194
|
+
};
|
|
195
|
+
var getInvoiceSendInvoiceEmailUrl = (invoiceUid) => {
|
|
196
|
+
return `/api/v1/billing/invoices/${invoiceUid}/sendinvoiceemail`;
|
|
197
|
+
};
|
|
198
|
+
var invoiceSendInvoiceEmail = async (invoiceUid, options) => {
|
|
199
|
+
return customFetch(getInvoiceSendInvoiceEmailUrl(invoiceUid), {
|
|
200
|
+
...options,
|
|
201
|
+
method: "POST"
|
|
202
|
+
});
|
|
203
|
+
};
|
|
204
|
+
var getInvoiceSendInvoicePaidEmailUrl = (invoiceUid) => {
|
|
205
|
+
return `/api/v1/billing/invoices/${invoiceUid}/sendinvoicepaidemail`;
|
|
206
|
+
};
|
|
207
|
+
var invoiceSendInvoicePaidEmail = async (invoiceUid, options) => {
|
|
208
|
+
return customFetch(getInvoiceSendInvoicePaidEmailUrl(invoiceUid), {
|
|
209
|
+
...options,
|
|
210
|
+
method: "POST"
|
|
211
|
+
});
|
|
212
|
+
};
|
|
213
|
+
var getSubscriptionGetSubscriptionUrl = (subscriptionUid) => {
|
|
214
|
+
return `/api/v1/billing/subscriptions/${subscriptionUid}`;
|
|
215
|
+
};
|
|
216
|
+
var subscriptionGetSubscription = async (subscriptionUid, options) => {
|
|
217
|
+
return customFetch(getSubscriptionGetSubscriptionUrl(subscriptionUid), {
|
|
218
|
+
...options,
|
|
219
|
+
method: "GET"
|
|
220
|
+
});
|
|
221
|
+
};
|
|
222
|
+
var getSubscriptionAddDiscountToSubscriptionUrl = (subscriptionUid, discountUid) => {
|
|
223
|
+
return `/api/v1/billing/subscriptions/${subscriptionUid}/discounts/${discountUid}`;
|
|
224
|
+
};
|
|
225
|
+
var subscriptionAddDiscountToSubscription = async (subscriptionUid, discountUid, options) => {
|
|
226
|
+
return customFetch(getSubscriptionAddDiscountToSubscriptionUrl(subscriptionUid, discountUid), {
|
|
227
|
+
...options,
|
|
228
|
+
method: "POST"
|
|
229
|
+
});
|
|
230
|
+
};
|
|
231
|
+
var getSubscriptionSetSubscriptionUpgradeRequiredUrl = (subscriptionUid) => {
|
|
232
|
+
return `/api/v1/billing/subscriptions/${subscriptionUid}/setsubscriptionupgraderequired`;
|
|
233
|
+
};
|
|
234
|
+
var subscriptionSetSubscriptionUpgradeRequired = async (subscriptionUid, subscriptionSetSubscriptionUpgradeRequiredBody, options) => {
|
|
235
|
+
return customFetch(getSubscriptionSetSubscriptionUpgradeRequiredUrl(subscriptionUid), {
|
|
236
|
+
...options,
|
|
237
|
+
method: "PUT",
|
|
238
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
239
|
+
body: JSON.stringify(subscriptionSetSubscriptionUpgradeRequiredBody)
|
|
240
|
+
});
|
|
241
|
+
};
|
|
242
|
+
var getSubscriptionFirstTimeSubscriptionPreviewUrl = (params) => {
|
|
243
|
+
const normalizedParams = new URLSearchParams;
|
|
244
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
245
|
+
if (value !== undefined) {
|
|
246
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
const stringifiedParams = normalizedParams.toString();
|
|
250
|
+
return stringifiedParams.length > 0 ? `/api/v1/billing/subscriptions/compute-charge-summary?${stringifiedParams}` : `/api/v1/billing/subscriptions/compute-charge-summary`;
|
|
251
|
+
};
|
|
252
|
+
var subscriptionFirstTimeSubscriptionPreview = async (subscriptionFirstTimeSubscriptionPreviewBody, params, options) => {
|
|
253
|
+
return customFetch(getSubscriptionFirstTimeSubscriptionPreviewUrl(params), {
|
|
254
|
+
...options,
|
|
255
|
+
method: "POST",
|
|
256
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
257
|
+
body: JSON.stringify(subscriptionFirstTimeSubscriptionPreviewBody)
|
|
258
|
+
});
|
|
259
|
+
};
|
|
260
|
+
var getSubscriptionFirstTimeSubscriptionUrl = () => {
|
|
261
|
+
return `/api/v1/billing/subscriptions/firsttimesubscription`;
|
|
262
|
+
};
|
|
263
|
+
var subscriptionFirstTimeSubscription = async (subscriptionFirstTimeSubscriptionBody, options) => {
|
|
264
|
+
return customFetch(getSubscriptionFirstTimeSubscriptionUrl(), {
|
|
265
|
+
...options,
|
|
266
|
+
method: "PUT",
|
|
267
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
268
|
+
body: JSON.stringify(subscriptionFirstTimeSubscriptionBody)
|
|
269
|
+
});
|
|
270
|
+
};
|
|
271
|
+
var getSubscriptionChangeSubscriptionPreviewUrl = (subscriptionUid, params) => {
|
|
272
|
+
const normalizedParams = new URLSearchParams;
|
|
273
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
274
|
+
if (value !== undefined) {
|
|
275
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
const stringifiedParams = normalizedParams.toString();
|
|
279
|
+
return stringifiedParams.length > 0 ? `/api/v1/billing/subscriptions/${subscriptionUid}/changesubscriptionpreview?${stringifiedParams}` : `/api/v1/billing/subscriptions/${subscriptionUid}/changesubscriptionpreview`;
|
|
280
|
+
};
|
|
281
|
+
var subscriptionChangeSubscriptionPreview = async (subscriptionUid, subscriptionChangeSubscriptionPreviewBody, params, options) => {
|
|
282
|
+
return customFetch(getSubscriptionChangeSubscriptionPreviewUrl(subscriptionUid, params), {
|
|
283
|
+
...options,
|
|
284
|
+
method: "PUT",
|
|
285
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
286
|
+
body: JSON.stringify(subscriptionChangeSubscriptionPreviewBody)
|
|
287
|
+
});
|
|
288
|
+
};
|
|
289
|
+
var getSubscriptionChangeSubscriptionUrl = (subscriptionUid, params) => {
|
|
290
|
+
const normalizedParams = new URLSearchParams;
|
|
291
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
292
|
+
if (value !== undefined) {
|
|
293
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
const stringifiedParams = normalizedParams.toString();
|
|
297
|
+
return stringifiedParams.length > 0 ? `/api/v1/billing/subscriptions/${subscriptionUid}/changesubscription?${stringifiedParams}` : `/api/v1/billing/subscriptions/${subscriptionUid}/changesubscription`;
|
|
298
|
+
};
|
|
299
|
+
var subscriptionChangeSubscription = async (subscriptionUid, subscriptionChangeSubscriptionBody, params, options) => {
|
|
300
|
+
return customFetch(getSubscriptionChangeSubscriptionUrl(subscriptionUid, params), {
|
|
301
|
+
...options,
|
|
302
|
+
method: "PUT",
|
|
303
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
304
|
+
body: JSON.stringify(subscriptionChangeSubscriptionBody)
|
|
305
|
+
});
|
|
306
|
+
};
|
|
307
|
+
var getPlanGetAllPlansUrl = () => {
|
|
308
|
+
return `/api/v1/billing/plans`;
|
|
309
|
+
};
|
|
310
|
+
var planGetAllPlans = async (options) => {
|
|
311
|
+
return customFetch(getPlanGetAllPlansUrl(), {
|
|
312
|
+
...options,
|
|
313
|
+
method: "GET"
|
|
314
|
+
});
|
|
315
|
+
};
|
|
316
|
+
var getPlanFamilyGetAllPlanFamiliesUrl = () => {
|
|
317
|
+
return `/api/v1/billing/planfamilies`;
|
|
318
|
+
};
|
|
319
|
+
var planFamilyGetAllPlanFamilies = async (options) => {
|
|
320
|
+
return customFetch(getPlanFamilyGetAllPlanFamiliesUrl(), {
|
|
321
|
+
...options,
|
|
322
|
+
method: "GET"
|
|
323
|
+
});
|
|
324
|
+
};
|
|
325
|
+
// src/generated/crm/crm.ts
|
|
326
|
+
var getDealGetAllDealsUrl = (params) => {
|
|
327
|
+
const normalizedParams = new URLSearchParams;
|
|
328
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
329
|
+
if (value !== undefined) {
|
|
330
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
const stringifiedParams = normalizedParams.toString();
|
|
334
|
+
return stringifiedParams.length > 0 ? `/api/v1/crm/deals?${stringifiedParams}` : `/api/v1/crm/deals`;
|
|
335
|
+
};
|
|
336
|
+
var dealGetAllDeals = async (params, options) => {
|
|
337
|
+
return customFetch(getDealGetAllDealsUrl(params), {
|
|
338
|
+
...options,
|
|
339
|
+
method: "GET"
|
|
340
|
+
});
|
|
341
|
+
};
|
|
342
|
+
var getDealAddDealUrl = () => {
|
|
343
|
+
return `/api/v1/crm/deals`;
|
|
344
|
+
};
|
|
345
|
+
var dealAddDeal = async (dealAddDealBody, options) => {
|
|
346
|
+
return customFetch(getDealAddDealUrl(), {
|
|
347
|
+
...options,
|
|
348
|
+
method: "POST",
|
|
349
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
350
|
+
body: JSON.stringify(dealAddDealBody)
|
|
351
|
+
});
|
|
352
|
+
};
|
|
353
|
+
var getDealGetDealUrl = (dealUid) => {
|
|
354
|
+
return `/api/v1/crm/deals/${dealUid}`;
|
|
355
|
+
};
|
|
356
|
+
var dealGetDeal = async (dealUid, options) => {
|
|
357
|
+
return customFetch(getDealGetDealUrl(dealUid), {
|
|
358
|
+
...options,
|
|
359
|
+
method: "GET"
|
|
360
|
+
});
|
|
361
|
+
};
|
|
362
|
+
var getDealUpdateDealUrl = (dealUid) => {
|
|
363
|
+
return `/api/v1/crm/deals/${dealUid}`;
|
|
364
|
+
};
|
|
365
|
+
var dealUpdateDeal = async (dealUid, dealUpdateDealBody, options) => {
|
|
366
|
+
return customFetch(getDealUpdateDealUrl(dealUid), {
|
|
367
|
+
...options,
|
|
368
|
+
method: "PUT",
|
|
369
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
370
|
+
body: JSON.stringify(dealUpdateDealBody)
|
|
371
|
+
});
|
|
372
|
+
};
|
|
373
|
+
var getDealDeleteDealUrl = (dealUid) => {
|
|
374
|
+
return `/api/v1/crm/deals/${dealUid}`;
|
|
375
|
+
};
|
|
376
|
+
var dealDeleteDeal = async (dealUid, options) => {
|
|
377
|
+
return customFetch(getDealDeleteDealUrl(dealUid), {
|
|
378
|
+
...options,
|
|
379
|
+
method: "DELETE"
|
|
380
|
+
});
|
|
381
|
+
};
|
|
382
|
+
var getRegistrationRegisterAccountUrl = () => {
|
|
383
|
+
return `/api/v1/crm/registrations`;
|
|
384
|
+
};
|
|
385
|
+
var registrationRegisterAccount = async (options) => {
|
|
386
|
+
return customFetch(getRegistrationRegisterAccountUrl(), {
|
|
387
|
+
...options,
|
|
388
|
+
method: "POST"
|
|
389
|
+
});
|
|
390
|
+
};
|
|
391
|
+
var getAccountGetAllAccountsUrl = (params) => {
|
|
392
|
+
const normalizedParams = new URLSearchParams;
|
|
393
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
394
|
+
if (value !== undefined) {
|
|
395
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
const stringifiedParams = normalizedParams.toString();
|
|
399
|
+
return stringifiedParams.length > 0 ? `/api/v1/crm/accounts?${stringifiedParams}` : `/api/v1/crm/accounts`;
|
|
400
|
+
};
|
|
401
|
+
var accountGetAllAccounts = async (params, options) => {
|
|
402
|
+
return customFetch(getAccountGetAllAccountsUrl(params), {
|
|
403
|
+
...options,
|
|
404
|
+
method: "GET"
|
|
405
|
+
});
|
|
406
|
+
};
|
|
407
|
+
var getAccountAddAccountUrl = (params) => {
|
|
408
|
+
const normalizedParams = new URLSearchParams;
|
|
409
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
410
|
+
if (value !== undefined) {
|
|
411
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
const stringifiedParams = normalizedParams.toString();
|
|
415
|
+
return stringifiedParams.length > 0 ? `/api/v1/crm/accounts?${stringifiedParams}` : `/api/v1/crm/accounts`;
|
|
416
|
+
};
|
|
417
|
+
var accountAddAccount = async (accountAddAccountBody, params, options) => {
|
|
418
|
+
return customFetch(getAccountAddAccountUrl(params), {
|
|
419
|
+
...options,
|
|
420
|
+
method: "POST",
|
|
421
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
422
|
+
body: JSON.stringify(accountAddAccountBody)
|
|
423
|
+
});
|
|
424
|
+
};
|
|
425
|
+
var getAccountGetAccountUrl = (accountUid) => {
|
|
426
|
+
return `/api/v1/crm/accounts/${accountUid}`;
|
|
427
|
+
};
|
|
428
|
+
var accountGetAccount = async (accountUid, options) => {
|
|
429
|
+
return customFetch(getAccountGetAccountUrl(accountUid), {
|
|
430
|
+
...options,
|
|
431
|
+
method: "GET"
|
|
432
|
+
});
|
|
433
|
+
};
|
|
434
|
+
var getAccountDeleteAccountUrl = (accountUid) => {
|
|
435
|
+
return `/api/v1/crm/accounts/${accountUid}`;
|
|
436
|
+
};
|
|
437
|
+
var accountDeleteAccount = async (accountUid, options) => {
|
|
438
|
+
return customFetch(getAccountDeleteAccountUrl(accountUid), {
|
|
439
|
+
...options,
|
|
440
|
+
method: "DELETE"
|
|
441
|
+
});
|
|
442
|
+
};
|
|
443
|
+
var getAccountUpdateAccountUrl = (accountUid) => {
|
|
444
|
+
return `/api/v1/crm/accounts/${accountUid}`;
|
|
445
|
+
};
|
|
446
|
+
var accountUpdateAccount = async (accountUid, accountUpdateAccountBody, options) => {
|
|
447
|
+
return customFetch(getAccountUpdateAccountUrl(accountUid), {
|
|
448
|
+
...options,
|
|
449
|
+
method: "PUT",
|
|
450
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
451
|
+
body: JSON.stringify(accountUpdateAccountBody)
|
|
452
|
+
});
|
|
453
|
+
};
|
|
454
|
+
var getAccountAddPersonToAccountUrl = (accountUid) => {
|
|
455
|
+
return `/api/v1/crm/accounts/${accountUid}/memberships`;
|
|
456
|
+
};
|
|
457
|
+
var accountAddPersonToAccount = async (accountUid, accountAddPersonToAccountBody, options) => {
|
|
458
|
+
return customFetch(getAccountAddPersonToAccountUrl(accountUid), {
|
|
459
|
+
...options,
|
|
460
|
+
method: "POST",
|
|
461
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
462
|
+
body: JSON.stringify(accountAddPersonToAccountBody)
|
|
463
|
+
});
|
|
464
|
+
};
|
|
465
|
+
var getAccountUpdateMembershipUrl = (accountUid, membershipUid) => {
|
|
466
|
+
return `/api/v1/crm/accounts/${accountUid}/memberships/${membershipUid}`;
|
|
467
|
+
};
|
|
468
|
+
var accountUpdateMembership = async (accountUid, membershipUid, accountUpdateMembershipBody, options) => {
|
|
469
|
+
return customFetch(getAccountUpdateMembershipUrl(accountUid, membershipUid), {
|
|
470
|
+
...options,
|
|
471
|
+
method: "PUT",
|
|
472
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
473
|
+
body: JSON.stringify(accountUpdateMembershipBody)
|
|
474
|
+
});
|
|
475
|
+
};
|
|
476
|
+
var getAccountDeleteMembershipUrl = (accountUid, membershipUid) => {
|
|
477
|
+
return `/api/v1/crm/accounts/${accountUid}/memberships/${membershipUid}`;
|
|
478
|
+
};
|
|
479
|
+
var accountDeleteMembership = async (accountUid, membershipUid, options) => {
|
|
480
|
+
return customFetch(getAccountDeleteMembershipUrl(accountUid, membershipUid), {
|
|
481
|
+
...options,
|
|
482
|
+
method: "DELETE"
|
|
483
|
+
});
|
|
484
|
+
};
|
|
485
|
+
var getAccountCancelAccountUrl = (accountUid) => {
|
|
486
|
+
return `/api/v1/crm/accounts/${accountUid}/cancel`;
|
|
487
|
+
};
|
|
488
|
+
var accountCancelAccount = async (accountUid, accountCancelAccountBody, options) => {
|
|
489
|
+
return customFetch(getAccountCancelAccountUrl(accountUid), {
|
|
490
|
+
...options,
|
|
491
|
+
method: "PUT",
|
|
492
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
493
|
+
body: JSON.stringify(accountCancelAccountBody)
|
|
494
|
+
});
|
|
495
|
+
};
|
|
496
|
+
var getAccountRemoveCancellationUrl = (accountUid) => {
|
|
497
|
+
return `/api/v1/crm/accounts/${accountUid}/remove-cancellation`;
|
|
498
|
+
};
|
|
499
|
+
var accountRemoveCancellation = async (accountUid, options) => {
|
|
500
|
+
return customFetch(getAccountRemoveCancellationUrl(accountUid), {
|
|
501
|
+
...options,
|
|
502
|
+
method: "PUT"
|
|
503
|
+
});
|
|
504
|
+
};
|
|
505
|
+
var getAccountExtendTrialUrl = (accountUid) => {
|
|
506
|
+
return `/api/v1/crm/accounts/${accountUid}/extend-trial`;
|
|
507
|
+
};
|
|
508
|
+
var accountExtendTrial = async (accountUid, accountExtendTrialBody, options) => {
|
|
509
|
+
return customFetch(getAccountExtendTrialUrl(accountUid), {
|
|
510
|
+
...options,
|
|
511
|
+
method: "PUT",
|
|
512
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
513
|
+
body: JSON.stringify(accountExtendTrialBody)
|
|
514
|
+
});
|
|
515
|
+
};
|
|
516
|
+
var getAccountSendConfirmationEmailUrl = (accountUid) => {
|
|
517
|
+
return `/api/v1/crm/accounts/${accountUid}/send-confirmation-email`;
|
|
518
|
+
};
|
|
519
|
+
var accountSendConfirmationEmail = async (accountUid, options) => {
|
|
520
|
+
return customFetch(getAccountSendConfirmationEmailUrl(accountUid), {
|
|
521
|
+
...options,
|
|
522
|
+
method: "PUT"
|
|
523
|
+
});
|
|
524
|
+
};
|
|
525
|
+
var getPersonGetAllPeopleUrl = (params) => {
|
|
526
|
+
const normalizedParams = new URLSearchParams;
|
|
527
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
528
|
+
if (value !== undefined) {
|
|
529
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
const stringifiedParams = normalizedParams.toString();
|
|
533
|
+
return stringifiedParams.length > 0 ? `/api/v1/crm/people?${stringifiedParams}` : `/api/v1/crm/people`;
|
|
534
|
+
};
|
|
535
|
+
var personGetAllPeople = async (params, options) => {
|
|
536
|
+
return customFetch(getPersonGetAllPeopleUrl(params), {
|
|
537
|
+
...options,
|
|
538
|
+
method: "GET"
|
|
539
|
+
});
|
|
540
|
+
};
|
|
541
|
+
var getPersonAddPersonUrl = () => {
|
|
542
|
+
return `/api/v1/crm/people`;
|
|
543
|
+
};
|
|
544
|
+
var personAddPerson = async (personAddPersonBody, options) => {
|
|
545
|
+
return customFetch(getPersonAddPersonUrl(), {
|
|
546
|
+
...options,
|
|
547
|
+
method: "POST",
|
|
548
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
549
|
+
body: JSON.stringify(personAddPersonBody)
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
var getPersonGetPersonUrl = (personUid) => {
|
|
553
|
+
return `/api/v1/crm/people/${personUid}`;
|
|
554
|
+
};
|
|
555
|
+
var personGetPerson = async (personUid, options) => {
|
|
556
|
+
return customFetch(getPersonGetPersonUrl(personUid), {
|
|
557
|
+
...options,
|
|
558
|
+
method: "GET"
|
|
559
|
+
});
|
|
560
|
+
};
|
|
561
|
+
var getPersonUpdatePersonUrl = (personUid) => {
|
|
562
|
+
return `/api/v1/crm/people/${personUid}`;
|
|
563
|
+
};
|
|
564
|
+
var personUpdatePerson = async (personUid, personUpdatePersonBody, options) => {
|
|
565
|
+
return customFetch(getPersonUpdatePersonUrl(personUid), {
|
|
566
|
+
...options,
|
|
567
|
+
method: "PUT",
|
|
568
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
569
|
+
body: JSON.stringify(personUpdatePersonBody)
|
|
570
|
+
});
|
|
571
|
+
};
|
|
572
|
+
var getPersonDeletePersonUrl = (personUid) => {
|
|
573
|
+
return `/api/v1/crm/people/${personUid}`;
|
|
574
|
+
};
|
|
575
|
+
var personDeletePerson = async (personUid, options) => {
|
|
576
|
+
return customFetch(getPersonDeletePersonUrl(personUid), {
|
|
577
|
+
...options,
|
|
578
|
+
method: "DELETE"
|
|
579
|
+
});
|
|
580
|
+
};
|
|
581
|
+
var getPersonSetTemporaryPasswordUrl = (personUid) => {
|
|
582
|
+
return `/api/v1/crm/people/${personUid}/setTemporaryPassword`;
|
|
583
|
+
};
|
|
584
|
+
var personSetTemporaryPassword = async (personUid, personSetTemporaryPasswordBody, options) => {
|
|
585
|
+
return customFetch(getPersonSetTemporaryPasswordUrl(personUid), {
|
|
586
|
+
...options,
|
|
587
|
+
method: "PUT",
|
|
588
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
589
|
+
body: JSON.stringify(personSetTemporaryPasswordBody)
|
|
590
|
+
});
|
|
591
|
+
};
|
|
592
|
+
var getPersonRegenerateTwoFactorRecoveryCodesUrl = (personUid) => {
|
|
593
|
+
return `/api/v1/crm/people/${personUid}/regenerateTwoFactorRecoveryCodes`;
|
|
594
|
+
};
|
|
595
|
+
var personRegenerateTwoFactorRecoveryCodes = async (personUid, options) => {
|
|
596
|
+
return customFetch(getPersonRegenerateTwoFactorRecoveryCodesUrl(personUid), {
|
|
597
|
+
...options,
|
|
598
|
+
method: "PUT"
|
|
599
|
+
});
|
|
600
|
+
};
|
|
601
|
+
var getPersonForgotPasswordUrl = () => {
|
|
602
|
+
return `/api/v1/crm/people/forgotPassword`;
|
|
603
|
+
};
|
|
604
|
+
var personForgotPassword = async (personForgotPasswordBody, options) => {
|
|
605
|
+
return customFetch(getPersonForgotPasswordUrl(), {
|
|
606
|
+
...options,
|
|
607
|
+
method: "POST",
|
|
608
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
609
|
+
body: JSON.stringify(personForgotPasswordBody)
|
|
610
|
+
});
|
|
611
|
+
};
|
|
612
|
+
// src/generated/email/email.ts
|
|
613
|
+
var getCampaignGetAllBroadcastEmailsUrl = () => {
|
|
614
|
+
return `/api/v1/email/campaigns/broadcasts`;
|
|
615
|
+
};
|
|
616
|
+
var campaignGetAllBroadcastEmails = async (options) => {
|
|
617
|
+
return customFetch(getCampaignGetAllBroadcastEmailsUrl(), {
|
|
618
|
+
...options,
|
|
619
|
+
method: "GET"
|
|
620
|
+
});
|
|
621
|
+
};
|
|
622
|
+
var getCampaignAddBroadcastEmailUrl = () => {
|
|
623
|
+
return `/api/v1/email/campaigns/broadcasts`;
|
|
624
|
+
};
|
|
625
|
+
var campaignAddBroadcastEmail = async (campaignAddBroadcastEmailBody, options) => {
|
|
626
|
+
return customFetch(getCampaignAddBroadcastEmailUrl(), {
|
|
627
|
+
...options,
|
|
628
|
+
method: "POST",
|
|
629
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
630
|
+
body: JSON.stringify(campaignAddBroadcastEmailBody)
|
|
631
|
+
});
|
|
632
|
+
};
|
|
633
|
+
var getCampaignGetBroadcastEmailUrl = (broadcastCampaignUid) => {
|
|
634
|
+
return `/api/v1/email/campaigns/broadcasts/${broadcastCampaignUid}`;
|
|
635
|
+
};
|
|
636
|
+
var campaignGetBroadcastEmail = async (broadcastCampaignUid, options) => {
|
|
637
|
+
return customFetch(getCampaignGetBroadcastEmailUrl(broadcastCampaignUid), {
|
|
638
|
+
...options,
|
|
639
|
+
method: "GET"
|
|
640
|
+
});
|
|
641
|
+
};
|
|
642
|
+
var getCampaignUpdateBroadcastEmailUrl = (broadcastCampaignUid) => {
|
|
643
|
+
return `/api/v1/email/campaigns/broadcasts/${broadcastCampaignUid}`;
|
|
644
|
+
};
|
|
645
|
+
var campaignUpdateBroadcastEmail = async (broadcastCampaignUid, campaignUpdateBroadcastEmailBody, options) => {
|
|
646
|
+
return customFetch(getCampaignUpdateBroadcastEmailUrl(broadcastCampaignUid), {
|
|
647
|
+
...options,
|
|
648
|
+
method: "PUT",
|
|
649
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
650
|
+
body: JSON.stringify(campaignUpdateBroadcastEmailBody)
|
|
651
|
+
});
|
|
652
|
+
};
|
|
653
|
+
var getCampaignDeleteBroadcastCampaignUrl = (broadcastCampaignUid) => {
|
|
654
|
+
return `/api/v1/email/campaigns/broadcasts/${broadcastCampaignUid}`;
|
|
655
|
+
};
|
|
656
|
+
var campaignDeleteBroadcastCampaign = async (broadcastCampaignUid, options) => {
|
|
657
|
+
return customFetch(getCampaignDeleteBroadcastCampaignUrl(broadcastCampaignUid), {
|
|
658
|
+
...options,
|
|
659
|
+
method: "DELETE"
|
|
660
|
+
});
|
|
661
|
+
};
|
|
662
|
+
var getCampaignUnscheduleBroadcastEmailUrl = (broadcastCampaignUid) => {
|
|
663
|
+
return `/api/v1/email/campaigns/broadcasts/${broadcastCampaignUid}/unschedule`;
|
|
664
|
+
};
|
|
665
|
+
var campaignUnscheduleBroadcastEmail = async (broadcastCampaignUid, options) => {
|
|
666
|
+
return customFetch(getCampaignUnscheduleBroadcastEmailUrl(broadcastCampaignUid), {
|
|
667
|
+
...options,
|
|
668
|
+
method: "POST"
|
|
669
|
+
});
|
|
670
|
+
};
|
|
671
|
+
var getCampaignArchiveBroadcastCampaignUrl = (broadcastCampaignUid) => {
|
|
672
|
+
return `/api/v1/email/campaigns/broadcasts/${broadcastCampaignUid}/archive`;
|
|
673
|
+
};
|
|
674
|
+
var campaignArchiveBroadcastCampaign = async (broadcastCampaignUid, options) => {
|
|
675
|
+
return customFetch(getCampaignArchiveBroadcastCampaignUrl(broadcastCampaignUid), {
|
|
676
|
+
...options,
|
|
677
|
+
method: "POST"
|
|
678
|
+
});
|
|
679
|
+
};
|
|
680
|
+
var getCampaignSendTestCampaignEmailUrl = () => {
|
|
681
|
+
return `/api/v1/email/campaigns/broadcasts/sendtestemail`;
|
|
682
|
+
};
|
|
683
|
+
var campaignSendTestCampaignEmail = async (campaignSendTestCampaignEmailBody, options) => {
|
|
684
|
+
return customFetch(getCampaignSendTestCampaignEmailUrl(), {
|
|
685
|
+
...options,
|
|
686
|
+
method: "POST",
|
|
687
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
688
|
+
body: JSON.stringify(campaignSendTestCampaignEmailBody)
|
|
689
|
+
});
|
|
690
|
+
};
|
|
691
|
+
var getEmailListGetAllSubscriptionsUrl = (emailListUid, params) => {
|
|
692
|
+
const normalizedParams = new URLSearchParams;
|
|
693
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
694
|
+
if (value !== undefined) {
|
|
695
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
696
|
+
}
|
|
697
|
+
});
|
|
698
|
+
const stringifiedParams = normalizedParams.toString();
|
|
699
|
+
return stringifiedParams.length > 0 ? `/api/v1/email/lists/${emailListUid}/subscriptions?${stringifiedParams}` : `/api/v1/email/lists/${emailListUid}/subscriptions`;
|
|
700
|
+
};
|
|
701
|
+
var emailListGetAllSubscriptions = async (emailListUid, params, options) => {
|
|
702
|
+
return customFetch(getEmailListGetAllSubscriptionsUrl(emailListUid, params), {
|
|
703
|
+
...options,
|
|
704
|
+
method: "GET"
|
|
705
|
+
});
|
|
706
|
+
};
|
|
707
|
+
var getEmailListAddSubscriptionUrl = (emailListUid) => {
|
|
708
|
+
return `/api/v1/email/lists/${emailListUid}/subscriptions`;
|
|
709
|
+
};
|
|
710
|
+
var emailListAddSubscription = async (emailListUid, emailListAddSubscriptionBody, options) => {
|
|
711
|
+
return customFetch(getEmailListAddSubscriptionUrl(emailListUid), {
|
|
712
|
+
...options,
|
|
713
|
+
method: "POST",
|
|
714
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
715
|
+
body: JSON.stringify(emailListAddSubscriptionBody)
|
|
716
|
+
});
|
|
717
|
+
};
|
|
718
|
+
var getEmailListDeleteSubscriptionUrl = (emailListUid, subscriptionUid) => {
|
|
719
|
+
return `/api/v1/email/lists/${emailListUid}/subscriptions/${subscriptionUid}`;
|
|
720
|
+
};
|
|
721
|
+
var emailListDeleteSubscription = async (emailListUid, subscriptionUid, options) => {
|
|
722
|
+
return customFetch(getEmailListDeleteSubscriptionUrl(emailListUid, subscriptionUid), {
|
|
723
|
+
...options,
|
|
724
|
+
method: "DELETE"
|
|
725
|
+
});
|
|
726
|
+
};
|
|
727
|
+
// src/generated/support/support.ts
|
|
728
|
+
var getCaseGetAllCasesUrl = (params) => {
|
|
729
|
+
const normalizedParams = new URLSearchParams;
|
|
730
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
731
|
+
if (value !== undefined) {
|
|
732
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
733
|
+
}
|
|
734
|
+
});
|
|
735
|
+
const stringifiedParams = normalizedParams.toString();
|
|
736
|
+
return stringifiedParams.length > 0 ? `/api/v1/support/cases?${stringifiedParams}` : `/api/v1/support/cases`;
|
|
737
|
+
};
|
|
738
|
+
var caseGetAllCases = async (params, options) => {
|
|
739
|
+
return customFetch(getCaseGetAllCasesUrl(params), {
|
|
740
|
+
...options,
|
|
741
|
+
method: "GET"
|
|
742
|
+
});
|
|
743
|
+
};
|
|
744
|
+
var getCaseAddCaseUrl = (params) => {
|
|
745
|
+
const normalizedParams = new URLSearchParams;
|
|
746
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
747
|
+
if (value !== undefined) {
|
|
748
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
749
|
+
}
|
|
750
|
+
});
|
|
751
|
+
const stringifiedParams = normalizedParams.toString();
|
|
752
|
+
return stringifiedParams.length > 0 ? `/api/v1/support/cases?${stringifiedParams}` : `/api/v1/support/cases`;
|
|
753
|
+
};
|
|
754
|
+
var caseAddCase = async (caseAddCaseBody, params, options) => {
|
|
755
|
+
return customFetch(getCaseAddCaseUrl(params), {
|
|
756
|
+
...options,
|
|
757
|
+
method: "POST",
|
|
758
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
759
|
+
body: JSON.stringify(caseAddCaseBody)
|
|
760
|
+
});
|
|
761
|
+
};
|
|
762
|
+
var getCaseGetCaseUrl = (caseUid) => {
|
|
763
|
+
return `/api/v1/support/cases/${caseUid}`;
|
|
764
|
+
};
|
|
765
|
+
var caseGetCase = async (caseUid, options) => {
|
|
766
|
+
return customFetch(getCaseGetCaseUrl(caseUid), {
|
|
767
|
+
...options,
|
|
768
|
+
method: "GET"
|
|
769
|
+
});
|
|
770
|
+
};
|
|
771
|
+
var getCaseAddReplyUrl = (caseUid) => {
|
|
772
|
+
return `/api/v1/support/cases/${caseUid}/replies`;
|
|
773
|
+
};
|
|
774
|
+
var caseAddReply = async (caseUid, options) => {
|
|
775
|
+
return customFetch(getCaseAddReplyUrl(caseUid), {
|
|
776
|
+
...options,
|
|
777
|
+
method: "POST"
|
|
778
|
+
});
|
|
779
|
+
};
|
|
780
|
+
var getCaseAddClientResponseUrl = (caseUid, comment) => {
|
|
781
|
+
return `/api/v1/support/cases/${caseUid}/clientresponse/${comment}`;
|
|
782
|
+
};
|
|
783
|
+
var caseAddClientResponse = async (caseUid, comment, options) => {
|
|
784
|
+
return customFetch(getCaseAddClientResponseUrl(caseUid, comment), {
|
|
785
|
+
...options,
|
|
786
|
+
method: "POST"
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
var getArticleGetAllArticlesUrl = (params) => {
|
|
790
|
+
const normalizedParams = new URLSearchParams;
|
|
791
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
792
|
+
if (value !== undefined) {
|
|
793
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
794
|
+
}
|
|
795
|
+
});
|
|
796
|
+
const stringifiedParams = normalizedParams.toString();
|
|
797
|
+
return stringifiedParams.length > 0 ? `/api/v1/support/articles?${stringifiedParams}` : `/api/v1/support/articles`;
|
|
798
|
+
};
|
|
799
|
+
var articleGetAllArticles = async (params, options) => {
|
|
800
|
+
return customFetch(getArticleGetAllArticlesUrl(params), {
|
|
801
|
+
...options,
|
|
802
|
+
method: "GET"
|
|
803
|
+
});
|
|
804
|
+
};
|
|
805
|
+
var getArticleGetArticleUrl = (articleUid) => {
|
|
806
|
+
return `/api/v1/support/articles/${articleUid}`;
|
|
807
|
+
};
|
|
808
|
+
var articleGetArticle = async (articleUid, options) => {
|
|
809
|
+
return customFetch(getArticleGetArticleUrl(articleUid), {
|
|
810
|
+
...options,
|
|
811
|
+
method: "GET"
|
|
812
|
+
});
|
|
813
|
+
};
|
|
814
|
+
var getCategoryGetAllCategoriesUrl = () => {
|
|
815
|
+
return `/api/v1/support/categories`;
|
|
816
|
+
};
|
|
817
|
+
var categoryGetAllCategories = async (options) => {
|
|
818
|
+
return customFetch(getCategoryGetAllCategoriesUrl(), {
|
|
819
|
+
...options,
|
|
820
|
+
method: "GET"
|
|
821
|
+
});
|
|
822
|
+
};
|
|
823
|
+
// src/generated/models/acceptTermsAndConditionsLocations.ts
|
|
824
|
+
var AcceptTermsAndConditionsLocations = {
|
|
825
|
+
Registration: 1,
|
|
826
|
+
UpdatePaymentInformation: 2
|
|
827
|
+
};
|
|
828
|
+
// src/generated/models/accountRegistrationMode.ts
|
|
829
|
+
var AccountRegistrationMode = {
|
|
830
|
+
Individual: 1,
|
|
831
|
+
Team: 2
|
|
832
|
+
};
|
|
833
|
+
// src/generated/models/accountStage.ts
|
|
834
|
+
var AccountStage = {
|
|
835
|
+
Trialing: 2,
|
|
836
|
+
Subscribing: 3,
|
|
837
|
+
Cancelling: 4,
|
|
838
|
+
Expired: 5,
|
|
839
|
+
TrialExpired: 6,
|
|
840
|
+
PastDue: 7,
|
|
841
|
+
CancellingTrial: 8,
|
|
842
|
+
Paused: 9,
|
|
843
|
+
Created: 10
|
|
844
|
+
};
|
|
845
|
+
// src/generated/models/activityType.ts
|
|
846
|
+
var ActivityType = {
|
|
847
|
+
Custom: 10,
|
|
848
|
+
Note: 50,
|
|
849
|
+
Email: 51,
|
|
850
|
+
PhoneCall: 52,
|
|
851
|
+
Meeting: 53,
|
|
852
|
+
Chat: 54,
|
|
853
|
+
AccountCreated: 100,
|
|
854
|
+
AccountUpdated: 101,
|
|
855
|
+
AccountAddPerson: 102,
|
|
856
|
+
AccountStageUpdated: 103,
|
|
857
|
+
AccountDeleted: 104,
|
|
858
|
+
AccountBillingInformationUpdated: 105,
|
|
859
|
+
AccountSubscriptionPlanUpdated: 106,
|
|
860
|
+
AccountSubscriptionPaymentCollected: 107,
|
|
861
|
+
AccountSubscriptionPaymentDeclined: 108,
|
|
862
|
+
AccountBillingInformationRequested: 109,
|
|
863
|
+
AccountBillingInvoiceEmailSent: 110,
|
|
864
|
+
AccountRemovePerson: 111,
|
|
865
|
+
AccountPaidSubscriptionCreated: 112,
|
|
866
|
+
AccountBillingInformationRemoved: 113,
|
|
867
|
+
AccountPrimaryPersonUpdated: 114,
|
|
868
|
+
AccountBillingInvoiceCreated: 115,
|
|
869
|
+
AccountSubscriptionStarted: 116,
|
|
870
|
+
AccountSubscriptionRenewalExtended: 117,
|
|
871
|
+
AccountSubscriptionAddOnsChanged: 118,
|
|
872
|
+
AccountSubscriptionCancellationRequested: 119,
|
|
873
|
+
AccountBillingInvoiceDeleted: 120,
|
|
874
|
+
PersonCreated: 200,
|
|
875
|
+
PersonUpdated: 201,
|
|
876
|
+
PersonDeleted: 202,
|
|
877
|
+
PersonLogin: 203,
|
|
878
|
+
PersonListSubscribed: 204,
|
|
879
|
+
PersonListUnsubscribed: 205,
|
|
880
|
+
PersonSegmentAdded: 206,
|
|
881
|
+
PersonSegmentRemoved: 207,
|
|
882
|
+
PersonEmailOpened: 208,
|
|
883
|
+
PersonEmailClicked: 209,
|
|
884
|
+
PersonEmailBounce: 210,
|
|
885
|
+
PersonEmailSpam: 211,
|
|
886
|
+
PersonSupportTicketCreated: 212,
|
|
887
|
+
PersonSupportTicketUpdated: 213,
|
|
888
|
+
PersonLeadFormSubmitted: 214,
|
|
889
|
+
PersonListConfirmed: 215,
|
|
890
|
+
PersonEmailSubscribed: 216,
|
|
891
|
+
PersonEmailUnsubscribed: 217,
|
|
892
|
+
PersonTemporaryPasswordSet: 218,
|
|
893
|
+
PersonSupportTicketClosed: 219,
|
|
894
|
+
PersonTwoFactorRecoveryCodesRegenerated: 220,
|
|
895
|
+
DealCreated: 300,
|
|
896
|
+
DealUpdated: 301,
|
|
897
|
+
DealAddPerson: 302,
|
|
898
|
+
DealAddAccount: 303,
|
|
899
|
+
DealDeleted: 304,
|
|
900
|
+
DealDueDate: 305,
|
|
901
|
+
TaskCreated: 306,
|
|
902
|
+
TaskUpdated: 307,
|
|
903
|
+
PlanCreated: 400,
|
|
904
|
+
PlanUpdated: 401,
|
|
905
|
+
AddOnCreated: 402,
|
|
906
|
+
AddOnUpdated: 403,
|
|
907
|
+
DiscordUserLinked: 500,
|
|
908
|
+
DiscordUserAddedToServer: 501,
|
|
909
|
+
DiscordUserRolesUpdated: 502,
|
|
910
|
+
DiscordUserRemovedFromServer: 503,
|
|
911
|
+
OutsetaSuspiciousBehavior: 1000
|
|
912
|
+
};
|
|
913
|
+
// src/generated/models/apiKeyType.ts
|
|
914
|
+
var ApiKeyType = {
|
|
915
|
+
Admin: 0,
|
|
916
|
+
ReadOnly: 1
|
|
917
|
+
};
|
|
918
|
+
// src/generated/models/backGroundTaskType.ts
|
|
919
|
+
var BackGroundTaskType = {
|
|
920
|
+
UpdateSegmentBackGroundTask: 1,
|
|
921
|
+
ImportPeopleTask: 2,
|
|
922
|
+
ImportAccountTask: 3,
|
|
923
|
+
ImportDealTask: 4,
|
|
924
|
+
ImportEmailList: 5,
|
|
925
|
+
RescheduleDripCampaignTask: 6,
|
|
926
|
+
DeleteSegmentPeopleTask: 7,
|
|
927
|
+
StartDripCampaignTask: 8,
|
|
928
|
+
WebflowSyncTask: 9,
|
|
929
|
+
UpdatePersonSegmentsTask: 10,
|
|
930
|
+
ImportDiscountCouponTask: 11,
|
|
931
|
+
RemoveDiscordUserFromAllServersTask: 12,
|
|
932
|
+
SendInvoiceEmailTask: 13,
|
|
933
|
+
UpdateDiscordUserRolesTask: 14,
|
|
934
|
+
StripeBillingSyncTask: 15,
|
|
935
|
+
UpdateStripeDefaultSourceTask: 16,
|
|
936
|
+
DeleteScheduledCampaignMessagesTask: 17,
|
|
937
|
+
SendSpamCheckEmailTask: 18,
|
|
938
|
+
UpdateDiscordMemberRolesTask: 19,
|
|
939
|
+
SendInvoicePaidEmailTask: 20,
|
|
940
|
+
ResendTrialLimitEmailTask: 21
|
|
941
|
+
};
|
|
942
|
+
// src/generated/models/billingAddOnType.ts
|
|
943
|
+
var BillingAddOnType = {
|
|
944
|
+
Recurring: 1,
|
|
945
|
+
Usage: 2,
|
|
946
|
+
OneTime: 3
|
|
947
|
+
};
|
|
948
|
+
// src/generated/models/billingDiscountDuration.ts
|
|
949
|
+
var BillingDiscountDuration = {
|
|
950
|
+
Forever: 1,
|
|
951
|
+
Once: 2,
|
|
952
|
+
Repeating: 3
|
|
953
|
+
};
|
|
954
|
+
// src/generated/models/billingInvoiceStatus.ts
|
|
955
|
+
var BillingInvoiceStatus = {
|
|
956
|
+
Unpaid: 1,
|
|
957
|
+
Paid: 2,
|
|
958
|
+
Partial: 3,
|
|
959
|
+
Uncollected: 4,
|
|
960
|
+
Refunded: 5,
|
|
961
|
+
Uncollectible: 6,
|
|
962
|
+
Processing: 7
|
|
963
|
+
};
|
|
964
|
+
// src/generated/models/billingRenewalTerm.ts
|
|
965
|
+
var BillingRenewalTerm = {
|
|
966
|
+
Monthly: 1,
|
|
967
|
+
Yearly: 2,
|
|
968
|
+
Quarterly: 3,
|
|
969
|
+
OneTime: 4
|
|
970
|
+
};
|
|
971
|
+
// src/generated/models/billingSystem.ts
|
|
972
|
+
var BillingSystem = {
|
|
973
|
+
Outseta: 1,
|
|
974
|
+
Stripe: 2
|
|
975
|
+
};
|
|
976
|
+
// src/generated/models/billingTransactionType.ts
|
|
977
|
+
var BillingTransactionType = {
|
|
978
|
+
Invoice: 1,
|
|
979
|
+
Payment: 2,
|
|
980
|
+
Credit: 3,
|
|
981
|
+
Refund: 4,
|
|
982
|
+
Chargeback: 5,
|
|
983
|
+
TaxRefund: 6
|
|
984
|
+
};
|
|
985
|
+
// src/generated/models/broadcastCampaignStatus.ts
|
|
986
|
+
var BroadcastCampaignStatus = {
|
|
987
|
+
Draft: 1,
|
|
988
|
+
Pending: 2,
|
|
989
|
+
Sent: 3,
|
|
990
|
+
Queuing: 4,
|
|
991
|
+
Queued: 5,
|
|
992
|
+
Sending: 6,
|
|
993
|
+
Error: 7,
|
|
994
|
+
WaitingToResume: 8,
|
|
995
|
+
QueuedEmails: 9,
|
|
996
|
+
Archived: 10
|
|
997
|
+
};
|
|
998
|
+
// src/generated/models/campaignType.ts
|
|
999
|
+
var CampaignType = {
|
|
1000
|
+
Broadcast: 1,
|
|
1001
|
+
Drip: 2
|
|
1002
|
+
};
|
|
1003
|
+
// src/generated/models/cancelationStatus.ts
|
|
1004
|
+
var CancelationStatus = {
|
|
1005
|
+
Pending: 0,
|
|
1006
|
+
Unknown: 1,
|
|
1007
|
+
Completed: 2,
|
|
1008
|
+
Removed: 3,
|
|
1009
|
+
Deleted: 4
|
|
1010
|
+
};
|
|
1011
|
+
// src/generated/models/contentGroupItemMatchMode.ts
|
|
1012
|
+
var ContentGroupItemMatchMode = {
|
|
1013
|
+
Equals: 1,
|
|
1014
|
+
StartsWith: 2
|
|
1015
|
+
};
|
|
1016
|
+
// src/generated/models/databaseType.ts
|
|
1017
|
+
var DatabaseType = {
|
|
1018
|
+
Client: 0,
|
|
1019
|
+
Log: 1
|
|
1020
|
+
};
|
|
1021
|
+
// src/generated/models/deserializationStatus.ts
|
|
1022
|
+
var DeserializationStatus = {
|
|
1023
|
+
NotSet: 0,
|
|
1024
|
+
Deserialized: 1,
|
|
1025
|
+
DeserializedNull: 2
|
|
1026
|
+
};
|
|
1027
|
+
// src/generated/models/emailListSubscriberStatus.ts
|
|
1028
|
+
var EmailListSubscriberStatus = {
|
|
1029
|
+
Subscribed: 1,
|
|
1030
|
+
Unsubscribed: 2,
|
|
1031
|
+
Cleaned: 3,
|
|
1032
|
+
Confirmed: 4
|
|
1033
|
+
};
|
|
1034
|
+
// src/generated/models/entityType.ts
|
|
1035
|
+
var EntityType = {
|
|
1036
|
+
None: 0,
|
|
1037
|
+
Account: 1,
|
|
1038
|
+
Person: 2,
|
|
1039
|
+
Deal: 3,
|
|
1040
|
+
Case: 4,
|
|
1041
|
+
Invoice: 5,
|
|
1042
|
+
EmailLog: 6,
|
|
1043
|
+
Plan: 7,
|
|
1044
|
+
DiscountCoupon: 8,
|
|
1045
|
+
AddOn: 9,
|
|
1046
|
+
Task: 10,
|
|
1047
|
+
Segment: 11,
|
|
1048
|
+
Broadcast: 12
|
|
1049
|
+
};
|
|
1050
|
+
// src/generated/models/lineItemType.ts
|
|
1051
|
+
var LineItemType = {
|
|
1052
|
+
Plan: 1,
|
|
1053
|
+
PlanSetupFee: 2,
|
|
1054
|
+
AddOn: 3,
|
|
1055
|
+
AddOnSetupFee: 4,
|
|
1056
|
+
Discount: 5,
|
|
1057
|
+
Credit: 6,
|
|
1058
|
+
PlanCredit: 7,
|
|
1059
|
+
AddOnCredit: 8
|
|
1060
|
+
};
|
|
1061
|
+
// src/generated/models/oAuthService.ts
|
|
1062
|
+
var OAuthService = {
|
|
1063
|
+
None: 0,
|
|
1064
|
+
Gmail: 1
|
|
1065
|
+
};
|
|
1066
|
+
// src/generated/models/paymentsGatewayActivationStatus.ts
|
|
1067
|
+
var PaymentsGatewayActivationStatus = {
|
|
1068
|
+
Disabled: 0,
|
|
1069
|
+
ForteEnabled: 1,
|
|
1070
|
+
StripeEnabled: 2,
|
|
1071
|
+
CustomEnabled: 3
|
|
1072
|
+
};
|
|
1073
|
+
// src/generated/models/paymentsMode.ts
|
|
1074
|
+
var PaymentsMode = {
|
|
1075
|
+
Manual: 0,
|
|
1076
|
+
Automatic: 1
|
|
1077
|
+
};
|
|
1078
|
+
// src/generated/models/personSegmentAddedWebhookPayloadAccountAccountStage.ts
|
|
1079
|
+
var PersonSegmentAddedWebhookPayloadAccountAccountStage = {
|
|
1080
|
+
Trialing: 2,
|
|
1081
|
+
Subscribing: 3,
|
|
1082
|
+
Cancelling: 4,
|
|
1083
|
+
Expired: 5,
|
|
1084
|
+
TrialExpired: 6,
|
|
1085
|
+
PastDue: 7,
|
|
1086
|
+
CancellingTrial: 8,
|
|
1087
|
+
Paused: 9,
|
|
1088
|
+
Created: 10
|
|
1089
|
+
};
|
|
1090
|
+
// src/generated/models/personSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts
|
|
1091
|
+
var PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = {
|
|
1092
|
+
Subscribed: 1,
|
|
1093
|
+
Unsubscribed: 2,
|
|
1094
|
+
Cleaned: 3,
|
|
1095
|
+
Confirmed: 4
|
|
1096
|
+
};
|
|
1097
|
+
// src/generated/models/personSegmentAddedWebhookPayloadOAuthIntegrationStatus.ts
|
|
1098
|
+
var PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus = {
|
|
1099
|
+
None: 0,
|
|
1100
|
+
Gmail: 1
|
|
1101
|
+
};
|
|
1102
|
+
// src/generated/models/personSegmentRemovedWebhookPayloadAccountAccountStage.ts
|
|
1103
|
+
var PersonSegmentRemovedWebhookPayloadAccountAccountStage = {
|
|
1104
|
+
Trialing: 2,
|
|
1105
|
+
Subscribing: 3,
|
|
1106
|
+
Cancelling: 4,
|
|
1107
|
+
Expired: 5,
|
|
1108
|
+
TrialExpired: 6,
|
|
1109
|
+
PastDue: 7,
|
|
1110
|
+
CancellingTrial: 8,
|
|
1111
|
+
Paused: 9,
|
|
1112
|
+
Created: 10
|
|
1113
|
+
};
|
|
1114
|
+
// src/generated/models/personSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts
|
|
1115
|
+
var PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = {
|
|
1116
|
+
Subscribed: 1,
|
|
1117
|
+
Unsubscribed: 2,
|
|
1118
|
+
Cleaned: 3,
|
|
1119
|
+
Confirmed: 4
|
|
1120
|
+
};
|
|
1121
|
+
// src/generated/models/personSegmentRemovedWebhookPayloadOAuthIntegrationStatus.ts
|
|
1122
|
+
var PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus = {
|
|
1123
|
+
None: 0,
|
|
1124
|
+
Gmail: 1
|
|
1125
|
+
};
|
|
1126
|
+
// src/generated/models/qcountConfigSettingType.ts
|
|
1127
|
+
var QcountConfigSettingType = {
|
|
1128
|
+
Slack: 100,
|
|
1129
|
+
MagicLinkApiKey: 102,
|
|
1130
|
+
MagicLinkApiKeySecret: 103,
|
|
1131
|
+
OAuth_HideCreateAccountLink: 104,
|
|
1132
|
+
Chat_IsOffline: 105,
|
|
1133
|
+
HostedPageCustomCode: 106,
|
|
1134
|
+
RegistrationConfirmationEmailDelaySeconds: 107,
|
|
1135
|
+
AccountCancellationReasons: 108,
|
|
1136
|
+
WebhookSignatureKey: 110,
|
|
1137
|
+
HostedProfileBackLink: 111,
|
|
1138
|
+
AccountCancellationReasonRequired: 112,
|
|
1139
|
+
Email_OutsetaBrandingDisabled: 114,
|
|
1140
|
+
Email_BlacklistedInboundEmails: 119,
|
|
1141
|
+
PasswordPolicy: 121,
|
|
1142
|
+
CRM_FieldSortingEnabled: 123,
|
|
1143
|
+
CRM_RegistrationCallbackLocations: 124,
|
|
1144
|
+
KnowledgeBaseVersion: 125,
|
|
1145
|
+
Support_SpamThreshold: 126,
|
|
1146
|
+
Email_RestrictedPhrases: 127,
|
|
1147
|
+
KnowledgeBaseLanguage: 128,
|
|
1148
|
+
Billing_System: 130,
|
|
1149
|
+
Billing_RestrictSubscriptionActions: 131,
|
|
1150
|
+
TwoFactorAuthenticationEnabled: 140,
|
|
1151
|
+
ForceTwoFactorAuthentication: 142,
|
|
1152
|
+
Stripe_TaxEnabled: 190,
|
|
1153
|
+
Stripe_TaxIdTypes: 192,
|
|
1154
|
+
Stripe_ApplePayMerchantIdDomainAssociation: 193,
|
|
1155
|
+
Stripe_WebhookSecret: 194,
|
|
1156
|
+
Webflow_AccessToken: 200,
|
|
1157
|
+
Webflow_SyncEnabled: 201,
|
|
1158
|
+
Webflow_SyncConfiguration: 202,
|
|
1159
|
+
Webflow_ApiVersion: 203,
|
|
1160
|
+
CopyQcount_AddOnMap: 550,
|
|
1161
|
+
CopyQcount_AccountMap: 551,
|
|
1162
|
+
CopyQcount_DiscountCouponMap: 552,
|
|
1163
|
+
CopyQcount_InvoiceMap: 553,
|
|
1164
|
+
CopyQcount_PersonMap: 554,
|
|
1165
|
+
CopyQcount_PlanMap: 555,
|
|
1166
|
+
CopyQcount_PlanFamilyMap: 556,
|
|
1167
|
+
CopyQcount_SubscriptionMap: 557,
|
|
1168
|
+
CopyQcount_TransactionMap: 558,
|
|
1169
|
+
StripeMigration_LastAccountId: 570,
|
|
1170
|
+
StripeMigration_LastInvoiceId: 571,
|
|
1171
|
+
StripeMigration_LastExpiredSubscriptionId: 572,
|
|
1172
|
+
StripeMigration_LastPostExportSubscriptionId: 573,
|
|
1173
|
+
StripeMigration_LastUsageId: 574,
|
|
1174
|
+
StripeMigration_SubscriptionExportDate: 575,
|
|
1175
|
+
StripeMigration_SubscriptionExportIds: 576,
|
|
1176
|
+
StripeMigration_SubscriptionAddOnExportIds: 577,
|
|
1177
|
+
StripeMigration_SubscriptionCutoverDate: 578,
|
|
1178
|
+
StripeMigration_LastPreCutoverExportSubscriptionId: 579
|
|
1179
|
+
};
|
|
1180
|
+
// src/generated/models/qcountStatus.ts
|
|
1181
|
+
var QcountStatus = {
|
|
1182
|
+
Active: 0,
|
|
1183
|
+
Inactive: 1,
|
|
1184
|
+
MarkedForDeletion: 2,
|
|
1185
|
+
Deleted: 3
|
|
1186
|
+
};
|
|
1187
|
+
// src/generated/models/registrationField.ts
|
|
1188
|
+
var RegistrationField = {
|
|
1189
|
+
PersonFirstName: 1,
|
|
1190
|
+
PersonLastName: 2,
|
|
1191
|
+
AccountName: 4,
|
|
1192
|
+
AccountMailingAddress: 8,
|
|
1193
|
+
AccountBillingAddress: 16,
|
|
1194
|
+
PersonMailingAddress: 32
|
|
1195
|
+
};
|
|
1196
|
+
// src/generated/models/spamStatus.ts
|
|
1197
|
+
var SpamStatus = {
|
|
1198
|
+
Draft: 0,
|
|
1199
|
+
Pending: 1,
|
|
1200
|
+
Processing: 2,
|
|
1201
|
+
Reprocessing: 3,
|
|
1202
|
+
Spam: 4,
|
|
1203
|
+
NotSpam: 5,
|
|
1204
|
+
Ignored: 6
|
|
1205
|
+
};
|
|
1206
|
+
// src/generated/models/supportArticleStatus.ts
|
|
1207
|
+
var SupportArticleStatus = {
|
|
1208
|
+
Draft: 1,
|
|
1209
|
+
WaitingReview: 2,
|
|
1210
|
+
Published: 3
|
|
1211
|
+
};
|
|
1212
|
+
// src/generated/models/supportCaseHistoryType.ts
|
|
1213
|
+
var SupportCaseHistoryType = {
|
|
1214
|
+
PersonReply: 1,
|
|
1215
|
+
Note: 2,
|
|
1216
|
+
Closed: 3,
|
|
1217
|
+
Reopened: 4,
|
|
1218
|
+
Assigned: 5,
|
|
1219
|
+
AgentReply: 6,
|
|
1220
|
+
AutoReply: 7,
|
|
1221
|
+
ContactChange: 8
|
|
1222
|
+
};
|
|
1223
|
+
// src/generated/models/supportCaseSource.ts
|
|
1224
|
+
var SupportCaseSource = {
|
|
1225
|
+
Website: 1,
|
|
1226
|
+
Email: 2,
|
|
1227
|
+
Facebook: 3,
|
|
1228
|
+
Twitter: 4,
|
|
1229
|
+
Chat: 5
|
|
1230
|
+
};
|
|
1231
|
+
// src/generated/models/supportCaseStatus.ts
|
|
1232
|
+
var SupportCaseStatus = {
|
|
1233
|
+
Open: 1,
|
|
1234
|
+
Closed: 2
|
|
1235
|
+
};
|
|
1236
|
+
// src/generated/models/tagColor.ts
|
|
1237
|
+
var TagColor = {
|
|
1238
|
+
Red: 1,
|
|
1239
|
+
Orange: 2,
|
|
1240
|
+
Amber: 3,
|
|
1241
|
+
Green: 4,
|
|
1242
|
+
Teal: 5,
|
|
1243
|
+
Blue: 6,
|
|
1244
|
+
Indigo: 7,
|
|
1245
|
+
Purple: 8,
|
|
1246
|
+
Pink: 9,
|
|
1247
|
+
Gray: 10
|
|
1248
|
+
};
|
|
1249
|
+
// src/generated/models/taskStatus.ts
|
|
1250
|
+
var TaskStatus = {
|
|
1251
|
+
Pending: 1,
|
|
1252
|
+
InProgress: 2,
|
|
1253
|
+
Done: 3
|
|
1254
|
+
};
|
|
34
1255
|
export {
|
|
1256
|
+
withClient,
|
|
1257
|
+
usageAddUsage,
|
|
1258
|
+
transactionsGetAllTransactionsByAccountId,
|
|
1259
|
+
transactionsAddPaymentTransaction,
|
|
1260
|
+
subscriptionSetSubscriptionUpgradeRequired,
|
|
1261
|
+
subscriptionGetSubscription,
|
|
1262
|
+
subscriptionFirstTimeSubscriptionPreview,
|
|
1263
|
+
subscriptionFirstTimeSubscription,
|
|
1264
|
+
subscriptionChangeSubscriptionPreview,
|
|
1265
|
+
subscriptionChangeSubscription,
|
|
1266
|
+
subscriptionAddOnAddSubscriptionAddOn,
|
|
1267
|
+
subscriptionAddDiscountToSubscription,
|
|
1268
|
+
registrationRegisterAccount,
|
|
1269
|
+
planGetAllPlans,
|
|
1270
|
+
planFamilyGetAllPlanFamilies,
|
|
1271
|
+
personUpdatePerson,
|
|
1272
|
+
personSetTemporaryPassword,
|
|
1273
|
+
personRegenerateTwoFactorRecoveryCodes,
|
|
1274
|
+
personGetPerson,
|
|
1275
|
+
personGetAllPeople,
|
|
1276
|
+
personForgotPassword,
|
|
1277
|
+
personDeletePerson,
|
|
1278
|
+
personAddPerson,
|
|
1279
|
+
paymentInformationSavePaymentInformation,
|
|
1280
|
+
invoiceUpdateInvoice,
|
|
1281
|
+
invoiceSendInvoicePaidEmail,
|
|
1282
|
+
invoiceSendInvoiceEmail,
|
|
1283
|
+
invoiceGetInvoiceAsPdf,
|
|
1284
|
+
invoiceGetInvoice,
|
|
1285
|
+
invoiceGetAllInvoices,
|
|
1286
|
+
invoiceDeleteInvoice,
|
|
1287
|
+
invoiceAddInvoice,
|
|
1288
|
+
getUsageAddUsageUrl,
|
|
1289
|
+
getTransactionsGetAllTransactionsByAccountIdUrl,
|
|
1290
|
+
getTransactionsAddPaymentTransactionUrl,
|
|
1291
|
+
getSubscriptionSetSubscriptionUpgradeRequiredUrl,
|
|
1292
|
+
getSubscriptionGetSubscriptionUrl,
|
|
1293
|
+
getSubscriptionFirstTimeSubscriptionUrl,
|
|
1294
|
+
getSubscriptionFirstTimeSubscriptionPreviewUrl,
|
|
1295
|
+
getSubscriptionChangeSubscriptionUrl,
|
|
1296
|
+
getSubscriptionChangeSubscriptionPreviewUrl,
|
|
1297
|
+
getSubscriptionAddOnAddSubscriptionAddOnUrl,
|
|
1298
|
+
getSubscriptionAddDiscountToSubscriptionUrl,
|
|
1299
|
+
getRegistrationRegisterAccountUrl,
|
|
1300
|
+
getPlanGetAllPlansUrl,
|
|
1301
|
+
getPlanFamilyGetAllPlanFamiliesUrl,
|
|
1302
|
+
getPersonUpdatePersonUrl,
|
|
1303
|
+
getPersonSetTemporaryPasswordUrl,
|
|
1304
|
+
getPersonRegenerateTwoFactorRecoveryCodesUrl,
|
|
1305
|
+
getPersonGetPersonUrl,
|
|
1306
|
+
getPersonGetAllPeopleUrl,
|
|
1307
|
+
getPersonForgotPasswordUrl,
|
|
1308
|
+
getPersonDeletePersonUrl,
|
|
1309
|
+
getPersonAddPersonUrl,
|
|
1310
|
+
getPaymentInformationSavePaymentInformationUrl,
|
|
1311
|
+
getInvoiceUpdateInvoiceUrl,
|
|
1312
|
+
getInvoiceSendInvoicePaidEmailUrl,
|
|
1313
|
+
getInvoiceSendInvoiceEmailUrl,
|
|
1314
|
+
getInvoiceGetInvoiceUrl,
|
|
1315
|
+
getInvoiceGetInvoiceAsPdfUrl,
|
|
1316
|
+
getInvoiceGetAllInvoicesUrl,
|
|
1317
|
+
getInvoiceDeleteInvoiceUrl,
|
|
1318
|
+
getInvoiceAddInvoiceUrl,
|
|
1319
|
+
getEmailListGetAllSubscriptionsUrl,
|
|
1320
|
+
getEmailListDeleteSubscriptionUrl,
|
|
1321
|
+
getEmailListAddSubscriptionUrl,
|
|
1322
|
+
getDiscountCouponAddDiscountCouponUrl,
|
|
1323
|
+
getDealUpdateDealUrl,
|
|
1324
|
+
getDealGetDealUrl,
|
|
1325
|
+
getDealGetAllDealsUrl,
|
|
1326
|
+
getDealDeleteDealUrl,
|
|
1327
|
+
getDealAddDealUrl,
|
|
1328
|
+
getCategoryGetAllCategoriesUrl,
|
|
1329
|
+
getCaseGetCaseUrl,
|
|
1330
|
+
getCaseGetAllCasesUrl,
|
|
1331
|
+
getCaseAddReplyUrl,
|
|
1332
|
+
getCaseAddClientResponseUrl,
|
|
1333
|
+
getCaseAddCaseUrl,
|
|
1334
|
+
getCampaignUpdateBroadcastEmailUrl,
|
|
1335
|
+
getCampaignUnscheduleBroadcastEmailUrl,
|
|
1336
|
+
getCampaignSendTestCampaignEmailUrl,
|
|
1337
|
+
getCampaignGetBroadcastEmailUrl,
|
|
1338
|
+
getCampaignGetAllBroadcastEmailsUrl,
|
|
1339
|
+
getCampaignDeleteBroadcastCampaignUrl,
|
|
1340
|
+
getCampaignArchiveBroadcastCampaignUrl,
|
|
1341
|
+
getCampaignAddBroadcastEmailUrl,
|
|
1342
|
+
getArticleGetArticleUrl,
|
|
1343
|
+
getArticleGetAllArticlesUrl,
|
|
1344
|
+
getActivityGetAllUrl,
|
|
1345
|
+
getActivityAddCustomActivityUrl,
|
|
1346
|
+
getAccountUpdateMembershipUrl,
|
|
1347
|
+
getAccountUpdateAccountUrl,
|
|
1348
|
+
getAccountSendConfirmationEmailUrl,
|
|
1349
|
+
getAccountRemoveCancellationUrl,
|
|
1350
|
+
getAccountGetAllAccountsUrl,
|
|
1351
|
+
getAccountGetAccountUrl,
|
|
1352
|
+
getAccountExtendTrialUrl,
|
|
1353
|
+
getAccountDeleteMembershipUrl,
|
|
1354
|
+
getAccountDeleteAccountUrl,
|
|
1355
|
+
getAccountCancelAccountUrl,
|
|
1356
|
+
getAccountAddPersonToAccountUrl,
|
|
1357
|
+
getAccountAddAccountUrl,
|
|
1358
|
+
emailListGetAllSubscriptions,
|
|
1359
|
+
emailListDeleteSubscription,
|
|
1360
|
+
emailListAddSubscription,
|
|
1361
|
+
discountCouponAddDiscountCoupon,
|
|
1362
|
+
dealUpdateDeal,
|
|
1363
|
+
dealGetDeal,
|
|
1364
|
+
dealGetAllDeals,
|
|
1365
|
+
dealDeleteDeal,
|
|
1366
|
+
dealAddDeal,
|
|
35
1367
|
customFetch,
|
|
36
|
-
createClient
|
|
1368
|
+
createClient,
|
|
1369
|
+
categoryGetAllCategories,
|
|
1370
|
+
caseGetCase,
|
|
1371
|
+
caseGetAllCases,
|
|
1372
|
+
caseAddReply,
|
|
1373
|
+
caseAddClientResponse,
|
|
1374
|
+
caseAddCase,
|
|
1375
|
+
campaignUpdateBroadcastEmail,
|
|
1376
|
+
campaignUnscheduleBroadcastEmail,
|
|
1377
|
+
campaignSendTestCampaignEmail,
|
|
1378
|
+
campaignGetBroadcastEmail,
|
|
1379
|
+
campaignGetAllBroadcastEmails,
|
|
1380
|
+
campaignDeleteBroadcastCampaign,
|
|
1381
|
+
campaignArchiveBroadcastCampaign,
|
|
1382
|
+
campaignAddBroadcastEmail,
|
|
1383
|
+
articleGetArticle,
|
|
1384
|
+
articleGetAllArticles,
|
|
1385
|
+
activityGetAll,
|
|
1386
|
+
activityAddCustomActivity,
|
|
1387
|
+
accountUpdateMembership,
|
|
1388
|
+
accountUpdateAccount,
|
|
1389
|
+
accountSendConfirmationEmail,
|
|
1390
|
+
accountRemoveCancellation,
|
|
1391
|
+
accountGetAllAccounts,
|
|
1392
|
+
accountGetAccount,
|
|
1393
|
+
accountExtendTrial,
|
|
1394
|
+
accountDeleteMembership,
|
|
1395
|
+
accountDeleteAccount,
|
|
1396
|
+
accountCancelAccount,
|
|
1397
|
+
accountAddPersonToAccount,
|
|
1398
|
+
accountAddAccount,
|
|
1399
|
+
TaskStatus,
|
|
1400
|
+
TagColor,
|
|
1401
|
+
SupportCaseStatus,
|
|
1402
|
+
SupportCaseSource,
|
|
1403
|
+
SupportCaseHistoryType,
|
|
1404
|
+
SupportArticleStatus,
|
|
1405
|
+
SpamStatus,
|
|
1406
|
+
RegistrationField,
|
|
1407
|
+
QcountStatus,
|
|
1408
|
+
QcountConfigSettingType,
|
|
1409
|
+
PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus,
|
|
1410
|
+
PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus,
|
|
1411
|
+
PersonSegmentRemovedWebhookPayloadAccountAccountStage,
|
|
1412
|
+
PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus,
|
|
1413
|
+
PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus,
|
|
1414
|
+
PersonSegmentAddedWebhookPayloadAccountAccountStage,
|
|
1415
|
+
PaymentsMode,
|
|
1416
|
+
PaymentsGatewayActivationStatus,
|
|
1417
|
+
OAuthService,
|
|
1418
|
+
LineItemType,
|
|
1419
|
+
EntityType,
|
|
1420
|
+
EmailListSubscriberStatus,
|
|
1421
|
+
DeserializationStatus,
|
|
1422
|
+
DatabaseType,
|
|
1423
|
+
ContentGroupItemMatchMode,
|
|
1424
|
+
CancelationStatus,
|
|
1425
|
+
CampaignType,
|
|
1426
|
+
BroadcastCampaignStatus,
|
|
1427
|
+
BillingTransactionType,
|
|
1428
|
+
BillingSystem,
|
|
1429
|
+
BillingRenewalTerm,
|
|
1430
|
+
BillingInvoiceStatus,
|
|
1431
|
+
BillingDiscountDuration,
|
|
1432
|
+
BillingAddOnType,
|
|
1433
|
+
BackGroundTaskType,
|
|
1434
|
+
ApiKeyType,
|
|
1435
|
+
ActivityType,
|
|
1436
|
+
AccountStage,
|
|
1437
|
+
AccountRegistrationMode,
|
|
1438
|
+
AcceptTermsAndConditionsLocations
|
|
37
1439
|
};
|