@wix/auto_sdk_benefit-programs_items 1.0.30 → 1.0.32
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 +1 -126
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +1 -126
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +217 -1
- package/build/cjs/meta.js +28 -126
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +1 -126
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +1 -126
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +217 -1
- package/build/es/meta.mjs +25 -126
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +1 -126
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +1 -126
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +217 -1
- package/build/internal/cjs/meta.js +28 -126
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +1 -126
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +1 -126
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +217 -1
- package/build/internal/es/meta.mjs +25 -126
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -87,6 +87,13 @@ interface ExtendedFields {
|
|
|
87
87
|
*/
|
|
88
88
|
namespaces?: Record<string, Record<string, any>>;
|
|
89
89
|
}
|
|
90
|
+
interface ItemsCloned {
|
|
91
|
+
/**
|
|
92
|
+
* ID of the pool that had its items provisioned
|
|
93
|
+
* @format GUID
|
|
94
|
+
*/
|
|
95
|
+
itemSetId?: string;
|
|
96
|
+
}
|
|
90
97
|
interface CreateItemRequest {
|
|
91
98
|
/** Item to create. */
|
|
92
99
|
item: Item;
|
|
@@ -447,6 +454,215 @@ interface CountItemsResponse {
|
|
|
447
454
|
/** Number of items fulfilling the specified filter conditions. */
|
|
448
455
|
count?: number;
|
|
449
456
|
}
|
|
457
|
+
interface CloneItemsRequest {
|
|
458
|
+
/**
|
|
459
|
+
* Id of the item set to be cloned
|
|
460
|
+
* @format GUID
|
|
461
|
+
*/
|
|
462
|
+
itemSetId?: string;
|
|
463
|
+
}
|
|
464
|
+
interface CloneItemsResponse {
|
|
465
|
+
/**
|
|
466
|
+
* Id of the item set that these items were added to
|
|
467
|
+
* @format GUID
|
|
468
|
+
*/
|
|
469
|
+
clonedItemSetId?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Id of the job that is cloning the item set
|
|
472
|
+
* @format GUID
|
|
473
|
+
*/
|
|
474
|
+
cloneJobId?: string;
|
|
475
|
+
}
|
|
476
|
+
interface BulkCloneItemSetsRequest {
|
|
477
|
+
/**
|
|
478
|
+
* Id of the item sets to be cloned
|
|
479
|
+
* @format GUID
|
|
480
|
+
* @minSize 1
|
|
481
|
+
* @maxSize 1000
|
|
482
|
+
*/
|
|
483
|
+
itemSetIds?: string[];
|
|
484
|
+
}
|
|
485
|
+
interface BulkCloneItemSetsResponse {
|
|
486
|
+
/**
|
|
487
|
+
* Results
|
|
488
|
+
* @minSize 1
|
|
489
|
+
* @maxSize 1000
|
|
490
|
+
*/
|
|
491
|
+
results?: BulkCloneItemSetsResult[];
|
|
492
|
+
/** Bulk action metadata */
|
|
493
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
494
|
+
/**
|
|
495
|
+
* Id of the job that is cloning the item set
|
|
496
|
+
* @format GUID
|
|
497
|
+
*/
|
|
498
|
+
jobId?: string;
|
|
499
|
+
}
|
|
500
|
+
interface BulkCloneItemSetsResult {
|
|
501
|
+
/** Item metadata */
|
|
502
|
+
itemMetadata?: ItemMetadata;
|
|
503
|
+
/**
|
|
504
|
+
* Id of the item set that these items were added to
|
|
505
|
+
* @format GUID
|
|
506
|
+
*/
|
|
507
|
+
clonedItemSetId?: string;
|
|
508
|
+
}
|
|
509
|
+
interface AllocateItemSetsRequest {
|
|
510
|
+
/**
|
|
511
|
+
* Number of sets to allocate
|
|
512
|
+
* @min 1
|
|
513
|
+
* @max 1000
|
|
514
|
+
*/
|
|
515
|
+
numberOfSets?: number;
|
|
516
|
+
}
|
|
517
|
+
interface AllocateItemSetsResponse {
|
|
518
|
+
/**
|
|
519
|
+
* ID that is a shared reference between a benefit pool and a specific item.
|
|
520
|
+
* @format GUID
|
|
521
|
+
*/
|
|
522
|
+
itemSetIds?: string[];
|
|
523
|
+
}
|
|
524
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
525
|
+
createdEvent?: EntityCreatedEvent;
|
|
526
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
527
|
+
deletedEvent?: EntityDeletedEvent;
|
|
528
|
+
actionEvent?: ActionEvent;
|
|
529
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
530
|
+
id?: string;
|
|
531
|
+
/**
|
|
532
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
533
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
534
|
+
*/
|
|
535
|
+
entityFqdn?: string;
|
|
536
|
+
/**
|
|
537
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
538
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
539
|
+
*/
|
|
540
|
+
slug?: string;
|
|
541
|
+
/** ID of the entity associated with the event. */
|
|
542
|
+
entityId?: string;
|
|
543
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
544
|
+
eventTime?: Date | null;
|
|
545
|
+
/**
|
|
546
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
547
|
+
* (for example, GDPR).
|
|
548
|
+
*/
|
|
549
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
550
|
+
/** If present, indicates the action that triggered the event. */
|
|
551
|
+
originatedFrom?: string | null;
|
|
552
|
+
/**
|
|
553
|
+
* 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.
|
|
554
|
+
* 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.
|
|
555
|
+
*/
|
|
556
|
+
entityEventSequence?: string | null;
|
|
557
|
+
}
|
|
558
|
+
/** @oneof */
|
|
559
|
+
interface DomainEventBodyOneOf {
|
|
560
|
+
createdEvent?: EntityCreatedEvent;
|
|
561
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
562
|
+
deletedEvent?: EntityDeletedEvent;
|
|
563
|
+
actionEvent?: ActionEvent;
|
|
564
|
+
}
|
|
565
|
+
interface EntityCreatedEvent {
|
|
566
|
+
entityAsJson?: string;
|
|
567
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
568
|
+
restoreInfo?: RestoreInfo;
|
|
569
|
+
}
|
|
570
|
+
interface RestoreInfo {
|
|
571
|
+
deletedDate?: Date | null;
|
|
572
|
+
}
|
|
573
|
+
interface EntityUpdatedEvent {
|
|
574
|
+
/**
|
|
575
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
576
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
577
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
578
|
+
*/
|
|
579
|
+
currentEntityAsJson?: string;
|
|
580
|
+
}
|
|
581
|
+
interface EntityDeletedEvent {
|
|
582
|
+
/** Entity that was deleted. */
|
|
583
|
+
deletedEntityAsJson?: string | null;
|
|
584
|
+
}
|
|
585
|
+
interface ActionEvent {
|
|
586
|
+
bodyAsJson?: string;
|
|
587
|
+
}
|
|
588
|
+
interface MessageEnvelope {
|
|
589
|
+
/**
|
|
590
|
+
* App instance ID.
|
|
591
|
+
* @format GUID
|
|
592
|
+
*/
|
|
593
|
+
instanceId?: string | null;
|
|
594
|
+
/**
|
|
595
|
+
* Event type.
|
|
596
|
+
* @maxLength 150
|
|
597
|
+
*/
|
|
598
|
+
eventType?: string;
|
|
599
|
+
/** The identification type and identity data. */
|
|
600
|
+
identity?: IdentificationData;
|
|
601
|
+
/** Stringify payload. */
|
|
602
|
+
data?: string;
|
|
603
|
+
}
|
|
604
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
605
|
+
/**
|
|
606
|
+
* ID of a site visitor that has not logged in to the site.
|
|
607
|
+
* @format GUID
|
|
608
|
+
*/
|
|
609
|
+
anonymousVisitorId?: string;
|
|
610
|
+
/**
|
|
611
|
+
* ID of a site visitor that has logged in to the site.
|
|
612
|
+
* @format GUID
|
|
613
|
+
*/
|
|
614
|
+
memberId?: string;
|
|
615
|
+
/**
|
|
616
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
617
|
+
* @format GUID
|
|
618
|
+
*/
|
|
619
|
+
wixUserId?: string;
|
|
620
|
+
/**
|
|
621
|
+
* ID of an app.
|
|
622
|
+
* @format GUID
|
|
623
|
+
*/
|
|
624
|
+
appId?: string;
|
|
625
|
+
/** @readonly */
|
|
626
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
627
|
+
}
|
|
628
|
+
/** @oneof */
|
|
629
|
+
interface IdentificationDataIdOneOf {
|
|
630
|
+
/**
|
|
631
|
+
* ID of a site visitor that has not logged in to the site.
|
|
632
|
+
* @format GUID
|
|
633
|
+
*/
|
|
634
|
+
anonymousVisitorId?: string;
|
|
635
|
+
/**
|
|
636
|
+
* ID of a site visitor that has logged in to the site.
|
|
637
|
+
* @format GUID
|
|
638
|
+
*/
|
|
639
|
+
memberId?: string;
|
|
640
|
+
/**
|
|
641
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
642
|
+
* @format GUID
|
|
643
|
+
*/
|
|
644
|
+
wixUserId?: string;
|
|
645
|
+
/**
|
|
646
|
+
* ID of an app.
|
|
647
|
+
* @format GUID
|
|
648
|
+
*/
|
|
649
|
+
appId?: string;
|
|
650
|
+
}
|
|
651
|
+
declare enum WebhookIdentityType {
|
|
652
|
+
UNKNOWN = "UNKNOWN",
|
|
653
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
654
|
+
MEMBER = "MEMBER",
|
|
655
|
+
WIX_USER = "WIX_USER",
|
|
656
|
+
APP = "APP"
|
|
657
|
+
}
|
|
658
|
+
/** @enumType */
|
|
659
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
660
|
+
/** @docsIgnore */
|
|
661
|
+
type CountItemsApplicationErrors = {
|
|
662
|
+
code?: 'TOO_MANY_TO_COUNT';
|
|
663
|
+
description?: string;
|
|
664
|
+
data?: Record<string, any>;
|
|
665
|
+
};
|
|
450
666
|
|
|
451
667
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
452
668
|
getUrl: (context: any) => string;
|
|
@@ -476,4 +692,4 @@ declare function listItems(): __PublicMethodMetaInfo<'GET', {}, ListItemsRequest
|
|
|
476
692
|
declare function queryItems(): __PublicMethodMetaInfo<'POST', {}, QueryItemsRequest$1, QueryItemsRequest, QueryItemsResponse$1, QueryItemsResponse>;
|
|
477
693
|
declare function countItems(): __PublicMethodMetaInfo<'POST', {}, CountItemsRequest$1, CountItemsRequest, CountItemsResponse$1, CountItemsResponse>;
|
|
478
694
|
|
|
479
|
-
export { type __PublicMethodMetaInfo, bulkCreateItems, bulkDeleteItems, bulkDeleteItemsByFilter, bulkUpdateItems, countItems, createItem, deleteItem, getItem, listItems, queryItems, updateItem };
|
|
695
|
+
export { type ActionEvent as ActionEventOriginal, type AllocateItemSetsRequest as AllocateItemSetsRequestOriginal, type AllocateItemSetsResponse as AllocateItemSetsResponseOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCloneItemSetsRequest as BulkCloneItemSetsRequestOriginal, type BulkCloneItemSetsResponse as BulkCloneItemSetsResponseOriginal, type BulkCloneItemSetsResult as BulkCloneItemSetsResultOriginal, type BulkCreateItemsRequest as BulkCreateItemsRequestOriginal, type BulkCreateItemsResponse as BulkCreateItemsResponseOriginal, type BulkDeleteItemsByFilterRequest as BulkDeleteItemsByFilterRequestOriginal, type BulkDeleteItemsByFilterResponse as BulkDeleteItemsByFilterResponseOriginal, type BulkDeleteItemsRequest as BulkDeleteItemsRequestOriginal, type BulkDeleteItemsResponse as BulkDeleteItemsResponseOriginal, type BulkItemResult as BulkItemResultOriginal, type BulkUpdateItemsRequest as BulkUpdateItemsRequestOriginal, type BulkUpdateItemsResponse as BulkUpdateItemsResponseOriginal, type ByItemSetIdAndReferenceFilter as ByItemSetIdAndReferenceFilterOriginal, type ByItemSetIdAndReference as ByItemSetIdAndReferenceOriginal, type ByReferenceFilter as ByReferenceFilterOriginal, type ByReference as ByReferenceOriginal, type CloneItemsRequest as CloneItemsRequestOriginal, type CloneItemsResponse as CloneItemsResponseOriginal, type CountItemsApplicationErrors as CountItemsApplicationErrorsOriginal, type CountItemsRequest as CountItemsRequestOriginal, type CountItemsResponse as CountItemsResponseOriginal, type CreateItemRequest as CreateItemRequestOriginal, type CreateItemResponse as CreateItemResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteItemRequest as DeleteItemRequestOriginal, type DeleteItemResponse as DeleteItemResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FilterFilterOneOf as FilterFilterOneOfOriginal, type Filter as FilterOriginal, type GetItemRequest as GetItemRequestOriginal, type GetItemResponse as GetItemResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemsCloned as ItemsClonedOriginal, type ListItemsRequest as ListItemsRequestOriginal, type ListItemsResponse as ListItemsResponseOriginal, type MaskedItem as MaskedItemOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type QueryItemsRequest as QueryItemsRequestOriginal, type QueryItemsResponse as QueryItemsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateItemRequest as UpdateItemRequestOriginal, type UpdateItemResponse as UpdateItemResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateItems, bulkDeleteItems, bulkDeleteItemsByFilter, bulkUpdateItems, countItems, createItem, deleteItem, getItem, listItems, queryItems, updateItem };
|
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
SortOrderOriginal: () => SortOrder,
|
|
24
|
+
TypeOriginal: () => Type,
|
|
25
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
23
26
|
bulkCreateItems: () => bulkCreateItems2,
|
|
24
27
|
bulkDeleteItems: () => bulkDeleteItems2,
|
|
25
28
|
bulkDeleteItemsByFilter: () => bulkDeleteItemsByFilter2,
|
|
@@ -42,132 +45,7 @@ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
|
42
45
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
43
46
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
44
47
|
function resolveWixBenefitProgramsV1ItemItemServiceUrl(opts) {
|
|
45
|
-
const domainToMappings = {
|
|
46
|
-
_: [
|
|
47
|
-
{
|
|
48
|
-
srcPath: "/_api/benefit-programs-items",
|
|
49
|
-
destPath: ""
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
srcPath: "/_api/benefit-programs/v1/items",
|
|
53
|
-
destPath: "/v1/items"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
srcPath: "/_api/benefit-programs/v1/bulk/items",
|
|
57
|
-
destPath: "/v1/bulk/items"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"editor._base_domain_": [
|
|
61
|
-
{
|
|
62
|
-
srcPath: "/_api/benefit-programs-items",
|
|
63
|
-
destPath: ""
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
srcPath: "/_api/benefit-programs/v1/items",
|
|
67
|
-
destPath: "/v1/items"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
srcPath: "/_api/benefit-programs/v1/bulk/items",
|
|
71
|
-
destPath: "/v1/bulk/items"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"blocks._base_domain_": [
|
|
75
|
-
{
|
|
76
|
-
srcPath: "/_api/benefit-programs-items",
|
|
77
|
-
destPath: ""
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
srcPath: "/_api/benefit-programs/v1/items",
|
|
81
|
-
destPath: "/v1/items"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
srcPath: "/_api/benefit-programs/v1/bulk/items",
|
|
85
|
-
destPath: "/v1/bulk/items"
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
"create.editorx": [
|
|
89
|
-
{
|
|
90
|
-
srcPath: "/_api/benefit-programs-items",
|
|
91
|
-
destPath: ""
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
srcPath: "/_api/benefit-programs/v1/items",
|
|
95
|
-
destPath: "/v1/items"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
srcPath: "/_api/benefit-programs/v1/bulk/items",
|
|
99
|
-
destPath: "/v1/bulk/items"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
"editor.wixapps.net": [
|
|
103
|
-
{
|
|
104
|
-
srcPath: "/_api/benefit-programs-items",
|
|
105
|
-
destPath: ""
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
srcPath: "/_api/benefit-programs/v1/bulk/items",
|
|
109
|
-
destPath: "/v1/bulk/items"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
srcPath: "/_api/benefit-programs/v1/items",
|
|
113
|
-
destPath: "/v1/items"
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"manage._base_domain_": [
|
|
117
|
-
{
|
|
118
|
-
srcPath: "/_api/benefit-programs-items",
|
|
119
|
-
destPath: ""
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
srcPath: "/_api/benefit-programs/v1/items",
|
|
123
|
-
destPath: "/v1/items"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
srcPath: "/_api/benefit-programs/v1/bulk/items",
|
|
127
|
-
destPath: "/v1/bulk/items"
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"www._base_domain_": [
|
|
131
|
-
{
|
|
132
|
-
srcPath: "/_api/benefit-programs-items",
|
|
133
|
-
destPath: ""
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
srcPath: "/_api/benefit-programs/v1/items",
|
|
137
|
-
destPath: "/v1/items"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
srcPath: "/_api/benefit-programs/v1/bulk/items",
|
|
141
|
-
destPath: "/v1/bulk/items"
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
"api._api_base_domain_": [
|
|
145
|
-
{
|
|
146
|
-
srcPath: "/benefit-programs-items",
|
|
147
|
-
destPath: ""
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
"www.wixapis.com": [
|
|
151
|
-
{
|
|
152
|
-
srcPath: "/benefit-programs/v1/items",
|
|
153
|
-
destPath: "/v1/items"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
srcPath: "/benefit-programs/v1/bulk/items",
|
|
157
|
-
destPath: "/v1/bulk/items"
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
"*.dev.wix-code.com": [
|
|
161
|
-
{
|
|
162
|
-
srcPath: "/_api/benefit-programs/v1/items",
|
|
163
|
-
destPath: "/v1/items"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
srcPath: "/_api/benefit-programs/v1/bulk/items",
|
|
167
|
-
destPath: "/v1/bulk/items"
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
};
|
|
48
|
+
const domainToMappings = {};
|
|
171
49
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
172
50
|
}
|
|
173
51
|
var PACKAGE_NAME = "@wix/auto_sdk_benefit-programs_items";
|
|
@@ -501,6 +379,27 @@ function countItems(payload) {
|
|
|
501
379
|
return __countItems;
|
|
502
380
|
}
|
|
503
381
|
|
|
382
|
+
// src/benefit-programs-v1-item-items.types.ts
|
|
383
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
384
|
+
Type2["UNKNOWN_FILTER"] = "UNKNOWN_FILTER";
|
|
385
|
+
Type2["BY_ITEM_SET_ID_AND_REFERENCE"] = "BY_ITEM_SET_ID_AND_REFERENCE";
|
|
386
|
+
Type2["BY_REFERENCE"] = "BY_REFERENCE";
|
|
387
|
+
return Type2;
|
|
388
|
+
})(Type || {});
|
|
389
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
390
|
+
SortOrder2["ASC"] = "ASC";
|
|
391
|
+
SortOrder2["DESC"] = "DESC";
|
|
392
|
+
return SortOrder2;
|
|
393
|
+
})(SortOrder || {});
|
|
394
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
395
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
396
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
397
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
398
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
399
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
400
|
+
return WebhookIdentityType2;
|
|
401
|
+
})(WebhookIdentityType || {});
|
|
402
|
+
|
|
504
403
|
// src/benefit-programs-v1-item-items.meta.ts
|
|
505
404
|
function createItem2() {
|
|
506
405
|
const payload = {};
|
|
@@ -702,6 +601,9 @@ function countItems2() {
|
|
|
702
601
|
}
|
|
703
602
|
// Annotate the CommonJS export names for ESM import in node:
|
|
704
603
|
0 && (module.exports = {
|
|
604
|
+
SortOrderOriginal,
|
|
605
|
+
TypeOriginal,
|
|
606
|
+
WebhookIdentityTypeOriginal,
|
|
705
607
|
bulkCreateItems,
|
|
706
608
|
bulkDeleteItems,
|
|
707
609
|
bulkDeleteItemsByFilter,
|