@connectedxm/client 1.4.25 → 1.4.26

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.mts CHANGED
@@ -365,7 +365,7 @@ declare enum RegistrationQuestionType {
365
365
  file = "file"
366
366
  }
367
367
  interface BaseRegistrationQuestion {
368
- id: number;
368
+ id: string;
369
369
  eventId: string;
370
370
  featured: boolean;
371
371
  type: RegistrationQuestionType;
@@ -386,17 +386,17 @@ interface BaseRegistrationQuestion {
386
386
  interface RegistrationQuestion extends BaseRegistrationQuestion {
387
387
  }
388
388
  declare const isRegistrationQuestion: (question: RegistrationQuestion | {
389
- questionId: number;
389
+ questionId: string;
390
390
  }) => question is RegistrationQuestion;
391
391
  interface BaseRegistrationQuestionChoice {
392
- id: number;
392
+ id: string;
393
393
  value: string;
394
394
  text: string | null;
395
395
  supply: number | null;
396
396
  description: string | null;
397
397
  sortOrder: number;
398
398
  subQuestions: RegistrationQuestion[] | {
399
- questionId: number;
399
+ questionId: string;
400
400
  }[];
401
401
  }
402
402
  interface RegistrationQuestionChoice extends BaseRegistrationQuestionChoice {
@@ -408,7 +408,7 @@ interface BaseRegistrationQuestionSearchValue {
408
408
  interface RegistrationQuestionSearchValue extends BaseRegistrationQuestionSearchValue {
409
409
  }
410
410
  interface BaseRegistrationQuestionResponse {
411
- questionId: number;
411
+ questionId: string;
412
412
  question: BaseRegistrationQuestion;
413
413
  value: string;
414
414
  }
@@ -418,7 +418,7 @@ interface RegistrationQuestionResponse extends BaseRegistrationQuestionResponse
418
418
  updatedAt: string;
419
419
  }
420
420
  interface BaseRegistrationSection {
421
- id: number;
421
+ id: string;
422
422
  name: string;
423
423
  description: string | null;
424
424
  sortOrder: number;
@@ -4031,7 +4031,7 @@ declare const useRemoveSelfEventRegistrationCoupon: (options?: Omit<MutationOpti
4031
4031
  interface UpdateSelfEventRegistrationPassResponseParams extends MutationParams {
4032
4032
  eventId: string;
4033
4033
  passId: string;
4034
- questionId: number;
4034
+ questionId: string;
4035
4035
  response: string;
4036
4036
  }
4037
4037
  declare const UpdateSelfEventRegistrationPassResponse: ({ eventId, passId, questionId, response, clientApiParams, queryClient, }: UpdateSelfEventRegistrationPassResponseParams) => Promise<ConnectedXMResponse<null>>;
@@ -4079,7 +4079,7 @@ interface UpdateSelfEventRegistrationResponsesParams extends MutationParams {
4079
4079
  passes: {
4080
4080
  id: string;
4081
4081
  responses: {
4082
- questionId: number;
4082
+ questionId: string;
4083
4083
  value: string;
4084
4084
  }[];
4085
4085
  }[];
@@ -4105,7 +4105,7 @@ interface UpdateSelfEventAttendeePassResponsesParams extends MutationParams {
4105
4105
  eventId: string;
4106
4106
  passId: string;
4107
4107
  questions: {
4108
- id: number;
4108
+ id: string;
4109
4109
  value: string;
4110
4110
  }[];
4111
4111
  }
@@ -4547,7 +4547,7 @@ interface CreateListingQuestionParams extends MutationParams {
4547
4547
  required: boolean;
4548
4548
  mutable: boolean;
4549
4549
  choices: {
4550
- id: number | null;
4550
+ id: string | null;
4551
4551
  value: string;
4552
4552
  }[];
4553
4553
  };
@@ -4656,7 +4656,7 @@ interface UpdateListingQuestionParams extends MutationParams {
4656
4656
  mutable: boolean;
4657
4657
  sortOrder?: number;
4658
4658
  choices: {
4659
- id: number | null;
4659
+ id: string | null;
4660
4660
  value: string;
4661
4661
  }[];
4662
4662
  };
@@ -4712,7 +4712,7 @@ interface UpdateListingRegistrationPassResponsesParams extends MutationParams {
4712
4712
  accountId: string;
4713
4713
  passId: string;
4714
4714
  questions: {
4715
- id: number;
4715
+ id: string;
4716
4716
  value: string;
4717
4717
  }[];
4718
4718
  }
package/dist/index.d.ts CHANGED
@@ -365,7 +365,7 @@ declare enum RegistrationQuestionType {
365
365
  file = "file"
366
366
  }
367
367
  interface BaseRegistrationQuestion {
368
- id: number;
368
+ id: string;
369
369
  eventId: string;
370
370
  featured: boolean;
371
371
  type: RegistrationQuestionType;
@@ -386,17 +386,17 @@ interface BaseRegistrationQuestion {
386
386
  interface RegistrationQuestion extends BaseRegistrationQuestion {
387
387
  }
388
388
  declare const isRegistrationQuestion: (question: RegistrationQuestion | {
389
- questionId: number;
389
+ questionId: string;
390
390
  }) => question is RegistrationQuestion;
391
391
  interface BaseRegistrationQuestionChoice {
392
- id: number;
392
+ id: string;
393
393
  value: string;
394
394
  text: string | null;
395
395
  supply: number | null;
396
396
  description: string | null;
397
397
  sortOrder: number;
398
398
  subQuestions: RegistrationQuestion[] | {
399
- questionId: number;
399
+ questionId: string;
400
400
  }[];
401
401
  }
402
402
  interface RegistrationQuestionChoice extends BaseRegistrationQuestionChoice {
@@ -408,7 +408,7 @@ interface BaseRegistrationQuestionSearchValue {
408
408
  interface RegistrationQuestionSearchValue extends BaseRegistrationQuestionSearchValue {
409
409
  }
410
410
  interface BaseRegistrationQuestionResponse {
411
- questionId: number;
411
+ questionId: string;
412
412
  question: BaseRegistrationQuestion;
413
413
  value: string;
414
414
  }
@@ -418,7 +418,7 @@ interface RegistrationQuestionResponse extends BaseRegistrationQuestionResponse
418
418
  updatedAt: string;
419
419
  }
420
420
  interface BaseRegistrationSection {
421
- id: number;
421
+ id: string;
422
422
  name: string;
423
423
  description: string | null;
424
424
  sortOrder: number;
@@ -4031,7 +4031,7 @@ declare const useRemoveSelfEventRegistrationCoupon: (options?: Omit<MutationOpti
4031
4031
  interface UpdateSelfEventRegistrationPassResponseParams extends MutationParams {
4032
4032
  eventId: string;
4033
4033
  passId: string;
4034
- questionId: number;
4034
+ questionId: string;
4035
4035
  response: string;
4036
4036
  }
4037
4037
  declare const UpdateSelfEventRegistrationPassResponse: ({ eventId, passId, questionId, response, clientApiParams, queryClient, }: UpdateSelfEventRegistrationPassResponseParams) => Promise<ConnectedXMResponse<null>>;
@@ -4079,7 +4079,7 @@ interface UpdateSelfEventRegistrationResponsesParams extends MutationParams {
4079
4079
  passes: {
4080
4080
  id: string;
4081
4081
  responses: {
4082
- questionId: number;
4082
+ questionId: string;
4083
4083
  value: string;
4084
4084
  }[];
4085
4085
  }[];
@@ -4105,7 +4105,7 @@ interface UpdateSelfEventAttendeePassResponsesParams extends MutationParams {
4105
4105
  eventId: string;
4106
4106
  passId: string;
4107
4107
  questions: {
4108
- id: number;
4108
+ id: string;
4109
4109
  value: string;
4110
4110
  }[];
4111
4111
  }
@@ -4547,7 +4547,7 @@ interface CreateListingQuestionParams extends MutationParams {
4547
4547
  required: boolean;
4548
4548
  mutable: boolean;
4549
4549
  choices: {
4550
- id: number | null;
4550
+ id: string | null;
4551
4551
  value: string;
4552
4552
  }[];
4553
4553
  };
@@ -4656,7 +4656,7 @@ interface UpdateListingQuestionParams extends MutationParams {
4656
4656
  mutable: boolean;
4657
4657
  sortOrder?: number;
4658
4658
  choices: {
4659
- id: number | null;
4659
+ id: string | null;
4660
4660
  value: string;
4661
4661
  }[];
4662
4662
  };
@@ -4712,7 +4712,7 @@ interface UpdateListingRegistrationPassResponsesParams extends MutationParams {
4712
4712
  accountId: string;
4713
4713
  passId: string;
4714
4714
  questions: {
4715
- id: number;
4715
+ id: string;
4716
4716
  value: string;
4717
4717
  }[];
4718
4718
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "1.4.25",
3
+ "version": "1.4.26",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {