@connectedxm/admin 6.1.4 → 6.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -955,6 +955,8 @@ interface BaseEvent {
955
955
  updatedAt: string;
956
956
  seriesId: string | null;
957
957
  series: BaseSeries | null;
958
+ paymentIntegrationId: string | null;
959
+ paymentIntegration: BasePaymentIntegration | null;
958
960
  }
959
961
  interface Event extends BaseEvent {
960
962
  roundName: string | null;
@@ -1374,6 +1376,8 @@ interface BaseInvoice {
1374
1376
  status: InvoiceStatus;
1375
1377
  title: string;
1376
1378
  notes: string | null;
1379
+ paymentIntegrationId: string | null;
1380
+ paymentIntegration: BasePaymentIntegration | null;
1377
1381
  }
1378
1382
  interface Invoice extends BaseInvoice {
1379
1383
  lineItems: BaseInvoiceLineItem;
@@ -1789,14 +1793,14 @@ interface PaymentLineItem extends BasePaymentLineItem {
1789
1793
  interface BasePaymentIntegration {
1790
1794
  id: string;
1791
1795
  currencyCode: string;
1796
+ type: PaymentIntegrationType;
1797
+ name: string;
1792
1798
  }
1793
1799
  interface PaymentIntegration extends BasePaymentIntegration {
1794
- type: PaymentIntegrationType;
1795
1800
  connectionId: string;
1796
1801
  enabled: boolean;
1797
1802
  createdAt: string;
1798
1803
  updatedAt: string;
1799
- name: string;
1800
1804
  }
1801
1805
  declare enum TaxIntegrationType {
1802
1806
  stripe = "stripe",
@@ -3332,6 +3336,8 @@ interface BaseBookingPlace {
3332
3336
  image: BaseImage | null;
3333
3337
  sortOrder: number;
3334
3338
  visible: boolean;
3339
+ paymentIntegrationId: string | null;
3340
+ paymentIntegration: BasePaymentIntegration | null;
3335
3341
  }
3336
3342
  interface BookingPlace extends BaseBookingPlace {
3337
3343
  address1: string | null;
@@ -4561,9 +4567,68 @@ interface EventCreateInputs {
4561
4567
  matchName?: string | null;
4562
4568
  activityFeedEnabled?: boolean;
4563
4569
  options?: object | null;
4570
+ paymentIntegrationId?: string | null;
4564
4571
  template?: boolean;
4565
4572
  meetingId?: string | null;
4566
4573
  }
4574
+ interface EventUpdateInputs {
4575
+ featured?: boolean;
4576
+ visible?: boolean;
4577
+ name?: string | null;
4578
+ eventType?: keyof typeof EventType | null;
4579
+ slug?: string | null;
4580
+ internalRefId?: string | null;
4581
+ shortDescription?: string | null;
4582
+ longDescription?: string | null;
4583
+ reservationDescription?: string | null;
4584
+ timezone?: string | null;
4585
+ eventStart?: string | null;
4586
+ eventEnd?: string | null;
4587
+ externalUrl?: string | null;
4588
+ imageId?: string | null;
4589
+ squareImageId?: string | null;
4590
+ backgroundImageId?: string | null;
4591
+ venue?: string | null;
4592
+ address1?: string | null;
4593
+ address2?: string | null;
4594
+ city?: string | null;
4595
+ state?: string | null;
4596
+ country?: string | null;
4597
+ zip?: string | null;
4598
+ creatorId?: string | null;
4599
+ seriesId?: string | null;
4600
+ registration?: boolean;
4601
+ registrationStart?: string | null;
4602
+ registrationEnd?: string | null;
4603
+ registrationHeaderImageId?: string | null;
4604
+ registrationFooterImageId?: string | null;
4605
+ registrationHideTitle?: boolean;
4606
+ registrationLimit?: number | null | string;
4607
+ allowMultipleRegistrations?: boolean;
4608
+ allowSplitPayment?: boolean;
4609
+ splitPaymentPercentage?: number | string;
4610
+ splitPaymentNetDays?: number | string | null;
4611
+ splitPaymentDueDate?: string | null;
4612
+ publicRegistrants?: boolean;
4613
+ sessionsVisibility?: keyof typeof EventAgendaVisibility;
4614
+ speakersVisibility?: keyof typeof EventAgendaVisibility;
4615
+ inviteOnly?: boolean;
4616
+ iosAppLink?: string | null;
4617
+ androidAppLink?: string | null;
4618
+ newActivityCreatorEmailNotification?: boolean;
4619
+ newActivityCreatorPushNotification?: boolean;
4620
+ streamReplayId?: string | null;
4621
+ groupId?: string | null;
4622
+ groupOnly?: boolean;
4623
+ passSupply?: number | string | null;
4624
+ passLimitPerAccount?: string | number | null;
4625
+ roundName?: string | null;
4626
+ matchName?: string | null;
4627
+ activityFeedEnabled?: boolean;
4628
+ options?: object | null;
4629
+ paymentIntegrationId?: string | null;
4630
+ meetingId?: string | null;
4631
+ }
4567
4632
  interface EventEmailUpdateInputs {
4568
4633
  body?: string | null;
4569
4634
  replyTo?: string | null;
@@ -4886,63 +4951,6 @@ interface EventTranslationUpdateInputs {
4886
4951
  reservationDescription?: string | null;
4887
4952
  imageId?: string | null;
4888
4953
  }
4889
- interface EventUpdateInputs {
4890
- featured?: boolean;
4891
- visible?: boolean;
4892
- name?: string | null;
4893
- eventType?: keyof typeof EventType | null;
4894
- slug?: string | null;
4895
- internalRefId?: string | null;
4896
- shortDescription?: string | null;
4897
- longDescription?: string | null;
4898
- reservationDescription?: string | null;
4899
- timezone?: string | null;
4900
- eventStart?: string | null;
4901
- eventEnd?: string | null;
4902
- externalUrl?: string | null;
4903
- imageId?: string | null;
4904
- squareImageId?: string | null;
4905
- backgroundImageId?: string | null;
4906
- venue?: string | null;
4907
- address1?: string | null;
4908
- address2?: string | null;
4909
- city?: string | null;
4910
- state?: string | null;
4911
- country?: string | null;
4912
- zip?: string | null;
4913
- creatorId?: string | null;
4914
- seriesId?: string | null;
4915
- registration?: boolean;
4916
- registrationStart?: string | null;
4917
- registrationEnd?: string | null;
4918
- registrationHeaderImageId?: string | null;
4919
- registrationFooterImageId?: string | null;
4920
- registrationHideTitle?: boolean;
4921
- registrationLimit?: number | null | string;
4922
- allowMultipleRegistrations?: boolean;
4923
- allowSplitPayment?: boolean;
4924
- splitPaymentPercentage?: number | string;
4925
- splitPaymentNetDays?: number | string | null;
4926
- splitPaymentDueDate?: string | null;
4927
- publicRegistrants?: boolean;
4928
- sessionsVisibility?: keyof typeof EventAgendaVisibility;
4929
- speakersVisibility?: keyof typeof EventAgendaVisibility;
4930
- inviteOnly?: boolean;
4931
- iosAppLink?: string | null;
4932
- androidAppLink?: string | null;
4933
- newActivityCreatorEmailNotification?: boolean;
4934
- newActivityCreatorPushNotification?: boolean;
4935
- streamReplayId?: string | null;
4936
- groupId?: string | null;
4937
- groupOnly?: boolean;
4938
- passSupply?: number | string | null;
4939
- passLimitPerAccount?: string | number | null;
4940
- roundName?: string | null;
4941
- matchName?: string | null;
4942
- activityFeedEnabled?: boolean;
4943
- meetingId?: string | null;
4944
- options?: object | null;
4945
- }
4946
4954
  interface FileUpdateInputs {
4947
4955
  name?: string;
4948
4956
  source?: FileSource;
@@ -5047,6 +5055,16 @@ interface InvoiceCreateInputs {
5047
5055
  notes?: string | null;
5048
5056
  accountId?: string | null;
5049
5057
  eventId?: string | null;
5058
+ paymentIntegrationId?: string | null;
5059
+ }
5060
+ interface InvoiceUpdateInputs {
5061
+ title?: string | null;
5062
+ description?: string | null;
5063
+ dueDate?: string | null;
5064
+ notes?: string | null;
5065
+ accountId?: string | null;
5066
+ eventId?: string | null;
5067
+ paymentIntegrationId?: string | null;
5050
5068
  }
5051
5069
  interface InvoiceLineItemCreateInputs {
5052
5070
  name: string;
@@ -5066,14 +5084,6 @@ interface InvoiceLineItemUpdateInputs {
5066
5084
  taxIncluded?: boolean;
5067
5085
  taxLocation?: keyof typeof TaxLocationType;
5068
5086
  }
5069
- interface InvoiceUpdateInputs {
5070
- title?: string | null;
5071
- description?: string | null;
5072
- dueDate?: string | null;
5073
- notes?: string | null;
5074
- accountId?: string | null;
5075
- eventId?: string | null;
5076
- }
5077
5087
  interface LeadCreateInputs {
5078
5088
  status?: LeadStatus;
5079
5089
  note?: string | null;
@@ -5733,20 +5743,6 @@ interface CloneOptions {
5733
5743
  sideEffects: boolean;
5734
5744
  advancedSettings: boolean;
5735
5745
  }
5736
- interface BookingPlaceCreateInputs {
5737
- name: string;
5738
- timezone: string;
5739
- description?: string | null;
5740
- imageId?: string | null;
5741
- address1?: string | null;
5742
- address2?: string | null;
5743
- city?: string | null;
5744
- state?: string | null;
5745
- country?: string | null;
5746
- zip?: string | null;
5747
- sortOrder?: number | string | null;
5748
- visible?: boolean;
5749
- }
5750
5746
  interface SearchListCreateInputs {
5751
5747
  name: string;
5752
5748
  }
@@ -5764,6 +5760,21 @@ interface SearchListValueUpdateInputs {
5764
5760
  interface AttachSearchListInputs {
5765
5761
  searchListId: string;
5766
5762
  }
5763
+ interface BookingPlaceCreateInputs {
5764
+ name: string;
5765
+ timezone: string;
5766
+ description?: string | null;
5767
+ imageId?: string | null;
5768
+ address1?: string | null;
5769
+ address2?: string | null;
5770
+ city?: string | null;
5771
+ state?: string | null;
5772
+ country?: string | null;
5773
+ zip?: string | null;
5774
+ sortOrder?: number | string | null;
5775
+ visible?: boolean;
5776
+ paymentIntegrationId?: string | null;
5777
+ }
5767
5778
  interface BookingPlaceUpdateInputs {
5768
5779
  name?: string;
5769
5780
  timezone?: string;
@@ -5777,6 +5788,7 @@ interface BookingPlaceUpdateInputs {
5777
5788
  zip?: string | null;
5778
5789
  sortOrder?: number | string | null;
5779
5790
  visible?: boolean;
5791
+ paymentIntegrationId?: string | null;
5780
5792
  }
5781
5793
  interface BookingPlaceTranslationUpdateInputs {
5782
5794
  name?: string | null;
package/dist/index.d.ts CHANGED
@@ -955,6 +955,8 @@ interface BaseEvent {
955
955
  updatedAt: string;
956
956
  seriesId: string | null;
957
957
  series: BaseSeries | null;
958
+ paymentIntegrationId: string | null;
959
+ paymentIntegration: BasePaymentIntegration | null;
958
960
  }
959
961
  interface Event extends BaseEvent {
960
962
  roundName: string | null;
@@ -1374,6 +1376,8 @@ interface BaseInvoice {
1374
1376
  status: InvoiceStatus;
1375
1377
  title: string;
1376
1378
  notes: string | null;
1379
+ paymentIntegrationId: string | null;
1380
+ paymentIntegration: BasePaymentIntegration | null;
1377
1381
  }
1378
1382
  interface Invoice extends BaseInvoice {
1379
1383
  lineItems: BaseInvoiceLineItem;
@@ -1789,14 +1793,14 @@ interface PaymentLineItem extends BasePaymentLineItem {
1789
1793
  interface BasePaymentIntegration {
1790
1794
  id: string;
1791
1795
  currencyCode: string;
1796
+ type: PaymentIntegrationType;
1797
+ name: string;
1792
1798
  }
1793
1799
  interface PaymentIntegration extends BasePaymentIntegration {
1794
- type: PaymentIntegrationType;
1795
1800
  connectionId: string;
1796
1801
  enabled: boolean;
1797
1802
  createdAt: string;
1798
1803
  updatedAt: string;
1799
- name: string;
1800
1804
  }
1801
1805
  declare enum TaxIntegrationType {
1802
1806
  stripe = "stripe",
@@ -3332,6 +3336,8 @@ interface BaseBookingPlace {
3332
3336
  image: BaseImage | null;
3333
3337
  sortOrder: number;
3334
3338
  visible: boolean;
3339
+ paymentIntegrationId: string | null;
3340
+ paymentIntegration: BasePaymentIntegration | null;
3335
3341
  }
3336
3342
  interface BookingPlace extends BaseBookingPlace {
3337
3343
  address1: string | null;
@@ -4561,9 +4567,68 @@ interface EventCreateInputs {
4561
4567
  matchName?: string | null;
4562
4568
  activityFeedEnabled?: boolean;
4563
4569
  options?: object | null;
4570
+ paymentIntegrationId?: string | null;
4564
4571
  template?: boolean;
4565
4572
  meetingId?: string | null;
4566
4573
  }
4574
+ interface EventUpdateInputs {
4575
+ featured?: boolean;
4576
+ visible?: boolean;
4577
+ name?: string | null;
4578
+ eventType?: keyof typeof EventType | null;
4579
+ slug?: string | null;
4580
+ internalRefId?: string | null;
4581
+ shortDescription?: string | null;
4582
+ longDescription?: string | null;
4583
+ reservationDescription?: string | null;
4584
+ timezone?: string | null;
4585
+ eventStart?: string | null;
4586
+ eventEnd?: string | null;
4587
+ externalUrl?: string | null;
4588
+ imageId?: string | null;
4589
+ squareImageId?: string | null;
4590
+ backgroundImageId?: string | null;
4591
+ venue?: string | null;
4592
+ address1?: string | null;
4593
+ address2?: string | null;
4594
+ city?: string | null;
4595
+ state?: string | null;
4596
+ country?: string | null;
4597
+ zip?: string | null;
4598
+ creatorId?: string | null;
4599
+ seriesId?: string | null;
4600
+ registration?: boolean;
4601
+ registrationStart?: string | null;
4602
+ registrationEnd?: string | null;
4603
+ registrationHeaderImageId?: string | null;
4604
+ registrationFooterImageId?: string | null;
4605
+ registrationHideTitle?: boolean;
4606
+ registrationLimit?: number | null | string;
4607
+ allowMultipleRegistrations?: boolean;
4608
+ allowSplitPayment?: boolean;
4609
+ splitPaymentPercentage?: number | string;
4610
+ splitPaymentNetDays?: number | string | null;
4611
+ splitPaymentDueDate?: string | null;
4612
+ publicRegistrants?: boolean;
4613
+ sessionsVisibility?: keyof typeof EventAgendaVisibility;
4614
+ speakersVisibility?: keyof typeof EventAgendaVisibility;
4615
+ inviteOnly?: boolean;
4616
+ iosAppLink?: string | null;
4617
+ androidAppLink?: string | null;
4618
+ newActivityCreatorEmailNotification?: boolean;
4619
+ newActivityCreatorPushNotification?: boolean;
4620
+ streamReplayId?: string | null;
4621
+ groupId?: string | null;
4622
+ groupOnly?: boolean;
4623
+ passSupply?: number | string | null;
4624
+ passLimitPerAccount?: string | number | null;
4625
+ roundName?: string | null;
4626
+ matchName?: string | null;
4627
+ activityFeedEnabled?: boolean;
4628
+ options?: object | null;
4629
+ paymentIntegrationId?: string | null;
4630
+ meetingId?: string | null;
4631
+ }
4567
4632
  interface EventEmailUpdateInputs {
4568
4633
  body?: string | null;
4569
4634
  replyTo?: string | null;
@@ -4886,63 +4951,6 @@ interface EventTranslationUpdateInputs {
4886
4951
  reservationDescription?: string | null;
4887
4952
  imageId?: string | null;
4888
4953
  }
4889
- interface EventUpdateInputs {
4890
- featured?: boolean;
4891
- visible?: boolean;
4892
- name?: string | null;
4893
- eventType?: keyof typeof EventType | null;
4894
- slug?: string | null;
4895
- internalRefId?: string | null;
4896
- shortDescription?: string | null;
4897
- longDescription?: string | null;
4898
- reservationDescription?: string | null;
4899
- timezone?: string | null;
4900
- eventStart?: string | null;
4901
- eventEnd?: string | null;
4902
- externalUrl?: string | null;
4903
- imageId?: string | null;
4904
- squareImageId?: string | null;
4905
- backgroundImageId?: string | null;
4906
- venue?: string | null;
4907
- address1?: string | null;
4908
- address2?: string | null;
4909
- city?: string | null;
4910
- state?: string | null;
4911
- country?: string | null;
4912
- zip?: string | null;
4913
- creatorId?: string | null;
4914
- seriesId?: string | null;
4915
- registration?: boolean;
4916
- registrationStart?: string | null;
4917
- registrationEnd?: string | null;
4918
- registrationHeaderImageId?: string | null;
4919
- registrationFooterImageId?: string | null;
4920
- registrationHideTitle?: boolean;
4921
- registrationLimit?: number | null | string;
4922
- allowMultipleRegistrations?: boolean;
4923
- allowSplitPayment?: boolean;
4924
- splitPaymentPercentage?: number | string;
4925
- splitPaymentNetDays?: number | string | null;
4926
- splitPaymentDueDate?: string | null;
4927
- publicRegistrants?: boolean;
4928
- sessionsVisibility?: keyof typeof EventAgendaVisibility;
4929
- speakersVisibility?: keyof typeof EventAgendaVisibility;
4930
- inviteOnly?: boolean;
4931
- iosAppLink?: string | null;
4932
- androidAppLink?: string | null;
4933
- newActivityCreatorEmailNotification?: boolean;
4934
- newActivityCreatorPushNotification?: boolean;
4935
- streamReplayId?: string | null;
4936
- groupId?: string | null;
4937
- groupOnly?: boolean;
4938
- passSupply?: number | string | null;
4939
- passLimitPerAccount?: string | number | null;
4940
- roundName?: string | null;
4941
- matchName?: string | null;
4942
- activityFeedEnabled?: boolean;
4943
- meetingId?: string | null;
4944
- options?: object | null;
4945
- }
4946
4954
  interface FileUpdateInputs {
4947
4955
  name?: string;
4948
4956
  source?: FileSource;
@@ -5047,6 +5055,16 @@ interface InvoiceCreateInputs {
5047
5055
  notes?: string | null;
5048
5056
  accountId?: string | null;
5049
5057
  eventId?: string | null;
5058
+ paymentIntegrationId?: string | null;
5059
+ }
5060
+ interface InvoiceUpdateInputs {
5061
+ title?: string | null;
5062
+ description?: string | null;
5063
+ dueDate?: string | null;
5064
+ notes?: string | null;
5065
+ accountId?: string | null;
5066
+ eventId?: string | null;
5067
+ paymentIntegrationId?: string | null;
5050
5068
  }
5051
5069
  interface InvoiceLineItemCreateInputs {
5052
5070
  name: string;
@@ -5066,14 +5084,6 @@ interface InvoiceLineItemUpdateInputs {
5066
5084
  taxIncluded?: boolean;
5067
5085
  taxLocation?: keyof typeof TaxLocationType;
5068
5086
  }
5069
- interface InvoiceUpdateInputs {
5070
- title?: string | null;
5071
- description?: string | null;
5072
- dueDate?: string | null;
5073
- notes?: string | null;
5074
- accountId?: string | null;
5075
- eventId?: string | null;
5076
- }
5077
5087
  interface LeadCreateInputs {
5078
5088
  status?: LeadStatus;
5079
5089
  note?: string | null;
@@ -5733,20 +5743,6 @@ interface CloneOptions {
5733
5743
  sideEffects: boolean;
5734
5744
  advancedSettings: boolean;
5735
5745
  }
5736
- interface BookingPlaceCreateInputs {
5737
- name: string;
5738
- timezone: string;
5739
- description?: string | null;
5740
- imageId?: string | null;
5741
- address1?: string | null;
5742
- address2?: string | null;
5743
- city?: string | null;
5744
- state?: string | null;
5745
- country?: string | null;
5746
- zip?: string | null;
5747
- sortOrder?: number | string | null;
5748
- visible?: boolean;
5749
- }
5750
5746
  interface SearchListCreateInputs {
5751
5747
  name: string;
5752
5748
  }
@@ -5764,6 +5760,21 @@ interface SearchListValueUpdateInputs {
5764
5760
  interface AttachSearchListInputs {
5765
5761
  searchListId: string;
5766
5762
  }
5763
+ interface BookingPlaceCreateInputs {
5764
+ name: string;
5765
+ timezone: string;
5766
+ description?: string | null;
5767
+ imageId?: string | null;
5768
+ address1?: string | null;
5769
+ address2?: string | null;
5770
+ city?: string | null;
5771
+ state?: string | null;
5772
+ country?: string | null;
5773
+ zip?: string | null;
5774
+ sortOrder?: number | string | null;
5775
+ visible?: boolean;
5776
+ paymentIntegrationId?: string | null;
5777
+ }
5767
5778
  interface BookingPlaceUpdateInputs {
5768
5779
  name?: string;
5769
5780
  timezone?: string;
@@ -5777,6 +5788,7 @@ interface BookingPlaceUpdateInputs {
5777
5788
  zip?: string | null;
5778
5789
  sortOrder?: number | string | null;
5779
5790
  visible?: boolean;
5791
+ paymentIntegrationId?: string | null;
5780
5792
  }
5781
5793
  interface BookingPlaceTranslationUpdateInputs {
5782
5794
  name?: string | null;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "6.1.4",
3
+ "version": "6.1.8",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/connectedxm/admin-sdk.git"
9
+ "url": "git+https://github.com/connectedxm/admin-sdk.git"
10
10
  },
11
11
  "license": "MIT",
12
12
  "main": "dist/index.js",