@wix/auto_sdk_benefit-programs_transactions 1.0.61 → 1.0.63

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +5 -5
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +161 -154
  5. package/build/cjs/index.typings.js +5 -5
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +163 -156
  8. package/build/cjs/meta.js +5 -5
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +5 -5
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +161 -154
  14. package/build/es/index.typings.mjs +5 -5
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +163 -156
  17. package/build/es/meta.mjs +5 -5
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +5 -5
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +172 -154
  23. package/build/internal/cjs/index.typings.js +5 -5
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +216 -198
  26. package/build/internal/cjs/meta.js +5 -5
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +5 -5
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +172 -154
  32. package/build/internal/es/index.typings.mjs +5 -5
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +216 -198
  35. package/build/internal/es/meta.mjs +5 -5
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -62,6 +62,17 @@ interface Transaction extends TransactionStatusDetailsOneOf {
62
62
  * @readonly
63
63
  */
64
64
  correlationId?: string | null;
65
+ /**
66
+ * ID of the transaction this transaction supersedes in its transaction chain.
67
+ * A transaction can be superseded by at most one non-failed transaction, and the superseding
68
+ * transaction inherits the `correlation_id` of the superseded one. Cleared if this transaction fails,
69
+ * so a failed transaction never blocks the superseded transaction from being superseded again.
70
+ * Can only be set when creating a single transaction; `BulkCreateTransactions` doesn't accept it.
71
+ * @internal
72
+ * @format GUID
73
+ * @readonly
74
+ */
75
+ supersededTransactionId?: string | null;
65
76
  /**
66
77
  * Beneficiary of the pool associated with this transaction.
67
78
  * @readonly
@@ -359,6 +370,203 @@ interface FailedTransactionDetails {
359
370
  */
360
371
  errorMessage?: string | null;
361
372
  }
