@outseta/api-client 0.3.4 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +302 -0
- package/package.json +1 -1
- package/src/generated/activity/activity.ts +1 -1
- package/src/generated/attribute/attribute.ts +2 -2
- package/src/generated/billing/billing.ts +1639 -430
- package/src/generated/crm/crm.ts +9 -6
- package/src/generated/email/email.ts +4 -3
- package/src/generated/models/discountCouponGetAllDiscountCouponsParams.ts +18 -0
- package/src/generated/models/discountCouponGetDiscountCouponByCodeParams.ts +9 -0
- package/src/generated/models/discountCouponGetDiscountCouponRedemptionsParams.ts +14 -0
- package/src/generated/models/discountCouponUpdateDiscountCouponBody.ts +7 -0
- package/src/generated/models/index.ts +12 -0
- package/src/generated/models/messageAllOf.ts +5 -0
- package/src/generated/models/planAddPlanBody.ts +7 -0
- package/src/generated/models/planFamilyAddPlanFamilyBody.ts +7 -0
- package/src/generated/models/planFamilyUpdatePlanFamilyBody.ts +7 -0
- package/src/generated/models/planUpdatePlanBody.ts +7 -0
- package/src/generated/models/subscriptionAddOnAddSubscriptionAddOnPreviewBody.ts +7 -0
- package/src/generated/models/subscriptionAddOnGetAllSubscriptionsAddOnsParams.ts +9 -0
- package/src/generated/models/subscriptionAddOnSetAddOnUpgradeRequiredBody.ts +7 -0
- package/src/generated/models/subscriptionGetAllSubscriptionsParams.ts +14 -0
- package/src/generated/public/public.ts +4 -2
- package/src/generated/support/support.ts +6 -5
package/dist/index.js
CHANGED
|
@@ -70,6 +70,38 @@ var activityAddCustomActivity = async (activityAddCustomActivityBody, options) =
|
|
|
70
70
|
});
|
|
71
71
|
};
|
|
72
72
|
// src/generated/billing/billing.ts
|
|
73
|
+
var getDiscountCouponGetDiscountCouponByCodeUrl = (code, params) => {
|
|
74
|
+
const normalizedParams = new URLSearchParams;
|
|
75
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
76
|
+
if (value !== undefined) {
|
|
77
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
const stringifiedParams = normalizedParams.toString();
|
|
81
|
+
return stringifiedParams.length > 0 ? `/api/v1/public/billing/discountcoupons/${code}?${stringifiedParams}` : `/api/v1/public/billing/discountcoupons/${code}`;
|
|
82
|
+
};
|
|
83
|
+
var discountCouponGetDiscountCouponByCode = async (code, params, options) => {
|
|
84
|
+
return customFetch(getDiscountCouponGetDiscountCouponByCodeUrl(code, params), {
|
|
85
|
+
...options,
|
|
86
|
+
method: "GET"
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
var getDiscountCouponGetAllDiscountCouponsUrl = (params) => {
|
|
90
|
+
const normalizedParams = new URLSearchParams;
|
|
91
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
92
|
+
if (value !== undefined) {
|
|
93
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
const stringifiedParams = normalizedParams.toString();
|
|
97
|
+
return stringifiedParams.length > 0 ? `/api/v1/billing/discountcoupons?${stringifiedParams}` : `/api/v1/billing/discountcoupons`;
|
|
98
|
+
};
|
|
99
|
+
var discountCouponGetAllDiscountCoupons = async (params, options) => {
|
|
100
|
+
return customFetch(getDiscountCouponGetAllDiscountCouponsUrl(params), {
|
|
101
|
+
...options,
|
|
102
|
+
method: "GET"
|
|
103
|
+
});
|
|
104
|
+
};
|
|
73
105
|
var getDiscountCouponAddDiscountCouponUrl = () => {
|
|
74
106
|
return `/api/v1/billing/discountcoupons`;
|
|
75
107
|
};
|
|
@@ -81,6 +113,51 @@ var discountCouponAddDiscountCoupon = async (discountCouponAddDiscountCouponBody
|
|
|
81
113
|
body: JSON.stringify(discountCouponAddDiscountCouponBody)
|
|
82
114
|
});
|
|
83
115
|
};
|
|
116
|
+
var getDiscountCouponGetDiscountCouponUrl = (discountCouponUid) => {
|
|
117
|
+
return `/api/v1/billing/discountcoupons/${discountCouponUid}`;
|
|
118
|
+
};
|
|
119
|
+
var discountCouponGetDiscountCoupon = async (discountCouponUid, options) => {
|
|
120
|
+
return customFetch(getDiscountCouponGetDiscountCouponUrl(discountCouponUid), {
|
|
121
|
+
...options,
|
|
122
|
+
method: "GET"
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
var getDiscountCouponUpdateDiscountCouponUrl = (discountCouponUid) => {
|
|
126
|
+
return `/api/v1/billing/discountcoupons/${discountCouponUid}`;
|
|
127
|
+
};
|
|
128
|
+
var discountCouponUpdateDiscountCoupon = async (discountCouponUid, discountCouponUpdateDiscountCouponBody, options) => {
|
|
129
|
+
return customFetch(getDiscountCouponUpdateDiscountCouponUrl(discountCouponUid), {
|
|
130
|
+
...options,
|
|
131
|
+
method: "PUT",
|
|
132
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
133
|
+
body: JSON.stringify(discountCouponUpdateDiscountCouponBody)
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
var getDiscountCouponDeleteDiscountCouponUrl = (discountCouponUid) => {
|
|
137
|
+
return `/api/v1/billing/discountcoupons/${discountCouponUid}`;
|
|
138
|
+
};
|
|
139
|
+
var discountCouponDeleteDiscountCoupon = async (discountCouponUid, options) => {
|
|
140
|
+
return customFetch(getDiscountCouponDeleteDiscountCouponUrl(discountCouponUid), {
|
|
141
|
+
...options,
|
|
142
|
+
method: "DELETE"
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
var getDiscountCouponGetDiscountCouponRedemptionsUrl = (discountCouponUid, params) => {
|
|
146
|
+
const normalizedParams = new URLSearchParams;
|
|
147
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
148
|
+
if (value !== undefined) {
|
|
149
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
const stringifiedParams = normalizedParams.toString();
|
|
153
|
+
return stringifiedParams.length > 0 ? `/api/v1/billing/discountcoupons/${discountCouponUid}/redemptions?${stringifiedParams}` : `/api/v1/billing/discountcoupons/${discountCouponUid}/redemptions`;
|
|
154
|
+
};
|
|
155
|
+
var discountCouponGetDiscountCouponRedemptions = async (discountCouponUid, params, options) => {
|
|
156
|
+
return customFetch(getDiscountCouponGetDiscountCouponRedemptionsUrl(discountCouponUid, params), {
|
|
157
|
+
...options,
|
|
158
|
+
method: "GET"
|
|
159
|
+
});
|
|
160
|
+
};
|
|
84
161
|
var getUsageAddUsageUrl = () => {
|
|
85
162
|
return `/api/v1/billing/usage`;
|
|
86
163
|
};
|
|
@@ -123,6 +200,22 @@ var paymentInformationSavePaymentInformation = async (paymentInformationSavePaym
|
|
|
123
200
|
body: JSON.stringify(paymentInformationSavePaymentInformationBody)
|
|
124
201
|
});
|
|
125
202
|
};
|
|
203
|
+
var getSubscriptionAddOnGetAllSubscriptionsAddOnsUrl = (params) => {
|
|
204
|
+
const normalizedParams = new URLSearchParams;
|
|
205
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
206
|
+
if (value !== undefined) {
|
|
207
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
const stringifiedParams = normalizedParams.toString();
|
|
211
|
+
return stringifiedParams.length > 0 ? `/api/v1/billing/subscriptionaddons?${stringifiedParams}` : `/api/v1/billing/subscriptionaddons`;
|
|
212
|
+
};
|
|
213
|
+
var subscriptionAddOnGetAllSubscriptionsAddOns = async (params, options) => {
|
|
214
|
+
return customFetch(getSubscriptionAddOnGetAllSubscriptionsAddOnsUrl(params), {
|
|
215
|
+
...options,
|
|
216
|
+
method: "GET"
|
|
217
|
+
});
|
|
218
|
+
};
|
|
126
219
|
var getSubscriptionAddOnAddSubscriptionAddOnUrl = () => {
|
|
127
220
|
return `/api/v1/billing/subscriptionaddons`;
|
|
128
221
|
};
|
|
@@ -134,6 +227,55 @@ var subscriptionAddOnAddSubscriptionAddOn = async (subscriptionAddOnAddSubscript
|
|
|
134
227
|
body: JSON.stringify(subscriptionAddOnAddSubscriptionAddOnBody)
|
|
135
228
|
});
|
|
136
229
|
};
|
|
230
|
+
var getSubscriptionAddOnGetSubscriptionAddOnUrl = (subscriptionAddOnUid) => {
|
|
231
|
+
return `/api/v1/billing/subscriptionaddons/${subscriptionAddOnUid}`;
|
|
232
|
+
};
|
|
233
|
+
var subscriptionAddOnGetSubscriptionAddOn = async (subscriptionAddOnUid, options) => {
|
|
234
|
+
return customFetch(getSubscriptionAddOnGetSubscriptionAddOnUrl(subscriptionAddOnUid), {
|
|
235
|
+
...options,
|
|
236
|
+
method: "GET"
|
|
237
|
+
});
|
|
238
|
+
};
|
|
239
|
+
var getSubscriptionAddOnAddSubscriptionAddOnPreviewUrl = () => {
|
|
240
|
+
return `/api/v1/billing/subscriptionaddons/addsubscriptionaddonpreview`;
|
|
241
|
+
};
|
|
242
|
+
var subscriptionAddOnAddSubscriptionAddOnPreview = async (subscriptionAddOnAddSubscriptionAddOnPreviewBody, options) => {
|
|
243
|
+
return customFetch(getSubscriptionAddOnAddSubscriptionAddOnPreviewUrl(), {
|
|
244
|
+
...options,
|
|
245
|
+
method: "POST",
|
|
246
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
247
|
+
body: JSON.stringify(subscriptionAddOnAddSubscriptionAddOnPreviewBody)
|
|
248
|
+
});
|
|
249
|
+
};
|
|
250
|
+
var getSubscriptionAddOnSetAddOnUpgradeRequiredUrl = (subscriptionAddOnUid) => {
|
|
251
|
+
return `/api/v1/billing/subscriptionaddons/${subscriptionAddOnUid}/setaddonupgraderequired`;
|
|
252
|
+
};
|
|
253
|
+
var subscriptionAddOnSetAddOnUpgradeRequired = async (subscriptionAddOnUid, subscriptionAddOnSetAddOnUpgradeRequiredBody, options) => {
|
|
254
|
+
return customFetch(getSubscriptionAddOnSetAddOnUpgradeRequiredUrl(subscriptionAddOnUid), {
|
|
255
|
+
...options,
|
|
256
|
+
method: "PUT",
|
|
257
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
258
|
+
body: JSON.stringify(subscriptionAddOnSetAddOnUpgradeRequiredBody)
|
|
259
|
+
});
|
|
260
|
+
};
|
|
261
|
+
var getSubscriptionAddOnEndSubscriptionAddOnUrl = (subscriptionAddOnUid) => {
|
|
262
|
+
return `/api/v1/billing/subscriptionaddons/${subscriptionAddOnUid}/end`;
|
|
263
|
+
};
|
|
264
|
+
var subscriptionAddOnEndSubscriptionAddOn = async (subscriptionAddOnUid, options) => {
|
|
265
|
+
return customFetch(getSubscriptionAddOnEndSubscriptionAddOnUrl(subscriptionAddOnUid), {
|
|
266
|
+
...options,
|
|
267
|
+
method: "PUT"
|
|
268
|
+
});
|
|
269
|
+
};
|
|
270
|
+
var getSubscriptionAddOnExpireSubscriptionAddOnUrl = (subscriptionAddOnUid) => {
|
|
271
|
+
return `/api/v1/billing/subscriptionaddons/${subscriptionAddOnUid}/expire`;
|
|
272
|
+
};
|
|
273
|
+
var subscriptionAddOnExpireSubscriptionAddOn = async (subscriptionAddOnUid, options) => {
|
|
274
|
+
return customFetch(getSubscriptionAddOnExpireSubscriptionAddOnUrl(subscriptionAddOnUid), {
|
|
275
|
+
...options,
|
|
276
|
+
method: "PUT"
|
|
277
|
+
});
|
|
278
|
+
};
|
|
137
279
|
var getInvoiceGetAllInvoicesUrl = () => {
|
|
138
280
|
return `/api/v1/billing/invoices`;
|
|
139
281
|
};
|
|
@@ -210,6 +352,22 @@ var invoiceSendInvoicePaidEmail = async (invoiceUid, options) => {
|
|
|
210
352
|
method: "POST"
|
|
211
353
|
});
|
|
212
354
|
};
|
|
355
|
+
var getSubscriptionGetAllSubscriptionsUrl = (params) => {
|
|
356
|
+
const normalizedParams = new URLSearchParams;
|
|
357
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
358
|
+
if (value !== undefined) {
|
|
359
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
const stringifiedParams = normalizedParams.toString();
|
|
363
|
+
return stringifiedParams.length > 0 ? `/api/v1/billing/subscriptions?${stringifiedParams}` : `/api/v1/billing/subscriptions`;
|
|
364
|
+
};
|
|
365
|
+
var subscriptionGetAllSubscriptions = async (params, options) => {
|
|
366
|
+
return customFetch(getSubscriptionGetAllSubscriptionsUrl(params), {
|
|
367
|
+
...options,
|
|
368
|
+
method: "GET"
|
|
369
|
+
});
|
|
370
|
+
};
|
|
213
371
|
var getSubscriptionGetSubscriptionUrl = (subscriptionUid) => {
|
|
214
372
|
return `/api/v1/billing/subscriptions/${subscriptionUid}`;
|
|
215
373
|
};
|
|
@@ -219,6 +377,15 @@ var subscriptionGetSubscription = async (subscriptionUid, options) => {
|
|
|
219
377
|
method: "GET"
|
|
220
378
|
});
|
|
221
379
|
};
|
|
380
|
+
var getSubscriptionDeleteSubscriptionUrl = (subscriptionUid) => {
|
|
381
|
+
return `/api/v1/billing/subscriptions/${subscriptionUid}`;
|
|
382
|
+
};
|
|
383
|
+
var subscriptionDeleteSubscription = async (subscriptionUid, options) => {
|
|
384
|
+
return customFetch(getSubscriptionDeleteSubscriptionUrl(subscriptionUid), {
|
|
385
|
+
...options,
|
|
386
|
+
method: "DELETE"
|
|
387
|
+
});
|
|
388
|
+
};
|
|
222
389
|
var getSubscriptionAddDiscountToSubscriptionUrl = (subscriptionUid, discountUid) => {
|
|
223
390
|
return `/api/v1/billing/subscriptions/${subscriptionUid}/discounts/${discountUid}`;
|
|
224
391
|
};
|
|
@@ -228,6 +395,15 @@ var subscriptionAddDiscountToSubscription = async (subscriptionUid, discountUid,
|
|
|
228
395
|
method: "POST"
|
|
229
396
|
});
|
|
230
397
|
};
|
|
398
|
+
var getSubscriptionExpireDiscountCouponSubscriptionUrl = (subscriptionUid, discountUid) => {
|
|
399
|
+
return `/api/v1/billing/subscriptions/${subscriptionUid}/discounts/${discountUid}`;
|
|
400
|
+
};
|
|
401
|
+
var subscriptionExpireDiscountCouponSubscription = async (subscriptionUid, discountUid, options) => {
|
|
402
|
+
return customFetch(getSubscriptionExpireDiscountCouponSubscriptionUrl(subscriptionUid, discountUid), {
|
|
403
|
+
...options,
|
|
404
|
+
method: "DELETE"
|
|
405
|
+
});
|
|
406
|
+
};
|
|
231
407
|
var getSubscriptionSetSubscriptionUpgradeRequiredUrl = (subscriptionUid) => {
|
|
232
408
|
return `/api/v1/billing/subscriptions/${subscriptionUid}/setsubscriptionupgraderequired`;
|
|
233
409
|
};
|
|
@@ -313,6 +489,46 @@ var planGetAllPlans = async (options) => {
|
|
|
313
489
|
method: "GET"
|
|
314
490
|
});
|
|
315
491
|
};
|
|
492
|
+
var getPlanAddPlanUrl = () => {
|
|
493
|
+
return `/api/v1/billing/plans`;
|
|
494
|
+
};
|
|
495
|
+
var planAddPlan = async (planAddPlanBody, options) => {
|
|
496
|
+
return customFetch(getPlanAddPlanUrl(), {
|
|
497
|
+
...options,
|
|
498
|
+
method: "POST",
|
|
499
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
500
|
+
body: JSON.stringify(planAddPlanBody)
|
|
501
|
+
});
|
|
502
|
+
};
|
|
503
|
+
var getPlanGetPlanUrl = (planUid) => {
|
|
504
|
+
return `/api/v1/billing/plans/${planUid}`;
|
|
505
|
+
};
|
|
506
|
+
var planGetPlan = async (planUid, options) => {
|
|
507
|
+
return customFetch(getPlanGetPlanUrl(planUid), {
|
|
508
|
+
...options,
|
|
509
|
+
method: "GET"
|
|
510
|
+
});
|
|
511
|
+
};
|
|
512
|
+
var getPlanUpdatePlanUrl = (planUid) => {
|
|
513
|
+
return `/api/v1/billing/plans/${planUid}`;
|
|
514
|
+
};
|
|
515
|
+
var planUpdatePlan = async (planUid, planUpdatePlanBody, options) => {
|
|
516
|
+
return customFetch(getPlanUpdatePlanUrl(planUid), {
|
|
517
|
+
...options,
|
|
518
|
+
method: "PUT",
|
|
519
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
520
|
+
body: JSON.stringify(planUpdatePlanBody)
|
|
521
|
+
});
|
|
522
|
+
};
|
|
523
|
+
var getPlanDeletePlanUrl = (planUid) => {
|
|
524
|
+
return `/api/v1/billing/plans/${planUid}`;
|
|
525
|
+
};
|
|
526
|
+
var planDeletePlan = async (planUid, options) => {
|
|
527
|
+
return customFetch(getPlanDeletePlanUrl(planUid), {
|
|
528
|
+
...options,
|
|
529
|
+
method: "DELETE"
|
|
530
|
+
});
|
|
531
|
+
};
|
|
316
532
|
var getPlanFamilyGetAllPlanFamiliesUrl = () => {
|
|
317
533
|
return `/api/v1/billing/planfamilies`;
|
|
318
534
|
};
|
|
@@ -322,6 +538,46 @@ var planFamilyGetAllPlanFamilies = async (options) => {
|
|
|
322
538
|
method: "GET"
|
|
323
539
|
});
|
|
324
540
|
};
|
|
541
|
+
var getPlanFamilyAddPlanFamilyUrl = () => {
|
|
542
|
+
return `/api/v1/billing/planfamilies`;
|
|
543
|
+
};
|
|
544
|
+
var planFamilyAddPlanFamily = async (planFamilyAddPlanFamilyBody, options) => {
|
|
545
|
+
return customFetch(getPlanFamilyAddPlanFamilyUrl(), {
|
|
546
|
+
...options,
|
|
547
|
+
method: "POST",
|
|
548
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
549
|
+
body: JSON.stringify(planFamilyAddPlanFamilyBody)
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
var getPlanFamilyGetPlanFamilyUrl = (planFamilyUid) => {
|
|
553
|
+
return `/api/v1/billing/planfamilies/${planFamilyUid}`;
|
|
554
|
+
};
|
|
555
|
+
var planFamilyGetPlanFamily = async (planFamilyUid, options) => {
|
|
556
|
+
return customFetch(getPlanFamilyGetPlanFamilyUrl(planFamilyUid), {
|
|
557
|
+
...options,
|
|
558
|
+
method: "GET"
|
|
559
|
+
});
|
|
560
|
+
};
|
|
561
|
+
var getPlanFamilyUpdatePlanFamilyUrl = (planFamilyUid) => {
|
|
562
|
+
return `/api/v1/billing/planfamilies/${planFamilyUid}`;
|
|
563
|
+
};
|
|
564
|
+
var planFamilyUpdatePlanFamily = async (planFamilyUid, planFamilyUpdatePlanFamilyBody, options) => {
|
|
565
|
+
return customFetch(getPlanFamilyUpdatePlanFamilyUrl(planFamilyUid), {
|
|
566
|
+
...options,
|
|
567
|
+
method: "PUT",
|
|
568
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
569
|
+
body: JSON.stringify(planFamilyUpdatePlanFamilyBody)
|
|
570
|
+
});
|
|
571
|
+
};
|
|
572
|
+
var getPlanFamilyDeletePlanFamilyUrl = (planFamilyUid) => {
|
|
573
|
+
return `/api/v1/billing/planfamilies/${planFamilyUid}`;
|
|
574
|
+
};
|
|
575
|
+
var planFamilyDeletePlanFamily = async (planFamilyUid, options) => {
|
|
576
|
+
return customFetch(getPlanFamilyDeletePlanFamilyUrl(planFamilyUid), {
|
|
577
|
+
...options,
|
|
578
|
+
method: "DELETE"
|
|
579
|
+
});
|
|
580
|
+
};
|
|
325
581
|
// src/generated/crm/crm.ts
|
|
326
582
|
var getDealGetAllDealsUrl = (params) => {
|
|
327
583
|
const normalizedParams = new URLSearchParams;
|
|
@@ -1261,15 +1517,32 @@ export {
|
|
|
1261
1517
|
transactionsAddPaymentTransaction,
|
|
1262
1518
|
subscriptionSetSubscriptionUpgradeRequired,
|
|
1263
1519
|
subscriptionGetSubscription,
|
|
1520
|
+
subscriptionGetAllSubscriptions,
|
|
1264
1521
|
subscriptionFirstTimeSubscriptionPreview,
|
|
1265
1522
|
subscriptionFirstTimeSubscription,
|
|
1523
|
+
subscriptionExpireDiscountCouponSubscription,
|
|
1524
|
+
subscriptionDeleteSubscription,
|
|
1266
1525
|
subscriptionChangeSubscriptionPreview,
|
|
1267
1526
|
subscriptionChangeSubscription,
|
|
1527
|
+
subscriptionAddOnSetAddOnUpgradeRequired,
|
|
1528
|
+
subscriptionAddOnGetSubscriptionAddOn,
|
|
1529
|
+
subscriptionAddOnGetAllSubscriptionsAddOns,
|
|
1530
|
+
subscriptionAddOnExpireSubscriptionAddOn,
|
|
1531
|
+
subscriptionAddOnEndSubscriptionAddOn,
|
|
1532
|
+
subscriptionAddOnAddSubscriptionAddOnPreview,
|
|
1268
1533
|
subscriptionAddOnAddSubscriptionAddOn,
|
|
1269
1534
|
subscriptionAddDiscountToSubscription,
|
|
1270
1535
|
registrationRegisterAccount,
|
|
1536
|
+
planUpdatePlan,
|
|
1537
|
+
planGetPlan,
|
|
1271
1538
|
planGetAllPlans,
|
|
1539
|
+
planFamilyUpdatePlanFamily,
|
|
1540
|
+
planFamilyGetPlanFamily,
|
|
1272
1541
|
planFamilyGetAllPlanFamilies,
|
|
1542
|
+
planFamilyDeletePlanFamily,
|
|
1543
|
+
planFamilyAddPlanFamily,
|
|
1544
|
+
planDeletePlan,
|
|
1545
|
+
planAddPlan,
|
|
1273
1546
|
personUpdatePerson,
|
|
1274
1547
|
personSetTemporaryPassword,
|
|
1275
1548
|
personRegenerateTwoFactorRecoveryCodes,
|
|
@@ -1292,15 +1565,32 @@ export {
|
|
|
1292
1565
|
getTransactionsAddPaymentTransactionUrl,
|
|
1293
1566
|
getSubscriptionSetSubscriptionUpgradeRequiredUrl,
|
|
1294
1567
|
getSubscriptionGetSubscriptionUrl,
|
|
1568
|
+
getSubscriptionGetAllSubscriptionsUrl,
|
|
1295
1569
|
getSubscriptionFirstTimeSubscriptionUrl,
|
|
1296
1570
|
getSubscriptionFirstTimeSubscriptionPreviewUrl,
|
|
1571
|
+
getSubscriptionExpireDiscountCouponSubscriptionUrl,
|
|
1572
|
+
getSubscriptionDeleteSubscriptionUrl,
|
|
1297
1573
|
getSubscriptionChangeSubscriptionUrl,
|
|
1298
1574
|
getSubscriptionChangeSubscriptionPreviewUrl,
|
|
1575
|
+
getSubscriptionAddOnSetAddOnUpgradeRequiredUrl,
|
|
1576
|
+
getSubscriptionAddOnGetSubscriptionAddOnUrl,
|
|
1577
|
+
getSubscriptionAddOnGetAllSubscriptionsAddOnsUrl,
|
|
1578
|
+
getSubscriptionAddOnExpireSubscriptionAddOnUrl,
|
|
1579
|
+
getSubscriptionAddOnEndSubscriptionAddOnUrl,
|
|
1299
1580
|
getSubscriptionAddOnAddSubscriptionAddOnUrl,
|
|
1581
|
+
getSubscriptionAddOnAddSubscriptionAddOnPreviewUrl,
|
|
1300
1582
|
getSubscriptionAddDiscountToSubscriptionUrl,
|
|
1301
1583
|
getRegistrationRegisterAccountUrl,
|
|
1584
|
+
getPlanUpdatePlanUrl,
|
|
1585
|
+
getPlanGetPlanUrl,
|
|
1302
1586
|
getPlanGetAllPlansUrl,
|
|
1587
|
+
getPlanFamilyUpdatePlanFamilyUrl,
|
|
1588
|
+
getPlanFamilyGetPlanFamilyUrl,
|
|
1303
1589
|
getPlanFamilyGetAllPlanFamiliesUrl,
|
|
1590
|
+
getPlanFamilyDeletePlanFamilyUrl,
|
|
1591
|
+
getPlanFamilyAddPlanFamilyUrl,
|
|
1592
|
+
getPlanDeletePlanUrl,
|
|
1593
|
+
getPlanAddPlanUrl,
|
|
1304
1594
|
getPersonUpdatePersonUrl,
|
|
1305
1595
|
getPersonSetTemporaryPasswordUrl,
|
|
1306
1596
|
getPersonRegenerateTwoFactorRecoveryCodesUrl,
|
|
@@ -1321,6 +1611,12 @@ export {
|
|
|
1321
1611
|
getEmailListGetAllSubscriptionsUrl,
|
|
1322
1612
|
getEmailListDeleteSubscriptionUrl,
|
|
1323
1613
|
getEmailListAddSubscriptionUrl,
|
|
1614
|
+
getDiscountCouponUpdateDiscountCouponUrl,
|
|
1615
|
+
getDiscountCouponGetDiscountCouponUrl,
|
|
1616
|
+
getDiscountCouponGetDiscountCouponRedemptionsUrl,
|
|
1617
|
+
getDiscountCouponGetDiscountCouponByCodeUrl,
|
|
1618
|
+
getDiscountCouponGetAllDiscountCouponsUrl,
|
|
1619
|
+
getDiscountCouponDeleteDiscountCouponUrl,
|
|
1324
1620
|
getDiscountCouponAddDiscountCouponUrl,
|
|
1325
1621
|
getDealUpdateDealUrl,
|
|
1326
1622
|
getDealGetDealUrl,
|
|
@@ -1360,6 +1656,12 @@ export {
|
|
|
1360
1656
|
emailListGetAllSubscriptions,
|
|
1361
1657
|
emailListDeleteSubscription,
|
|
1362
1658
|
emailListAddSubscription,
|
|
1659
|
+
discountCouponUpdateDiscountCoupon,
|
|
1660
|
+
discountCouponGetDiscountCouponRedemptions,
|
|
1661
|
+
discountCouponGetDiscountCouponByCode,
|
|
1662
|
+
discountCouponGetDiscountCoupon,
|
|
1663
|
+
discountCouponGetAllDiscountCoupons,
|
|
1664
|
+
discountCouponDeleteDiscountCoupon,
|
|
1363
1665
|
discountCouponAddDiscountCoupon,
|
|
1364
1666
|
dealUpdateDeal,
|
|
1365
1667
|
dealGetDeal,
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@ ActivityType=[100,101] where ActivityUpdated = 100 and AcccountUpdated = 101.
|
|
|
40
40
|
Results will be limited to the last year unless ActivityDateTime is specified,
|
|
41
41
|
possibly with ActivityDateTime__gt/ActivityDateTime__gte and
|
|
42
42
|
ActivityDateTime__lt/ActivityDateTime__lte.
|
|
43
|
-
* @summary Retrieve all activities
|
|
43
|
+
* @summary Retrieve all activities.
|
|
44
44
|
*/
|
|
45
45
|
export type activityGetAllResponse200 = {
|
|
46
46
|
data: Activity[]
|
|
@@ -9,7 +9,7 @@ import { customFetch } from '../../client';
|
|
|
9
9
|
* entityType is the name of an EntityType enum value, for example: Account, Person,
|
|
10
10
|
Deal. Definitions describe the labels, system names, and control types of
|
|
11
11
|
the custom attributes that have been added to that entity.
|
|
12
|
-
* @summary
|
|
12
|
+
* @summary Retrieve all custom attribute definitions.
|
|
13
13
|
*/
|
|
14
14
|
export type definitionGetAllDefinitionsResponse200 = {
|
|
15
15
|
data: Definition[]
|
|
@@ -46,7 +46,7 @@ export const definitionGetAllDefinitions = async (entityType: string | null, opt
|
|
|
46
46
|
/**
|
|
47
47
|
* The entityType segment of the URL must match the type the definition belongs to
|
|
48
48
|
(e.g. Account, Person, Deal).
|
|
49
|
-
* @summary
|
|
49
|
+
* @summary Retrieve a custom attribute definition.
|
|
50
50
|
*/
|
|
51
51
|
export type definitionGetDefinitionResponse200 = {
|
|
52
52
|
data: Definition
|