@wix/auto_sdk_benefit-programs_transactions 1.0.62 → 1.0.64
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/build/cjs/index.js +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +159 -154
- package/build/cjs/index.typings.js +5 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +161 -156
- package/build/cjs/meta.js +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +2 -2
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +159 -154
- package/build/es/index.typings.mjs +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +161 -156
- package/build/es/meta.mjs +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +2 -2
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +5 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +160 -154
- package/build/internal/cjs/index.typings.js +5 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +204 -198
- package/build/internal/cjs/meta.js +5 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +2 -2
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +5 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +160 -154
- package/build/internal/es/index.typings.mjs +5 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +204 -198
- package/build/internal/es/meta.mjs +5 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +2 -2
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -11,6 +11,7 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
11
11
|
* Transaction ID.
|
|
12
12
|
* @format GUID
|
|
13
13
|
* @readonly
|
|
14
|
+
* @immutable
|
|
14
15
|
*/
|
|
15
16
|
id?: string | null;
|
|
16
17
|
/**
|
|
@@ -47,12 +48,14 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
47
48
|
* Used to recognize repeated attempts to make the same request.
|
|
48
49
|
* @maxLength 200
|
|
49
50
|
* @readonly
|
|
51
|
+
* @immutable
|
|
50
52
|
*/
|
|
51
53
|
idempotencyKey?: string;
|
|
52
54
|
/**
|
|
53
55
|
* ID of the related transaction. For example, if this transaction is a refund for a benefit redemption, the related transaction is the benefit redemption transaction.
|
|
54
56
|
* @format GUID
|
|
55
57
|
* @readonly
|
|
58
|
+
* @immutable
|
|
56
59
|
*/
|
|
57
60
|
relatedTransactionId?: string | null;
|
|
58
61
|
/**
|
|
@@ -60,6 +63,7 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
60
63
|
* @internal
|
|
61
64
|
* @format GUID
|
|
62
65
|
* @readonly
|
|
66
|
+
* @immutable
|
|
63
67
|
*/
|
|
64
68
|
correlationId?: string | null;
|
|
65
69
|
/**
|
|
@@ -271,11 +275,13 @@ interface TransactionDetails {
|
|
|
271
275
|
/**
|
|
272
276
|
* Date and time the transaction was created.
|
|
273
277
|
* @readonly
|
|
278
|
+
* @immutable
|
|
274
279
|
*/
|
|
275
280
|
effectiveDate?: Date | null;
|
|
276
281
|
/**
|
|
277
282
|
* Reason for the transaction. For example, `Redemption`.
|
|
278
283
|
* @readonly
|
|
284
|
+
* @immutable
|
|
279
285
|
* @maxLength 256
|
|
280
286
|
*/
|
|
281
287
|
reason?: string | null;
|
|
@@ -320,7 +326,7 @@ interface Item {
|
|
|
320
326
|
itemSetId?: string | null;
|
|
321
327
|
/**
|
|
322
328
|
* Item name.
|
|
323
|
-
* @maxLength
|
|
329
|
+
* @maxLength 400
|
|
324
330
|
* @readonly
|
|
325
331
|
*/
|
|
326
332
|
displayName?: string | null;
|
|
@@ -370,6 +376,203 @@ interface FailedTransactionDetails {
|
|
|
370
376
|
*/
|
|
371
377
|
errorMessage?: string | null;
|
|
372
378
|
}
|
|
379
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
380
|
+
createdEvent?: EntityCreatedEvent;
|
|
381
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
382
|
+
deletedEvent?: EntityDeletedEvent;
|
|
383
|
+
actionEvent?: ActionEvent;
|
|
384
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
385
|
+
id?: string;
|
|
386
|
+
/**
|
|
387
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
388
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
389
|
+
*/
|
|
390
|
+
entityFqdn?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
393
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
394
|
+
*/
|
|
395
|
+
slug?: string;
|
|
396
|
+
/** ID of the entity associated with the event. */
|
|
397
|
+
entityId?: string;
|
|
398
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
399
|
+
eventTime?: Date | null;
|
|
400
|
+
/**
|
|
401
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
402
|
+
* (for example, GDPR).
|
|
403
|
+
*/
|
|
404
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
405
|
+
/** If present, indicates the action that triggered the event. */
|
|
406
|
+
originatedFrom?: string | null;
|
|
407
|
+
/**
|
|
408
|
+
* 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.
|
|
409
|
+
* 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.
|
|
410
|
+
*/
|
|
411
|
+
entityEventSequence?: string | null;
|
|
412
|
+
}
|
|
413
|
+
/** @oneof */
|
|
414
|
+
interface DomainEventBodyOneOf {
|
|
415
|
+
createdEvent?: EntityCreatedEvent;
|
|
416
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
417
|
+
deletedEvent?: EntityDeletedEvent;
|
|
418
|
+
actionEvent?: ActionEvent;
|
|
419
|
+
}
|
|
420
|
+
interface EntityCreatedEvent {
|
|
421
|
+
entityAsJson?: string;
|
|
422
|
+
/**
|
|
423
|
+
* Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
|
|
424
|
+
* @internal
|
|
425
|
+
*/
|
|
426
|
+
triggeredByUndelete?: boolean | null;
|
|
427
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
428
|
+
restoreInfo?: RestoreInfo;
|
|
429
|
+
/**
|
|
430
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
431
|
+
* @internal
|
|
432
|
+
*/
|
|
433
|
+
additionalMetadataAsJson?: string | null;
|
|
434
|
+
}
|
|
435
|
+
interface RestoreInfo {
|
|
436
|
+
deletedDate?: Date | null;
|
|
437
|
+
}
|
|
438
|
+
interface EntityUpdatedEvent {
|
|
439
|
+
/**
|
|
440
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
441
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
442
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
443
|
+
*/
|
|
444
|
+
currentEntityAsJson?: string;
|
|
445
|
+
/**
|
|
446
|
+
* This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
|
|
447
|
+
* wont populate it / have any reference to it in the API.
|
|
448
|
+
* 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,
|
|
449
|
+
* the developer should send only the new (current) entity.
|
|
450
|
+
* An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
|
|
451
|
+
* Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
|
|
452
|
+
* @internal
|
|
453
|
+
* @deprecated
|
|
454
|
+
*/
|
|
455
|
+
previousEntityAsJson?: string | null;
|
|
456
|
+
/**
|
|
457
|
+
* Map of fully qualified field paths to their previous values for fields that changed.
|
|
458
|
+
* 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)
|
|
459
|
+
* @internal
|
|
460
|
+
*/
|
|
461
|
+
modifiedFields?: Record<string, any>;
|
|
462
|
+
/**
|
|
463
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
464
|
+
* @internal
|
|
465
|
+
*/
|
|
466
|
+
additionalMetadataAsJson?: string | null;
|
|
467
|
+
}
|
|
468
|
+
interface EntityDeletedEvent {
|
|
469
|
+
/**
|
|
470
|
+
* Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
|
|
471
|
+
* @internal
|
|
472
|
+
*/
|
|
473
|
+
movedToTrash?: boolean | null;
|
|
474
|
+
/** Entity that was deleted. */
|
|
475
|
+
deletedEntityAsJson?: string | null;
|
|
476
|
+
/**
|
|
477
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
478
|
+
* @internal
|
|
479
|
+
*/
|
|
480
|
+
additionalMetadataAsJson?: string | null;
|
|
481
|
+
}
|
|
482
|
+
interface ActionEvent {
|
|
483
|
+
bodyAsJson?: string;
|
|
484
|
+
}
|
|
485
|
+
interface MessageEnvelope {
|
|
486
|
+
/**
|
|
487
|
+
* App instance ID.
|
|
488
|
+
* @format GUID
|
|
489
|
+
*/
|
|
490
|
+
instanceId?: string | null;
|
|
491
|
+
/**
|
|
492
|
+
* Event type.
|
|
493
|
+
* @maxLength 150
|
|
494
|
+
*/
|
|
495
|
+
eventType?: string;
|
|
496
|
+
/** The identification type and identity data. */
|
|
497
|
+
identity?: IdentificationData;
|
|
498
|
+
/** Stringify payload. */
|
|
499
|
+
data?: string;
|
|
500
|
+
/** Details related to the account */
|
|
501
|
+
accountInfo?: AccountInfo;
|
|
502
|
+
}
|
|
503
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
504
|
+
/**
|
|
505
|
+
* ID of a site visitor that has not logged in to the site.
|
|
506
|
+
* @format GUID
|
|
507
|
+
*/
|
|
508
|
+
anonymousVisitorId?: string;
|
|
509
|
+
/**
|
|
510
|
+
* ID of a site visitor that has logged in to the site.
|
|
511
|
+
* @format GUID
|
|
512
|
+
*/
|
|
513
|
+
memberId?: string;
|
|
514
|
+
/**
|
|
515
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
516
|
+
* @format GUID
|
|
517
|
+
*/
|
|
518
|
+
wixUserId?: string;
|
|
519
|
+
/**
|
|
520
|
+
* ID of an app.
|
|
521
|
+
* @format GUID
|
|
522
|
+
*/
|
|
523
|
+
appId?: string;
|
|
524
|
+
/** @readonly */
|
|
525
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
526
|
+
}
|
|
527
|
+
/** @oneof */
|
|
528
|
+
interface IdentificationDataIdOneOf {
|
|
529
|
+
/**
|
|
530
|
+
* ID of a site visitor that has not logged in to the site.
|
|
531
|
+
* @format GUID
|
|
532
|
+
*/
|
|
533
|
+
anonymousVisitorId?: string;
|
|
534
|
+
/**
|
|
535
|
+
* ID of a site visitor that has logged in to the site.
|
|
536
|
+
* @format GUID
|
|
537
|
+
*/
|
|
538
|
+
memberId?: string;
|
|
539
|
+
/**
|
|
540
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
541
|
+
* @format GUID
|
|
542
|
+
*/
|
|
543
|
+
wixUserId?: string;
|
|
544
|
+
/**
|
|
545
|
+
* ID of an app.
|
|
546
|
+
* @format GUID
|
|
547
|
+
*/
|
|
548
|
+
appId?: string;
|
|
549
|
+
}
|
|
550
|
+
declare enum WebhookIdentityType {
|
|
551
|
+
UNKNOWN = "UNKNOWN",
|
|
552
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
553
|
+
MEMBER = "MEMBER",
|
|
554
|
+
WIX_USER = "WIX_USER",
|
|
555
|
+
APP = "APP"
|
|
556
|
+
}
|
|
557
|
+
/** @enumType */
|
|
558
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
559
|
+
interface AccountInfo {
|
|
560
|
+
/**
|
|
561
|
+
* ID of the Wix account associated with the event.
|
|
562
|
+
* @format GUID
|
|
563
|
+
*/
|
|
564
|
+
accountId?: string | null;
|
|
565
|
+
/**
|
|
566
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
567
|
+
* @format GUID
|
|
568
|
+
*/
|
|
569
|
+
parentAccountId?: string | null;
|
|
570
|
+
/**
|
|
571
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
572
|
+
* @format GUID
|
|
573
|
+
*/
|
|
574
|
+
siteId?: string | null;
|
|
575
|
+
}
|
|
373
576
|
interface CreateTransactionRequest {
|
|
374
577
|
/** Transaction to create. */
|
|
375
578
|
transaction?: Transaction;
|
|
@@ -627,203 +830,6 @@ interface HealTransactionTenantRequest {
|
|
|
627
830
|
}
|
|
628
831
|
interface HealTransactionTenantResponse {
|
|
629
832
|
}
|
|
630
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
631
|
-
createdEvent?: EntityCreatedEvent;
|
|
632
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
633
|
-
deletedEvent?: EntityDeletedEvent;
|
|
634
|
-
actionEvent?: ActionEvent;
|
|
635
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
636
|
-
id?: string;
|
|
637
|
-
/**
|
|
638
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
639
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
640
|
-
*/
|
|
641
|
-
entityFqdn?: string;
|
|
642
|
-
/**
|
|
643
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
644
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
645
|
-
*/
|
|
646
|
-
slug?: string;
|
|
647
|
-
/** ID of the entity associated with the event. */
|
|
648
|
-
entityId?: string;
|
|
649
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
650
|
-
eventTime?: Date | null;
|
|
651
|
-
/**
|
|
652
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
653
|
-
* (for example, GDPR).
|
|
654
|
-
*/
|
|
655
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
656
|
-
/** If present, indicates the action that triggered the event. */
|
|
657
|
-
originatedFrom?: string | null;
|
|
658
|
-
/**
|
|
659
|
-
* 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.
|
|
660
|
-
* 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.
|
|
661
|
-
*/
|
|
662
|
-
entityEventSequence?: string | null;
|
|
663
|
-
}
|
|
664
|
-
/** @oneof */
|
|
665
|
-
interface DomainEventBodyOneOf {
|
|
666
|
-
createdEvent?: EntityCreatedEvent;
|
|
667
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
668
|
-
deletedEvent?: EntityDeletedEvent;
|
|
669
|
-
actionEvent?: ActionEvent;
|
|
670
|
-
}
|
|
671
|
-
interface EntityCreatedEvent {
|
|
672
|
-
entityAsJson?: string;
|
|
673
|
-
/**
|
|
674
|
-
* Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
|
|
675
|
-
* @internal
|
|
676
|
-
*/
|
|
677
|
-
triggeredByUndelete?: boolean | null;
|
|
678
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
679
|
-
restoreInfo?: RestoreInfo;
|
|
680
|
-
/**
|
|
681
|
-
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
682
|
-
* @internal
|
|
683
|
-
*/
|
|
684
|
-
additionalMetadataAsJson?: string | null;
|
|
685
|
-
}
|
|
686
|
-
interface RestoreInfo {
|
|
687
|
-
deletedDate?: Date | null;
|
|
688
|
-
}
|
|
689
|
-
interface EntityUpdatedEvent {
|
|
690
|
-
/**
|
|
691
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
692
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
693
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
694
|
-
*/
|
|
695
|
-
currentEntityAsJson?: string;
|
|
696
|
-
/**
|
|
697
|
-
* This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
|
|
698
|
-
* wont populate it / have any reference to it in the API.
|
|
699
|
-
* 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,
|
|
700
|
-
* the developer should send only the new (current) entity.
|
|
701
|
-
* An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
|
|
702
|
-
* Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
|
|
703
|
-
* @internal
|
|
704
|
-
* @deprecated
|
|
705
|
-
*/
|
|
706
|
-
previousEntityAsJson?: string | null;
|
|
707
|
-
/**
|
|
708
|
-
* Map of fully qualified field paths to their previous values for fields that changed.
|
|
709
|
-
* 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)
|
|
710
|
-
* @internal
|
|
711
|
-
*/
|
|
712
|
-
modifiedFields?: Record<string, any>;
|
|
713
|
-
/**
|
|
714
|
-
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
715
|
-
* @internal
|
|
716
|
-
*/
|
|
717
|
-
additionalMetadataAsJson?: string | null;
|
|
718
|
-
}
|
|
719
|
-
interface EntityDeletedEvent {
|
|
720
|
-
/**
|
|
721
|
-
* Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
|
|
722
|
-
* @internal
|
|
723
|
-
*/
|
|
724
|
-
movedToTrash?: boolean | null;
|
|
725
|
-
/** Entity that was deleted. */
|
|
726
|
-
deletedEntityAsJson?: string | null;
|
|
727
|
-
/**
|
|
728
|
-
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
729
|
-
* @internal
|
|
730
|
-
*/
|
|
731
|
-
additionalMetadataAsJson?: string | null;
|
|
732
|
-
}
|
|
733
|
-
interface ActionEvent {
|
|
734
|
-
bodyAsJson?: string;
|
|
735
|
-
}
|
|
736
|
-
interface MessageEnvelope {
|
|
737
|
-
/**
|
|
738
|
-
* App instance ID.
|
|
739
|
-
* @format GUID
|
|
740
|
-
*/
|
|
741
|
-
instanceId?: string | null;
|
|
742
|
-
/**
|
|
743
|
-
* Event type.
|
|
744
|
-
* @maxLength 150
|
|
745
|
-
*/
|
|
746
|
-
eventType?: string;
|
|
747
|
-
/** The identification type and identity data. */
|
|
748
|
-
identity?: IdentificationData;
|
|
749
|
-
/** Stringify payload. */
|
|
750
|
-
data?: string;
|
|
751
|
-
/** Details related to the account */
|
|
752
|
-
accountInfo?: AccountInfo;
|
|
753
|
-
}
|
|
754
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
755
|
-
/**
|
|
756
|
-
* ID of a site visitor that has not logged in to the site.
|
|
757
|
-
* @format GUID
|
|
758
|
-
*/
|
|
759
|
-
anonymousVisitorId?: string;
|
|
760
|
-
/**
|
|
761
|
-
* ID of a site visitor that has logged in to the site.
|
|
762
|
-
* @format GUID
|
|
763
|
-
*/
|
|
764
|
-
memberId?: string;
|
|
765
|
-
/**
|
|
766
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
767
|
-
* @format GUID
|
|
768
|
-
*/
|
|
769
|
-
wixUserId?: string;
|
|
770
|
-
/**
|
|
771
|
-
* ID of an app.
|
|
772
|
-
* @format GUID
|
|
773
|
-
*/
|
|
774
|
-
appId?: string;
|
|
775
|
-
/** @readonly */
|
|
776
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
777
|
-
}
|
|
778
|
-
/** @oneof */
|
|
779
|
-
interface IdentificationDataIdOneOf {
|
|
780
|
-
/**
|
|
781
|
-
* ID of a site visitor that has not logged in to the site.
|
|
782
|
-
* @format GUID
|
|
783
|
-
*/
|
|
784
|
-
anonymousVisitorId?: string;
|
|
785
|
-
/**
|
|
786
|
-
* ID of a site visitor that has logged in to the site.
|
|
787
|
-
* @format GUID
|
|
788
|
-
*/
|
|
789
|
-
memberId?: string;
|
|
790
|
-
/**
|
|
791
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
792
|
-
* @format GUID
|
|
793
|
-
*/
|
|
794
|
-
wixUserId?: string;
|
|
795
|
-
/**
|
|
796
|
-
* ID of an app.
|
|
797
|
-
* @format GUID
|
|
798
|
-
*/
|
|
799
|
-
appId?: string;
|
|
800
|
-
}
|
|
801
|
-
declare enum WebhookIdentityType {
|
|
802
|
-
UNKNOWN = "UNKNOWN",
|
|
803
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
804
|
-
MEMBER = "MEMBER",
|
|
805
|
-
WIX_USER = "WIX_USER",
|
|
806
|
-
APP = "APP"
|
|
807
|
-
}
|
|
808
|
-
/** @enumType */
|
|
809
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
810
|
-
interface AccountInfo {
|
|
811
|
-
/**
|
|
812
|
-
* ID of the Wix account associated with the event.
|
|
813
|
-
* @format GUID
|
|
814
|
-
*/
|
|
815
|
-
accountId?: string | null;
|
|
816
|
-
/**
|
|
817
|
-
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
818
|
-
* @format GUID
|
|
819
|
-
*/
|
|
820
|
-
parentAccountId?: string | null;
|
|
821
|
-
/**
|
|
822
|
-
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
823
|
-
* @format GUID
|
|
824
|
-
*/
|
|
825
|
-
siteId?: string | null;
|
|
826
|
-
}
|
|
827
833
|
|
|
828
834
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
829
835
|
getUrl: (context: any) => string;
|
|
@@ -210,11 +210,6 @@ var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
|
|
|
210
210
|
TransactionStatus2["FAILED"] = "FAILED";
|
|
211
211
|
return TransactionStatus2;
|
|
212
212
|
})(TransactionStatus || {});
|
|
213
|
-
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
214
|
-
SortOrder2["ASC"] = "ASC";
|
|
215
|
-
SortOrder2["DESC"] = "DESC";
|
|
216
|
-
return SortOrder2;
|
|
217
|
-
})(SortOrder || {});
|
|
218
213
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
219
214
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
220
215
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -223,6 +218,11 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
223
218
|
WebhookIdentityType2["APP"] = "APP";
|
|
224
219
|
return WebhookIdentityType2;
|
|
225
220
|
})(WebhookIdentityType || {});
|
|
221
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
222
|
+
SortOrder2["ASC"] = "ASC";
|
|
223
|
+
SortOrder2["DESC"] = "DESC";
|
|
224
|
+
return SortOrder2;
|
|
225
|
+
})(SortOrder || {});
|
|
226
226
|
|
|
227
227
|
// src/benefit-programs-v1-transaction-transactions.meta.ts
|
|
228
228
|
function getTransaction2() {
|