373
+ interface DomainEvent extends DomainEventBodyOneOf {
374
+ createdEvent?: EntityCreatedEvent;
375
+ updatedEvent?: EntityUpdatedEvent;
376
+ deletedEvent?: EntityDeletedEvent;
377
+ actionEvent?: ActionEvent;
378
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
379
+ id?: string;
380
+ /**
381
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
382
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
383
+ */
384
+ entityFqdn?: string;
385
+ /**
386
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
387
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
388
+ */
389
+ slug?: string;
390
+ /** ID of the entity associated with the event. */
391
+ entityId?: string;
392
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
393
+ eventTime?: Date | null;
394
+ /**
395
+ * Whether the event was triggered as a result of a privacy regulation application
396
+ * (for example, GDPR).
397
+ */
398
+ triggeredByAnonymizeRequest?: boolean | null;
399
+ /** If present, indicates the action that triggered the event. */
400
+ originatedFrom?: string | null;
401
+ /**
402
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
403
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
404
+ */
405
+ entityEventSequence?: string | null;
406
+ }
407
+ /** @oneof */
408
+ interface DomainEventBodyOneOf {
409
+ createdEvent?: EntityCreatedEvent;
410
+ updatedEvent?: EntityUpdatedEvent;
411
+ deletedEvent?: EntityDeletedEvent;
412
+ actionEvent?: ActionEvent;
413
+ }
414
+ interface EntityCreatedEvent {
415
+ entityAsJson?: string;
416
+ /**
417
+ * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
418
+ * @internal
419
+ */
420
+ triggeredByUndelete?: boolean | null;
421
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
422
+ restoreInfo?: RestoreInfo;
423
+ /**
424
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
425
+ * @internal
426
+ */
427
+ additionalMetadataAsJson?: string | null;
428
+ }
429
+ interface RestoreInfo {
430
+ deletedDate?: Date | null;
431
+ }
432
+ interface EntityUpdatedEvent {
433
+ /**
434
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
435
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
436
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
437
+ */
438
+ currentEntityAsJson?: string;
439
+ /**
440
+ * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
441
+ * wont populate it / have any reference to it in the API.
442
+ * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
443
+ * the developer should send only the new (current) entity.
444
+ * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
445
+ * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
446
+ * @internal
447
+ * @deprecated
448
+ */
449
+ previousEntityAsJson?: string | null;
450
+ /**
451
+ * Map of fully qualified field paths to their previous values for fields that changed.
452
+ * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
453
+ * @internal
454
+ */
455
+ modifiedFields?: Record<string, any>;
456
+ /**
457
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
458
+ * @internal
459
+ */
460
+ additionalMetadataAsJson?: string | null;
461
+ }
462
+ interface EntityDeletedEvent {
463
+ /**
464
+ * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
465
+ * @internal
466
+ */
467
+ movedToTrash?: boolean | null;
468
+ /** Entity that was deleted. */
469
+ deletedEntityAsJson?: string | null;
470
+ /**
471
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
472
+ * @internal
473
+ */
474
+ additionalMetadataAsJson?: string | null;
475
+ }
476
+ interface ActionEvent {
477
+ bodyAsJson?: string;
478
+ }
479
+ interface MessageEnvelope {
480
+ /**
481
+ * App instance ID.
482
+ * @format GUID
483
+ */
484
+ instanceId?: string | null;
485
+ /**
486
+ * Event type.
487
+ * @maxLength 150
488
+ */
489
+ eventType?: string;
490
+ /** The identification type and identity data. */
491
+ identity?: IdentificationData;
492
+ /** Stringify payload. */
493
+ data?: string;
494
+ /** Details related to the account */
495
+ accountInfo?: AccountInfo;
496
+ }
497
+ interface IdentificationData extends IdentificationDataIdOneOf {
498
+ /**
499
+ * ID of a site visitor that has not logged in to the site.
500
+ * @format GUID
501
+ */
502
+ anonymousVisitorId?: string;
503
+ /**
504
+ * ID of a site visitor that has logged in to the site.
505
+ * @format GUID
506
+ */
507
+ memberId?: string;
508
+ /**
509
+ * ID of a Wix user (site owner, contributor, etc.).
510
+ * @format GUID
511
+ */
512
+ wixUserId?: string;
513
+ /**
514
+ * ID of an app.
515
+ * @format GUID
516
+ */
517
+ appId?: string;
518
+ /** @readonly */
519
+ identityType?: WebhookIdentityTypeWithLiterals;
520
+ }
521
+ /** @oneof */
522
+ interface IdentificationDataIdOneOf {
523
+ /**
524
+ * ID of a site visitor that has not logged in to the site.
525
+ * @format GUID
526
+ */
527
+ anonymousVisitorId?: string;
528
+ /**
529
+ * ID of a site visitor that has logged in to the site.
530
+ * @format GUID
531
+ */
532
+ memberId?: string;
533
+ /**
534
+ * ID of a Wix user (site owner, contributor, etc.).
535
+ * @format GUID
536
+ */
537
+ wixUserId?: string;
538
+ /**
539
+ * ID of an app.
540
+ * @format GUID
541
+ */
542
+ appId?: string;
543
+ }
544
+ declare enum WebhookIdentityType {
545
+ UNKNOWN = "UNKNOWN",
546
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
547
+ MEMBER = "MEMBER",
548
+ WIX_USER = "WIX_USER",
549
+ APP = "APP"
550
+ }
551
+ /** @enumType */
552
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
553
+ interface AccountInfo {
554
+ /**
555
+ * ID of the Wix account associated with the event.
556
+ * @format GUID
557
+ */
558
+ accountId?: string | null;
559
+ /**
560
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
561
+ * @format GUID
562
+ */
563
+ parentAccountId?: string | null;
564
+ /**
565
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
566
+ * @format GUID
567
+ */
568
+ siteId?: string | null;
569
+ }
362
570
  interface CreateTransactionRequest {
363
571
  /** Transaction to create. */
364
572
  transaction?: Transaction;
@@ -374,6 +582,13 @@ interface DuplicateExternalIdErrorData {
374
582
  */
375
583
  externalId?: string;
376
584
  }
585
+ interface TransactionAlreadySupersededErrorData {
586
+ /**
587
+ * ID of the transaction that is already superseded by another transaction.
588
+ * @format GUID
589
+ */
590
+ supersededTransactionId?: string;
591
+ }
377
592
  interface BulkCreateTransactionsRequest {
378
593
  /**
379
594
  * Transactions to be created.
@@ -609,203 +824,6 @@ interface HealTransactionTenantRequest {
609
824
  }
610
825
  interface HealTransactionTenantResponse {
611
826
  }
612
- interface DomainEvent extends DomainEventBodyOneOf {
613
- createdEvent?: EntityCreatedEvent;
614
- updatedEvent?: EntityUpdatedEvent;
615
- deletedEvent?: EntityDeletedEvent;
616
- actionEvent?: ActionEvent;
617
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
618
- id?: string;
619
- /**
620
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
621
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
622
- */
623
- entityFqdn?: string;
624
- /**
625
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
626
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
627
- */
628
- slug?: string;
629
- /** ID of the entity associated with the event. */
630
- entityId?: string;
631
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
632
- eventTime?: Date | null;
633
- /**
634
- * Whether the event was triggered as a result of a privacy regulation application
635
- * (for example, GDPR).
636
- */
637
- triggeredByAnonymizeRequest?: boolean | null;
638
- /** If present, indicates the action that triggered the event. */
639
- originatedFrom?: string | null;
640
- /**
641
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
642
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
643
- */
644
- entityEventSequence?: string | null;
645
- }
646
- /** @oneof */
647
- interface DomainEventBodyOneOf {
648
- createdEvent?: EntityCreatedEvent;
649
- updatedEvent?: EntityUpdatedEvent;
650
- deletedEvent?: EntityDeletedEvent;
651
- actionEvent?: ActionEvent;
652
- }
653
- interface EntityCreatedEvent {
654
- entityAsJson?: string;
655
- /**
656
- * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
657
- * @internal
658
- */
659
- triggeredByUndelete?: boolean | null;
660
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
661
- restoreInfo?: RestoreInfo;
662
- /**
663
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
664
- * @internal
665
- */
666
- additionalMetadataAsJson?: string | null;
667
- }
668
- interface RestoreInfo {
669
- deletedDate?: Date | null;
670
- }
671
- interface EntityUpdatedEvent {
672
- /**
673
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
674
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
675
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
676
- */
677
- currentEntityAsJson?: string;
678
- /**
679
- * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
680
- * wont populate it / have any reference to it in the API.
681
- * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
682
- * the developer should send only the new (current) entity.
683
- * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
684
- * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
685
- * @internal
686
- * @deprecated
687
- */
688
- previousEntityAsJson?: string | null;
689
- /**
690
- * Map of fully qualified field paths to their previous values for fields that changed.
691
- * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
692
- * @internal
693
- */
694
- modifiedFields?: Record<string, any>;
695
- /**
696
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
697
- * @internal
698
- */
699
- additionalMetadataAsJson?: string | null;
700
- }
701
- interface EntityDeletedEvent {
702
- /**
703
- * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
704
- * @internal
705
- */
706
- movedToTrash?: boolean | null;
707
- /** Entity that was deleted. */
708
- deletedEntityAsJson?: string | null;
709
- /**
710
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
711
- * @internal
712
- */
713
- additionalMetadataAsJson?: string | null;
714
- }
715
- interface ActionEvent {
716
- bodyAsJson?: string;
717
- }
718
- interface MessageEnvelope {
719
- /**
720
- * App instance ID.
721
- * @format GUID
722
- */
723
- instanceId?: string | null;
724
- /**
725
- * Event type.
726
- * @maxLength 150
727
- */
728
- eventType?: string;
729
- /** The identification type and identity data. */
730
- identity?: IdentificationData;
731
- /** Stringify payload. */
732
- data?: string;
733
- /** Details related to the account */
734
- accountInfo?: AccountInfo;
735
- }
736
- interface IdentificationData extends IdentificationDataIdOneOf {
737
- /**
738
- * ID of a site visitor that has not logged in to the site.
739
- * @format GUID
740
- */
741
- anonymousVisitorId?: string;
742
- /**
743
- * ID of a site visitor that has logged in to the site.
744
- * @format GUID
745
- */
746
- memberId?: string;
747
- /**
748
- * ID of a Wix user (site owner, contributor, etc.).
749
- * @format GUID
750
- */
751
- wixUserId?: string;
752
- /**
753
- * ID of an app.
754
- * @format GUID
755
- */
756
- appId?: string;
757
- /** @readonly */
758
- identityType?: WebhookIdentityTypeWithLiterals;
759
- }
760
- /** @oneof */
761
- interface IdentificationDataIdOneOf {
762
- /**
763
- * ID of a site visitor that has not logged in to the site.
764
- * @format GUID
765
- */
766
- anonymousVisitorId?: string;
767
- /**
768
- * ID of a site visitor that has logged in to the site.
769
- * @format GUID
770
- */
771
- memberId?: string;
772
- /**
773
- * ID of a Wix user (site owner, contributor, etc.).
774
- * @format GUID
775
- */
776
- wixUserId?: string;
777
- /**
778
- * ID of an app.
779
- * @format GUID
780
- */
781
- appId?: string;
782
- }
783
- declare enum WebhookIdentityType {
784
- UNKNOWN = "UNKNOWN",
785
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
786
- MEMBER = "MEMBER",
787
- WIX_USER = "WIX_USER",
788
- APP = "APP"
789
- }
790
- /** @enumType */
791
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
792
- interface AccountInfo {
793
- /**
794
- * ID of the Wix account associated with the event.
795
- * @format GUID
796
- */
797
- accountId?: string | null;
798
- /**
799
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
800
- * @format GUID
801
- */
802
- parentAccountId?: string | null;
803
- /**
804
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
805
- * @format GUID
806
- */
807
- siteId?: string | null;
808
- }
809
827
 
810
828
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
811
829
  getUrl: (context: any) => string;
@@ -822,4 +840,4 @@ declare function getTransaction(): __PublicMethodMetaInfo<'GET', {
822
840
  }, GetTransactionRequest$1, GetTransactionRequest, GetTransactionResponse$1, GetTransactionResponse>;
823
841
  declare function queryTransactions(): __PublicMethodMetaInfo<'POST', {}, QueryTransactionsRequest$1, QueryTransactionsRequest, QueryTransactionsResponse$1, QueryTransactionsResponse>;
824
842
 
825
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateTransactionsRequest as BulkCreateTransactionsRequestOriginal, type BulkCreateTransactionsResponse as BulkCreateTransactionsResponseOriginal, type BulkTransactionResult as BulkTransactionResultOriginal, type BulkUpdateTransactionsRequest as BulkUpdateTransactionsRequestOriginal, type BulkUpdateTransactionsResponse as BulkUpdateTransactionsResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type CreateTransactionRequest as CreateTransactionRequestOriginal, type CreateTransactionResponse as CreateTransactionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateExternalIdErrorData as DuplicateExternalIdErrorDataOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FailedTransactionDetails as FailedTransactionDetailsOriginal, type GetTransactionRequest as GetTransactionRequestOriginal, type GetTransactionResponse as GetTransactionResponseOriginal, type HealTransactionRequest as HealTransactionRequestOriginal, type HealTransactionResponse as HealTransactionResponseOriginal, type HealTransactionTenantRequest as HealTransactionTenantRequestOriginal, type HealTransactionTenantResponse as HealTransactionTenantResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type MaskedTransaction as MaskedTransactionOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PoolInfo as PoolInfoOriginal, type QueryTransactionsRequest as QueryTransactionsRequestOriginal, type QueryTransactionsResponse as QueryTransactionsResponseOriginal, type RequestedValues as RequestedValuesOriginal, type RestoreInfo as RestoreInfoOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TransactionDetails as TransactionDetailsOriginal, type Transaction as TransactionOriginal, type TransactionStatusDetailsOneOf as TransactionStatusDetailsOneOfOriginal, TransactionStatus as TransactionStatusOriginal, type TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal, type UpdateTransactionRequest as UpdateTransactionRequestOriginal, type UpdateTransactionResponse as UpdateTransactionResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, getTransaction, queryTransactions };
843
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateTransactionsRequest as BulkCreateTransactionsRequestOriginal, type BulkCreateTransactionsResponse as BulkCreateTransactionsResponseOriginal, type BulkTransactionResult as BulkTransactionResultOriginal, type BulkUpdateTransactionsRequest as BulkUpdateTransactionsRequestOriginal, type BulkUpdateTransactionsResponse as BulkUpdateTransactionsResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type CreateTransactionRequest as CreateTransactionRequestOriginal, type CreateTransactionResponse as CreateTransactionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateExternalIdErrorData as DuplicateExternalIdErrorDataOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FailedTransactionDetails as FailedTransactionDetailsOriginal, type GetTransactionRequest as GetTransactionRequestOriginal, type GetTransactionResponse as GetTransactionResponseOriginal, type HealTransactionRequest as HealTransactionRequestOriginal, type HealTransactionResponse as HealTransactionResponseOriginal, type HealTransactionTenantRequest as HealTransactionTenantRequestOriginal, type HealTransactionTenantResponse as HealTransactionTenantResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type MaskedTransaction as MaskedTransactionOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PoolInfo as PoolInfoOriginal, type QueryTransactionsRequest as QueryTransactionsRequestOriginal, type QueryTransactionsResponse as QueryTransactionsResponseOriginal, type RequestedValues as RequestedValuesOriginal, type RestoreInfo as RestoreInfoOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TransactionAlreadySupersededErrorData as TransactionAlreadySupersededErrorDataOriginal, type TransactionDetails as TransactionDetailsOriginal, type Transaction as TransactionOriginal, type TransactionStatusDetailsOneOf as TransactionStatusDetailsOneOfOriginal, TransactionStatus as TransactionStatusOriginal, type TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal, type UpdateTransactionRequest as UpdateTransactionRequestOriginal, type UpdateTransactionResponse as UpdateTransactionResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, getTransaction, queryTransactions };
@@ -178,11 +178,6 @@ var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
178
178
  TransactionStatus2["FAILED"] = "FAILED";
179
179
  return TransactionStatus2;
180
180
  })(TransactionStatus || {});
181
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
182
- SortOrder2["ASC"] = "ASC";
183
- SortOrder2["DESC"] = "DESC";
184
- return SortOrder2;
185
- })(SortOrder || {});
186
181
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
187
182
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
188
183
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -191,6 +186,11 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
191
186
  WebhookIdentityType2["APP"] = "APP";
192
187
  return WebhookIdentityType2;
193
188
  })(WebhookIdentityType || {});
189
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
190
+ SortOrder2["ASC"] = "ASC";
191
+ SortOrder2["DESC"] = "DESC";
192
+ return SortOrder2;
193
+ })(SortOrder || {});
194
194
 
195
195
  // src/benefit-programs-v1-transaction-transactions.meta.ts
196
196
  function getTransaction2() {