@outseta/api-client 0.3.21 → 0.3.23
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 +77 -28
- package/package.json +1 -1
- package/src/generated/activity/activity.ts +2 -2
- package/src/generated/attribute/attribute.ts +18 -7
- package/src/generated/billing/billing.ts +70 -29
- package/src/generated/crm/crm.ts +6 -3
- package/src/generated/email/email.ts +32 -13
- package/src/generated/models/accountGetAllAccounts200.ts +8 -0
- package/src/generated/models/accountWebhookEntityPrimaryStripeSubscription.ts +2 -0
- package/src/generated/models/accountWebhookEntityStripeSubscriptionsItem.ts +2 -0
- package/src/generated/models/activityGetAll200.ts +8 -0
- package/src/generated/models/articleGetAllArticles200.ts +8 -0
- package/src/generated/models/campaignGetAllBroadcastEmails200.ts +8 -0
- package/src/generated/models/campaignGetAllBroadcastEmailsParams.ts +14 -0
- package/src/generated/models/caseGetAllCases200.ts +8 -0
- package/src/generated/models/categoryGetAllCategories200.ts +8 -0
- package/src/generated/models/categoryGetAllCategoriesParams.ts +14 -0
- package/src/generated/models/collectionMetadata.ts +7 -0
- package/src/generated/models/dealGetAllDeals200.ts +8 -0
- package/src/generated/models/definitionGetAllDefinitions200.ts +8 -0
- package/src/generated/models/definitionGetAllDefinitionsParams.ts +14 -0
- package/src/generated/models/discountCouponGetAllDiscountCoupons200.ts +8 -0
- package/src/generated/models/discountCouponGetDiscountCouponRedemptions200.ts +8 -0
- package/src/generated/models/dripCampaignGetAllDripCampaigns200.ts +8 -0
- package/src/generated/models/dripCampaignGetAllDripCampaignsParams.ts +14 -0
- package/src/generated/models/emailListGetAllSubscriptions200.ts +8 -0
- package/src/generated/models/index.ts +32 -0
- package/src/generated/models/invoiceGetAllInvoices200.ts +8 -0
- package/src/generated/models/invoiceGetAllInvoicesParams.ts +18 -0
- package/src/generated/models/limitParameter.ts +6 -0
- package/src/generated/models/offsetParameter.ts +6 -0
- package/src/generated/models/personGetAllPeople200.ts +8 -0
- package/src/generated/models/planFamilyGetAllPlanFamilies200.ts +8 -0
- package/src/generated/models/planFamilyGetAllPlanFamiliesParams.ts +14 -0
- package/src/generated/models/planGetAllPlans200.ts +8 -0
- package/src/generated/models/planGetAllPlansParams.ts +14 -0
- package/src/generated/models/stripeChargeAllOf.ts +7 -0
- package/src/generated/models/stripeSubscriptionAllOf.ts +2 -0
- package/src/generated/models/stripeSubscriptionCancellationAllOf.ts +10 -0
- package/src/generated/models/stripeSubscriptionCancellationAllOfAccount.ts +7 -0
- package/src/generated/models/stripeSubscriptionCancellationAllOfLastProduct.ts +7 -0
- package/src/generated/models/subscriptionAddOnGetAllSubscriptionsAddOns200.ts +8 -0
- package/src/generated/models/subscriptionGetAllSubscriptions200.ts +8 -0
- package/src/generated/models/transactionsGetAllTransactionsByAccountId200.ts +8 -0
- package/src/generated/models/transactionsGetAllTransactionsByAccountIdParams.ts +14 -0
- package/src/generated/support/support.ts +19 -9
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { CollectionMetadata } from './collectionMetadata';
|
|
3
|
+
import type { BroadcastCampaign } from './broadcastCampaign';
|
|
4
|
+
|
|
5
|
+
export type CampaignGetAllBroadcastEmails200 = {
|
|
6
|
+
metadata?: CollectionMetadata;
|
|
7
|
+
items?: BroadcastCampaign[];
|
|
8
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { LimitParameter } from './limitParameter';
|
|
3
|
+
import type { OffsetParameter } from './offsetParameter';
|
|
4
|
+
|
|
5
|
+
export type CampaignGetAllBroadcastEmailsParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of records per page.
|
|
8
|
+
*/
|
|
9
|
+
limit?: LimitParameter;
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based page index.
|
|
12
|
+
*/
|
|
13
|
+
offset?: OffsetParameter;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { LimitParameter } from './limitParameter';
|
|
3
|
+
import type { OffsetParameter } from './offsetParameter';
|
|
4
|
+
|
|
5
|
+
export type CategoryGetAllCategoriesParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of records per page.
|
|
8
|
+
*/
|
|
9
|
+
limit?: LimitParameter;
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based page index.
|
|
12
|
+
*/
|
|
13
|
+
offset?: OffsetParameter;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { LimitParameter } from './limitParameter';
|
|
3
|
+
import type { OffsetParameter } from './offsetParameter';
|
|
4
|
+
|
|
5
|
+
export type DefinitionGetAllDefinitionsParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of records per page.
|
|
8
|
+
*/
|
|
9
|
+
limit?: LimitParameter;
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based page index.
|
|
12
|
+
*/
|
|
13
|
+
offset?: OffsetParameter;
|
|
14
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { CollectionMetadata } from './collectionMetadata';
|
|
3
|
+
import type { DiscountCouponSubscription } from './discountCouponSubscription';
|
|
4
|
+
|
|
5
|
+
export type DiscountCouponGetDiscountCouponRedemptions200 = {
|
|
6
|
+
metadata?: CollectionMetadata;
|
|
7
|
+
items?: DiscountCouponSubscription[];
|
|
8
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { LimitParameter } from './limitParameter';
|
|
3
|
+
import type { OffsetParameter } from './offsetParameter';
|
|
4
|
+
|
|
5
|
+
export type DripCampaignGetAllDripCampaignsParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of records per page.
|
|
8
|
+
*/
|
|
9
|
+
limit?: LimitParameter;
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based page index.
|
|
12
|
+
*/
|
|
13
|
+
offset?: OffsetParameter;
|
|
14
|
+
};
|
|
@@ -81,6 +81,7 @@ export * from './accountCancelationAllOfLastPlan';
|
|
|
81
81
|
export * from './accountCreatedWebhookPayload';
|
|
82
82
|
export * from './accountDeletedWebhookPayload';
|
|
83
83
|
export * from './accountExtendTrialBody';
|
|
84
|
+
export * from './accountGetAllAccounts200';
|
|
84
85
|
export * from './accountGetAllAccountsParams';
|
|
85
86
|
export * from './accountPaidSubscriptionCreatedActivityData';
|
|
86
87
|
export * from './accountPaidSubscriptionCreatedWebhookPayload';
|
|
@@ -201,6 +202,7 @@ export * from './activityCRMDealTriggerAllOf';
|
|
|
201
202
|
export * from './activityCRMDealTriggerAllOfDealPipelineStage';
|
|
202
203
|
export * from './activityCriteria';
|
|
203
204
|
export * from './activityCriteriaActivityType';
|
|
205
|
+
export * from './activityGetAll200';
|
|
204
206
|
export * from './activityGetAllParams';
|
|
205
207
|
export * from './activityNotification';
|
|
206
208
|
export * from './activityNotificationAllOf';
|
|
@@ -224,6 +226,7 @@ export * from './article';
|
|
|
224
226
|
export * from './articleAddArticleBody';
|
|
225
227
|
export * from './articleAllOf';
|
|
226
228
|
export * from './articleAllOfCategory';
|
|
229
|
+
export * from './articleGetAllArticles200';
|
|
227
230
|
export * from './articleGetAllArticlesParams';
|
|
228
231
|
export * from './authGetTokenParams';
|
|
229
232
|
export * from './authResendTwoFactorParams';
|
|
@@ -246,6 +249,8 @@ export * from './broadcastCampaignStatus';
|
|
|
246
249
|
export * from './campaign';
|
|
247
250
|
export * from './campaignAddBroadcastEmailBody';
|
|
248
251
|
export * from './campaignAllOf';
|
|
252
|
+
export * from './campaignGetAllBroadcastEmails200';
|
|
253
|
+
export * from './campaignGetAllBroadcastEmailsParams';
|
|
249
254
|
export * from './campaignSendTestCampaignEmailBody';
|
|
250
255
|
export * from './campaignType';
|
|
251
256
|
export * from './campaignUpdateBroadcastEmailBody';
|
|
@@ -255,6 +260,7 @@ export * from './caseAddCaseBody';
|
|
|
255
260
|
export * from './caseAddCaseParams';
|
|
256
261
|
export * from './caseAllOf';
|
|
257
262
|
export * from './caseAllOfLastCaseHistory';
|
|
263
|
+
export * from './caseGetAllCases200';
|
|
258
264
|
export * from './caseGetAllCasesParams';
|
|
259
265
|
export * from './caseHistory';
|
|
260
266
|
export * from './caseHistoryAllOf';
|
|
@@ -264,10 +270,13 @@ export * from './caseTagAllOfCase';
|
|
|
264
270
|
export * from './caseTagAllOfTag';
|
|
265
271
|
export * from './category';
|
|
266
272
|
export * from './categoryAllOf';
|
|
273
|
+
export * from './categoryGetAllCategories200';
|
|
274
|
+
export * from './categoryGetAllCategoriesParams';
|
|
267
275
|
export * from './chatSettings';
|
|
268
276
|
export * from './chatSettingsAllOf';
|
|
269
277
|
export * from './clientApplication';
|
|
270
278
|
export * from './clientApplicationAllOf';
|
|
279
|
+
export * from './collectionMetadata';
|
|
271
280
|
export * from './contentGroup';
|
|
272
281
|
export * from './contentGroupAllOf';
|
|
273
282
|
export * from './contentGroupItem';
|
|
@@ -288,6 +297,7 @@ export * from './dealAllOfOwner';
|
|
|
288
297
|
export * from './dealCreatedWebhookPayload';
|
|
289
298
|
export * from './dealDeletedWebhookPayload';
|
|
290
299
|
export * from './dealDueDateWebhookPayload';
|
|
300
|
+
export * from './dealGetAllDeals200';
|
|
291
301
|
export * from './dealGetAllDealsParams';
|
|
292
302
|
export * from './dealPerson';
|
|
293
303
|
export * from './dealPersonAllOf';
|
|
@@ -309,6 +319,8 @@ export * from './dealWebhookEntityOwner';
|
|
|
309
319
|
export * from './dealWebhookEntityOwnerOAuthIntegrationStatus';
|
|
310
320
|
export * from './definition';
|
|
311
321
|
export * from './definitionAllOf';
|
|
322
|
+
export * from './definitionGetAllDefinitions200';
|
|
323
|
+
export * from './definitionGetAllDefinitionsParams';
|
|
312
324
|
export * from './deserializationStatus';
|
|
313
325
|
export * from './discordRole';
|
|
314
326
|
export * from './discordRoleAllOf';
|
|
@@ -334,8 +346,10 @@ export * from './discordUserRolesUpdatedWebhookPayloadAllOf';
|
|
|
334
346
|
export * from './discountCoupon';
|
|
335
347
|
export * from './discountCouponAddDiscountCouponBody';
|
|
336
348
|
export * from './discountCouponAllOf';
|
|
349
|
+
export * from './discountCouponGetAllDiscountCoupons200';
|
|
337
350
|
export * from './discountCouponGetAllDiscountCouponsParams';
|
|
338
351
|
export * from './discountCouponGetDiscountCouponByCodeParams';
|
|
352
|
+
export * from './discountCouponGetDiscountCouponRedemptions200';
|
|
339
353
|
export * from './discountCouponGetDiscountCouponRedemptionsParams';
|
|
340
354
|
export * from './discountCouponPlan';
|
|
341
355
|
export * from './discountCouponPlanAllOf';
|
|
@@ -352,6 +366,8 @@ export * from './dripCampaignAddDripCampaignBody';
|
|
|
352
366
|
export * from './dripCampaignAddDripCampaignMessageBody';
|
|
353
367
|
export * from './dripCampaignAllOf';
|
|
354
368
|
export * from './dripCampaignAllOfCampaign';
|
|
369
|
+
export * from './dripCampaignGetAllDripCampaigns200';
|
|
370
|
+
export * from './dripCampaignGetAllDripCampaignsParams';
|
|
355
371
|
export * from './dripCampaignMessage';
|
|
356
372
|
export * from './dripCampaignMessageAllOf';
|
|
357
373
|
export * from './dripCampaignMessageAllOfDripCampaign';
|
|
@@ -364,6 +380,7 @@ export * from './emailLinkAllOf';
|
|
|
364
380
|
export * from './emailList';
|
|
365
381
|
export * from './emailListAddSubscriptionBody';
|
|
366
382
|
export * from './emailListAllOf';
|
|
383
|
+
export * from './emailListGetAllSubscriptions200';
|
|
367
384
|
export * from './emailListGetAllSubscriptionsParams';
|
|
368
385
|
export * from './emailListPerson';
|
|
369
386
|
export * from './emailListPersonAllOf';
|
|
@@ -382,6 +399,8 @@ export * from './invoiceAddInvoiceBody';
|
|
|
382
399
|
export * from './invoiceAllOf';
|
|
383
400
|
export * from './invoiceAllOfSubscription';
|
|
384
401
|
export * from './invoiceCreditOptions';
|
|
402
|
+
export * from './invoiceGetAllInvoices200';
|
|
403
|
+
export * from './invoiceGetAllInvoicesParams';
|
|
385
404
|
export * from './invoiceLineItem';
|
|
386
405
|
export * from './invoiceLineItemAllOf';
|
|
387
406
|
export * from './invoiceLineItemAllOfInvoice';
|
|
@@ -396,6 +415,7 @@ export * from './leadFormAllOf';
|
|
|
396
415
|
export * from './leadFormAllOfDealPipelineStage';
|
|
397
416
|
export * from './leadFormSubmission';
|
|
398
417
|
export * from './leadFormSubmissionAllOf';
|
|
418
|
+
export * from './limitParameter';
|
|
399
419
|
export * from './lineItemType';
|
|
400
420
|
export * from './message';
|
|
401
421
|
export * from './messageAllOf';
|
|
@@ -404,6 +424,7 @@ export * from './noCodeSettings';
|
|
|
404
424
|
export * from './noCodeSettingsAllOf';
|
|
405
425
|
export * from './noCodeSettingsAllOfAccount';
|
|
406
426
|
export * from './oAuthService';
|
|
427
|
+
export * from './offsetParameter';
|
|
407
428
|
export * from './passwordChangeModel';
|
|
408
429
|
export * from './passwordPayload';
|
|
409
430
|
export * from './pauseCollectionOptions';
|
|
@@ -434,6 +455,7 @@ export * from './personEmailUnsubscribedActivityData';
|
|
|
434
455
|
export * from './personEmailUnsubscribedWebhookPayload';
|
|
435
456
|
export * from './personEmailUnsubscribedWebhookPayloadAllOf';
|
|
436
457
|
export * from './personForgotPasswordBody';
|
|
458
|
+
export * from './personGetAllPeople200';
|
|
437
459
|
export * from './personGetAllPeopleParams';
|
|
438
460
|
export * from './personLeadFormSubmittedActivityData';
|
|
439
461
|
export * from './personLeadFormSubmittedWebhookPayload';
|
|
@@ -499,7 +521,11 @@ export * from './planCreatedWebhookPayload';
|
|
|
499
521
|
export * from './planFamily';
|
|
500
522
|
export * from './planFamilyAddPlanFamilyBody';
|
|
501
523
|
export * from './planFamilyAllOf';
|
|
524
|
+
export * from './planFamilyGetAllPlanFamilies200';
|
|
525
|
+
export * from './planFamilyGetAllPlanFamiliesParams';
|
|
502
526
|
export * from './planFamilyUpdatePlanFamilyBody';
|
|
527
|
+
export * from './planGetAllPlans200';
|
|
528
|
+
export * from './planGetAllPlansParams';
|
|
503
529
|
export * from './planUpdatePlanBody';
|
|
504
530
|
export * from './planUpdatedWebhookPayload';
|
|
505
531
|
export * from './planWebhookEntity';
|
|
@@ -620,6 +646,8 @@ export * from './stripeSubscriptionAllOfCurrentStripeSubscriptionSchedule';
|
|
|
620
646
|
export * from './stripeSubscriptionAllOfStripeSubscriptionCancellation';
|
|
621
647
|
export * from './stripeSubscriptionCancellation';
|
|
622
648
|
export * from './stripeSubscriptionCancellationAllOf';
|
|
649
|
+
export * from './stripeSubscriptionCancellationAllOfAccount';
|
|
650
|
+
export * from './stripeSubscriptionCancellationAllOfLastProduct';
|
|
623
651
|
export * from './stripeSubscriptionItem';
|
|
624
652
|
export * from './stripeSubscriptionItemAllOf';
|
|
625
653
|
export * from './stripeSubscriptionItemAllOfStripePrice';
|
|
@@ -640,6 +668,7 @@ export * from './subscriptionAddOnAddSubscriptionAddOnPreviewBody';
|
|
|
640
668
|
export * from './subscriptionAddOnAllOf';
|
|
641
669
|
export * from './subscriptionAddOnAllOfAddOn';
|
|
642
670
|
export * from './subscriptionAddOnAllOfSubscription';
|
|
671
|
+
export * from './subscriptionAddOnGetAllSubscriptionsAddOns200';
|
|
643
672
|
export * from './subscriptionAddOnGetAllSubscriptionsAddOnsParams';
|
|
644
673
|
export * from './subscriptionAddOnSetAddOnUpgradeRequiredBody';
|
|
645
674
|
export * from './subscriptionAllOf';
|
|
@@ -653,6 +682,7 @@ export * from './subscriptionChangeSubscriptionPreviewParams';
|
|
|
653
682
|
export * from './subscriptionFirstTimeSubscriptionBody';
|
|
654
683
|
export * from './subscriptionFirstTimeSubscriptionPreviewBody';
|
|
655
684
|
export * from './subscriptionFirstTimeSubscriptionPreviewParams';
|
|
685
|
+
export * from './subscriptionGetAllSubscriptions200';
|
|
656
686
|
export * from './subscriptionGetAllSubscriptionsParams';
|
|
657
687
|
export * from './subscriptionSetSubscriptionUpgradeRequiredBody';
|
|
658
688
|
export * from './supportArticleStatus';
|
|
@@ -691,6 +721,8 @@ export * from './transactionAllOf';
|
|
|
691
721
|
export * from './transactionAllOfAccount';
|
|
692
722
|
export * from './transactionAllOfInvoice';
|
|
693
723
|
export * from './transactionsAddPaymentTransactionBody';
|
|
724
|
+
export * from './transactionsGetAllTransactionsByAccountId200';
|
|
725
|
+
export * from './transactionsGetAllTransactionsByAccountIdParams';
|
|
694
726
|
export * from './translation';
|
|
695
727
|
export * from './translationAllOf';
|
|
696
728
|
export * from './twoFactorChallengePayload';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { LimitParameter } from './limitParameter';
|
|
3
|
+
import type { OffsetParameter } from './offsetParameter';
|
|
4
|
+
|
|
5
|
+
export type InvoiceGetAllInvoicesParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of records per page.
|
|
8
|
+
*/
|
|
9
|
+
limit?: LimitParameter;
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based page index.
|
|
12
|
+
*/
|
|
13
|
+
offset?: OffsetParameter;
|
|
14
|
+
/**
|
|
15
|
+
* The invoice Uid to omit from the result set.
|
|
16
|
+
*/
|
|
17
|
+
excludeInvoiceUid?: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { LimitParameter } from './limitParameter';
|
|
3
|
+
import type { OffsetParameter } from './offsetParameter';
|
|
4
|
+
|
|
5
|
+
export type PlanFamilyGetAllPlanFamiliesParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of records per page.
|
|
8
|
+
*/
|
|
9
|
+
limit?: LimitParameter;
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based page index.
|
|
12
|
+
*/
|
|
13
|
+
offset?: OffsetParameter;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { LimitParameter } from './limitParameter';
|
|
3
|
+
import type { OffsetParameter } from './offsetParameter';
|
|
4
|
+
|
|
5
|
+
export type PlanGetAllPlansParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of records per page.
|
|
8
|
+
*/
|
|
9
|
+
limit?: LimitParameter;
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based page index.
|
|
12
|
+
*/
|
|
13
|
+
offset?: OffsetParameter;
|
|
14
|
+
};
|
|
@@ -7,6 +7,13 @@ export type StripeChargeAllOf = {
|
|
|
7
7
|
Amount?: number;
|
|
8
8
|
AmountCaptured?: number;
|
|
9
9
|
AmountRefunded?: number;
|
|
10
|
+
/** @nullable */
|
|
11
|
+
ApplicationFeeAmount?: number | null;
|
|
12
|
+
/**
|
|
13
|
+
* @maxLength 255
|
|
14
|
+
* @nullable
|
|
15
|
+
*/
|
|
16
|
+
ApplicationFeeId?: string | null;
|
|
10
17
|
Captured?: boolean;
|
|
11
18
|
/**
|
|
12
19
|
* @maxLength 3
|
|
@@ -7,6 +7,8 @@ import type { StripeSubscriptionAllOfAccount } from './stripeSubscriptionAllOfAc
|
|
|
7
7
|
import type { StripeSubscriptionAllOfCurrentStripeSubscriptionSchedule } from './stripeSubscriptionAllOfCurrentStripeSubscriptionSchedule';
|
|
8
8
|
|
|
9
9
|
export type StripeSubscriptionAllOf = {
|
|
10
|
+
/** @nullable */
|
|
11
|
+
ApplicationFeePercent?: number | null;
|
|
10
12
|
/** @nullable */
|
|
11
13
|
CancelAt?: string | null;
|
|
12
14
|
CancelAtPeriodEnd?: boolean;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
+
import type { StripeSubscriptionCancellationAllOfAccount } from './stripeSubscriptionCancellationAllOfAccount';
|
|
3
|
+
import type { StripeSubscriptionCancellationAllOfLastProduct } from './stripeSubscriptionCancellationAllOfLastProduct';
|
|
2
4
|
|
|
3
5
|
export type StripeSubscriptionCancellationAllOf = {
|
|
4
6
|
/**
|
|
@@ -16,4 +18,12 @@ export type StripeSubscriptionCancellationAllOf = {
|
|
|
16
18
|
* @nullable
|
|
17
19
|
*/
|
|
18
20
|
Reason?: string | null;
|
|
21
|
+
/** @nullable */
|
|
22
|
+
Account?: StripeSubscriptionCancellationAllOfAccount;
|
|
23
|
+
/** @nullable */
|
|
24
|
+
CancelationReason?: string | null;
|
|
25
|
+
/** @nullable */
|
|
26
|
+
LastProduct?: StripeSubscriptionCancellationAllOfLastProduct;
|
|
27
|
+
SubmittedDateTime?: string;
|
|
28
|
+
SubscribingStartDate?: string;
|
|
19
29
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { CollectionMetadata } from './collectionMetadata';
|
|
3
|
+
import type { SubscriptionAddOn } from './subscriptionAddOn';
|
|
4
|
+
|
|
5
|
+
export type SubscriptionAddOnGetAllSubscriptionsAddOns200 = {
|
|
6
|
+
metadata?: CollectionMetadata;
|
|
7
|
+
items?: SubscriptionAddOn[];
|
|
8
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { LimitParameter } from './limitParameter';
|
|
3
|
+
import type { OffsetParameter } from './offsetParameter';
|
|
4
|
+
|
|
5
|
+
export type TransactionsGetAllTransactionsByAccountIdParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of records per page.
|
|
8
|
+
*/
|
|
9
|
+
limit?: LimitParameter;
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based page index.
|
|
12
|
+
*/
|
|
13
|
+
offset?: OffsetParameter;
|
|
14
|
+
};
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
import type {
|
|
3
3
|
Article,
|
|
4
4
|
ArticleAddArticleBody,
|
|
5
|
+
ArticleGetAllArticles200,
|
|
5
6
|
ArticleGetAllArticlesParams,
|
|
6
7
|
Case,
|
|
7
8
|
CaseAddCaseBody,
|
|
8
9
|
CaseAddCaseParams,
|
|
10
|
+
CaseGetAllCases200,
|
|
9
11
|
CaseGetAllCasesParams,
|
|
10
12
|
CaseHistory,
|
|
11
|
-
|
|
13
|
+
CategoryGetAllCategories200,
|
|
14
|
+
CategoryGetAllCategoriesParams
|
|
12
15
|
} from '.././models';
|
|
13
16
|
|
|
14
17
|
import { customFetch } from '../../client';
|
|
@@ -47,7 +50,7 @@ which is the Uid of the person the case is assigned to.
|
|
|
47
50
|
* @summary Retrieve all cases.
|
|
48
51
|
*/
|
|
49
52
|
export type caseGetAllCasesResponse200 = {
|
|
50
|
-
data:
|
|
53
|
+
data: CaseGetAllCases200
|
|
51
54
|
status: 200
|
|
52
55
|
}
|
|
53
56
|
|
|
@@ -310,7 +313,7 @@ export const caseAddClientResponse = async (caseUid: string | null,
|
|
|
310
313
|
* @summary Retrieve all knowledge base articles.
|
|
311
314
|
*/
|
|
312
315
|
export type articleGetAllArticlesResponse200 = {
|
|
313
|
-
data:
|
|
316
|
+
data: ArticleGetAllArticles200
|
|
314
317
|
status: 200
|
|
315
318
|
}
|
|
316
319
|
|
|
@@ -442,7 +445,7 @@ export const articleGetArticle = async (articleUid: string | null, options?: Req
|
|
|
442
445
|
* @summary Retrieve all knowledge base categories.
|
|
443
446
|
*/
|
|
444
447
|
export type categoryGetAllCategoriesResponse200 = {
|
|
445
|
-
data:
|
|
448
|
+
data: CategoryGetAllCategories200
|
|
446
449
|
status: 200
|
|
447
450
|
}
|
|
448
451
|
|
|
@@ -453,17 +456,24 @@ export type categoryGetAllCategoriesResponseSuccess = (categoryGetAllCategoriesR
|
|
|
453
456
|
|
|
454
457
|
export type categoryGetAllCategoriesResponse = (categoryGetAllCategoriesResponseSuccess)
|
|
455
458
|
|
|
456
|
-
export const getCategoryGetAllCategoriesUrl = () => {
|
|
459
|
+
export const getCategoryGetAllCategoriesUrl = (params?: CategoryGetAllCategoriesParams,) => {
|
|
460
|
+
const normalizedParams = new URLSearchParams();
|
|
457
461
|
|
|
462
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
463
|
+
|
|
464
|
+
if (value !== undefined) {
|
|
465
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString())
|
|
466
|
+
}
|
|
467
|
+
});
|
|
458
468
|
|
|
459
|
-
|
|
469
|
+
const stringifiedParams = normalizedParams.toString();
|
|
460
470
|
|
|
461
|
-
return `/api/v1/support/categories`
|
|
471
|
+
return stringifiedParams.length > 0 ? `/api/v1/support/categories?${stringifiedParams}` : `/api/v1/support/categories`
|
|
462
472
|
}
|
|
463
473
|
|
|
464
|
-
export const categoryGetAllCategories = async ( options?: RequestInit): Promise<categoryGetAllCategoriesResponse> => {
|
|
474
|
+
export const categoryGetAllCategories = async (params?: CategoryGetAllCategoriesParams, options?: RequestInit): Promise<categoryGetAllCategoriesResponse> => {
|
|
465
475
|
|
|
466
|
-
return customFetch<categoryGetAllCategoriesResponse>(getCategoryGetAllCategoriesUrl(),
|
|
476
|
+
return customFetch<categoryGetAllCategoriesResponse>(getCategoryGetAllCategoriesUrl(params),
|
|
467
477
|
{
|
|
468
478
|
...options,
|
|
469
479
|
method: 'GET'
|