@outseta/react 0.4.4 → 0.4.5

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.
@@ -420,6 +420,11 @@ export type PersonAccountAllOfPerson = Person | null;
420
420
  */
421
421
  export type PersonAccountAllOfAccount = Account | null;
422
422
 
423
+ /**
424
+ * @nullable
425
+ */
426
+ export type PersonAccountAllOfRole = TeamRole | null;
427
+
423
428
  export type PersonAccountAllOf = {
424
429
  /** @nullable */
425
430
  Person?: PersonAccountAllOfPerson;
@@ -427,6 +432,8 @@ export type PersonAccountAllOf = {
427
432
  Account?: PersonAccountAllOfAccount;
428
433
  IsPrimary?: boolean;
429
434
  ReceiveInvoices?: boolean;
435
+ /** @nullable */
436
+ Role?: PersonAccountAllOfRole;
430
437
  };
431
438
 
432
439
  export type PersonAccount = AbstractQcountBean & PersonAccountAllOf;
@@ -2586,6 +2593,19 @@ export type AbstractStripeBeanOfCustomerAllOf = {
2586
2593
 
2587
2594
  export type AbstractStripeBeanOfCustomer = AbstractSchemaLessBean & AbstractStripeBeanOfCustomerAllOf;
2588
2595
 
2596
+ /**
2597
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
2598
+ */
2599
+ export type TeamRole = typeof TeamRole[keyof typeof TeamRole];
2600
+
2601
+
2602
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
2603
+ export const TeamRole = {
2604
+ Admin: 1,
2605
+ FullAccess: 2,
2606
+ Operator: 3,
2607
+ } as const;
2608
+
2589
2609
  export type LeadFormSubmissionAllOf = {
2590
2610
  Person: Person;
2591
2611
  LeadForm: LeadForm;
@@ -3520,7 +3540,7 @@ export interface SlackChannelSetting {
3520
3540
  }
3521
3541
 
3522
3542
  /**
3523
- * `10` - Custom, `50` - Note, `51` - Email, `52` - PhoneCall, `53` - Meeting, `54` - Chat, `100` - AccountCreated, `101` - AccountUpdated, `102` - AccountAddPerson, `103` - AccountStageUpdated, `104` - AccountDeleted, `105` - AccountBillingInformationUpdated, `106` - AccountSubscriptionPlanUpdated, `107` - AccountSubscriptionPaymentCollected, `108` - AccountSubscriptionPaymentDeclined, `109` - AccountBillingInformationRequested, `110` - AccountBillingInvoiceEmailSent, `111` - AccountRemovePerson, `112` - AccountPaidSubscriptionCreated, `113` - AccountBillingInformationRemoved, `114` - AccountPrimaryPersonUpdated, `115` - AccountBillingInvoiceCreated, `116` - AccountSubscriptionStarted, `117` - AccountSubscriptionRenewalExtended, `118` - AccountSubscriptionAddOnsChanged, `119` - AccountSubscriptionCancellationRequested, `120` - AccountBillingInvoiceDeleted, `200` - PersonCreated, `201` - PersonUpdated, `202` - PersonDeleted, `203` - PersonLogin, `204` - PersonListSubscribed, `205` - PersonListUnsubscribed, `206` - PersonSegmentAdded, `207` - PersonSegmentRemoved, `208` - PersonEmailOpened, `209` - PersonEmailClicked, `210` - PersonEmailBounce, `211` - PersonEmailSpam, `212` - PersonSupportTicketCreated, `213` - PersonSupportTicketUpdated, `214` - PersonLeadFormSubmitted, `215` - PersonListConfirmed, `216` - PersonEmailSubscribed, `217` - PersonEmailUnsubscribed, `218` - PersonTemporaryPasswordSet, `219` - PersonSupportTicketClosed, `220` - PersonTwoFactorRecoveryCodesRegenerated, `300` - DealCreated, `301` - DealUpdated, `304` - DealDeleted, `305` - DealDueDate, `306` - TaskCreated, `307` - TaskUpdated, `400` - PlanCreated, `401` - PlanUpdated, `402` - AddOnCreated, `403` - AddOnUpdated, `500` - DiscordUserLinked, `501` - DiscordUserAddedToServer, `502` - DiscordUserRolesUpdated, `503` - DiscordUserRemovedFromServer
3543
+ * `10` - Custom, `50` - Note, `51` - Email, `52` - PhoneCall, `53` - Meeting, `54` - Chat, `100` - AccountCreated, `101` - AccountUpdated, `102` - AccountAddPerson, `103` - AccountStageUpdated, `104` - AccountDeleted, `105` - AccountBillingInformationUpdated, `106` - AccountSubscriptionPlanUpdated, `107` - AccountSubscriptionPaymentCollected, `108` - AccountSubscriptionPaymentDeclined, `109` - AccountBillingInformationRequested, `110` - AccountBillingInvoiceEmailSent, `111` - AccountRemovePerson, `112` - AccountPaidSubscriptionCreated, `113` - AccountBillingInformationRemoved, `114` - AccountPrimaryPersonUpdated, `115` - AccountBillingInvoiceCreated, `116` - AccountSubscriptionStarted, `117` - AccountSubscriptionRenewalExtended, `118` - AccountSubscriptionAddOnsChanged, `119` - AccountSubscriptionCancellationRequested, `120` - AccountBillingInvoiceDeleted, `121` - AccountPersonRoleUpdated, `200` - PersonCreated, `201` - PersonUpdated, `202` - PersonDeleted, `203` - PersonLogin, `204` - PersonListSubscribed, `205` - PersonListUnsubscribed, `206` - PersonSegmentAdded, `207` - PersonSegmentRemoved, `208` - PersonEmailOpened, `209` - PersonEmailClicked, `210` - PersonEmailBounce, `211` - PersonEmailSpam, `212` - PersonSupportTicketCreated, `213` - PersonSupportTicketUpdated, `214` - PersonLeadFormSubmitted, `215` - PersonListConfirmed, `216` - PersonEmailSubscribed, `217` - PersonEmailUnsubscribed, `218` - PersonTemporaryPasswordSet, `219` - PersonSupportTicketClosed, `220` - PersonTwoFactorRecoveryCodesRegenerated, `300` - DealCreated, `301` - DealUpdated, `304` - DealDeleted, `305` - DealDueDate, `306` - TaskCreated, `307` - TaskUpdated, `400` - PlanCreated, `401` - PlanUpdated, `402` - AddOnCreated, `403` - AddOnUpdated, `500` - DiscordUserLinked, `501` - DiscordUserAddedToServer, `502` - DiscordUserRolesUpdated, `503` - DiscordUserRemovedFromServer
3524
3544
  */
3525
3545
  export type ActivityType = typeof ActivityType[keyof typeof ActivityType];
3526
3546
 
@@ -3554,6 +3574,7 @@ export const ActivityType = {
3554
3574
  AccountSubscriptionAddOnsChanged: 118,
3555
3575
  AccountSubscriptionCancellationRequested: 119,
3556
3576
  AccountBillingInvoiceDeleted: 120,
3577
+ AccountPersonRoleUpdated: 121,
3557
3578
  PersonCreated: 200,
3558
3579
  PersonUpdated: 201,
3559
3580
  PersonDeleted: 202,
@@ -4234,6 +4255,16 @@ export const BackGroundTaskType = {
4234
4255
  ResendTrialLimitEmailTask: 21,
4235
4256
  } as const;
4236
4257
 
4258
+ /**
4259
+ * @nullable
4260
+ */
4261
+ export type UpdateAccountMemberRoleModelRole = TeamRole | null;
4262
+
4263
+ export interface UpdateAccountMemberRoleModel {
4264
+ /** @nullable */
4265
+ Role?: UpdateAccountMemberRoleModelRole;
4266
+ }
4267
+
4237
4268
  export interface PasswordChangeModel {
4238
4269
  /** @nullable */
4239
4270
  ExistingPassword?: string | null;
@@ -5161,6 +5192,20 @@ export type AccountCreatedWebhookPayloadPersonAccountItemPerson = {
5161
5192
  IsConnectedToDiscord?: boolean;
5162
5193
  } | null;
5163
5194
 
5195
+ /**
5196
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
5197
+ * @nullable
5198
+ */
5199
+ export type AccountCreatedWebhookPayloadPersonAccountItemRole = typeof AccountCreatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountCreatedWebhookPayloadPersonAccountItemRole] | null;
5200
+
5201
+
5202
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
5203
+ export const AccountCreatedWebhookPayloadPersonAccountItemRole = {
5204
+ Admin: 1,
5205
+ FullAccess: 2,
5206
+ Operator: 3,
5207
+ } as const;
5208
+
5164
5209
  export type AccountCreatedWebhookPayloadPersonAccountItem = {
5165
5210
  /**
5166
5211
  * @maxLength 10
@@ -5177,6 +5222,11 @@ export type AccountCreatedWebhookPayloadPersonAccountItem = {
5177
5222
  Person?: AccountCreatedWebhookPayloadPersonAccountItemPerson;
5178
5223
  IsPrimary?: boolean;
5179
5224
  ReceiveInvoices?: boolean;
5225
+ /**
5226
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
5227
+ * @nullable
5228
+ */
5229
+ Role?: AccountCreatedWebhookPayloadPersonAccountItemRole;
5180
5230
  };
5181
5231
 
5182
5232
  export type AccountCreatedWebhookPayloadStripeInvoicesItem = {
@@ -7500,6 +7550,20 @@ export type AccountUpdatedWebhookPayloadPersonAccountItemPerson = {
7500
7550
  IsConnectedToDiscord?: boolean;
7501
7551
  } | null;
7502
7552
 
7553
+ /**
7554
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
7555
+ * @nullable
7556
+ */
7557
+ export type AccountUpdatedWebhookPayloadPersonAccountItemRole = typeof AccountUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountUpdatedWebhookPayloadPersonAccountItemRole] | null;
7558
+
7559
+
7560
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
7561
+ export const AccountUpdatedWebhookPayloadPersonAccountItemRole = {
7562
+ Admin: 1,
7563
+ FullAccess: 2,
7564
+ Operator: 3,
7565
+ } as const;
7566
+
7503
7567
  export type AccountUpdatedWebhookPayloadPersonAccountItem = {
7504
7568
  /**
7505
7569
  * @maxLength 10
@@ -7516,6 +7580,11 @@ export type AccountUpdatedWebhookPayloadPersonAccountItem = {
7516
7580
  Person?: AccountUpdatedWebhookPayloadPersonAccountItemPerson;
7517
7581
  IsPrimary?: boolean;
7518
7582
  ReceiveInvoices?: boolean;
7583
+ /**
7584
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
7585
+ * @nullable
7586
+ */
7587
+ Role?: AccountUpdatedWebhookPayloadPersonAccountItemRole;
7519
7588
  };
7520
7589
 
7521
7590
  export type AccountUpdatedWebhookPayloadStripeInvoicesItem = {
@@ -9848,6 +9917,20 @@ export type AccountAddPersonWebhookPayloadPersonAccountItemPerson = {
9848
9917
  IsConnectedToDiscord?: boolean;
9849
9918
  } | null;
9850
9919
 
9920
+ /**
9921
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
9922
+ * @nullable
9923
+ */
9924
+ export type AccountAddPersonWebhookPayloadPersonAccountItemRole = typeof AccountAddPersonWebhookPayloadPersonAccountItemRole[keyof typeof AccountAddPersonWebhookPayloadPersonAccountItemRole] | null;
9925
+
9926
+
9927
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
9928
+ export const AccountAddPersonWebhookPayloadPersonAccountItemRole = {
9929
+ Admin: 1,
9930
+ FullAccess: 2,
9931
+ Operator: 3,
9932
+ } as const;
9933
+
9851
9934
  export type AccountAddPersonWebhookPayloadPersonAccountItem = {
9852
9935
  /**
9853
9936
  * @maxLength 10
@@ -9864,6 +9947,11 @@ export type AccountAddPersonWebhookPayloadPersonAccountItem = {
9864
9947
  Person?: AccountAddPersonWebhookPayloadPersonAccountItemPerson;
9865
9948
  IsPrimary?: boolean;
9866
9949
  ReceiveInvoices?: boolean;
9950
+ /**
9951
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
9952
+ * @nullable
9953
+ */
9954
+ Role?: AccountAddPersonWebhookPayloadPersonAccountItemRole;
9867
9955
  };
9868
9956
 
9869
9957
  export type AccountAddPersonWebhookPayloadStripeInvoicesItem = {
@@ -12197,6 +12285,20 @@ export type AccountStageUpdatedWebhookPayloadPersonAccountItemPerson = {
12197
12285
  IsConnectedToDiscord?: boolean;
12198
12286
  } | null;
12199
12287
 
12288
+ /**
12289
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
12290
+ * @nullable
12291
+ */
12292
+ export type AccountStageUpdatedWebhookPayloadPersonAccountItemRole = typeof AccountStageUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountStageUpdatedWebhookPayloadPersonAccountItemRole] | null;
12293
+
12294
+
12295
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
12296
+ export const AccountStageUpdatedWebhookPayloadPersonAccountItemRole = {
12297
+ Admin: 1,
12298
+ FullAccess: 2,
12299
+ Operator: 3,
12300
+ } as const;
12301
+
12200
12302
  export type AccountStageUpdatedWebhookPayloadPersonAccountItem = {
12201
12303
  /**
12202
12304
  * @maxLength 10
@@ -12213,6 +12315,11 @@ export type AccountStageUpdatedWebhookPayloadPersonAccountItem = {
12213
12315
  Person?: AccountStageUpdatedWebhookPayloadPersonAccountItemPerson;
12214
12316
  IsPrimary?: boolean;
12215
12317
  ReceiveInvoices?: boolean;
12318
+ /**
12319
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
12320
+ * @nullable
12321
+ */
12322
+ Role?: AccountStageUpdatedWebhookPayloadPersonAccountItemRole;
12216
12323
  };
12217
12324
 
12218
12325
  export type AccountStageUpdatedWebhookPayloadStripeInvoicesItem = {
@@ -14537,6 +14644,20 @@ export type AccountDeletedWebhookPayloadPersonAccountItemPerson = {
14537
14644
  IsConnectedToDiscord?: boolean;
14538
14645
  } | null;
14539
14646
 
14647
+ /**
14648
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
14649
+ * @nullable
14650
+ */
14651
+ export type AccountDeletedWebhookPayloadPersonAccountItemRole = typeof AccountDeletedWebhookPayloadPersonAccountItemRole[keyof typeof AccountDeletedWebhookPayloadPersonAccountItemRole] | null;
14652
+
14653
+
14654
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
14655
+ export const AccountDeletedWebhookPayloadPersonAccountItemRole = {
14656
+ Admin: 1,
14657
+ FullAccess: 2,
14658
+ Operator: 3,
14659
+ } as const;
14660
+
14540
14661
  export type AccountDeletedWebhookPayloadPersonAccountItem = {
14541
14662
  /**
14542
14663
  * @maxLength 10
@@ -14553,6 +14674,11 @@ export type AccountDeletedWebhookPayloadPersonAccountItem = {
14553
14674
  Person?: AccountDeletedWebhookPayloadPersonAccountItemPerson;
14554
14675
  IsPrimary?: boolean;
14555
14676
  ReceiveInvoices?: boolean;
14677
+ /**
14678
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
14679
+ * @nullable
14680
+ */
14681
+ Role?: AccountDeletedWebhookPayloadPersonAccountItemRole;
14556
14682
  };
14557
14683
 
14558
14684
  export type AccountDeletedWebhookPayloadStripeInvoicesItem = {
@@ -16876,6 +17002,20 @@ export type AccountBillingInformationUpdatedWebhookPayloadPersonAccountItemPerso
16876
17002
  IsConnectedToDiscord?: boolean;
16877
17003
  } | null;
16878
17004
 
17005
+ /**
17006
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
17007
+ * @nullable
17008
+ */
17009
+ export type AccountBillingInformationUpdatedWebhookPayloadPersonAccountItemRole = typeof AccountBillingInformationUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountBillingInformationUpdatedWebhookPayloadPersonAccountItemRole] | null;
17010
+
17011
+
17012
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
17013
+ export const AccountBillingInformationUpdatedWebhookPayloadPersonAccountItemRole = {
17014
+ Admin: 1,
17015
+ FullAccess: 2,
17016
+ Operator: 3,
17017
+ } as const;
17018
+
16879
17019
  export type AccountBillingInformationUpdatedWebhookPayloadPersonAccountItem = {
16880
17020
  /**
16881
17021
  * @maxLength 10
@@ -16892,6 +17032,11 @@ export type AccountBillingInformationUpdatedWebhookPayloadPersonAccountItem = {
16892
17032
  Person?: AccountBillingInformationUpdatedWebhookPayloadPersonAccountItemPerson;
16893
17033
  IsPrimary?: boolean;
16894
17034
  ReceiveInvoices?: boolean;
17035
+ /**
17036
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
17037
+ * @nullable
17038
+ */
17039
+ Role?: AccountBillingInformationUpdatedWebhookPayloadPersonAccountItemRole;
16895
17040
  };
16896
17041
 
16897
17042
  export type AccountBillingInformationUpdatedWebhookPayloadStripeInvoicesItem = {
@@ -19227,6 +19372,20 @@ export type AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItemPerson
19227
19372
  IsConnectedToDiscord?: boolean;
19228
19373
  } | null;
19229
19374
 
19375
+ /**
19376
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
19377
+ * @nullable
19378
+ */
19379
+ export type AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItemRole = typeof AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItemRole] | null;
19380
+
19381
+
19382
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
19383
+ export const AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItemRole = {
19384
+ Admin: 1,
19385
+ FullAccess: 2,
19386
+ Operator: 3,
19387
+ } as const;
19388
+
19230
19389
  export type AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItem = {
19231
19390
  /**
19232
19391
  * @maxLength 10
@@ -19243,6 +19402,11 @@ export type AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItem = {
19243
19402
  Person?: AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItemPerson;
19244
19403
  IsPrimary?: boolean;
19245
19404
  ReceiveInvoices?: boolean;
19405
+ /**
19406
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
19407
+ * @nullable
19408
+ */
19409
+ Role?: AccountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItemRole;
19246
19410
  };
19247
19411
 
19248
19412
  export type AccountSubscriptionPlanUpdatedWebhookPayloadStripeInvoicesItem = {
@@ -21574,6 +21738,20 @@ export type AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItemPe
21574
21738
  IsConnectedToDiscord?: boolean;
21575
21739
  } | null;
21576
21740
 
21741
+ /**
21742
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
21743
+ * @nullable
21744
+ */
21745
+ export type AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItemRole = typeof AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItemRole[keyof typeof AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItemRole] | null;
21746
+
21747
+
21748
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
21749
+ export const AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItemRole = {
21750
+ Admin: 1,
21751
+ FullAccess: 2,
21752
+ Operator: 3,
21753
+ } as const;
21754
+
21577
21755
  export type AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItem = {
21578
21756
  /**
21579
21757
  * @maxLength 10
@@ -21590,6 +21768,11 @@ export type AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItem =
21590
21768
  Person?: AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItemPerson;
21591
21769
  IsPrimary?: boolean;
21592
21770
  ReceiveInvoices?: boolean;
21771
+ /**
21772
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
21773
+ * @nullable
21774
+ */
21775
+ Role?: AccountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItemRole;
21593
21776
  };
21594
21777
 
21595
21778
  export type AccountSubscriptionPaymentCollectedWebhookPayloadStripeInvoicesItem = {
@@ -23914,6 +24097,20 @@ export type AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItemPer
23914
24097
  IsConnectedToDiscord?: boolean;
23915
24098
  } | null;
23916
24099
 
24100
+ /**
24101
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
24102
+ * @nullable
24103
+ */
24104
+ export type AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItemRole = typeof AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItemRole[keyof typeof AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItemRole] | null;
24105
+
24106
+
24107
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
24108
+ export const AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItemRole = {
24109
+ Admin: 1,
24110
+ FullAccess: 2,
24111
+ Operator: 3,
24112
+ } as const;
24113
+
23917
24114
  export type AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItem = {
23918
24115
  /**
23919
24116
  * @maxLength 10
@@ -23930,6 +24127,11 @@ export type AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItem =
23930
24127
  Person?: AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItemPerson;
23931
24128
  IsPrimary?: boolean;
23932
24129
  ReceiveInvoices?: boolean;
24130
+ /**
24131
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
24132
+ * @nullable
24133
+ */
24134
+ Role?: AccountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItemRole;
23933
24135
  };
23934
24136
 
23935
24137
  export type AccountSubscriptionPaymentDeclinedWebhookPayloadStripeInvoicesItem = {
@@ -26253,6 +26455,20 @@ export type AccountBillingInformationRequestedWebhookPayloadPersonAccountItemPer
26253
26455
  IsConnectedToDiscord?: boolean;
26254
26456
  } | null;
26255
26457
 
26458
+ /**
26459
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
26460
+ * @nullable
26461
+ */
26462
+ export type AccountBillingInformationRequestedWebhookPayloadPersonAccountItemRole = typeof AccountBillingInformationRequestedWebhookPayloadPersonAccountItemRole[keyof typeof AccountBillingInformationRequestedWebhookPayloadPersonAccountItemRole] | null;
26463
+
26464
+
26465
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
26466
+ export const AccountBillingInformationRequestedWebhookPayloadPersonAccountItemRole = {
26467
+ Admin: 1,
26468
+ FullAccess: 2,
26469
+ Operator: 3,
26470
+ } as const;
26471
+
26256
26472
  export type AccountBillingInformationRequestedWebhookPayloadPersonAccountItem = {
26257
26473
  /**
26258
26474
  * @maxLength 10
@@ -26269,6 +26485,11 @@ export type AccountBillingInformationRequestedWebhookPayloadPersonAccountItem =
26269
26485
  Person?: AccountBillingInformationRequestedWebhookPayloadPersonAccountItemPerson;
26270
26486
  IsPrimary?: boolean;
26271
26487
  ReceiveInvoices?: boolean;
26488
+ /**
26489
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
26490
+ * @nullable
26491
+ */
26492
+ Role?: AccountBillingInformationRequestedWebhookPayloadPersonAccountItemRole;
26272
26493
  };
26273
26494
 
26274
26495
  export type AccountBillingInformationRequestedWebhookPayloadStripeInvoicesItem = {
@@ -28592,6 +28813,20 @@ export type AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItemPerson
28592
28813
  IsConnectedToDiscord?: boolean;
28593
28814
  } | null;
28594
28815
 
28816
+ /**
28817
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
28818
+ * @nullable
28819
+ */
28820
+ export type AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItemRole = typeof AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItemRole[keyof typeof AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItemRole] | null;
28821
+
28822
+
28823
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
28824
+ export const AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItemRole = {
28825
+ Admin: 1,
28826
+ FullAccess: 2,
28827
+ Operator: 3,
28828
+ } as const;
28829
+
28595
28830
  export type AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItem = {
28596
28831
  /**
28597
28832
  * @maxLength 10
@@ -28608,6 +28843,11 @@ export type AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItem = {
28608
28843
  Person?: AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItemPerson;
28609
28844
  IsPrimary?: boolean;
28610
28845
  ReceiveInvoices?: boolean;
28846
+ /**
28847
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
28848
+ * @nullable
28849
+ */
28850
+ Role?: AccountBillingInvoiceEmailSentWebhookPayloadPersonAccountItemRole;
28611
28851
  };
28612
28852
 
28613
28853
  export type AccountBillingInvoiceEmailSentWebhookPayloadStripeInvoicesItem = {
@@ -30940,6 +31180,20 @@ export type AccountRemovePersonWebhookPayloadPersonAccountItemPerson = {
30940
31180
  IsConnectedToDiscord?: boolean;
30941
31181
  } | null;
30942
31182
 
31183
+ /**
31184
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
31185
+ * @nullable
31186
+ */
31187
+ export type AccountRemovePersonWebhookPayloadPersonAccountItemRole = typeof AccountRemovePersonWebhookPayloadPersonAccountItemRole[keyof typeof AccountRemovePersonWebhookPayloadPersonAccountItemRole] | null;
31188
+
31189
+
31190
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
31191
+ export const AccountRemovePersonWebhookPayloadPersonAccountItemRole = {
31192
+ Admin: 1,
31193
+ FullAccess: 2,
31194
+ Operator: 3,
31195
+ } as const;
31196
+
30943
31197
  export type AccountRemovePersonWebhookPayloadPersonAccountItem = {
30944
31198
  /**
30945
31199
  * @maxLength 10
@@ -30956,6 +31210,11 @@ export type AccountRemovePersonWebhookPayloadPersonAccountItem = {
30956
31210
  Person?: AccountRemovePersonWebhookPayloadPersonAccountItemPerson;
30957
31211
  IsPrimary?: boolean;
30958
31212
  ReceiveInvoices?: boolean;
31213
+ /**
31214
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
31215
+ * @nullable
31216
+ */
31217
+ Role?: AccountRemovePersonWebhookPayloadPersonAccountItemRole;
30959
31218
  };
30960
31219
 
30961
31220
  export type AccountRemovePersonWebhookPayloadStripeInvoicesItem = {
@@ -33285,6 +33544,20 @@ export type AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItemPerson
33285
33544
  IsConnectedToDiscord?: boolean;
33286
33545
  } | null;
33287
33546
 
33547
+ /**
33548
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
33549
+ * @nullable
33550
+ */
33551
+ export type AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItemRole = typeof AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItemRole] | null;
33552
+
33553
+
33554
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
33555
+ export const AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItemRole = {
33556
+ Admin: 1,
33557
+ FullAccess: 2,
33558
+ Operator: 3,
33559
+ } as const;
33560
+
33288
33561
  export type AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItem = {
33289
33562
  /**
33290
33563
  * @maxLength 10
@@ -33301,6 +33574,11 @@ export type AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItem = {
33301
33574
  Person?: AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItemPerson;
33302
33575
  IsPrimary?: boolean;
33303
33576
  ReceiveInvoices?: boolean;
33577
+ /**
33578
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
33579
+ * @nullable
33580
+ */
33581
+ Role?: AccountPaidSubscriptionCreatedWebhookPayloadPersonAccountItemRole;
33304
33582
  };
33305
33583
 
33306
33584
  export type AccountPaidSubscriptionCreatedWebhookPayloadStripeInvoicesItem = {
@@ -35625,6 +35903,20 @@ export type AccountBillingInformationRemovedWebhookPayloadPersonAccountItemPerso
35625
35903
  IsConnectedToDiscord?: boolean;
35626
35904
  } | null;
35627
35905
 
35906
+ /**
35907
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
35908
+ * @nullable
35909
+ */
35910
+ export type AccountBillingInformationRemovedWebhookPayloadPersonAccountItemRole = typeof AccountBillingInformationRemovedWebhookPayloadPersonAccountItemRole[keyof typeof AccountBillingInformationRemovedWebhookPayloadPersonAccountItemRole] | null;
35911
+
35912
+
35913
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
35914
+ export const AccountBillingInformationRemovedWebhookPayloadPersonAccountItemRole = {
35915
+ Admin: 1,
35916
+ FullAccess: 2,
35917
+ Operator: 3,
35918
+ } as const;
35919
+
35628
35920
  export type AccountBillingInformationRemovedWebhookPayloadPersonAccountItem = {
35629
35921
  /**
35630
35922
  * @maxLength 10
@@ -35641,6 +35933,11 @@ export type AccountBillingInformationRemovedWebhookPayloadPersonAccountItem = {
35641
35933
  Person?: AccountBillingInformationRemovedWebhookPayloadPersonAccountItemPerson;
35642
35934
  IsPrimary?: boolean;
35643
35935
  ReceiveInvoices?: boolean;
35936
+ /**
35937
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
35938
+ * @nullable
35939
+ */
35940
+ Role?: AccountBillingInformationRemovedWebhookPayloadPersonAccountItemRole;
35644
35941
  };
35645
35942
 
35646
35943
  export type AccountBillingInformationRemovedWebhookPayloadStripeInvoicesItem = {
@@ -37971,6 +38268,20 @@ export type AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItemPerson = {
37971
38268
  IsConnectedToDiscord?: boolean;
37972
38269
  } | null;
37973
38270
 
38271
+ /**
38272
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
38273
+ * @nullable
38274
+ */
38275
+ export type AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItemRole = typeof AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItemRole] | null;
38276
+
38277
+
38278
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
38279
+ export const AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItemRole = {
38280
+ Admin: 1,
38281
+ FullAccess: 2,
38282
+ Operator: 3,
38283
+ } as const;
38284
+
37974
38285
  export type AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItem = {
37975
38286
  /**
37976
38287
  * @maxLength 10
@@ -37987,6 +38298,11 @@ export type AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItem = {
37987
38298
  Person?: AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItemPerson;
37988
38299
  IsPrimary?: boolean;
37989
38300
  ReceiveInvoices?: boolean;
38301
+ /**
38302
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
38303
+ * @nullable
38304
+ */
38305
+ Role?: AccountPrimaryPersonUpdatedWebhookPayloadPersonAccountItemRole;
37990
38306
  };
37991
38307
 
37992
38308
  export type AccountPrimaryPersonUpdatedWebhookPayloadStripeInvoicesItem = {
@@ -40311,6 +40627,20 @@ export type AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItemPerson =
40311
40627
  IsConnectedToDiscord?: boolean;
40312
40628
  } | null;
40313
40629
 
40630
+ /**
40631
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
40632
+ * @nullable
40633
+ */
40634
+ export type AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItemRole = typeof AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItemRole] | null;
40635
+
40636
+
40637
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
40638
+ export const AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItemRole = {
40639
+ Admin: 1,
40640
+ FullAccess: 2,
40641
+ Operator: 3,
40642
+ } as const;
40643
+
40314
40644
  export type AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItem = {
40315
40645
  /**
40316
40646
  * @maxLength 10
@@ -40327,6 +40657,11 @@ export type AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItem = {
40327
40657
  Person?: AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItemPerson;
40328
40658
  IsPrimary?: boolean;
40329
40659
  ReceiveInvoices?: boolean;
40660
+ /**
40661
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
40662
+ * @nullable
40663
+ */
40664
+ Role?: AccountBillingInvoiceCreatedWebhookPayloadPersonAccountItemRole;
40330
40665
  };
40331
40666
 
40332
40667
  export type AccountBillingInvoiceCreatedWebhookPayloadStripeInvoicesItem = {
@@ -42664,6 +42999,20 @@ export type AccountSubscriptionStartedWebhookPayloadPersonAccountItemPerson = {
42664
42999
  IsConnectedToDiscord?: boolean;
42665
43000
  } | null;
42666
43001
 
43002
+ /**
43003
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
43004
+ * @nullable
43005
+ */
43006
+ export type AccountSubscriptionStartedWebhookPayloadPersonAccountItemRole = typeof AccountSubscriptionStartedWebhookPayloadPersonAccountItemRole[keyof typeof AccountSubscriptionStartedWebhookPayloadPersonAccountItemRole] | null;
43007
+
43008
+
43009
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
43010
+ export const AccountSubscriptionStartedWebhookPayloadPersonAccountItemRole = {
43011
+ Admin: 1,
43012
+ FullAccess: 2,
43013
+ Operator: 3,
43014
+ } as const;
43015
+
42667
43016
  export type AccountSubscriptionStartedWebhookPayloadPersonAccountItem = {
42668
43017
  /**
42669
43018
  * @maxLength 10
@@ -42680,6 +43029,11 @@ export type AccountSubscriptionStartedWebhookPayloadPersonAccountItem = {
42680
43029
  Person?: AccountSubscriptionStartedWebhookPayloadPersonAccountItemPerson;
42681
43030
  IsPrimary?: boolean;
42682
43031
  ReceiveInvoices?: boolean;
43032
+ /**
43033
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
43034
+ * @nullable
43035
+ */
43036
+ Role?: AccountSubscriptionStartedWebhookPayloadPersonAccountItemRole;
42683
43037
  };
42684
43038
 
42685
43039
  export type AccountSubscriptionStartedWebhookPayloadStripeInvoicesItem = {
@@ -45011,6 +45365,20 @@ export type AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItemPer
45011
45365
  IsConnectedToDiscord?: boolean;
45012
45366
  } | null;
45013
45367
 
45368
+ /**
45369
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
45370
+ * @nullable
45371
+ */
45372
+ export type AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItemRole = typeof AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItemRole[keyof typeof AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItemRole] | null;
45373
+
45374
+
45375
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
45376
+ export const AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItemRole = {
45377
+ Admin: 1,
45378
+ FullAccess: 2,
45379
+ Operator: 3,
45380
+ } as const;
45381
+
45014
45382
  export type AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItem = {
45015
45383
  /**
45016
45384
  * @maxLength 10
@@ -45027,6 +45395,11 @@ export type AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItem =
45027
45395
  Person?: AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItemPerson;
45028
45396
  IsPrimary?: boolean;
45029
45397
  ReceiveInvoices?: boolean;
45398
+ /**
45399
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
45400
+ * @nullable
45401
+ */
45402
+ Role?: AccountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItemRole;
45030
45403
  };
45031
45404
 
45032
45405
  export type AccountSubscriptionRenewalExtendedWebhookPayloadStripeInvoicesItem = {
@@ -47377,6 +47750,20 @@ export type AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItemPerso
47377
47750
  IsConnectedToDiscord?: boolean;
47378
47751
  } | null;
47379
47752
 
47753
+ /**
47754
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
47755
+ * @nullable
47756
+ */
47757
+ export type AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItemRole = typeof AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItemRole[keyof typeof AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItemRole] | null;
47758
+
47759
+
47760
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
47761
+ export const AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItemRole = {
47762
+ Admin: 1,
47763
+ FullAccess: 2,
47764
+ Operator: 3,
47765
+ } as const;
47766
+
47380
47767
  export type AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItem = {
47381
47768
  /**
47382
47769
  * @maxLength 10
@@ -47393,6 +47780,11 @@ export type AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItem = {
47393
47780
  Person?: AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItemPerson;
47394
47781
  IsPrimary?: boolean;
47395
47782
  ReceiveInvoices?: boolean;
47783
+ /**
47784
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
47785
+ * @nullable
47786
+ */
47787
+ Role?: AccountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItemRole;
47396
47788
  };
47397
47789
 
47398
47790
  export type AccountSubscriptionAddOnsChangedWebhookPayloadStripeInvoicesItem = {
@@ -49726,6 +50118,20 @@ export type AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountI
49726
50118
  IsConnectedToDiscord?: boolean;
49727
50119
  } | null;
49728
50120
 
50121
+ /**
50122
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
50123
+ * @nullable
50124
+ */
50125
+ export type AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItemRole = typeof AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItemRole[keyof typeof AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItemRole] | null;
50126
+
50127
+
50128
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
50129
+ export const AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItemRole = {
50130
+ Admin: 1,
50131
+ FullAccess: 2,
50132
+ Operator: 3,
50133
+ } as const;
50134
+
49729
50135
  export type AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItem = {
49730
50136
  /**
49731
50137
  * @maxLength 10
@@ -49742,6 +50148,11 @@ export type AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountI
49742
50148
  Person?: AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItemPerson;
49743
50149
  IsPrimary?: boolean;
49744
50150
  ReceiveInvoices?: boolean;
50151
+ /**
50152
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
50153
+ * @nullable
50154
+ */
50155
+ Role?: AccountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItemRole;
49745
50156
  };
49746
50157
 
49747
50158
  export type AccountSubscriptionCancellationRequestedWebhookPayloadStripeInvoicesItem = {
@@ -52080,6 +52491,20 @@ export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson =
52080
52491
  IsConnectedToDiscord?: boolean;
52081
52492
  } | null;
52082
52493
 
52494
+ /**
52495
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
52496
+ * @nullable
52497
+ */
52498
+ export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemRole = typeof AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemRole[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemRole] | null;
52499
+
52500
+
52501
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
52502
+ export const AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemRole = {
52503
+ Admin: 1,
52504
+ FullAccess: 2,
52505
+ Operator: 3,
52506
+ } as const;
52507
+
52083
52508
  export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItem = {
52084
52509
  /**
52085
52510
  * @maxLength 10
@@ -52096,6 +52521,11 @@ export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItem = {
52096
52521
  Person?: AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson;
52097
52522
  IsPrimary?: boolean;
52098
52523
  ReceiveInvoices?: boolean;
52524
+ /**
52525
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
52526
+ * @nullable
52527
+ */
52528
+ Role?: AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemRole;
52099
52529
  };
52100
52530
 
52101
52531
  export type AccountBillingInvoiceDeletedWebhookPayloadStripeInvoicesItem = {
@@ -54100,10 +54530,2378 @@ export interface AccountBillingInvoiceDeletedWebhookPayload {
54100
54530
  ActivityEventData?: AccountBillingInvoiceDeletedActivityData;
54101
54531
  }
54102
54532
 
54533
+ export interface AccountPersonRoleUpdatedActivityData {
54534
+ /** @nullable */
54535
+ PersonEmail?: string | null;
54536
+ /** @nullable */
54537
+ PreviousRole?: string | null;
54538
+ /** @nullable */
54539
+ CurrentRole?: string | null;
54540
+ }
54541
+
54103
54542
  /**
54104
54543
  * @nullable
54105
54544
  */
54106
- export type PersonCreatedWebhookPayloadMailingAddress = {
54545
+ export type AccountPersonRoleUpdatedWebhookPayloadBillingAddress = {
54546
+ /**
54547
+ * @maxLength 10
54548
+ * @nullable
54549
+ */
54550
+ Uid?: string | null;
54551
+ /** @nullable */
54552
+ _objectType?: string | null;
54553
+ /** @minLength 1 */
54554
+ Created?: string;
54555
+ /** @minLength 1 */
54556
+ Updated?: string;
54557
+ /**
54558
+ * @maxLength 250
54559
+ * @nullable
54560
+ */
54561
+ AddressLine1?: string | null;
54562
+ /**
54563
+ * @maxLength 250
54564
+ * @nullable
54565
+ */
54566
+ AddressLine2?: string | null;
54567
+ /**
54568
+ * @maxLength 250
54569
+ * @nullable
54570
+ */
54571
+ AddressLine3?: string | null;
54572
+ /**
54573
+ * @maxLength 250
54574
+ * @nullable
54575
+ */
54576
+ City?: string | null;
54577
+ /**
54578
+ * @maxLength 250
54579
+ * @nullable
54580
+ */
54581
+ State?: string | null;
54582
+ /**
54583
+ * @maxLength 250
54584
+ * @nullable
54585
+ */
54586
+ PostalCode?: string | null;
54587
+ /**
54588
+ * @maxLength 250
54589
+ * @nullable
54590
+ */
54591
+ Country?: string | null;
54592
+ /**
54593
+ * @maxLength 250
54594
+ * @nullable
54595
+ */
54596
+ GeoLocation?: string | null;
54597
+ } | null;
54598
+
54599
+ /**
54600
+ * @nullable
54601
+ */
54602
+ export type AccountPersonRoleUpdatedWebhookPayloadMailingAddress = {
54603
+ /**
54604
+ * @maxLength 10
54605
+ * @nullable
54606
+ */
54607
+ Uid?: string | null;
54608
+ /** @nullable */
54609
+ _objectType?: string | null;
54610
+ /** @minLength 1 */
54611
+ Created?: string;
54612
+ /** @minLength 1 */
54613
+ Updated?: string;
54614
+ /**
54615
+ * @maxLength 250
54616
+ * @nullable
54617
+ */
54618
+ AddressLine1?: string | null;
54619
+ /**
54620
+ * @maxLength 250
54621
+ * @nullable
54622
+ */
54623
+ AddressLine2?: string | null;
54624
+ /**
54625
+ * @maxLength 250
54626
+ * @nullable
54627
+ */
54628
+ AddressLine3?: string | null;
54629
+ /**
54630
+ * @maxLength 250
54631
+ * @nullable
54632
+ */
54633
+ City?: string | null;
54634
+ /**
54635
+ * @maxLength 250
54636
+ * @nullable
54637
+ */
54638
+ State?: string | null;
54639
+ /**
54640
+ * @maxLength 250
54641
+ * @nullable
54642
+ */
54643
+ PostalCode?: string | null;
54644
+ /**
54645
+ * @maxLength 250
54646
+ * @nullable
54647
+ */
54648
+ Country?: string | null;
54649
+ /**
54650
+ * @maxLength 250
54651
+ * @nullable
54652
+ */
54653
+ GeoLocation?: string | null;
54654
+ } | null;
54655
+
54656
+ /**
54657
+ * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created
54658
+ */
54659
+ export type AccountPersonRoleUpdatedWebhookPayloadAccountStage = typeof AccountPersonRoleUpdatedWebhookPayloadAccountStage[keyof typeof AccountPersonRoleUpdatedWebhookPayloadAccountStage];
54660
+
54661
+
54662
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
54663
+ export const AccountPersonRoleUpdatedWebhookPayloadAccountStage = {
54664
+ Trialing: 2,
54665
+ Subscribing: 3,
54666
+ Cancelling: 4,
54667
+ Expired: 5,
54668
+ TrialExpired: 6,
54669
+ PastDue: 7,
54670
+ CancellingTrial: 8,
54671
+ Paused: 9,
54672
+ Created: 10,
54673
+ } as const;
54674
+
54675
+ /**
54676
+ * @nullable
54677
+ */
54678
+ export type AccountPersonRoleUpdatedWebhookPayloadPaymentInformation = {
54679
+ /**
54680
+ * @maxLength 10
54681
+ * @nullable
54682
+ */
54683
+ Uid?: string | null;
54684
+ /** @nullable */
54685
+ _objectType?: string | null;
54686
+ /** @minLength 1 */
54687
+ Created?: string;
54688
+ /** @minLength 1 */
54689
+ Updated?: string;
54690
+ /**
54691
+ * @maxLength 250
54692
+ * @nullable
54693
+ */
54694
+ CustomerToken?: string | null;
54695
+ /** @nullable */
54696
+ LastFourDigits?: string | null;
54697
+ /** @nullable */
54698
+ LatestFailureDateTime?: string | null;
54699
+ /** @nullable */
54700
+ LatestFailureDescription?: string | null;
54701
+ /** @nullable */
54702
+ LatestSuccessDateTime?: string | null;
54703
+ NumberOfFailures?: number;
54704
+ /** @nullable */
54705
+ PaymentClientSecret?: string | null;
54706
+ /**
54707
+ * @maxLength 50
54708
+ * @nullable
54709
+ */
54710
+ PaymentMethodType?: string | null;
54711
+ /**
54712
+ * @maxLength 250
54713
+ * @nullable
54714
+ */
54715
+ PaymentToken?: string | null;
54716
+ /**
54717
+ * @maxLength 100
54718
+ * @nullable
54719
+ */
54720
+ BankName?: string | null;
54721
+ /**
54722
+ * @maxLength 50
54723
+ * @nullable
54724
+ */
54725
+ BankAccountType?: string | null;
54726
+ /**
54727
+ * @maxLength 50
54728
+ * @nullable
54729
+ */
54730
+ BankAccountHolderType?: string | null;
54731
+ /** @nullable */
54732
+ NameOnCard?: string | null;
54733
+ /** @nullable */
54734
+ CardType?: string | null;
54735
+ /** @nullable */
54736
+ ExpirationMonth?: string | null;
54737
+ /** @nullable */
54738
+ ExpirationYear?: string | null;
54739
+ /** @nullable */
54740
+ Mode?: string | null;
54741
+ /** @nullable */
54742
+ OneTimeToken?: string | null;
54743
+ /** @nullable */
54744
+ RecaptchaToken?: string | null;
54745
+ /** @nullable */
54746
+ SetupIntent?: string | null;
54747
+ } | null;
54748
+
54749
+ /**
54750
+ * `0` - None, `1` - Gmail
54751
+ */
54752
+ export type AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus = typeof AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus[keyof typeof AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus];
54753
+
54754
+
54755
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
54756
+ export const AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus = {
54757
+ None: 0,
54758
+ Gmail: 1,
54759
+ } as const;
54760
+
54761
+ /**
54762
+ * @nullable
54763
+ */
54764
+ export type AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemPerson = {
54765
+ /**
54766
+ * @maxLength 10
54767
+ * @nullable
54768
+ */
54769
+ Uid?: string | null;
54770
+ /** @nullable */
54771
+ _objectType?: string | null;
54772
+ /** @minLength 1 */
54773
+ Created?: string;
54774
+ /** @minLength 1 */
54775
+ Updated?: string;
54776
+ /**
54777
+ * @maxLength 250
54778
+ * @nullable
54779
+ */
54780
+ Email?: string | null;
54781
+ /**
54782
+ * @maxLength 250
54783
+ * @nullable
54784
+ */
54785
+ FirstName?: string | null;
54786
+ /**
54787
+ * @maxLength 250
54788
+ * @nullable
54789
+ */
54790
+ LastName?: string | null;
54791
+ /** @nullable */
54792
+ PasswordLastUpdated?: string | null;
54793
+ PasswordMustChange?: boolean;
54794
+ /**
54795
+ * @maxLength 250
54796
+ * @nullable
54797
+ */
54798
+ PhoneMobile?: string | null;
54799
+ /**
54800
+ * @maxLength 250
54801
+ * @nullable
54802
+ */
54803
+ PhoneWork?: string | null;
54804
+ /**
54805
+ * @maxLength 250
54806
+ * @nullable
54807
+ */
54808
+ ProfileImageS3Url?: string | null;
54809
+ /**
54810
+ * @maxLength 250
54811
+ * @nullable
54812
+ */
54813
+ Title?: string | null;
54814
+ /**
54815
+ * @maxLength 100
54816
+ * @nullable
54817
+ */
54818
+ Timezone?: string | null;
54819
+ /**
54820
+ * @maxLength 50
54821
+ * @nullable
54822
+ */
54823
+ Language?: string | null;
54824
+ /**
54825
+ * @maxLength 250
54826
+ * @nullable
54827
+ */
54828
+ IPAddress?: string | null;
54829
+ /**
54830
+ * @maxLength 250
54831
+ * @nullable
54832
+ */
54833
+ Referer?: string | null;
54834
+ /**
54835
+ * @maxLength 1000
54836
+ * @nullable
54837
+ */
54838
+ UserAgent?: string | null;
54839
+ /** @nullable */
54840
+ LastLoginDateTime?: string | null;
54841
+ /**
54842
+ * @maxLength 50
54843
+ * @nullable
54844
+ */
54845
+ OAuthGoogleProfileId?: string | null;
54846
+ /** @nullable */
54847
+ AccountUids?: string | null;
54848
+ /** @nullable */
54849
+ FullName?: string | null;
54850
+ HasLoggedIn?: boolean;
54851
+ /** `0` - None, `1` - Gmail */
54852
+ OAuthIntegrationStatus?: AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus;
54853
+ OptInToEmailList?: boolean;
54854
+ /** @nullable */
54855
+ Password?: string | null;
54856
+ /** @nullable */
54857
+ UserAgentPlatformBrowser?: string | null;
54858
+ HasUnsubscribed?: boolean;
54859
+ IsConnectedToDiscord?: boolean;
54860
+ } | null;
54861
+
54862
+ /**
54863
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
54864
+ * @nullable
54865
+ */
54866
+ export type AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemRole = typeof AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemRole] | null;
54867
+
54868
+
54869
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
54870
+ export const AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemRole = {
54871
+ Admin: 1,
54872
+ FullAccess: 2,
54873
+ Operator: 3,
54874
+ } as const;
54875
+
54876
+ export type AccountPersonRoleUpdatedWebhookPayloadPersonAccountItem = {
54877
+ /**
54878
+ * @maxLength 10
54879
+ * @nullable
54880
+ */
54881
+ Uid?: string | null;
54882
+ /** @nullable */
54883
+ _objectType?: string | null;
54884
+ /** @minLength 1 */
54885
+ Created: string;
54886
+ /** @minLength 1 */
54887
+ Updated: string;
54888
+ /** @nullable */
54889
+ Person?: AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemPerson;
54890
+ IsPrimary?: boolean;
54891
+ ReceiveInvoices?: boolean;
54892
+ /**
54893
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
54894
+ * @nullable
54895
+ */
54896
+ Role?: AccountPersonRoleUpdatedWebhookPayloadPersonAccountItemRole;
54897
+ };
54898
+
54899
+ export type AccountPersonRoleUpdatedWebhookPayloadStripeInvoicesItem = {
54900
+ /**
54901
+ * @maxLength 10
54902
+ * @nullable
54903
+ */
54904
+ Uid?: string | null;
54905
+ /** @nullable */
54906
+ _objectType?: string | null;
54907
+ /** @minLength 1 */
54908
+ Created: string;
54909
+ /** @minLength 1 */
54910
+ Updated: string;
54911
+ /**
54912
+ * @maxLength 255
54913
+ * @nullable
54914
+ */
54915
+ StripeId?: string | null;
54916
+ IsLivemode?: boolean;
54917
+ AmountDue?: number;
54918
+ AmountPaid?: number;
54919
+ AmountShipping?: number;
54920
+ AttemptCount?: number;
54921
+ Attempted?: boolean;
54922
+ /**
54923
+ * @maxLength 3
54924
+ * @nullable
54925
+ */
54926
+ Currency?: string | null;
54927
+ /** @nullable */
54928
+ Description?: string | null;
54929
+ /** @nullable */
54930
+ FinalizedAt?: string | null;
54931
+ /**
54932
+ * @maxLength 500
54933
+ * @nullable
54934
+ */
54935
+ HostedInvoiceUrl?: string | null;
54936
+ /**
54937
+ * @maxLength 500
54938
+ * @nullable
54939
+ */
54940
+ InvoicePdf?: string | null;
54941
+ /** @nullable */
54942
+ NextPaymentAttempt?: string | null;
54943
+ /**
54944
+ * @maxLength 50
54945
+ * @nullable
54946
+ */
54947
+ Number?: string | null;
54948
+ PeriodEnd?: string;
54949
+ PeriodStart?: string;
54950
+ /**
54951
+ * @maxLength 30
54952
+ * @nullable
54953
+ */
54954
+ Status?: string | null;
54955
+ SubTotal?: number;
54956
+ /** @nullable */
54957
+ SubTotalExcludingTax?: number | null;
54958
+ /**
54959
+ * @maxLength 255
54960
+ * @nullable
54961
+ */
54962
+ SubscriptionId?: string | null;
54963
+ /** @nullable */
54964
+ Tax?: number | null;
54965
+ Total?: number;
54966
+ /** @nullable */
54967
+ TotalExcludingTax?: number | null;
54968
+ IsRefunded?: boolean;
54969
+ CurrencyAmountCreditedPostPayment?: number;
54970
+ CurrencyAmountCreditedPrePayment?: number;
54971
+ CurrencyAmountDue?: number;
54972
+ CurrencyAmountPaid?: number;
54973
+ /** @nullable */
54974
+ CurrencySymbol?: string | null;
54975
+ CurrencyTotal?: number;
54976
+ CurrencyTotalExcludingTax?: number;
54977
+ CurrencySubTotal?: number;
54978
+ CurrencySubTotalExcludingTax?: number;
54979
+ CurrencyTax?: number;
54980
+ /** @nullable */
54981
+ DaysUntilDue?: number | null;
54982
+ /** @nullable */
54983
+ CustomerId?: string | null;
54984
+ /** @nullable */
54985
+ PaymentStatus?: string | null;
54986
+ /** @nullable */
54987
+ StripePaymentMethodId?: string | null;
54988
+ };
54989
+
54990
+ export type AccountPersonRoleUpdatedWebhookPayloadStripePaymentMethodsItem = {
54991
+ /**
54992
+ * @maxLength 10
54993
+ * @nullable
54994
+ */
54995
+ Uid?: string | null;
54996
+ /** @nullable */
54997
+ _objectType?: string | null;
54998
+ /** @minLength 1 */
54999
+ Created: string;
55000
+ /** @minLength 1 */
55001
+ Updated: string;
55002
+ /**
55003
+ * @maxLength 255
55004
+ * @nullable
55005
+ */
55006
+ StripeId?: string | null;
55007
+ IsLivemode?: boolean;
55008
+ /** @nullable */
55009
+ Card_Brand?: string | null;
55010
+ /** @nullable */
55011
+ Card_ExpMonth?: number | null;
55012
+ /** @nullable */
55013
+ Card_ExpYear?: number | null;
55014
+ /** @nullable */
55015
+ Card_Wallet_Type?: string | null;
55016
+ /** @nullable */
55017
+ BankName?: string | null;
55018
+ /** @nullable */
55019
+ Last4?: string | null;
55020
+ /** @nullable */
55021
+ Type?: string | null;
55022
+ /** @nullable */
55023
+ Label?: string | null;
55024
+ };
55025
+
55026
+ export type AccountPersonRoleUpdatedWebhookPayloadStripeSubscriptionsItem = {
55027
+ /**
55028
+ * @maxLength 10
55029
+ * @nullable
55030
+ */
55031
+ Uid?: string | null;
55032
+ /** @nullable */
55033
+ _objectType?: string | null;
55034
+ /** @minLength 1 */
55035
+ Created: string;
55036
+ /** @minLength 1 */
55037
+ Updated: string;
55038
+ /**
55039
+ * @maxLength 255
55040
+ * @nullable
55041
+ */
55042
+ StripeId?: string | null;
55043
+ IsLivemode?: boolean;
55044
+ /** @nullable */
55045
+ CancelAt?: string | null;
55046
+ CancelAtPeriodEnd?: boolean;
55047
+ /**
55048
+ * @maxLength 3
55049
+ * @nullable
55050
+ */
55051
+ Currency?: string | null;
55052
+ /** @nullable */
55053
+ EndedAt?: string | null;
55054
+ /**
55055
+ * @maxLength 30
55056
+ * @nullable
55057
+ */
55058
+ PauseCollection_Behavior?: string | null;
55059
+ /** @nullable */
55060
+ PauseCollection_ResumesAt?: string | null;
55061
+ StartDate?: string;
55062
+ /**
55063
+ * @maxLength 30
55064
+ * @nullable
55065
+ */
55066
+ Status?: string | null;
55067
+ /** @nullable */
55068
+ TrialEnd?: string | null;
55069
+ /** @nullable */
55070
+ AccountUid?: string | null;
55071
+ /** @nullable */
55072
+ BillingCycleAnchor?: string | null;
55073
+ /** @nullable */
55074
+ CollectionMethod?: string | null;
55075
+ /** @nullable */
55076
+ CustomerId?: string | null;
55077
+ /** @nullable */
55078
+ DaysUntilDue?: number | null;
55079
+ /** @nullable */
55080
+ ScheduleId?: string | null;
55081
+ /** @nullable */
55082
+ StripeDiscountIds?: string[] | null;
55083
+ /** @nullable */
55084
+ StripePriceIds?: string | null;
55085
+ TrialPeriodDays?: number;
55086
+ };
55087
+
55088
+ /**
55089
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
55090
+ */
55091
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm];
55092
+
55093
+
55094
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55095
+ export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm = {
55096
+ Monthly: 1,
55097
+ Yearly: 2,
55098
+ Quarterly: 3,
55099
+ OneTime: 4,
55100
+ } as const;
55101
+
55102
+ /**
55103
+ * @nullable
55104
+ */
55105
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanPlanFamily = {
55106
+ /**
55107
+ * @maxLength 10
55108
+ * @nullable
55109
+ */
55110
+ Uid?: string | null;
55111
+ /** @nullable */
55112
+ _objectType?: string | null;
55113
+ /** @minLength 1 */
55114
+ Created?: string;
55115
+ /** @minLength 1 */
55116
+ Updated?: string;
55117
+ /**
55118
+ * @maxLength 250
55119
+ * @nullable
55120
+ */
55121
+ Name?: string | null;
55122
+ IsActive?: boolean;
55123
+ IsDefault?: boolean;
55124
+ } | null;
55125
+
55126
+ /**
55127
+ * `1` - Individual, `2` - Team
55128
+ */
55129
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode];
55130
+
55131
+
55132
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55133
+ export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode = {
55134
+ Individual: 1,
55135
+ Team: 2,
55136
+ } as const;
55137
+
55138
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanPlanAddOnsItem = {
55139
+ /**
55140
+ * @maxLength 10
55141
+ * @nullable
55142
+ */
55143
+ Uid?: string | null;
55144
+ /** @nullable */
55145
+ _objectType?: string | null;
55146
+ /** @minLength 1 */
55147
+ Created: string;
55148
+ /** @minLength 1 */
55149
+ Updated: string;
55150
+ IsUserSelectable: boolean;
55151
+ };
55152
+
55153
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanContentGroupsItem = {
55154
+ /**
55155
+ * @maxLength 10
55156
+ * @nullable
55157
+ */
55158
+ Uid?: string | null;
55159
+ /** @nullable */
55160
+ _objectType?: string | null;
55161
+ /** @minLength 1 */
55162
+ Created: string;
55163
+ /** @minLength 1 */
55164
+ Updated: string;
55165
+ /**
55166
+ * @minLength 1
55167
+ * @maxLength 50
55168
+ */
55169
+ Name: string;
55170
+ /**
55171
+ * @maxLength 1024
55172
+ * @nullable
55173
+ */
55174
+ AccessDeniedPath?: string | null;
55175
+ };
55176
+
55177
+ /**
55178
+ * @nullable
55179
+ */
55180
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlan = {
55181
+ /**
55182
+ * @maxLength 10
55183
+ * @nullable
55184
+ */
55185
+ Uid?: string | null;
55186
+ /** @nullable */
55187
+ _objectType?: string | null;
55188
+ /** @minLength 1 */
55189
+ Created?: string;
55190
+ /** @minLength 1 */
55191
+ Updated?: string;
55192
+ /**
55193
+ * @maxLength 250
55194
+ * @nullable
55195
+ */
55196
+ Name?: string | null;
55197
+ /** @nullable */
55198
+ Description?: string | null;
55199
+ /** @nullable */
55200
+ PlanFamily?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanPlanFamily;
55201
+ /** `1` - Individual, `2` - Team */
55202
+ AccountRegistrationMode?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode;
55203
+ IsQuantityEditable?: boolean;
55204
+ MinimumQuantity?: number;
55205
+ /** @nullable */
55206
+ MaximumPeople?: number | null;
55207
+ MonthlyRate?: number;
55208
+ AnnualRate?: number;
55209
+ QuarterlyRate?: number;
55210
+ OneTimeRate?: number;
55211
+ SetupFee?: number;
55212
+ SkipSetupFeeOnPlanChange?: boolean;
55213
+ IsTaxable?: boolean;
55214
+ IsActive?: boolean;
55215
+ IsPerUser?: boolean;
55216
+ RequirePaymentInformation?: boolean;
55217
+ TrialPeriodDays?: number;
55218
+ /** @nullable */
55219
+ TrialUntilDate?: string | null;
55220
+ ExpiresAfterMonths?: number;
55221
+ /** @nullable */
55222
+ ExpirationDate?: string | null;
55223
+ /**
55224
+ * @maxLength 250
55225
+ * @nullable
55226
+ */
55227
+ PostLoginPath?: string | null;
55228
+ /**
55229
+ * @maxLength 15
55230
+ * @nullable
55231
+ */
55232
+ StripeTaxCodeId?: string | null;
55233
+ /**
55234
+ * @maxLength 250
55235
+ * @nullable
55236
+ */
55237
+ UnitOfMeasure?: string | null;
55238
+ /** @nullable */
55239
+ PlanAddOns?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanPlanAddOnsItem[] | null;
55240
+ /** @nullable */
55241
+ ContentGroups?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanContentGroupsItem[] | null;
55242
+ /** @nullable */
55243
+ NumberOfSubscriptions?: number | null;
55244
+ } | null;
55245
+
55246
+ /**
55247
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
55248
+ */
55249
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm];
55250
+
55251
+
55252
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55253
+ export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm = {
55254
+ Monthly: 1,
55255
+ Yearly: 2,
55256
+ Quarterly: 3,
55257
+ OneTime: 4,
55258
+ } as const;
55259
+
55260
+ /**
55261
+ * `1` - Recurring, `2` - Usage, `3` - OneTime
55262
+ */
55263
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType];
55264
+
55265
+
55266
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55267
+ export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType = {
55268
+ Recurring: 1,
55269
+ Usage: 2,
55270
+ OneTime: 3,
55271
+ } as const;
55272
+
55273
+ /**
55274
+ * @nullable
55275
+ */
55276
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOn = {
55277
+ /**
55278
+ * @maxLength 10
55279
+ * @nullable
55280
+ */
55281
+ Uid?: string | null;
55282
+ /** @nullable */
55283
+ _objectType?: string | null;
55284
+ /** @minLength 1 */
55285
+ Created?: string;
55286
+ /** @minLength 1 */
55287
+ Updated?: string;
55288
+ /**
55289
+ * @maxLength 250
55290
+ * @nullable
55291
+ */
55292
+ Name?: string | null;
55293
+ /** `1` - Recurring, `2` - Usage, `3` - OneTime */
55294
+ BillingAddOnType?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType;
55295
+ IsQuantityEditable?: boolean;
55296
+ MinimumQuantity?: number;
55297
+ MonthlyRate?: number;
55298
+ AnnualRate?: number;
55299
+ SetupFee?: number;
55300
+ /**
55301
+ * @maxLength 250
55302
+ * @nullable
55303
+ */
55304
+ UnitOfMeasure?: string | null;
55305
+ IsTaxable?: boolean;
55306
+ IsBilledDuringTrial?: boolean;
55307
+ ExpiresAfterMonths?: number;
55308
+ /** @nullable */
55309
+ ExpirationDate?: string | null;
55310
+ /**
55311
+ * @maxLength 15
55312
+ * @nullable
55313
+ */
55314
+ StripeTaxCodeId?: string | null;
55315
+ IsPerUser?: boolean;
55316
+ QuarterlyRate?: number;
55317
+ OneTimeRate?: number;
55318
+ SubscriptionCount?: number;
55319
+ Quantity?: number;
55320
+ } | null;
55321
+
55322
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem = {
55323
+ /**
55324
+ * @maxLength 10
55325
+ * @nullable
55326
+ */
55327
+ Uid?: string | null;
55328
+ /** @nullable */
55329
+ _objectType?: string | null;
55330
+ /** @minLength 1 */
55331
+ Created: string;
55332
+ /** @minLength 1 */
55333
+ Updated: string;
55334
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
55335
+ BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm;
55336
+ /** @nullable */
55337
+ AddOn?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOn;
55338
+ /** @nullable */
55339
+ Quantity?: number | null;
55340
+ StartDate?: string;
55341
+ /** @nullable */
55342
+ EndDate?: string | null;
55343
+ /** @nullable */
55344
+ ExpirationDate?: string | null;
55345
+ /** @nullable */
55346
+ RenewalDate?: string | null;
55347
+ /** @nullable */
55348
+ NewRequiredQuantity?: number | null;
55349
+ /** @nullable */
55350
+ Rate?: number | null;
55351
+ };
55352
+
55353
+ /**
55354
+ * `1` - Forever, `2` - Once, `3` - Repeating
55355
+ */
55356
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration];
55357
+
55358
+
55359
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55360
+ export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration = {
55361
+ Forever: 1,
55362
+ Once: 2,
55363
+ Repeating: 3,
55364
+ } as const;
55365
+
55366
+ /**
55367
+ * @nullable
55368
+ */
55369
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon = {
55370
+ /**
55371
+ * @maxLength 10
55372
+ * @nullable
55373
+ */
55374
+ Uid?: string | null;
55375
+ /** @nullable */
55376
+ _objectType?: string | null;
55377
+ /** @minLength 1 */
55378
+ Created?: string;
55379
+ /** @minLength 1 */
55380
+ Updated?: string;
55381
+ /** @nullable */
55382
+ UniqueIdentifier?: string | null;
55383
+ /** @nullable */
55384
+ Name?: string | null;
55385
+ IsActive?: boolean;
55386
+ /** @nullable */
55387
+ AmountOff?: number | null;
55388
+ /** @nullable */
55389
+ PercentOff?: number | null;
55390
+ /** @nullable */
55391
+ RedeemBy?: string | null;
55392
+ /** `1` - Forever, `2` - Once, `3` - Repeating */
55393
+ Duration?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration;
55394
+ /** @nullable */
55395
+ DurationInMonths?: number | null;
55396
+ TimesRedeemed?: number;
55397
+ /** @nullable */
55398
+ MaxRedemptions?: number | null;
55399
+ ApplyToAddOns?: boolean;
55400
+ /** @nullable */
55401
+ PlanUids?: string | null;
55402
+ } | null;
55403
+
55404
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem = {
55405
+ /**
55406
+ * @maxLength 10
55407
+ * @nullable
55408
+ */
55409
+ Uid?: string | null;
55410
+ /** @nullable */
55411
+ _objectType?: string | null;
55412
+ /** @minLength 1 */
55413
+ Created: string;
55414
+ /** @minLength 1 */
55415
+ Updated: string;
55416
+ /** @nullable */
55417
+ RedeemedDate?: string | null;
55418
+ /** @nullable */
55419
+ ExpireDate?: string | null;
55420
+ /** @nullable */
55421
+ DiscountCoupon?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon;
55422
+ };
55423
+
55424
+ /**
55425
+ * `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing
55426
+ */
55427
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus];
55428
+
55429
+
55430
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55431
+ export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus = {
55432
+ Unpaid: 1,
55433
+ Paid: 2,
55434
+ Partial: 3,
55435
+ Uncollected: 4,
55436
+ Refunded: 5,
55437
+ Uncollectible: 6,
55438
+ Processing: 7,
55439
+ } as const;
55440
+
55441
+ /**
55442
+ * @nullable
55443
+ */
55444
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoice = {
55445
+ /**
55446
+ * @maxLength 10
55447
+ * @nullable
55448
+ */
55449
+ Uid?: string | null;
55450
+ /** @nullable */
55451
+ _objectType?: string | null;
55452
+ /** @minLength 1 */
55453
+ Created?: string;
55454
+ /** @minLength 1 */
55455
+ Updated?: string;
55456
+ InvoiceDate?: string;
55457
+ /** @nullable */
55458
+ PaymentReminderSentDate?: string | null;
55459
+ Number?: number;
55460
+ /** `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing */
55461
+ BillingInvoiceStatus?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus;
55462
+ Amount?: number;
55463
+ AmountOutstanding?: number;
55464
+ IsUserGenerated?: boolean;
55465
+ /**
55466
+ * @maxLength 50
55467
+ * @nullable
55468
+ */
55469
+ StripeTaxCalculationId?: string | null;
55470
+ /**
55471
+ * @maxLength 10
55472
+ * @nullable
55473
+ */
55474
+ StripeTaxBehavior?: string | null;
55475
+ AmountCredit?: number;
55476
+ AmountDiscount?: number;
55477
+ AmountPaid?: number;
55478
+ AmountRefunded?: number;
55479
+ AmountSubtotal?: number;
55480
+ AmountTax?: number;
55481
+ AmountTaxRefunded?: number;
55482
+ IsTaxable?: boolean;
55483
+ HasPaymentGatewayTransactions?: boolean;
55484
+ /** @nullable */
55485
+ StripePaymentTransactionIds?: string | null;
55486
+ /** @nullable */
55487
+ StripeRefundTransactionIds?: string | null;
55488
+ /** @nullable */
55489
+ StripeTaxRefundTransactionIds?: string | null;
55490
+ } | null;
55491
+
55492
+ export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItem = {
55493
+ /**
55494
+ * @maxLength 10
55495
+ * @nullable
55496
+ */
55497
+ Uid?: string | null;
55498
+ /** @nullable */
55499
+ _objectType?: string | null;
55500
+ /** @minLength 1 */
55501
+ Created: string;
55502
+ /** @minLength 1 */
55503
+ Updated: string;
55504
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
55505
+ BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm;
55506
+ /** @nullable */
55507
+ Plan?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlan;
55508
+ /** @nullable */
55509
+ Quantity?: number | null;
55510
+ StartDate?: string;
55511
+ /** @nullable */
55512
+ EndDate?: string | null;
55513
+ /** @nullable */
55514
+ ExpirationDate?: string | null;
55515
+ /** @nullable */
55516
+ RenewalDate?: string | null;
55517
+ /** @nullable */
55518
+ NewRequiredQuantity?: number | null;
55519
+ IsPlanUpgradeRequired?: boolean;
55520
+ /** @nullable */
55521
+ PlanUpgradeRequiredMessage?: string | null;
55522
+ /** @nullable */
55523
+ SubscriptionAddOns?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem[] | null;
55524
+ /** @nullable */
55525
+ DiscountCouponSubscriptions?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem[] | null;
55526
+ /** @nullable */
55527
+ DiscountCode?: string | null;
55528
+ /** @nullable */
55529
+ DiscountCouponExpirationDate?: string | null;
55530
+ /** @nullable */
55531
+ LatestInvoice?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoice;
55532
+ /** @nullable */
55533
+ Rate?: number | null;
55534
+ };
55535
+
55536
+ export type AccountPersonRoleUpdatedWebhookPayloadDealsItem = {
55537
+ /**
55538
+ * @maxLength 10
55539
+ * @nullable
55540
+ */
55541
+ Uid?: string | null;
55542
+ /** @nullable */
55543
+ _objectType?: string | null;
55544
+ /** @minLength 1 */
55545
+ Created: string;
55546
+ /** @minLength 1 */
55547
+ Updated: string;
55548
+ /**
55549
+ * @minLength 1
55550
+ * @maxLength 250
55551
+ */
55552
+ Name: string;
55553
+ /** @nullable */
55554
+ Amount?: number | null;
55555
+ /** @nullable */
55556
+ DueDate?: string | null;
55557
+ /**
55558
+ * @maxLength 50
55559
+ * @nullable
55560
+ */
55561
+ AssignedToPersonClientIdentifier?: string | null;
55562
+ Weight?: number;
55563
+ /** @nullable */
55564
+ Contacts?: string | null;
55565
+ AccountId?: number;
55566
+ /** @nullable */
55567
+ PipelineUid?: string | null;
55568
+ };
55569
+
55570
+ export type AccountPersonRoleUpdatedWebhookPayloadTaxIdsItem = {
55571
+ /**
55572
+ * @maxLength 10
55573
+ * @nullable
55574
+ */
55575
+ Uid?: string | null;
55576
+ /** @nullable */
55577
+ _objectType?: string | null;
55578
+ /** @minLength 1 */
55579
+ Created: string;
55580
+ /** @minLength 1 */
55581
+ Updated: string;
55582
+ /**
55583
+ * @maxLength 255
55584
+ * @nullable
55585
+ */
55586
+ StripeId?: string | null;
55587
+ IsLivemode?: boolean;
55588
+ /**
55589
+ * @maxLength 50
55590
+ * @nullable
55591
+ */
55592
+ TaxId?: string | null;
55593
+ /**
55594
+ * @maxLength 20
55595
+ * @nullable
55596
+ */
55597
+ TaxIdType?: string | null;
55598
+ IsInvalid?: boolean;
55599
+ };
55600
+
55601
+ /**
55602
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
55603
+ */
55604
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionBillingRenewalTerm];
55605
+
55606
+
55607
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55608
+ export const AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionBillingRenewalTerm = {
55609
+ Monthly: 1,
55610
+ Yearly: 2,
55611
+ Quarterly: 3,
55612
+ OneTime: 4,
55613
+ } as const;
55614
+
55615
+ /**
55616
+ * @nullable
55617
+ */
55618
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanPlanFamily = {
55619
+ /**
55620
+ * @maxLength 10
55621
+ * @nullable
55622
+ */
55623
+ Uid?: string | null;
55624
+ /** @nullable */
55625
+ _objectType?: string | null;
55626
+ /** @minLength 1 */
55627
+ Created?: string;
55628
+ /** @minLength 1 */
55629
+ Updated?: string;
55630
+ /**
55631
+ * @maxLength 250
55632
+ * @nullable
55633
+ */
55634
+ Name?: string | null;
55635
+ IsActive?: boolean;
55636
+ IsDefault?: boolean;
55637
+ } | null;
55638
+
55639
+ /**
55640
+ * `1` - Individual, `2` - Team
55641
+ */
55642
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode = typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode[keyof typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode];
55643
+
55644
+
55645
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55646
+ export const AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode = {
55647
+ Individual: 1,
55648
+ Team: 2,
55649
+ } as const;
55650
+
55651
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem = {
55652
+ /**
55653
+ * @maxLength 10
55654
+ * @nullable
55655
+ */
55656
+ Uid?: string | null;
55657
+ /** @nullable */
55658
+ _objectType?: string | null;
55659
+ /** @minLength 1 */
55660
+ Created: string;
55661
+ /** @minLength 1 */
55662
+ Updated: string;
55663
+ IsUserSelectable: boolean;
55664
+ };
55665
+
55666
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem = {
55667
+ /**
55668
+ * @maxLength 10
55669
+ * @nullable
55670
+ */
55671
+ Uid?: string | null;
55672
+ /** @nullable */
55673
+ _objectType?: string | null;
55674
+ /** @minLength 1 */
55675
+ Created: string;
55676
+ /** @minLength 1 */
55677
+ Updated: string;
55678
+ /**
55679
+ * @minLength 1
55680
+ * @maxLength 50
55681
+ */
55682
+ Name: string;
55683
+ /**
55684
+ * @maxLength 1024
55685
+ * @nullable
55686
+ */
55687
+ AccessDeniedPath?: string | null;
55688
+ };
55689
+
55690
+ /**
55691
+ * @nullable
55692
+ */
55693
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlan = {
55694
+ /**
55695
+ * @maxLength 10
55696
+ * @nullable
55697
+ */
55698
+ Uid?: string | null;
55699
+ /** @nullable */
55700
+ _objectType?: string | null;
55701
+ /** @minLength 1 */
55702
+ Created?: string;
55703
+ /** @minLength 1 */
55704
+ Updated?: string;
55705
+ /**
55706
+ * @maxLength 250
55707
+ * @nullable
55708
+ */
55709
+ Name?: string | null;
55710
+ /** @nullable */
55711
+ Description?: string | null;
55712
+ /** @nullable */
55713
+ PlanFamily?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanPlanFamily;
55714
+ /** `1` - Individual, `2` - Team */
55715
+ AccountRegistrationMode?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode;
55716
+ IsQuantityEditable?: boolean;
55717
+ MinimumQuantity?: number;
55718
+ /** @nullable */
55719
+ MaximumPeople?: number | null;
55720
+ MonthlyRate?: number;
55721
+ AnnualRate?: number;
55722
+ QuarterlyRate?: number;
55723
+ OneTimeRate?: number;
55724
+ SetupFee?: number;
55725
+ SkipSetupFeeOnPlanChange?: boolean;
55726
+ IsTaxable?: boolean;
55727
+ IsActive?: boolean;
55728
+ IsPerUser?: boolean;
55729
+ RequirePaymentInformation?: boolean;
55730
+ TrialPeriodDays?: number;
55731
+ /** @nullable */
55732
+ TrialUntilDate?: string | null;
55733
+ ExpiresAfterMonths?: number;
55734
+ /** @nullable */
55735
+ ExpirationDate?: string | null;
55736
+ /**
55737
+ * @maxLength 250
55738
+ * @nullable
55739
+ */
55740
+ PostLoginPath?: string | null;
55741
+ /**
55742
+ * @maxLength 15
55743
+ * @nullable
55744
+ */
55745
+ StripeTaxCodeId?: string | null;
55746
+ /**
55747
+ * @maxLength 250
55748
+ * @nullable
55749
+ */
55750
+ UnitOfMeasure?: string | null;
55751
+ /** @nullable */
55752
+ PlanAddOns?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem[] | null;
55753
+ /** @nullable */
55754
+ ContentGroups?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem[] | null;
55755
+ /** @nullable */
55756
+ NumberOfSubscriptions?: number | null;
55757
+ } | null;
55758
+
55759
+ /**
55760
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
55761
+ */
55762
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm];
55763
+
55764
+
55765
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55766
+ export const AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = {
55767
+ Monthly: 1,
55768
+ Yearly: 2,
55769
+ Quarterly: 3,
55770
+ OneTime: 4,
55771
+ } as const;
55772
+
55773
+ /**
55774
+ * `1` - Recurring, `2` - Usage, `3` - OneTime
55775
+ */
55776
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType[keyof typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType];
55777
+
55778
+
55779
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55780
+ export const AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = {
55781
+ Recurring: 1,
55782
+ Usage: 2,
55783
+ OneTime: 3,
55784
+ } as const;
55785
+
55786
+ /**
55787
+ * @nullable
55788
+ */
55789
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn = {
55790
+ /**
55791
+ * @maxLength 10
55792
+ * @nullable
55793
+ */
55794
+ Uid?: string | null;
55795
+ /** @nullable */
55796
+ _objectType?: string | null;
55797
+ /** @minLength 1 */
55798
+ Created?: string;
55799
+ /** @minLength 1 */
55800
+ Updated?: string;
55801
+ /**
55802
+ * @maxLength 250
55803
+ * @nullable
55804
+ */
55805
+ Name?: string | null;
55806
+ /** `1` - Recurring, `2` - Usage, `3` - OneTime */
55807
+ BillingAddOnType?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType;
55808
+ IsQuantityEditable?: boolean;
55809
+ MinimumQuantity?: number;
55810
+ MonthlyRate?: number;
55811
+ AnnualRate?: number;
55812
+ SetupFee?: number;
55813
+ /**
55814
+ * @maxLength 250
55815
+ * @nullable
55816
+ */
55817
+ UnitOfMeasure?: string | null;
55818
+ IsTaxable?: boolean;
55819
+ IsBilledDuringTrial?: boolean;
55820
+ ExpiresAfterMonths?: number;
55821
+ /** @nullable */
55822
+ ExpirationDate?: string | null;
55823
+ /**
55824
+ * @maxLength 15
55825
+ * @nullable
55826
+ */
55827
+ StripeTaxCodeId?: string | null;
55828
+ IsPerUser?: boolean;
55829
+ QuarterlyRate?: number;
55830
+ OneTimeRate?: number;
55831
+ SubscriptionCount?: number;
55832
+ Quantity?: number;
55833
+ } | null;
55834
+
55835
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem = {
55836
+ /**
55837
+ * @maxLength 10
55838
+ * @nullable
55839
+ */
55840
+ Uid?: string | null;
55841
+ /** @nullable */
55842
+ _objectType?: string | null;
55843
+ /** @minLength 1 */
55844
+ Created: string;
55845
+ /** @minLength 1 */
55846
+ Updated: string;
55847
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
55848
+ BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm;
55849
+ /** @nullable */
55850
+ AddOn?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn;
55851
+ /** @nullable */
55852
+ Quantity?: number | null;
55853
+ StartDate?: string;
55854
+ /** @nullable */
55855
+ EndDate?: string | null;
55856
+ /** @nullable */
55857
+ ExpirationDate?: string | null;
55858
+ /** @nullable */
55859
+ RenewalDate?: string | null;
55860
+ /** @nullable */
55861
+ NewRequiredQuantity?: number | null;
55862
+ /** @nullable */
55863
+ Rate?: number | null;
55864
+ };
55865
+
55866
+ /**
55867
+ * `1` - Forever, `2` - Once, `3` - Repeating
55868
+ */
55869
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration];
55870
+
55871
+
55872
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55873
+ export const AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = {
55874
+ Forever: 1,
55875
+ Once: 2,
55876
+ Repeating: 3,
55877
+ } as const;
55878
+
55879
+ /**
55880
+ * @nullable
55881
+ */
55882
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon = {
55883
+ /**
55884
+ * @maxLength 10
55885
+ * @nullable
55886
+ */
55887
+ Uid?: string | null;
55888
+ /** @nullable */
55889
+ _objectType?: string | null;
55890
+ /** @minLength 1 */
55891
+ Created?: string;
55892
+ /** @minLength 1 */
55893
+ Updated?: string;
55894
+ /** @nullable */
55895
+ UniqueIdentifier?: string | null;
55896
+ /** @nullable */
55897
+ Name?: string | null;
55898
+ IsActive?: boolean;
55899
+ /** @nullable */
55900
+ AmountOff?: number | null;
55901
+ /** @nullable */
55902
+ PercentOff?: number | null;
55903
+ /** @nullable */
55904
+ RedeemBy?: string | null;
55905
+ /** `1` - Forever, `2` - Once, `3` - Repeating */
55906
+ Duration?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration;
55907
+ /** @nullable */
55908
+ DurationInMonths?: number | null;
55909
+ TimesRedeemed?: number;
55910
+ /** @nullable */
55911
+ MaxRedemptions?: number | null;
55912
+ ApplyToAddOns?: boolean;
55913
+ /** @nullable */
55914
+ PlanUids?: string | null;
55915
+ } | null;
55916
+
55917
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem = {
55918
+ /**
55919
+ * @maxLength 10
55920
+ * @nullable
55921
+ */
55922
+ Uid?: string | null;
55923
+ /** @nullable */
55924
+ _objectType?: string | null;
55925
+ /** @minLength 1 */
55926
+ Created: string;
55927
+ /** @minLength 1 */
55928
+ Updated: string;
55929
+ /** @nullable */
55930
+ RedeemedDate?: string | null;
55931
+ /** @nullable */
55932
+ ExpireDate?: string | null;
55933
+ /** @nullable */
55934
+ DiscountCoupon?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon;
55935
+ };
55936
+
55937
+ /**
55938
+ * `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing
55939
+ */
55940
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus = typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus[keyof typeof AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus];
55941
+
55942
+
55943
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
55944
+ export const AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus = {
55945
+ Unpaid: 1,
55946
+ Paid: 2,
55947
+ Partial: 3,
55948
+ Uncollected: 4,
55949
+ Refunded: 5,
55950
+ Uncollectible: 6,
55951
+ Processing: 7,
55952
+ } as const;
55953
+
55954
+ /**
55955
+ * @nullable
55956
+ */
55957
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoice = {
55958
+ /**
55959
+ * @maxLength 10
55960
+ * @nullable
55961
+ */
55962
+ Uid?: string | null;
55963
+ /** @nullable */
55964
+ _objectType?: string | null;
55965
+ /** @minLength 1 */
55966
+ Created?: string;
55967
+ /** @minLength 1 */
55968
+ Updated?: string;
55969
+ InvoiceDate?: string;
55970
+ /** @nullable */
55971
+ PaymentReminderSentDate?: string | null;
55972
+ Number?: number;
55973
+ /** `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing */
55974
+ BillingInvoiceStatus?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus;
55975
+ Amount?: number;
55976
+ AmountOutstanding?: number;
55977
+ IsUserGenerated?: boolean;
55978
+ /**
55979
+ * @maxLength 50
55980
+ * @nullable
55981
+ */
55982
+ StripeTaxCalculationId?: string | null;
55983
+ /**
55984
+ * @maxLength 10
55985
+ * @nullable
55986
+ */
55987
+ StripeTaxBehavior?: string | null;
55988
+ AmountCredit?: number;
55989
+ AmountDiscount?: number;
55990
+ AmountPaid?: number;
55991
+ AmountRefunded?: number;
55992
+ AmountSubtotal?: number;
55993
+ AmountTax?: number;
55994
+ AmountTaxRefunded?: number;
55995
+ IsTaxable?: boolean;
55996
+ HasPaymentGatewayTransactions?: boolean;
55997
+ /** @nullable */
55998
+ StripePaymentTransactionIds?: string | null;
55999
+ /** @nullable */
56000
+ StripeRefundTransactionIds?: string | null;
56001
+ /** @nullable */
56002
+ StripeTaxRefundTransactionIds?: string | null;
56003
+ } | null;
56004
+
56005
+ /**
56006
+ * @nullable
56007
+ */
56008
+ export type AccountPersonRoleUpdatedWebhookPayloadCurrentSubscription = {
56009
+ /**
56010
+ * @maxLength 10
56011
+ * @nullable
56012
+ */
56013
+ Uid?: string | null;
56014
+ /** @nullable */
56015
+ _objectType?: string | null;
56016
+ /** @minLength 1 */
56017
+ Created?: string;
56018
+ /** @minLength 1 */
56019
+ Updated?: string;
56020
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
56021
+ BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionBillingRenewalTerm;
56022
+ /** @nullable */
56023
+ Plan?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlan;
56024
+ /** @nullable */
56025
+ Quantity?: number | null;
56026
+ StartDate?: string;
56027
+ /** @nullable */
56028
+ EndDate?: string | null;
56029
+ /** @nullable */
56030
+ ExpirationDate?: string | null;
56031
+ /** @nullable */
56032
+ RenewalDate?: string | null;
56033
+ /** @nullable */
56034
+ NewRequiredQuantity?: number | null;
56035
+ IsPlanUpgradeRequired?: boolean;
56036
+ /** @nullable */
56037
+ PlanUpgradeRequiredMessage?: string | null;
56038
+ /** @nullable */
56039
+ SubscriptionAddOns?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem[] | null;
56040
+ /** @nullable */
56041
+ DiscountCouponSubscriptions?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem[] | null;
56042
+ /** @nullable */
56043
+ DiscountCode?: string | null;
56044
+ /** @nullable */
56045
+ DiscountCouponExpirationDate?: string | null;
56046
+ /** @nullable */
56047
+ LatestInvoice?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoice;
56048
+ /** @nullable */
56049
+ Rate?: number | null;
56050
+ } | null;
56051
+
56052
+ /**
56053
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
56054
+ */
56055
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionBillingRenewalTerm];
56056
+
56057
+
56058
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56059
+ export const AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionBillingRenewalTerm = {
56060
+ Monthly: 1,
56061
+ Yearly: 2,
56062
+ Quarterly: 3,
56063
+ OneTime: 4,
56064
+ } as const;
56065
+
56066
+ /**
56067
+ * @nullable
56068
+ */
56069
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanPlanFamily = {
56070
+ /**
56071
+ * @maxLength 10
56072
+ * @nullable
56073
+ */
56074
+ Uid?: string | null;
56075
+ /** @nullable */
56076
+ _objectType?: string | null;
56077
+ /** @minLength 1 */
56078
+ Created?: string;
56079
+ /** @minLength 1 */
56080
+ Updated?: string;
56081
+ /**
56082
+ * @maxLength 250
56083
+ * @nullable
56084
+ */
56085
+ Name?: string | null;
56086
+ IsActive?: boolean;
56087
+ IsDefault?: boolean;
56088
+ } | null;
56089
+
56090
+ /**
56091
+ * `1` - Individual, `2` - Team
56092
+ */
56093
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode = typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode[keyof typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode];
56094
+
56095
+
56096
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56097
+ export const AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode = {
56098
+ Individual: 1,
56099
+ Team: 2,
56100
+ } as const;
56101
+
56102
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem = {
56103
+ /**
56104
+ * @maxLength 10
56105
+ * @nullable
56106
+ */
56107
+ Uid?: string | null;
56108
+ /** @nullable */
56109
+ _objectType?: string | null;
56110
+ /** @minLength 1 */
56111
+ Created: string;
56112
+ /** @minLength 1 */
56113
+ Updated: string;
56114
+ IsUserSelectable: boolean;
56115
+ };
56116
+
56117
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanContentGroupsItem = {
56118
+ /**
56119
+ * @maxLength 10
56120
+ * @nullable
56121
+ */
56122
+ Uid?: string | null;
56123
+ /** @nullable */
56124
+ _objectType?: string | null;
56125
+ /** @minLength 1 */
56126
+ Created: string;
56127
+ /** @minLength 1 */
56128
+ Updated: string;
56129
+ /**
56130
+ * @minLength 1
56131
+ * @maxLength 50
56132
+ */
56133
+ Name: string;
56134
+ /**
56135
+ * @maxLength 1024
56136
+ * @nullable
56137
+ */
56138
+ AccessDeniedPath?: string | null;
56139
+ };
56140
+
56141
+ /**
56142
+ * @nullable
56143
+ */
56144
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlan = {
56145
+ /**
56146
+ * @maxLength 10
56147
+ * @nullable
56148
+ */
56149
+ Uid?: string | null;
56150
+ /** @nullable */
56151
+ _objectType?: string | null;
56152
+ /** @minLength 1 */
56153
+ Created?: string;
56154
+ /** @minLength 1 */
56155
+ Updated?: string;
56156
+ /**
56157
+ * @maxLength 250
56158
+ * @nullable
56159
+ */
56160
+ Name?: string | null;
56161
+ /** @nullable */
56162
+ Description?: string | null;
56163
+ /** @nullable */
56164
+ PlanFamily?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanPlanFamily;
56165
+ /** `1` - Individual, `2` - Team */
56166
+ AccountRegistrationMode?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode;
56167
+ IsQuantityEditable?: boolean;
56168
+ MinimumQuantity?: number;
56169
+ /** @nullable */
56170
+ MaximumPeople?: number | null;
56171
+ MonthlyRate?: number;
56172
+ AnnualRate?: number;
56173
+ QuarterlyRate?: number;
56174
+ OneTimeRate?: number;
56175
+ SetupFee?: number;
56176
+ SkipSetupFeeOnPlanChange?: boolean;
56177
+ IsTaxable?: boolean;
56178
+ IsActive?: boolean;
56179
+ IsPerUser?: boolean;
56180
+ RequirePaymentInformation?: boolean;
56181
+ TrialPeriodDays?: number;
56182
+ /** @nullable */
56183
+ TrialUntilDate?: string | null;
56184
+ ExpiresAfterMonths?: number;
56185
+ /** @nullable */
56186
+ ExpirationDate?: string | null;
56187
+ /**
56188
+ * @maxLength 250
56189
+ * @nullable
56190
+ */
56191
+ PostLoginPath?: string | null;
56192
+ /**
56193
+ * @maxLength 15
56194
+ * @nullable
56195
+ */
56196
+ StripeTaxCodeId?: string | null;
56197
+ /**
56198
+ * @maxLength 250
56199
+ * @nullable
56200
+ */
56201
+ UnitOfMeasure?: string | null;
56202
+ /** @nullable */
56203
+ PlanAddOns?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem[] | null;
56204
+ /** @nullable */
56205
+ ContentGroups?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanContentGroupsItem[] | null;
56206
+ /** @nullable */
56207
+ NumberOfSubscriptions?: number | null;
56208
+ } | null;
56209
+
56210
+ /**
56211
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
56212
+ */
56213
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm];
56214
+
56215
+
56216
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56217
+ export const AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = {
56218
+ Monthly: 1,
56219
+ Yearly: 2,
56220
+ Quarterly: 3,
56221
+ OneTime: 4,
56222
+ } as const;
56223
+
56224
+ /**
56225
+ * `1` - Recurring, `2` - Usage, `3` - OneTime
56226
+ */
56227
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType[keyof typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType];
56228
+
56229
+
56230
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56231
+ export const AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = {
56232
+ Recurring: 1,
56233
+ Usage: 2,
56234
+ OneTime: 3,
56235
+ } as const;
56236
+
56237
+ /**
56238
+ * @nullable
56239
+ */
56240
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn = {
56241
+ /**
56242
+ * @maxLength 10
56243
+ * @nullable
56244
+ */
56245
+ Uid?: string | null;
56246
+ /** @nullable */
56247
+ _objectType?: string | null;
56248
+ /** @minLength 1 */
56249
+ Created?: string;
56250
+ /** @minLength 1 */
56251
+ Updated?: string;
56252
+ /**
56253
+ * @maxLength 250
56254
+ * @nullable
56255
+ */
56256
+ Name?: string | null;
56257
+ /** `1` - Recurring, `2` - Usage, `3` - OneTime */
56258
+ BillingAddOnType?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType;
56259
+ IsQuantityEditable?: boolean;
56260
+ MinimumQuantity?: number;
56261
+ MonthlyRate?: number;
56262
+ AnnualRate?: number;
56263
+ SetupFee?: number;
56264
+ /**
56265
+ * @maxLength 250
56266
+ * @nullable
56267
+ */
56268
+ UnitOfMeasure?: string | null;
56269
+ IsTaxable?: boolean;
56270
+ IsBilledDuringTrial?: boolean;
56271
+ ExpiresAfterMonths?: number;
56272
+ /** @nullable */
56273
+ ExpirationDate?: string | null;
56274
+ /**
56275
+ * @maxLength 15
56276
+ * @nullable
56277
+ */
56278
+ StripeTaxCodeId?: string | null;
56279
+ IsPerUser?: boolean;
56280
+ QuarterlyRate?: number;
56281
+ OneTimeRate?: number;
56282
+ SubscriptionCount?: number;
56283
+ Quantity?: number;
56284
+ } | null;
56285
+
56286
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem = {
56287
+ /**
56288
+ * @maxLength 10
56289
+ * @nullable
56290
+ */
56291
+ Uid?: string | null;
56292
+ /** @nullable */
56293
+ _objectType?: string | null;
56294
+ /** @minLength 1 */
56295
+ Created: string;
56296
+ /** @minLength 1 */
56297
+ Updated: string;
56298
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
56299
+ BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm;
56300
+ /** @nullable */
56301
+ AddOn?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn;
56302
+ /** @nullable */
56303
+ Quantity?: number | null;
56304
+ StartDate?: string;
56305
+ /** @nullable */
56306
+ EndDate?: string | null;
56307
+ /** @nullable */
56308
+ ExpirationDate?: string | null;
56309
+ /** @nullable */
56310
+ RenewalDate?: string | null;
56311
+ /** @nullable */
56312
+ NewRequiredQuantity?: number | null;
56313
+ /** @nullable */
56314
+ Rate?: number | null;
56315
+ };
56316
+
56317
+ /**
56318
+ * `1` - Forever, `2` - Once, `3` - Repeating
56319
+ */
56320
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration];
56321
+
56322
+
56323
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56324
+ export const AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = {
56325
+ Forever: 1,
56326
+ Once: 2,
56327
+ Repeating: 3,
56328
+ } as const;
56329
+
56330
+ /**
56331
+ * @nullable
56332
+ */
56333
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon = {
56334
+ /**
56335
+ * @maxLength 10
56336
+ * @nullable
56337
+ */
56338
+ Uid?: string | null;
56339
+ /** @nullable */
56340
+ _objectType?: string | null;
56341
+ /** @minLength 1 */
56342
+ Created?: string;
56343
+ /** @minLength 1 */
56344
+ Updated?: string;
56345
+ /** @nullable */
56346
+ UniqueIdentifier?: string | null;
56347
+ /** @nullable */
56348
+ Name?: string | null;
56349
+ IsActive?: boolean;
56350
+ /** @nullable */
56351
+ AmountOff?: number | null;
56352
+ /** @nullable */
56353
+ PercentOff?: number | null;
56354
+ /** @nullable */
56355
+ RedeemBy?: string | null;
56356
+ /** `1` - Forever, `2` - Once, `3` - Repeating */
56357
+ Duration?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration;
56358
+ /** @nullable */
56359
+ DurationInMonths?: number | null;
56360
+ TimesRedeemed?: number;
56361
+ /** @nullable */
56362
+ MaxRedemptions?: number | null;
56363
+ ApplyToAddOns?: boolean;
56364
+ /** @nullable */
56365
+ PlanUids?: string | null;
56366
+ } | null;
56367
+
56368
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem = {
56369
+ /**
56370
+ * @maxLength 10
56371
+ * @nullable
56372
+ */
56373
+ Uid?: string | null;
56374
+ /** @nullable */
56375
+ _objectType?: string | null;
56376
+ /** @minLength 1 */
56377
+ Created: string;
56378
+ /** @minLength 1 */
56379
+ Updated: string;
56380
+ /** @nullable */
56381
+ RedeemedDate?: string | null;
56382
+ /** @nullable */
56383
+ ExpireDate?: string | null;
56384
+ /** @nullable */
56385
+ DiscountCoupon?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon;
56386
+ };
56387
+
56388
+ /**
56389
+ * `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing
56390
+ */
56391
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus = typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus[keyof typeof AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus];
56392
+
56393
+
56394
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56395
+ export const AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus = {
56396
+ Unpaid: 1,
56397
+ Paid: 2,
56398
+ Partial: 3,
56399
+ Uncollected: 4,
56400
+ Refunded: 5,
56401
+ Uncollectible: 6,
56402
+ Processing: 7,
56403
+ } as const;
56404
+
56405
+ /**
56406
+ * @nullable
56407
+ */
56408
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoice = {
56409
+ /**
56410
+ * @maxLength 10
56411
+ * @nullable
56412
+ */
56413
+ Uid?: string | null;
56414
+ /** @nullable */
56415
+ _objectType?: string | null;
56416
+ /** @minLength 1 */
56417
+ Created?: string;
56418
+ /** @minLength 1 */
56419
+ Updated?: string;
56420
+ InvoiceDate?: string;
56421
+ /** @nullable */
56422
+ PaymentReminderSentDate?: string | null;
56423
+ Number?: number;
56424
+ /** `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing */
56425
+ BillingInvoiceStatus?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus;
56426
+ Amount?: number;
56427
+ AmountOutstanding?: number;
56428
+ IsUserGenerated?: boolean;
56429
+ /**
56430
+ * @maxLength 50
56431
+ * @nullable
56432
+ */
56433
+ StripeTaxCalculationId?: string | null;
56434
+ /**
56435
+ * @maxLength 10
56436
+ * @nullable
56437
+ */
56438
+ StripeTaxBehavior?: string | null;
56439
+ AmountCredit?: number;
56440
+ AmountDiscount?: number;
56441
+ AmountPaid?: number;
56442
+ AmountRefunded?: number;
56443
+ AmountSubtotal?: number;
56444
+ AmountTax?: number;
56445
+ AmountTaxRefunded?: number;
56446
+ IsTaxable?: boolean;
56447
+ HasPaymentGatewayTransactions?: boolean;
56448
+ /** @nullable */
56449
+ StripePaymentTransactionIds?: string | null;
56450
+ /** @nullable */
56451
+ StripeRefundTransactionIds?: string | null;
56452
+ /** @nullable */
56453
+ StripeTaxRefundTransactionIds?: string | null;
56454
+ } | null;
56455
+
56456
+ /**
56457
+ * @nullable
56458
+ */
56459
+ export type AccountPersonRoleUpdatedWebhookPayloadLatestSubscription = {
56460
+ /**
56461
+ * @maxLength 10
56462
+ * @nullable
56463
+ */
56464
+ Uid?: string | null;
56465
+ /** @nullable */
56466
+ _objectType?: string | null;
56467
+ /** @minLength 1 */
56468
+ Created?: string;
56469
+ /** @minLength 1 */
56470
+ Updated?: string;
56471
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
56472
+ BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionBillingRenewalTerm;
56473
+ /** @nullable */
56474
+ Plan?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlan;
56475
+ /** @nullable */
56476
+ Quantity?: number | null;
56477
+ StartDate?: string;
56478
+ /** @nullable */
56479
+ EndDate?: string | null;
56480
+ /** @nullable */
56481
+ ExpirationDate?: string | null;
56482
+ /** @nullable */
56483
+ RenewalDate?: string | null;
56484
+ /** @nullable */
56485
+ NewRequiredQuantity?: number | null;
56486
+ IsPlanUpgradeRequired?: boolean;
56487
+ /** @nullable */
56488
+ PlanUpgradeRequiredMessage?: string | null;
56489
+ /** @nullable */
56490
+ SubscriptionAddOns?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem[] | null;
56491
+ /** @nullable */
56492
+ DiscountCouponSubscriptions?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem[] | null;
56493
+ /** @nullable */
56494
+ DiscountCode?: string | null;
56495
+ /** @nullable */
56496
+ DiscountCouponExpirationDate?: string | null;
56497
+ /** @nullable */
56498
+ LatestInvoice?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoice;
56499
+ /** @nullable */
56500
+ Rate?: number | null;
56501
+ } | null;
56502
+
56503
+ /**
56504
+ * `0` - None, `1` - Gmail
56505
+ */
56506
+ export type AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus = typeof AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus[keyof typeof AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus];
56507
+
56508
+
56509
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56510
+ export const AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus = {
56511
+ None: 0,
56512
+ Gmail: 1,
56513
+ } as const;
56514
+
56515
+ /**
56516
+ * @nullable
56517
+ */
56518
+ export type AccountPersonRoleUpdatedWebhookPayloadPrimaryContact = {
56519
+ /**
56520
+ * @maxLength 10
56521
+ * @nullable
56522
+ */
56523
+ Uid?: string | null;
56524
+ /** @nullable */
56525
+ _objectType?: string | null;
56526
+ /** @minLength 1 */
56527
+ Created?: string;
56528
+ /** @minLength 1 */
56529
+ Updated?: string;
56530
+ /**
56531
+ * @maxLength 250
56532
+ * @nullable
56533
+ */
56534
+ Email?: string | null;
56535
+ /**
56536
+ * @maxLength 250
56537
+ * @nullable
56538
+ */
56539
+ FirstName?: string | null;
56540
+ /**
56541
+ * @maxLength 250
56542
+ * @nullable
56543
+ */
56544
+ LastName?: string | null;
56545
+ /** @nullable */
56546
+ PasswordLastUpdated?: string | null;
56547
+ PasswordMustChange?: boolean;
56548
+ /**
56549
+ * @maxLength 250
56550
+ * @nullable
56551
+ */
56552
+ PhoneMobile?: string | null;
56553
+ /**
56554
+ * @maxLength 250
56555
+ * @nullable
56556
+ */
56557
+ PhoneWork?: string | null;
56558
+ /**
56559
+ * @maxLength 250
56560
+ * @nullable
56561
+ */
56562
+ ProfileImageS3Url?: string | null;
56563
+ /**
56564
+ * @maxLength 250
56565
+ * @nullable
56566
+ */
56567
+ Title?: string | null;
56568
+ /**
56569
+ * @maxLength 100
56570
+ * @nullable
56571
+ */
56572
+ Timezone?: string | null;
56573
+ /**
56574
+ * @maxLength 50
56575
+ * @nullable
56576
+ */
56577
+ Language?: string | null;
56578
+ /**
56579
+ * @maxLength 250
56580
+ * @nullable
56581
+ */
56582
+ IPAddress?: string | null;
56583
+ /**
56584
+ * @maxLength 250
56585
+ * @nullable
56586
+ */
56587
+ Referer?: string | null;
56588
+ /**
56589
+ * @maxLength 1000
56590
+ * @nullable
56591
+ */
56592
+ UserAgent?: string | null;
56593
+ /** @nullable */
56594
+ LastLoginDateTime?: string | null;
56595
+ /**
56596
+ * @maxLength 50
56597
+ * @nullable
56598
+ */
56599
+ OAuthGoogleProfileId?: string | null;
56600
+ /** @nullable */
56601
+ AccountUids?: string | null;
56602
+ /** @nullable */
56603
+ FullName?: string | null;
56604
+ HasLoggedIn?: boolean;
56605
+ /** `0` - None, `1` - Gmail */
56606
+ OAuthIntegrationStatus?: AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus;
56607
+ OptInToEmailList?: boolean;
56608
+ /** @nullable */
56609
+ Password?: string | null;
56610
+ /** @nullable */
56611
+ UserAgentPlatformBrowser?: string | null;
56612
+ HasUnsubscribed?: boolean;
56613
+ IsConnectedToDiscord?: boolean;
56614
+ } | null;
56615
+
56616
+ /**
56617
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
56618
+ */
56619
+ export type AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm];
56620
+
56621
+
56622
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56623
+ export const AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm = {
56624
+ Monthly: 1,
56625
+ Yearly: 2,
56626
+ Quarterly: 3,
56627
+ OneTime: 4,
56628
+ } as const;
56629
+
56630
+ /**
56631
+ * @nullable
56632
+ */
56633
+ export type AccountPersonRoleUpdatedWebhookPayloadPrimarySubscription = {
56634
+ /**
56635
+ * @maxLength 10
56636
+ * @nullable
56637
+ */
56638
+ Uid?: string | null;
56639
+ /** @nullable */
56640
+ _objectType?: string | null;
56641
+ /** @minLength 1 */
56642
+ Created?: string;
56643
+ /** @minLength 1 */
56644
+ Updated?: string;
56645
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
56646
+ BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm;
56647
+ /** @nullable */
56648
+ Quantity?: number | null;
56649
+ StartDate?: string;
56650
+ /** @nullable */
56651
+ EndDate?: string | null;
56652
+ /** @nullable */
56653
+ ExpirationDate?: string | null;
56654
+ /** @nullable */
56655
+ RenewalDate?: string | null;
56656
+ /** @nullable */
56657
+ NewRequiredQuantity?: number | null;
56658
+ IsPlanUpgradeRequired?: boolean;
56659
+ /** @nullable */
56660
+ PlanUpgradeRequiredMessage?: string | null;
56661
+ /** @nullable */
56662
+ DiscountCode?: string | null;
56663
+ /** @nullable */
56664
+ DiscountCouponExpirationDate?: string | null;
56665
+ /** @nullable */
56666
+ Rate?: number | null;
56667
+ } | null;
56668
+
56669
+ /**
56670
+ * @nullable
56671
+ */
56672
+ export type AccountPersonRoleUpdatedWebhookPayloadPrimaryStripeSubscription = {
56673
+ /**
56674
+ * @maxLength 10
56675
+ * @nullable
56676
+ */
56677
+ Uid?: string | null;
56678
+ /** @nullable */
56679
+ _objectType?: string | null;
56680
+ /** @minLength 1 */
56681
+ Created?: string;
56682
+ /** @minLength 1 */
56683
+ Updated?: string;
56684
+ /**
56685
+ * @maxLength 255
56686
+ * @nullable
56687
+ */
56688
+ StripeId?: string | null;
56689
+ IsLivemode?: boolean;
56690
+ /** @nullable */
56691
+ CancelAt?: string | null;
56692
+ CancelAtPeriodEnd?: boolean;
56693
+ /**
56694
+ * @maxLength 3
56695
+ * @nullable
56696
+ */
56697
+ Currency?: string | null;
56698
+ /** @nullable */
56699
+ EndedAt?: string | null;
56700
+ /**
56701
+ * @maxLength 30
56702
+ * @nullable
56703
+ */
56704
+ PauseCollection_Behavior?: string | null;
56705
+ /** @nullable */
56706
+ PauseCollection_ResumesAt?: string | null;
56707
+ StartDate?: string;
56708
+ /**
56709
+ * @maxLength 30
56710
+ * @nullable
56711
+ */
56712
+ Status?: string | null;
56713
+ /** @nullable */
56714
+ TrialEnd?: string | null;
56715
+ /** @nullable */
56716
+ AccountUid?: string | null;
56717
+ /** @nullable */
56718
+ BillingCycleAnchor?: string | null;
56719
+ /** @nullable */
56720
+ CollectionMethod?: string | null;
56721
+ /** @nullable */
56722
+ CustomerId?: string | null;
56723
+ /** @nullable */
56724
+ DaysUntilDue?: number | null;
56725
+ /** @nullable */
56726
+ ScheduleId?: string | null;
56727
+ /** @nullable */
56728
+ StripeDiscountIds?: string[] | null;
56729
+ /** @nullable */
56730
+ StripePriceIds?: string | null;
56731
+ TrialPeriodDays?: number;
56732
+ } | null;
56733
+
56734
+ export interface AccountPersonRoleUpdatedWebhookPayload {
56735
+ /**
56736
+ * @maxLength 10
56737
+ * @nullable
56738
+ */
56739
+ Uid?: string | null;
56740
+ /** @nullable */
56741
+ _objectType?: string | null;
56742
+ /** @minLength 1 */
56743
+ Created: string;
56744
+ /** @minLength 1 */
56745
+ Updated: string;
56746
+ /**
56747
+ * @maxLength 255
56748
+ * @nullable
56749
+ */
56750
+ StripeId?: string | null;
56751
+ IsLivemode?: boolean;
56752
+ /**
56753
+ * @minLength 1
56754
+ * @maxLength 250
56755
+ */
56756
+ Name: string;
56757
+ /**
56758
+ * @maxLength 250
56759
+ * @nullable
56760
+ */
56761
+ ClientIdentifier?: string | null;
56762
+ /**
56763
+ * @maxLength 3
56764
+ * @nullable
56765
+ */
56766
+ Currency?: string | null;
56767
+ /** @nullable */
56768
+ InvoiceNotes?: string | null;
56769
+ IsDemo?: boolean;
56770
+ /** @nullable */
56771
+ BillingAddress?: AccountPersonRoleUpdatedWebhookPayloadBillingAddress;
56772
+ /** @nullable */
56773
+ MailingAddress?: AccountPersonRoleUpdatedWebhookPayloadMailingAddress;
56774
+ /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */
56775
+ AccountStage?: AccountPersonRoleUpdatedWebhookPayloadAccountStage;
56776
+ /** @nullable */
56777
+ PaymentInformation?: AccountPersonRoleUpdatedWebhookPayloadPaymentInformation;
56778
+ /** @nullable */
56779
+ PersonAccount?: AccountPersonRoleUpdatedWebhookPayloadPersonAccountItem[] | null;
56780
+ /**
56781
+ * @maxLength 50
56782
+ * @nullable
56783
+ */
56784
+ StripeDefaultPaymentMethodId?: string | null;
56785
+ /** @nullable */
56786
+ StripeInvoices?: AccountPersonRoleUpdatedWebhookPayloadStripeInvoicesItem[] | null;
56787
+ /** @nullable */
56788
+ StripePaymentMethods?: AccountPersonRoleUpdatedWebhookPayloadStripePaymentMethodsItem[] | null;
56789
+ /** @nullable */
56790
+ StripeSubscriptions?: AccountPersonRoleUpdatedWebhookPayloadStripeSubscriptionsItem[] | null;
56791
+ /** @nullable */
56792
+ Subscriptions?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItem[] | null;
56793
+ /** @nullable */
56794
+ Deals?: AccountPersonRoleUpdatedWebhookPayloadDealsItem[] | null;
56795
+ /** @nullable */
56796
+ LastLoginDateTime?: string | null;
56797
+ /**
56798
+ * @maxLength 255
56799
+ * @nullable
56800
+ */
56801
+ AccountSpecificPageUrl1?: string | null;
56802
+ /**
56803
+ * @maxLength 255
56804
+ * @nullable
56805
+ */
56806
+ AccountSpecificPageUrl2?: string | null;
56807
+ /**
56808
+ * @maxLength 255
56809
+ * @nullable
56810
+ */
56811
+ AccountSpecificPageUrl3?: string | null;
56812
+ /**
56813
+ * @maxLength 255
56814
+ * @nullable
56815
+ */
56816
+ AccountSpecificPageUrl4?: string | null;
56817
+ /**
56818
+ * @maxLength 255
56819
+ * @nullable
56820
+ */
56821
+ AccountSpecificPageUrl5?: string | null;
56822
+ /**
56823
+ * @maxLength 255
56824
+ * @nullable
56825
+ */
56826
+ AccountSpecificPageUrl6?: string | null;
56827
+ /**
56828
+ * @maxLength 255
56829
+ * @nullable
56830
+ */
56831
+ AccountSpecificPageUrl7?: string | null;
56832
+ /**
56833
+ * @maxLength 255
56834
+ * @nullable
56835
+ */
56836
+ AccountSpecificPageUrl8?: string | null;
56837
+ /**
56838
+ * @maxLength 255
56839
+ * @nullable
56840
+ */
56841
+ AccountSpecificPageUrl9?: string | null;
56842
+ /**
56843
+ * @maxLength 255
56844
+ * @nullable
56845
+ */
56846
+ AccountSpecificPageUrl10?: string | null;
56847
+ /** @nullable */
56848
+ RewardFulReferralId?: string | null;
56849
+ /**
56850
+ * @maxLength 36
56851
+ * @nullable
56852
+ */
56853
+ ToltReferralId?: string | null;
56854
+ /** @nullable */
56855
+ TaxIds?: AccountPersonRoleUpdatedWebhookPayloadTaxIdsItem[] | null;
56856
+ /**
56857
+ * @maxLength 20
56858
+ * @nullable
56859
+ */
56860
+ TaxStatus?: string | null;
56861
+ /** @nullable */
56862
+ AccountStageLabel?: string | null;
56863
+ /** @nullable */
56864
+ CurrentStripeProducts?: string | null;
56865
+ /** @nullable */
56866
+ CurrentSubscription?: AccountPersonRoleUpdatedWebhookPayloadCurrentSubscription;
56867
+ /** @nullable */
56868
+ DomainName?: string | null;
56869
+ HasLoggedIn?: boolean;
56870
+ /** @nullable */
56871
+ LatestSubscription?: AccountPersonRoleUpdatedWebhookPayloadLatestSubscription;
56872
+ LifetimeRevenue?: number;
56873
+ /** @nullable */
56874
+ NextStripeInvoiceDate?: string | null;
56875
+ /** @nullable */
56876
+ Nonce?: string | null;
56877
+ /** @nullable */
56878
+ PrimaryContact?: AccountPersonRoleUpdatedWebhookPayloadPrimaryContact;
56879
+ /** @nullable */
56880
+ PrimarySubscription?: AccountPersonRoleUpdatedWebhookPayloadPrimarySubscription;
56881
+ /** @nullable */
56882
+ PrimaryStripeSubscription?: AccountPersonRoleUpdatedWebhookPayloadPrimaryStripeSubscription;
56883
+ /** @nullable */
56884
+ RecaptchaToken?: string | null;
56885
+ /** @nullable */
56886
+ StripeNextInvoiceSequence?: number | null;
56887
+ /** @nullable */
56888
+ StripePrice?: string[] | null;
56889
+ /** @nullable */
56890
+ StripePromotionCode?: string | null;
56891
+ /** @nullable */
56892
+ TaxId?: string | null;
56893
+ TaxIdIsInvalid?: boolean;
56894
+ /** @nullable */
56895
+ TaxIdType?: string | null;
56896
+ /** @nullable */
56897
+ WebflowSlug?: string | null;
56898
+ ActivityEventData?: AccountPersonRoleUpdatedActivityData;
56899
+ }
56900
+
56901
+ /**
56902
+ * @nullable
56903
+ */
56904
+ export type PersonCreatedWebhookPayloadMailingAddress = {
54107
56905
  /**
54108
56906
  * @maxLength 10
54109
56907
  * @nullable
@@ -54170,6 +56968,20 @@ export type PersonCreatedWebhookPayloadPersonAccountItemAccount = {
54170
56968
  _objectType?: string | null;
54171
56969
  } | null;
54172
56970
 
56971
+ /**
56972
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
56973
+ * @nullable
56974
+ */
56975
+ export type PersonCreatedWebhookPayloadPersonAccountItemRole = typeof PersonCreatedWebhookPayloadPersonAccountItemRole[keyof typeof PersonCreatedWebhookPayloadPersonAccountItemRole] | null;
56976
+
56977
+
56978
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
56979
+ export const PersonCreatedWebhookPayloadPersonAccountItemRole = {
56980
+ Admin: 1,
56981
+ FullAccess: 2,
56982
+ Operator: 3,
56983
+ } as const;
56984
+
54173
56985
  export type PersonCreatedWebhookPayloadPersonAccountItem = {
54174
56986
  /**
54175
56987
  * @maxLength 10
@@ -54186,6 +56998,11 @@ export type PersonCreatedWebhookPayloadPersonAccountItem = {
54186
56998
  Account?: PersonCreatedWebhookPayloadPersonAccountItemAccount;
54187
56999
  IsPrimary?: boolean;
54188
57000
  ReceiveInvoices?: boolean;
57001
+ /**
57002
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
57003
+ * @nullable
57004
+ */
57005
+ Role?: PersonCreatedWebhookPayloadPersonAccountItemRole;
54189
57006
  };
54190
57007
 
54191
57008
  export type PersonCreatedWebhookPayloadDealPeopleItem = {
@@ -54685,6 +57502,20 @@ export type PersonUpdatedWebhookPayloadPersonAccountItemAccount = {
54685
57502
  _objectType?: string | null;
54686
57503
  } | null;
54687
57504
 
57505
+ /**
57506
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
57507
+ * @nullable
57508
+ */
57509
+ export type PersonUpdatedWebhookPayloadPersonAccountItemRole = typeof PersonUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof PersonUpdatedWebhookPayloadPersonAccountItemRole] | null;
57510
+
57511
+
57512
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
57513
+ export const PersonUpdatedWebhookPayloadPersonAccountItemRole = {
57514
+ Admin: 1,
57515
+ FullAccess: 2,
57516
+ Operator: 3,
57517
+ } as const;
57518
+
54688
57519
  export type PersonUpdatedWebhookPayloadPersonAccountItem = {
54689
57520
  /**
54690
57521
  * @maxLength 10
@@ -54701,6 +57532,11 @@ export type PersonUpdatedWebhookPayloadPersonAccountItem = {
54701
57532
  Account?: PersonUpdatedWebhookPayloadPersonAccountItemAccount;
54702
57533
  IsPrimary?: boolean;
54703
57534
  ReceiveInvoices?: boolean;
57535
+ /**
57536
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
57537
+ * @nullable
57538
+ */
57539
+ Role?: PersonUpdatedWebhookPayloadPersonAccountItemRole;
54704
57540
  };
54705
57541
 
54706
57542
  export type PersonUpdatedWebhookPayloadDealPeopleItem = {
@@ -55184,6 +58020,20 @@ export type PersonDeletedWebhookPayloadPersonAccountItemAccount = {
55184
58020
  _objectType?: string | null;
55185
58021
  } | null;
55186
58022
 
58023
+ /**
58024
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
58025
+ * @nullable
58026
+ */
58027
+ export type PersonDeletedWebhookPayloadPersonAccountItemRole = typeof PersonDeletedWebhookPayloadPersonAccountItemRole[keyof typeof PersonDeletedWebhookPayloadPersonAccountItemRole] | null;
58028
+
58029
+
58030
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
58031
+ export const PersonDeletedWebhookPayloadPersonAccountItemRole = {
58032
+ Admin: 1,
58033
+ FullAccess: 2,
58034
+ Operator: 3,
58035
+ } as const;
58036
+
55187
58037
  export type PersonDeletedWebhookPayloadPersonAccountItem = {
55188
58038
  /**
55189
58039
  * @maxLength 10
@@ -55200,6 +58050,11 @@ export type PersonDeletedWebhookPayloadPersonAccountItem = {
55200
58050
  Account?: PersonDeletedWebhookPayloadPersonAccountItemAccount;
55201
58051
  IsPrimary?: boolean;
55202
58052
  ReceiveInvoices?: boolean;
58053
+ /**
58054
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
58055
+ * @nullable
58056
+ */
58057
+ Role?: PersonDeletedWebhookPayloadPersonAccountItemRole;
55203
58058
  };
55204
58059
 
55205
58060
  export type PersonDeletedWebhookPayloadDealPeopleItem = {
@@ -55941,6 +58796,20 @@ export type PersonLoginWebhookPayloadPersonAccountItemPerson = {
55941
58796
  IsConnectedToDiscord?: boolean;
55942
58797
  } | null;
55943
58798
 
58799
+ /**
58800
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
58801
+ * @nullable
58802
+ */
58803
+ export type PersonLoginWebhookPayloadPersonAccountItemRole = typeof PersonLoginWebhookPayloadPersonAccountItemRole[keyof typeof PersonLoginWebhookPayloadPersonAccountItemRole] | null;
58804
+
58805
+
58806
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
58807
+ export const PersonLoginWebhookPayloadPersonAccountItemRole = {
58808
+ Admin: 1,
58809
+ FullAccess: 2,
58810
+ Operator: 3,
58811
+ } as const;
58812
+
55944
58813
  export type PersonLoginWebhookPayloadPersonAccountItem = {
55945
58814
  /**
55946
58815
  * @maxLength 10
@@ -55957,6 +58826,11 @@ export type PersonLoginWebhookPayloadPersonAccountItem = {
55957
58826
  Person?: PersonLoginWebhookPayloadPersonAccountItemPerson;
55958
58827
  IsPrimary?: boolean;
55959
58828
  ReceiveInvoices?: boolean;
58829
+ /**
58830
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
58831
+ * @nullable
58832
+ */
58833
+ Role?: PersonLoginWebhookPayloadPersonAccountItemRole;
55960
58834
  };
55961
58835
 
55962
58836
  export type PersonLoginWebhookPayloadStripeInvoicesItem = {
@@ -58041,6 +60915,20 @@ export type PersonListSubscribedWebhookPayloadPersonAccountItemAccount = {
58041
60915
  _objectType?: string | null;
58042
60916
  } | null;
58043
60917
 
60918
+ /**
60919
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
60920
+ * @nullable
60921
+ */
60922
+ export type PersonListSubscribedWebhookPayloadPersonAccountItemRole = typeof PersonListSubscribedWebhookPayloadPersonAccountItemRole[keyof typeof PersonListSubscribedWebhookPayloadPersonAccountItemRole] | null;
60923
+
60924
+
60925
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
60926
+ export const PersonListSubscribedWebhookPayloadPersonAccountItemRole = {
60927
+ Admin: 1,
60928
+ FullAccess: 2,
60929
+ Operator: 3,
60930
+ } as const;
60931
+
58044
60932
  export type PersonListSubscribedWebhookPayloadPersonAccountItem = {
58045
60933
  /**
58046
60934
  * @maxLength 10
@@ -58057,6 +60945,11 @@ export type PersonListSubscribedWebhookPayloadPersonAccountItem = {
58057
60945
  Account?: PersonListSubscribedWebhookPayloadPersonAccountItemAccount;
58058
60946
  IsPrimary?: boolean;
58059
60947
  ReceiveInvoices?: boolean;
60948
+ /**
60949
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
60950
+ * @nullable
60951
+ */
60952
+ Role?: PersonListSubscribedWebhookPayloadPersonAccountItemRole;
58060
60953
  };
58061
60954
 
58062
60955
  export type PersonListSubscribedWebhookPayloadDealPeopleItem = {
@@ -58552,6 +61445,20 @@ export type PersonListUnsubscribedWebhookPayloadPersonAccountItemAccount = {
58552
61445
  _objectType?: string | null;
58553
61446
  } | null;
58554
61447
 
61448
+ /**
61449
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
61450
+ * @nullable
61451
+ */
61452
+ export type PersonListUnsubscribedWebhookPayloadPersonAccountItemRole = typeof PersonListUnsubscribedWebhookPayloadPersonAccountItemRole[keyof typeof PersonListUnsubscribedWebhookPayloadPersonAccountItemRole] | null;
61453
+
61454
+
61455
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
61456
+ export const PersonListUnsubscribedWebhookPayloadPersonAccountItemRole = {
61457
+ Admin: 1,
61458
+ FullAccess: 2,
61459
+ Operator: 3,
61460
+ } as const;
61461
+
58555
61462
  export type PersonListUnsubscribedWebhookPayloadPersonAccountItem = {
58556
61463
  /**
58557
61464
  * @maxLength 10
@@ -58568,6 +61475,11 @@ export type PersonListUnsubscribedWebhookPayloadPersonAccountItem = {
58568
61475
  Account?: PersonListUnsubscribedWebhookPayloadPersonAccountItemAccount;
58569
61476
  IsPrimary?: boolean;
58570
61477
  ReceiveInvoices?: boolean;
61478
+ /**
61479
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
61480
+ * @nullable
61481
+ */
61482
+ Role?: PersonListUnsubscribedWebhookPayloadPersonAccountItemRole;
58571
61483
  };
58572
61484
 
58573
61485
  export type PersonListUnsubscribedWebhookPayloadDealPeopleItem = {
@@ -59061,6 +61973,20 @@ export type PersonSegmentAddedWebhookPayloadPersonAccountItemAccount = {
59061
61973
  _objectType?: string | null;
59062
61974
  } | null;
59063
61975
 
61976
+ /**
61977
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
61978
+ * @nullable
61979
+ */
61980
+ export type PersonSegmentAddedWebhookPayloadPersonAccountItemRole = typeof PersonSegmentAddedWebhookPayloadPersonAccountItemRole[keyof typeof PersonSegmentAddedWebhookPayloadPersonAccountItemRole] | null;
61981
+
61982
+
61983
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
61984
+ export const PersonSegmentAddedWebhookPayloadPersonAccountItemRole = {
61985
+ Admin: 1,
61986
+ FullAccess: 2,
61987
+ Operator: 3,
61988
+ } as const;
61989
+
59064
61990
  export type PersonSegmentAddedWebhookPayloadPersonAccountItem = {
59065
61991
  /**
59066
61992
  * @maxLength 10
@@ -59077,6 +62003,11 @@ export type PersonSegmentAddedWebhookPayloadPersonAccountItem = {
59077
62003
  Account?: PersonSegmentAddedWebhookPayloadPersonAccountItemAccount;
59078
62004
  IsPrimary?: boolean;
59079
62005
  ReceiveInvoices?: boolean;
62006
+ /**
62007
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
62008
+ * @nullable
62009
+ */
62010
+ Role?: PersonSegmentAddedWebhookPayloadPersonAccountItemRole;
59080
62011
  };
59081
62012
 
59082
62013
  export type PersonSegmentAddedWebhookPayloadDealPeopleItem = {
@@ -59570,6 +62501,20 @@ export type PersonSegmentRemovedWebhookPayloadPersonAccountItemAccount = {
59570
62501
  _objectType?: string | null;
59571
62502
  } | null;
59572
62503
 
62504
+ /**
62505
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
62506
+ * @nullable
62507
+ */
62508
+ export type PersonSegmentRemovedWebhookPayloadPersonAccountItemRole = typeof PersonSegmentRemovedWebhookPayloadPersonAccountItemRole[keyof typeof PersonSegmentRemovedWebhookPayloadPersonAccountItemRole] | null;
62509
+
62510
+
62511
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
62512
+ export const PersonSegmentRemovedWebhookPayloadPersonAccountItemRole = {
62513
+ Admin: 1,
62514
+ FullAccess: 2,
62515
+ Operator: 3,
62516
+ } as const;
62517
+
59573
62518
  export type PersonSegmentRemovedWebhookPayloadPersonAccountItem = {
59574
62519
  /**
59575
62520
  * @maxLength 10
@@ -59586,6 +62531,11 @@ export type PersonSegmentRemovedWebhookPayloadPersonAccountItem = {
59586
62531
  Account?: PersonSegmentRemovedWebhookPayloadPersonAccountItemAccount;
59587
62532
  IsPrimary?: boolean;
59588
62533
  ReceiveInvoices?: boolean;
62534
+ /**
62535
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
62536
+ * @nullable
62537
+ */
62538
+ Role?: PersonSegmentRemovedWebhookPayloadPersonAccountItemRole;
59589
62539
  };
59590
62540
 
59591
62541
  export type PersonSegmentRemovedWebhookPayloadDealPeopleItem = {
@@ -60069,6 +63019,20 @@ export type PersonEmailOpenedWebhookPayloadPersonAccountItemAccount = {
60069
63019
  _objectType?: string | null;
60070
63020
  } | null;
60071
63021
 
63022
+ /**
63023
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
63024
+ * @nullable
63025
+ */
63026
+ export type PersonEmailOpenedWebhookPayloadPersonAccountItemRole = typeof PersonEmailOpenedWebhookPayloadPersonAccountItemRole[keyof typeof PersonEmailOpenedWebhookPayloadPersonAccountItemRole] | null;
63027
+
63028
+
63029
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
63030
+ export const PersonEmailOpenedWebhookPayloadPersonAccountItemRole = {
63031
+ Admin: 1,
63032
+ FullAccess: 2,
63033
+ Operator: 3,
63034
+ } as const;
63035
+
60072
63036
  export type PersonEmailOpenedWebhookPayloadPersonAccountItem = {
60073
63037
  /**
60074
63038
  * @maxLength 10
@@ -60085,6 +63049,11 @@ export type PersonEmailOpenedWebhookPayloadPersonAccountItem = {
60085
63049
  Account?: PersonEmailOpenedWebhookPayloadPersonAccountItemAccount;
60086
63050
  IsPrimary?: boolean;
60087
63051
  ReceiveInvoices?: boolean;
63052
+ /**
63053
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
63054
+ * @nullable
63055
+ */
63056
+ Role?: PersonEmailOpenedWebhookPayloadPersonAccountItemRole;
60088
63057
  };
60089
63058
 
60090
63059
  export type PersonEmailOpenedWebhookPayloadDealPeopleItem = {
@@ -60567,6 +63536,20 @@ export type PersonEmailClickedWebhookPayloadPersonAccountItemAccount = {
60567
63536
  _objectType?: string | null;
60568
63537
  } | null;
60569
63538
 
63539
+ /**
63540
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
63541
+ * @nullable
63542
+ */
63543
+ export type PersonEmailClickedWebhookPayloadPersonAccountItemRole = typeof PersonEmailClickedWebhookPayloadPersonAccountItemRole[keyof typeof PersonEmailClickedWebhookPayloadPersonAccountItemRole] | null;
63544
+
63545
+
63546
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
63547
+ export const PersonEmailClickedWebhookPayloadPersonAccountItemRole = {
63548
+ Admin: 1,
63549
+ FullAccess: 2,
63550
+ Operator: 3,
63551
+ } as const;
63552
+
60570
63553
  export type PersonEmailClickedWebhookPayloadPersonAccountItem = {
60571
63554
  /**
60572
63555
  * @maxLength 10
@@ -60583,6 +63566,11 @@ export type PersonEmailClickedWebhookPayloadPersonAccountItem = {
60583
63566
  Account?: PersonEmailClickedWebhookPayloadPersonAccountItemAccount;
60584
63567
  IsPrimary?: boolean;
60585
63568
  ReceiveInvoices?: boolean;
63569
+ /**
63570
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
63571
+ * @nullable
63572
+ */
63573
+ Role?: PersonEmailClickedWebhookPayloadPersonAccountItemRole;
60586
63574
  };
60587
63575
 
60588
63576
  export type PersonEmailClickedWebhookPayloadDealPeopleItem = {
@@ -61065,6 +64053,20 @@ export type PersonEmailBounceWebhookPayloadPersonAccountItemAccount = {
61065
64053
  _objectType?: string | null;
61066
64054
  } | null;
61067
64055
 
64056
+ /**
64057
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
64058
+ * @nullable
64059
+ */
64060
+ export type PersonEmailBounceWebhookPayloadPersonAccountItemRole = typeof PersonEmailBounceWebhookPayloadPersonAccountItemRole[keyof typeof PersonEmailBounceWebhookPayloadPersonAccountItemRole] | null;
64061
+
64062
+
64063
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
64064
+ export const PersonEmailBounceWebhookPayloadPersonAccountItemRole = {
64065
+ Admin: 1,
64066
+ FullAccess: 2,
64067
+ Operator: 3,
64068
+ } as const;
64069
+
61068
64070
  export type PersonEmailBounceWebhookPayloadPersonAccountItem = {
61069
64071
  /**
61070
64072
  * @maxLength 10
@@ -61081,6 +64083,11 @@ export type PersonEmailBounceWebhookPayloadPersonAccountItem = {
61081
64083
  Account?: PersonEmailBounceWebhookPayloadPersonAccountItemAccount;
61082
64084
  IsPrimary?: boolean;
61083
64085
  ReceiveInvoices?: boolean;
64086
+ /**
64087
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
64088
+ * @nullable
64089
+ */
64090
+ Role?: PersonEmailBounceWebhookPayloadPersonAccountItemRole;
61084
64091
  };
61085
64092
 
61086
64093
  export type PersonEmailBounceWebhookPayloadDealPeopleItem = {
@@ -61563,6 +64570,20 @@ export type PersonEmailSpamWebhookPayloadPersonAccountItemAccount = {
61563
64570
  _objectType?: string | null;
61564
64571
  } | null;
61565
64572
 
64573
+ /**
64574
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
64575
+ * @nullable
64576
+ */
64577
+ export type PersonEmailSpamWebhookPayloadPersonAccountItemRole = typeof PersonEmailSpamWebhookPayloadPersonAccountItemRole[keyof typeof PersonEmailSpamWebhookPayloadPersonAccountItemRole] | null;
64578
+
64579
+
64580
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
64581
+ export const PersonEmailSpamWebhookPayloadPersonAccountItemRole = {
64582
+ Admin: 1,
64583
+ FullAccess: 2,
64584
+ Operator: 3,
64585
+ } as const;
64586
+
61566
64587
  export type PersonEmailSpamWebhookPayloadPersonAccountItem = {
61567
64588
  /**
61568
64589
  * @maxLength 10
@@ -61579,6 +64600,11 @@ export type PersonEmailSpamWebhookPayloadPersonAccountItem = {
61579
64600
  Account?: PersonEmailSpamWebhookPayloadPersonAccountItemAccount;
61580
64601
  IsPrimary?: boolean;
61581
64602
  ReceiveInvoices?: boolean;
64603
+ /**
64604
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
64605
+ * @nullable
64606
+ */
64607
+ Role?: PersonEmailSpamWebhookPayloadPersonAccountItemRole;
61582
64608
  };
61583
64609
 
61584
64610
  export type PersonEmailSpamWebhookPayloadDealPeopleItem = {
@@ -62066,6 +65092,20 @@ export type PersonSupportTicketCreatedWebhookPayloadPersonAccountItemAccount = {
62066
65092
  _objectType?: string | null;
62067
65093
  } | null;
62068
65094
 
65095
+ /**
65096
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
65097
+ * @nullable
65098
+ */
65099
+ export type PersonSupportTicketCreatedWebhookPayloadPersonAccountItemRole = typeof PersonSupportTicketCreatedWebhookPayloadPersonAccountItemRole[keyof typeof PersonSupportTicketCreatedWebhookPayloadPersonAccountItemRole] | null;
65100
+
65101
+
65102
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
65103
+ export const PersonSupportTicketCreatedWebhookPayloadPersonAccountItemRole = {
65104
+ Admin: 1,
65105
+ FullAccess: 2,
65106
+ Operator: 3,
65107
+ } as const;
65108
+
62069
65109
  export type PersonSupportTicketCreatedWebhookPayloadPersonAccountItem = {
62070
65110
  /**
62071
65111
  * @maxLength 10
@@ -62082,6 +65122,11 @@ export type PersonSupportTicketCreatedWebhookPayloadPersonAccountItem = {
62082
65122
  Account?: PersonSupportTicketCreatedWebhookPayloadPersonAccountItemAccount;
62083
65123
  IsPrimary?: boolean;
62084
65124
  ReceiveInvoices?: boolean;
65125
+ /**
65126
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
65127
+ * @nullable
65128
+ */
65129
+ Role?: PersonSupportTicketCreatedWebhookPayloadPersonAccountItemRole;
62085
65130
  };
62086
65131
 
62087
65132
  export type PersonSupportTicketCreatedWebhookPayloadDealPeopleItem = {
@@ -62570,6 +65615,20 @@ export type PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount = {
62570
65615
  _objectType?: string | null;
62571
65616
  } | null;
62572
65617
 
65618
+ /**
65619
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
65620
+ * @nullable
65621
+ */
65622
+ export type PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemRole = typeof PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemRole] | null;
65623
+
65624
+
65625
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
65626
+ export const PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemRole = {
65627
+ Admin: 1,
65628
+ FullAccess: 2,
65629
+ Operator: 3,
65630
+ } as const;
65631
+
62573
65632
  export type PersonSupportTicketUpdatedWebhookPayloadPersonAccountItem = {
62574
65633
  /**
62575
65634
  * @maxLength 10
@@ -62586,6 +65645,11 @@ export type PersonSupportTicketUpdatedWebhookPayloadPersonAccountItem = {
62586
65645
  Account?: PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount;
62587
65646
  IsPrimary?: boolean;
62588
65647
  ReceiveInvoices?: boolean;
65648
+ /**
65649
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
65650
+ * @nullable
65651
+ */
65652
+ Role?: PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemRole;
62589
65653
  };
62590
65654
 
62591
65655
  export type PersonSupportTicketUpdatedWebhookPayloadDealPeopleItem = {
@@ -63076,6 +66140,20 @@ export type PersonLeadFormSubmittedWebhookPayloadPersonAccountItemAccount = {
63076
66140
  _objectType?: string | null;
63077
66141
  } | null;
63078
66142
 
66143
+ /**
66144
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
66145
+ * @nullable
66146
+ */
66147
+ export type PersonLeadFormSubmittedWebhookPayloadPersonAccountItemRole = typeof PersonLeadFormSubmittedWebhookPayloadPersonAccountItemRole[keyof typeof PersonLeadFormSubmittedWebhookPayloadPersonAccountItemRole] | null;
66148
+
66149
+
66150
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
66151
+ export const PersonLeadFormSubmittedWebhookPayloadPersonAccountItemRole = {
66152
+ Admin: 1,
66153
+ FullAccess: 2,
66154
+ Operator: 3,
66155
+ } as const;
66156
+
63079
66157
  export type PersonLeadFormSubmittedWebhookPayloadPersonAccountItem = {
63080
66158
  /**
63081
66159
  * @maxLength 10
@@ -63092,6 +66170,11 @@ export type PersonLeadFormSubmittedWebhookPayloadPersonAccountItem = {
63092
66170
  Account?: PersonLeadFormSubmittedWebhookPayloadPersonAccountItemAccount;
63093
66171
  IsPrimary?: boolean;
63094
66172
  ReceiveInvoices?: boolean;
66173
+ /**
66174
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
66175
+ * @nullable
66176
+ */
66177
+ Role?: PersonLeadFormSubmittedWebhookPayloadPersonAccountItemRole;
63095
66178
  };
63096
66179
 
63097
66180
  export type PersonLeadFormSubmittedWebhookPayloadDealPeopleItem = {
@@ -63585,6 +66668,20 @@ export type PersonListConfirmedWebhookPayloadPersonAccountItemAccount = {
63585
66668
  _objectType?: string | null;
63586
66669
  } | null;
63587
66670
 
66671
+ /**
66672
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
66673
+ * @nullable
66674
+ */
66675
+ export type PersonListConfirmedWebhookPayloadPersonAccountItemRole = typeof PersonListConfirmedWebhookPayloadPersonAccountItemRole[keyof typeof PersonListConfirmedWebhookPayloadPersonAccountItemRole] | null;
66676
+
66677
+
66678
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
66679
+ export const PersonListConfirmedWebhookPayloadPersonAccountItemRole = {
66680
+ Admin: 1,
66681
+ FullAccess: 2,
66682
+ Operator: 3,
66683
+ } as const;
66684
+
63588
66685
  export type PersonListConfirmedWebhookPayloadPersonAccountItem = {
63589
66686
  /**
63590
66687
  * @maxLength 10
@@ -63601,6 +66698,11 @@ export type PersonListConfirmedWebhookPayloadPersonAccountItem = {
63601
66698
  Account?: PersonListConfirmedWebhookPayloadPersonAccountItemAccount;
63602
66699
  IsPrimary?: boolean;
63603
66700
  ReceiveInvoices?: boolean;
66701
+ /**
66702
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
66703
+ * @nullable
66704
+ */
66705
+ Role?: PersonListConfirmedWebhookPayloadPersonAccountItemRole;
63604
66706
  };
63605
66707
 
63606
66708
  export type PersonListConfirmedWebhookPayloadDealPeopleItem = {
@@ -64084,6 +67186,20 @@ export type PersonEmailSubscribedWebhookPayloadPersonAccountItemAccount = {
64084
67186
  _objectType?: string | null;
64085
67187
  } | null;
64086
67188
 
67189
+ /**
67190
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
67191
+ * @nullable
67192
+ */
67193
+ export type PersonEmailSubscribedWebhookPayloadPersonAccountItemRole = typeof PersonEmailSubscribedWebhookPayloadPersonAccountItemRole[keyof typeof PersonEmailSubscribedWebhookPayloadPersonAccountItemRole] | null;
67194
+
67195
+
67196
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
67197
+ export const PersonEmailSubscribedWebhookPayloadPersonAccountItemRole = {
67198
+ Admin: 1,
67199
+ FullAccess: 2,
67200
+ Operator: 3,
67201
+ } as const;
67202
+
64087
67203
  export type PersonEmailSubscribedWebhookPayloadPersonAccountItem = {
64088
67204
  /**
64089
67205
  * @maxLength 10
@@ -64100,6 +67216,11 @@ export type PersonEmailSubscribedWebhookPayloadPersonAccountItem = {
64100
67216
  Account?: PersonEmailSubscribedWebhookPayloadPersonAccountItemAccount;
64101
67217
  IsPrimary?: boolean;
64102
67218
  ReceiveInvoices?: boolean;
67219
+ /**
67220
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
67221
+ * @nullable
67222
+ */
67223
+ Role?: PersonEmailSubscribedWebhookPayloadPersonAccountItemRole;
64103
67224
  };
64104
67225
 
64105
67226
  export type PersonEmailSubscribedWebhookPayloadDealPeopleItem = {
@@ -64587,6 +67708,20 @@ export type PersonEmailUnsubscribedWebhookPayloadPersonAccountItemAccount = {
64587
67708
  _objectType?: string | null;
64588
67709
  } | null;
64589
67710
 
67711
+ /**
67712
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
67713
+ * @nullable
67714
+ */
67715
+ export type PersonEmailUnsubscribedWebhookPayloadPersonAccountItemRole = typeof PersonEmailUnsubscribedWebhookPayloadPersonAccountItemRole[keyof typeof PersonEmailUnsubscribedWebhookPayloadPersonAccountItemRole] | null;
67716
+
67717
+
67718
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
67719
+ export const PersonEmailUnsubscribedWebhookPayloadPersonAccountItemRole = {
67720
+ Admin: 1,
67721
+ FullAccess: 2,
67722
+ Operator: 3,
67723
+ } as const;
67724
+
64590
67725
  export type PersonEmailUnsubscribedWebhookPayloadPersonAccountItem = {
64591
67726
  /**
64592
67727
  * @maxLength 10
@@ -64603,6 +67738,11 @@ export type PersonEmailUnsubscribedWebhookPayloadPersonAccountItem = {
64603
67738
  Account?: PersonEmailUnsubscribedWebhookPayloadPersonAccountItemAccount;
64604
67739
  IsPrimary?: boolean;
64605
67740
  ReceiveInvoices?: boolean;
67741
+ /**
67742
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
67743
+ * @nullable
67744
+ */
67745
+ Role?: PersonEmailUnsubscribedWebhookPayloadPersonAccountItemRole;
64606
67746
  };
64607
67747
 
64608
67748
  export type PersonEmailUnsubscribedWebhookPayloadDealPeopleItem = {
@@ -65086,6 +68226,20 @@ export type PersonTemporaryPasswordSetWebhookPayloadPersonAccountItemAccount = {
65086
68226
  _objectType?: string | null;
65087
68227
  } | null;
65088
68228
 
68229
+ /**
68230
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
68231
+ * @nullable
68232
+ */
68233
+ export type PersonTemporaryPasswordSetWebhookPayloadPersonAccountItemRole = typeof PersonTemporaryPasswordSetWebhookPayloadPersonAccountItemRole[keyof typeof PersonTemporaryPasswordSetWebhookPayloadPersonAccountItemRole] | null;
68234
+
68235
+
68236
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
68237
+ export const PersonTemporaryPasswordSetWebhookPayloadPersonAccountItemRole = {
68238
+ Admin: 1,
68239
+ FullAccess: 2,
68240
+ Operator: 3,
68241
+ } as const;
68242
+
65089
68243
  export type PersonTemporaryPasswordSetWebhookPayloadPersonAccountItem = {
65090
68244
  /**
65091
68245
  * @maxLength 10
@@ -65102,6 +68256,11 @@ export type PersonTemporaryPasswordSetWebhookPayloadPersonAccountItem = {
65102
68256
  Account?: PersonTemporaryPasswordSetWebhookPayloadPersonAccountItemAccount;
65103
68257
  IsPrimary?: boolean;
65104
68258
  ReceiveInvoices?: boolean;
68259
+ /**
68260
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
68261
+ * @nullable
68262
+ */
68263
+ Role?: PersonTemporaryPasswordSetWebhookPayloadPersonAccountItemRole;
65105
68264
  };
65106
68265
 
65107
68266
  export type PersonTemporaryPasswordSetWebhookPayloadDealPeopleItem = {
@@ -65591,6 +68750,20 @@ export type PersonSupportTicketClosedWebhookPayloadPersonAccountItemAccount = {
65591
68750
  _objectType?: string | null;
65592
68751
  } | null;
65593
68752
 
68753
+ /**
68754
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
68755
+ * @nullable
68756
+ */
68757
+ export type PersonSupportTicketClosedWebhookPayloadPersonAccountItemRole = typeof PersonSupportTicketClosedWebhookPayloadPersonAccountItemRole[keyof typeof PersonSupportTicketClosedWebhookPayloadPersonAccountItemRole] | null;
68758
+
68759
+
68760
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
68761
+ export const PersonSupportTicketClosedWebhookPayloadPersonAccountItemRole = {
68762
+ Admin: 1,
68763
+ FullAccess: 2,
68764
+ Operator: 3,
68765
+ } as const;
68766
+
65594
68767
  export type PersonSupportTicketClosedWebhookPayloadPersonAccountItem = {
65595
68768
  /**
65596
68769
  * @maxLength 10
@@ -65607,6 +68780,11 @@ export type PersonSupportTicketClosedWebhookPayloadPersonAccountItem = {
65607
68780
  Account?: PersonSupportTicketClosedWebhookPayloadPersonAccountItemAccount;
65608
68781
  IsPrimary?: boolean;
65609
68782
  ReceiveInvoices?: boolean;
68783
+ /**
68784
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
68785
+ * @nullable
68786
+ */
68787
+ Role?: PersonSupportTicketClosedWebhookPayloadPersonAccountItemRole;
65610
68788
  };
65611
68789
 
65612
68790
  export type PersonSupportTicketClosedWebhookPayloadDealPeopleItem = {
@@ -66090,6 +69268,20 @@ export type PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountIt
66090
69268
  _objectType?: string | null;
66091
69269
  } | null;
66092
69270
 
69271
+ /**
69272
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
69273
+ * @nullable
69274
+ */
69275
+ export type PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItemRole = typeof PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItemRole[keyof typeof PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItemRole] | null;
69276
+
69277
+
69278
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
69279
+ export const PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItemRole = {
69280
+ Admin: 1,
69281
+ FullAccess: 2,
69282
+ Operator: 3,
69283
+ } as const;
69284
+
66093
69285
  export type PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItem = {
66094
69286
  /**
66095
69287
  * @maxLength 10
@@ -66106,6 +69298,11 @@ export type PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountIt
66106
69298
  Account?: PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItemAccount;
66107
69299
  IsPrimary?: boolean;
66108
69300
  ReceiveInvoices?: boolean;
69301
+ /**
69302
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
69303
+ * @nullable
69304
+ */
69305
+ Role?: PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItemRole;
66109
69306
  };
66110
69307
 
66111
69308
  export type PersonTwoFactorRecoveryCodesRegeneratedWebhookPayloadDealPeopleItem = {
@@ -68602,6 +71799,20 @@ export type DiscordUserLinkedWebhookPayloadPersonAccountItemAccount = {
68602
71799
  _objectType?: string | null;
68603
71800
  } | null;
68604
71801
 
71802
+ /**
71803
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
71804
+ * @nullable
71805
+ */
71806
+ export type DiscordUserLinkedWebhookPayloadPersonAccountItemRole = typeof DiscordUserLinkedWebhookPayloadPersonAccountItemRole[keyof typeof DiscordUserLinkedWebhookPayloadPersonAccountItemRole] | null;
71807
+
71808
+
71809
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
71810
+ export const DiscordUserLinkedWebhookPayloadPersonAccountItemRole = {
71811
+ Admin: 1,
71812
+ FullAccess: 2,
71813
+ Operator: 3,
71814
+ } as const;
71815
+
68605
71816
  export type DiscordUserLinkedWebhookPayloadPersonAccountItem = {
68606
71817
  /**
68607
71818
  * @maxLength 10
@@ -68618,6 +71829,11 @@ export type DiscordUserLinkedWebhookPayloadPersonAccountItem = {
68618
71829
  Account?: DiscordUserLinkedWebhookPayloadPersonAccountItemAccount;
68619
71830
  IsPrimary?: boolean;
68620
71831
  ReceiveInvoices?: boolean;
71832
+ /**
71833
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
71834
+ * @nullable
71835
+ */
71836
+ Role?: DiscordUserLinkedWebhookPayloadPersonAccountItemRole;
68621
71837
  };
68622
71838
 
68623
71839
  export type DiscordUserLinkedWebhookPayloadDealPeopleItem = {
@@ -69113,6 +72329,20 @@ export type DiscordUserAddedToServerWebhookPayloadPersonAccountItemAccount = {
69113
72329
  _objectType?: string | null;
69114
72330
  } | null;
69115
72331
 
72332
+ /**
72333
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
72334
+ * @nullable
72335
+ */
72336
+ export type DiscordUserAddedToServerWebhookPayloadPersonAccountItemRole = typeof DiscordUserAddedToServerWebhookPayloadPersonAccountItemRole[keyof typeof DiscordUserAddedToServerWebhookPayloadPersonAccountItemRole] | null;
72337
+
72338
+
72339
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
72340
+ export const DiscordUserAddedToServerWebhookPayloadPersonAccountItemRole = {
72341
+ Admin: 1,
72342
+ FullAccess: 2,
72343
+ Operator: 3,
72344
+ } as const;
72345
+
69116
72346
  export type DiscordUserAddedToServerWebhookPayloadPersonAccountItem = {
69117
72347
  /**
69118
72348
  * @maxLength 10
@@ -69129,6 +72359,11 @@ export type DiscordUserAddedToServerWebhookPayloadPersonAccountItem = {
69129
72359
  Account?: DiscordUserAddedToServerWebhookPayloadPersonAccountItemAccount;
69130
72360
  IsPrimary?: boolean;
69131
72361
  ReceiveInvoices?: boolean;
72362
+ /**
72363
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
72364
+ * @nullable
72365
+ */
72366
+ Role?: DiscordUserAddedToServerWebhookPayloadPersonAccountItemRole;
69132
72367
  };
69133
72368
 
69134
72369
  export type DiscordUserAddedToServerWebhookPayloadDealPeopleItem = {
@@ -69627,6 +72862,20 @@ export type DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount = {
69627
72862
  _objectType?: string | null;
69628
72863
  } | null;
69629
72864
 
72865
+ /**
72866
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
72867
+ * @nullable
72868
+ */
72869
+ export type DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemRole = typeof DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemRole[keyof typeof DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemRole] | null;
72870
+
72871
+
72872
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
72873
+ export const DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemRole = {
72874
+ Admin: 1,
72875
+ FullAccess: 2,
72876
+ Operator: 3,
72877
+ } as const;
72878
+
69630
72879
  export type DiscordUserRolesUpdatedWebhookPayloadPersonAccountItem = {
69631
72880
  /**
69632
72881
  * @maxLength 10
@@ -69643,6 +72892,11 @@ export type DiscordUserRolesUpdatedWebhookPayloadPersonAccountItem = {
69643
72892
  Account?: DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount;
69644
72893
  IsPrimary?: boolean;
69645
72894
  ReceiveInvoices?: boolean;
72895
+ /**
72896
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
72897
+ * @nullable
72898
+ */
72899
+ Role?: DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemRole;
69646
72900
  };
69647
72901
 
69648
72902
  export type DiscordUserRolesUpdatedWebhookPayloadDealPeopleItem = {
@@ -70141,6 +73395,20 @@ export type DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount =
70141
73395
  _objectType?: string | null;
70142
73396
  } | null;
70143
73397
 
73398
+ /**
73399
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
73400
+ * @nullable
73401
+ */
73402
+ export type DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemRole = typeof DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemRole[keyof typeof DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemRole] | null;
73403
+
73404
+
73405
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
73406
+ export const DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemRole = {
73407
+ Admin: 1,
73408
+ FullAccess: 2,
73409
+ Operator: 3,
73410
+ } as const;
73411
+
70144
73412
  export type DiscordUserRemovedFromServerWebhookPayloadPersonAccountItem = {
70145
73413
  /**
70146
73414
  * @maxLength 10
@@ -70157,6 +73425,11 @@ export type DiscordUserRemovedFromServerWebhookPayloadPersonAccountItem = {
70157
73425
  Account?: DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount;
70158
73426
  IsPrimary?: boolean;
70159
73427
  ReceiveInvoices?: boolean;
73428
+ /**
73429
+ * `1` - Admin, `2` - FullAccess, `3` - Operator
73430
+ * @nullable
73431
+ */
73432
+ Role?: DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemRole;
70160
73433
  };
70161
73434
 
70162
73435
  export type DiscordUserRemovedFromServerWebhookPayloadDealPeopleItem = {
@@ -70660,6 +73933,11 @@ export type ArticleGetAllArticlesParams = {
70660
73933
  q?: string | null;
70661
73934
  };
70662
73935
 
73936
+ /**
73937
+ * @nullable
73938
+ */
73939
+ export type ArticleAddArticleBody = Article | null;
73940
+
70663
73941
  /**
70664
73942
  * @nullable
70665
73943
  */