@wix/auto_sdk_benefit-programs_items 1.0.29 → 1.0.31

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.
@@ -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 };
@@ -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,
@@ -184,6 +187,9 @@ function createItem(payload) {
184
187
  method: "POST",
185
188
  methodFqn: "wix.benefit_programs.v1.item.ItemService.CreateItem",
186
189
  packageName: PACKAGE_NAME,
190
+ migrationOptions: {
191
+ optInTransformResponse: true
192
+ },
187
193
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
188
194
  protoPath: "/v1/items",
189
195
  data: serializedData,
@@ -214,6 +220,9 @@ function bulkCreateItems(payload) {
214
220
  method: "POST",
215
221
  methodFqn: "wix.benefit_programs.v1.item.ItemService.BulkCreateItems",
216
222
  packageName: PACKAGE_NAME,
223
+ migrationOptions: {
224
+ optInTransformResponse: true
225
+ },
217
226
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
218
227
  protoPath: "/v1/bulk/items/create",
219
228
  data: serializedData,
@@ -241,6 +250,9 @@ function deleteItem(payload) {
241
250
  method: "POST",
242
251
  methodFqn: "wix.benefit_programs.v1.item.ItemService.DeleteItem",
243
252
  packageName: PACKAGE_NAME,
253
+ migrationOptions: {
254
+ optInTransformResponse: true
255
+ },
244
256
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
245
257
  protoPath: "/v1/items/{itemId}/delete",
246
258
  data: payload,
@@ -259,6 +271,9 @@ function bulkDeleteItems(payload) {
259
271
  method: "POST",
260
272
  methodFqn: "wix.benefit_programs.v1.item.ItemService.BulkDeleteItems",
261
273
  packageName: PACKAGE_NAME,
274
+ migrationOptions: {
275
+ optInTransformResponse: true
276
+ },
262
277
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
263
278
  protoPath: "/v1/bulk/items/delete",
264
279
  data: payload,
@@ -286,6 +301,9 @@ function bulkDeleteItemsByFilter(payload) {
286
301
  method: "POST",
287
302
  methodFqn: "wix.benefit_programs.v1.item.ItemService.BulkDeleteItemsByFilter",
288
303
  packageName: PACKAGE_NAME,
304
+ migrationOptions: {
305
+ optInTransformResponse: true
306
+ },
289
307
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
290
308
  protoPath: "/v1/bulk/items/delete-by-filter",
291
309
  data: payload,
@@ -314,6 +332,9 @@ function updateItem(payload) {
314
332
  method: "PATCH",
315
333
  methodFqn: "wix.benefit_programs.v1.item.ItemService.UpdateItem",
316
334
  packageName: PACKAGE_NAME,
335
+ migrationOptions: {
336
+ optInTransformResponse: true
337
+ },
317
338
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
318
339
  protoPath: "/v1/items/{item.id}",
319
340
  data: serializedData,
@@ -351,6 +372,9 @@ function bulkUpdateItems(payload) {
351
372
  method: "POST",
352
373
  methodFqn: "wix.benefit_programs.v1.item.ItemService.BulkUpdateItems",
353
374
  packageName: PACKAGE_NAME,
375
+ migrationOptions: {
376
+ optInTransformResponse: true
377
+ },
354
378
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
355
379
  protoPath: "/v1/bulk/items/update",
356
380
  data: serializedData,
@@ -378,6 +402,9 @@ function getItem(payload) {
378
402
  method: "GET",
379
403
  methodFqn: "wix.benefit_programs.v1.item.ItemService.GetItem",
380
404
  packageName: PACKAGE_NAME,
405
+ migrationOptions: {
406
+ optInTransformResponse: true
407
+ },
381
408
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
382
409
  protoPath: "/v1/items/{itemId}",
383
410
  data: payload,
@@ -402,6 +429,9 @@ function listItems(payload) {
402
429
  method: "GET",
403
430
  methodFqn: "wix.benefit_programs.v1.item.ItemService.ListItems",
404
431
  packageName: PACKAGE_NAME,
432
+ migrationOptions: {
433
+ optInTransformResponse: true
434
+ },
405
435
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
406
436
  protoPath: "/v1/items",
407
437
  data: payload,
@@ -429,6 +459,9 @@ function queryItems(payload) {
429
459
  method: "POST",
430
460
  methodFqn: "wix.benefit_programs.v1.item.ItemService.QueryItems",
431
461
  packageName: PACKAGE_NAME,
462
+ migrationOptions: {
463
+ optInTransformResponse: true
464
+ },
432
465
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
433
466
  protoPath: "/v1/items/query",
434
467
  data: payload,
@@ -456,6 +489,9 @@ function countItems(payload) {
456
489
  method: "POST",
457
490
  methodFqn: "wix.benefit_programs.v1.item.ItemService.CountItems",
458
491
  packageName: PACKAGE_NAME,
492
+ migrationOptions: {
493
+ optInTransformResponse: true
494
+ },
459
495
  url: resolveWixBenefitProgramsV1ItemItemServiceUrl({
460
496
  protoPath: "/v1/items/count",
461
497
  data: payload,
@@ -468,6 +504,27 @@ function countItems(payload) {
468
504
  return __countItems;
469
505
  }
470
506
 
507
+ // src/benefit-programs-v1-item-items.types.ts
508
+ var Type = /* @__PURE__ */ ((Type2) => {
509
+ Type2["UNKNOWN_FILTER"] = "UNKNOWN_FILTER";
510
+ Type2["BY_ITEM_SET_ID_AND_REFERENCE"] = "BY_ITEM_SET_ID_AND_REFERENCE";
511
+ Type2["BY_REFERENCE"] = "BY_REFERENCE";
512
+ return Type2;
513
+ })(Type || {});
514
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
515
+ SortOrder2["ASC"] = "ASC";
516
+ SortOrder2["DESC"] = "DESC";
517
+ return SortOrder2;
518
+ })(SortOrder || {});
519
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
520
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
521
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
522
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
523
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
524
+ WebhookIdentityType2["APP"] = "APP";
525
+ return WebhookIdentityType2;
526
+ })(WebhookIdentityType || {});
527
+
471
528
  // src/benefit-programs-v1-item-items.meta.ts
472
529
  function createItem2() {
473
530
  const payload = {};
@@ -669,6 +726,9 @@ function countItems2() {
669
726
  }
670
727
  // Annotate the CommonJS export names for ESM import in node:
671
728
  0 && (module.exports = {
729
+ SortOrderOriginal,
730
+ TypeOriginal,
731
+ WebhookIdentityTypeOriginal,
672
732
  bulkCreateItems,
673
733
  bulkDeleteItems,
674
734
  bulkDeleteItemsByFilter,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../meta.ts","../../../src/benefit-programs-v1-item-items.http.ts","../../../src/benefit-programs-v1-item-items.meta.ts"],"sourcesContent":["export * from './src/benefit-programs-v1-item-items.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixBenefitProgramsV1ItemItemServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/benefit-programs-items',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_benefit-programs_items';\n\n/** Creates a benefit item. */\nexport function createItem(payload: object): RequestOptionsFactory<any> {\n function __createItem({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.CreateItem',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createItem;\n}\n\n/** Creates benefit items. */\nexport function bulkCreateItems(payload: object): RequestOptionsFactory<any> {\n function __bulkCreateItems({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'items.createdDate' }, { path: 'items.updatedDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.BulkCreateItems',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/bulk/items/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateItems;\n}\n\n/**\n * Deletes a benefit item.\n *\n * <blockquote class=\"caution\">\n * <strong>Caution:</strong>\n *\n * Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.\n * </blockquote>\n */\nexport function deleteItem(payload: object): RequestOptionsFactory<any> {\n function __deleteItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.DeleteItem',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/{itemId}/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __deleteItem;\n}\n\n/**\n * Deletes benefit items.\n *\n * <blockquote class=\"caution\">\n * <strong>Caution:</strong>\n *\n * Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.\n * </blockquote>\n */\nexport function bulkDeleteItems(payload: object): RequestOptionsFactory<any> {\n function __bulkDeleteItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.BulkDeleteItems',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/bulk/items/delete',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkDeleteItems;\n}\n\n/**\n * Deletes benefit items that fulfill the specified filter conditions.\n *\n * For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).\n *\n * <blockquote class=\"caution\">\n * <strong>Caution:</strong>\n *\n * Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.\n * </blockquote>\n */\nexport function bulkDeleteItemsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteItemsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn:\n 'wix.benefit_programs.v1.item.ItemService.BulkDeleteItemsByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/bulk/items/delete-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteItemsByFilter;\n}\n\n/**\n * Updates a benefit item.\n *\n * Each time the benefit item is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the benefit item.\n * This ensures you're working with the latest benefit item\n * and prevents unintended overwrites.\n */\nexport function updateItem(payload: object): RequestOptionsFactory<any> {\n function __updateItem({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'PATCH' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.UpdateItem',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/{item.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateItem;\n}\n\n/**\n * Updates benefit items.\n *\n * Each time the benefit item is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the benefit item.\n * This ensures you're working with the latest benefit item\n * and prevents unintended overwrites.\n */\nexport function bulkUpdateItems(payload: object): RequestOptionsFactory<any> {\n function __bulkUpdateItems({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'items.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'items.item.createdDate' },\n { path: 'items.item.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.BulkUpdateItems',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/bulk/items/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateItems;\n}\n\n/** Retrieves a benefit item. */\nexport function getItem(payload: object): RequestOptionsFactory<any> {\n function __getItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'GET' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.GetItem',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/{itemId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getItem;\n}\n\n/** Retrieves a list of up to 1000 benefit items. */\nexport function listItems(payload: object): RequestOptionsFactory<any> {\n function __listItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'GET' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.ListItems',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'items.createdDate' },\n { path: 'items.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listItems;\n}\n\n/**\n * Creates a query to retrieve a list of items.\n *\n * The Query Items method builds a query to retrieve a list of items and returns a `ItemsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `ItemsQueryBuilder` methods onto the query. `ItemsQueryBuilder` methods enable you to filter, sort, and control the results that Query Items returns.\n *\n * Query Items has a default paging limit of 50, which you can override.\n *\n * For a full description of the item object, see the object returned for the `items` property in `ItemsQueryResult`.\n */\nexport function queryItems(payload: object): RequestOptionsFactory<any> {\n function __queryItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.QueryItems',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'items.createdDate' },\n { path: 'items.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryItems;\n}\n\n/**\n * Counts how many benefit items exist that fulfill the specified filtering conditions.\n *\n * For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).\n */\nexport function countItems(payload: object): RequestOptionsFactory<any> {\n function __countItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.CountItems',\n packageName: PACKAGE_NAME,\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countItems;\n}\n","import * as ambassadorWixBenefitProgramsV1Item from './benefit-programs-v1-item-items.http.js';\nimport * as ambassadorWixBenefitProgramsV1ItemTypes from './benefit-programs-v1-item-items.types.js';\nimport * as ambassadorWixBenefitProgramsV1ItemUniversalTypes from './benefit-programs-v1-item-items.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createItem(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.CreateItemRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.CreateItemRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.CreateItemResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.CreateItemResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.createItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkCreateItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkCreateItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkCreateItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkCreateItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.bulkCreateItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteItem(): __PublicMethodMetaInfo<\n 'POST',\n { itemId: string },\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.DeleteItemRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.DeleteItemRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.DeleteItemResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.DeleteItemResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.deleteItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/{itemId}/delete',\n pathParams: { itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkDeleteItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkDeleteItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkDeleteItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkDeleteItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.bulkDeleteItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteItemsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkDeleteItemsByFilterRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkDeleteItemsByFilterRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkDeleteItemsByFilterResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkDeleteItemsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.bulkDeleteItemsByFilter(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/delete-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateItem(): __PublicMethodMetaInfo<\n 'PATCH',\n { itemId: string },\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.UpdateItemRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.UpdateItemRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.UpdateItemResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.UpdateItemResponse\n> {\n const payload = { item: { id: ':itemId' } } as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.updateItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/items/{item.id}',\n pathParams: { itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkUpdateItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkUpdateItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkUpdateItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkUpdateItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.bulkUpdateItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getItem(): __PublicMethodMetaInfo<\n 'GET',\n { itemId: string },\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.GetItemRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.GetItemRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.GetItemResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.GetItemResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions = ambassadorWixBenefitProgramsV1Item.getItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/items/{itemId}',\n pathParams: { itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listItems(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.ListItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.ListItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.ListItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.ListItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.listItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/items',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.QueryItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.QueryItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.QueryItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.QueryItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.queryItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function countItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.CountItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.CountItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.CountItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.CountItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.countItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAAA;AAAA,EAAA,uBAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,eAAAC;AAAA,EAAA,iBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,8CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,GAAG;AAAA,M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ACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,cAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,WAAW,OAAO;AAEvD,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkCreateItems","bulkDeleteItems","bulkDeleteItemsByFilter","bulkUpdateItems","countItems","createItem","deleteItem","getItem","listItems","queryItems","updateItem","import_timestamp","import_rest_modules","payload","createItem","bulkCreateItems","deleteItem","bulkDeleteItems","bulkDeleteItemsByFilter","updateItem","bulkUpdateItems","getItem","listItems","queryItems","countItems"]}
1
+ {"version":3,"sources":["../../../meta.ts","../../../src/benefit-programs-v1-item-items.http.ts","../../../src/benefit-programs-v1-item-items.types.ts","../../../src/benefit-programs-v1-item-items.meta.ts"],"sourcesContent":["export * from './src/benefit-programs-v1-item-items.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixBenefitProgramsV1ItemItemServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/benefit-programs-items',\n destPath: '',\n },\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/benefit-programs-items',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/benefit-programs/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/_api/benefit-programs/v1/bulk/items',\n destPath: '/v1/bulk/items',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_benefit-programs_items';\n\n/** Creates a benefit item. */\nexport function createItem(payload: object): RequestOptionsFactory<any> {\n function __createItem({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.CreateItem',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createItem;\n}\n\n/** Creates benefit items. */\nexport function bulkCreateItems(payload: object): RequestOptionsFactory<any> {\n function __bulkCreateItems({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'items.createdDate' }, { path: 'items.updatedDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.BulkCreateItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/bulk/items/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateItems;\n}\n\n/**\n * Deletes a benefit item.\n *\n * <blockquote class=\"caution\">\n * <strong>Caution:</strong>\n *\n * Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.\n * </blockquote>\n */\nexport function deleteItem(payload: object): RequestOptionsFactory<any> {\n function __deleteItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.DeleteItem',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/{itemId}/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __deleteItem;\n}\n\n/**\n * Deletes benefit items.\n *\n * <blockquote class=\"caution\">\n * <strong>Caution:</strong>\n *\n * Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.\n * </blockquote>\n */\nexport function bulkDeleteItems(payload: object): RequestOptionsFactory<any> {\n function __bulkDeleteItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.BulkDeleteItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/bulk/items/delete',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkDeleteItems;\n}\n\n/**\n * Deletes benefit items that fulfill the specified filter conditions.\n *\n * For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).\n *\n * <blockquote class=\"caution\">\n * <strong>Caution:</strong>\n *\n * Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.\n * </blockquote>\n */\nexport function bulkDeleteItemsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteItemsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn:\n 'wix.benefit_programs.v1.item.ItemService.BulkDeleteItemsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/bulk/items/delete-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteItemsByFilter;\n}\n\n/**\n * Updates a benefit item.\n *\n * Each time the benefit item is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the benefit item.\n * This ensures you're working with the latest benefit item\n * and prevents unintended overwrites.\n */\nexport function updateItem(payload: object): RequestOptionsFactory<any> {\n function __updateItem({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'PATCH' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.UpdateItem',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/{item.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateItem;\n}\n\n/**\n * Updates benefit items.\n *\n * Each time the benefit item is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the benefit item.\n * This ensures you're working with the latest benefit item\n * and prevents unintended overwrites.\n */\nexport function bulkUpdateItems(payload: object): RequestOptionsFactory<any> {\n function __bulkUpdateItems({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'items.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'items.item.createdDate' },\n { path: 'items.item.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.BulkUpdateItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/bulk/items/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateItems;\n}\n\n/** Retrieves a benefit item. */\nexport function getItem(payload: object): RequestOptionsFactory<any> {\n function __getItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'GET' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.GetItem',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/{itemId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'item.createdDate' }, { path: 'item.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getItem;\n}\n\n/** Retrieves a list of up to 1000 benefit items. */\nexport function listItems(payload: object): RequestOptionsFactory<any> {\n function __listItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'GET' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.ListItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'items.createdDate' },\n { path: 'items.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listItems;\n}\n\n/**\n * Creates a query to retrieve a list of items.\n *\n * The Query Items method builds a query to retrieve a list of items and returns a `ItemsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `ItemsQueryBuilder` methods onto the query. `ItemsQueryBuilder` methods enable you to filter, sort, and control the results that Query Items returns.\n *\n * Query Items has a default paging limit of 50, which you can override.\n *\n * For a full description of the item object, see the object returned for the `items` property in `ItemsQueryResult`.\n */\nexport function queryItems(payload: object): RequestOptionsFactory<any> {\n function __queryItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.QueryItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'items.createdDate' },\n { path: 'items.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryItems;\n}\n\n/**\n * Counts how many benefit items exist that fulfill the specified filtering conditions.\n *\n * For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).\n */\nexport function countItems(payload: object): RequestOptionsFactory<any> {\n function __countItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.benefit_programs.v1.item',\n method: 'POST' as any,\n methodFqn: 'wix.benefit_programs.v1.item.ItemService.CountItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBenefitProgramsV1ItemItemServiceUrl({\n protoPath: '/v1/items/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countItems;\n}\n","export interface Item {\n /**\n * Benefit item ID.\n * @format GUID\n * @immutable\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the benefit item is updated.\n * To prevent conflicting changes, the current revision must be passed when updating the benefit item.\n *\n * Ignored when creating a benefit item.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the item was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the item was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * ID of the item in the app providing it.\n *\n * For example, if the item is a product provided by Wix Stores, the `externalId` would be the Wix Stores `product Id`.\n * @format GUID\n * @immutable\n * @readonly\n */\n externalId?: string | null;\n /**\n * Benefit item category.\n * @maxLength 20\n * @immutable\n * @readonly\n */\n category?: string | null;\n /**\n * Item set ID of the benefit that this benefit item is a part of.\n * @format GUID\n * @immutable\n * @readonly\n */\n itemSetId?: string | null;\n /**\n * Benefit item display name.\n * @maxLength 64\n */\n displayName?: string | null;\n /**\n * ID of the app ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/apps-created-by-wix) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/apps-created-by-wix)) that defines and provides the item. For example, if the item is a Wix Stores product, this field's value is `215238eb-22a5-4c36-9e7b-e7c08025e04e`.\n * @format GUID\n * @immutable\n * @readonly\n */\n providerAppId?: string | null;\n /**\n * Custom field data for the benefit item object.\n * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.\n */\n extendedFields?: ExtendedFields;\n /**\n * Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\n * @minLength 1\n * @maxLength 20\n * @immutable\n * @readonly\n */\n namespace?: string | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface ItemsCloned {\n /**\n * ID of the pool that had its items provisioned\n * @format GUID\n */\n itemSetId?: string;\n}\n\nexport interface CreateItemRequest {\n /** Item to create. */\n item: Item;\n}\n\nexport interface CreateItemResponse {\n /** Created item. */\n item?: Item;\n}\n\nexport interface BulkCreateItemsRequest {\n /**\n * Items to create.\n * @minSize 1\n * @maxSize 100\n */\n items: Item[];\n /**\n * Whether to return the full item entities.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateItemsResponse {\n /**\n * List of created items and associated metadata.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkItemResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkItemResult {\n /** Item metadata. */\n itemMetadata?: ItemMetadata;\n /** Item. */\n item?: Item;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface DeleteItemRequest {\n /**\n * Item ID.\n * @format GUID\n */\n itemId: string;\n}\n\nexport interface DeleteItemResponse {}\n\nexport interface BulkDeleteItemsRequest {\n /**\n * List of IDs of the items to delete.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n itemIds: string[];\n}\n\nexport interface BulkDeleteItemsResponse {\n /**\n * List of deleted items and associated metadata.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkItemResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteItemsByFilterRequest {\n /**\n * Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\n * @minLength 1\n * @maxLength 20\n */\n namespace: string;\n /** Filter options. To learn more, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language). */\n filter?: Record<string, any> | null;\n}\n\nexport interface BulkDeleteItemsByFilterResponse {\n /**\n * Job ID for item deletion. Retrieve job details using the Async Job API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/async-jobs/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/async-job/introduction)).\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface UpdateItemRequest {\n /** Item to update. */\n item: Item;\n}\n\nexport interface UpdateItemResponse {\n /** Updated item. */\n item?: Item;\n}\n\nexport interface BulkUpdateItemsRequest {\n /**\n * Items to update.\n * @minSize 1\n * @maxSize 100\n */\n items?: MaskedItem[];\n /**\n * Whether to return the full item entities.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface MaskedItem {\n /** Item to update. */\n item?: Item;\n /** Explicit list of fields to update. */\n fieldMask?: string[];\n}\n\nexport interface BulkUpdateItemsResponse {\n /**\n * List of updated items and associated metadata.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkItemResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface GetItemRequest {\n /**\n * ID of the item to retrieve.\n * @format GUID\n */\n itemId: string;\n}\n\nexport interface GetItemResponse {\n /** Retrieved item. */\n item?: Item;\n}\n\nexport interface ListItemsRequest {\n /** Filter. */\n filter?: Filter;\n /** Cursor paging */\n cursorPaging?: CursorPaging;\n}\n\nexport enum Type {\n /** Unknown filter type. */\n UNKNOWN_FILTER = 'UNKNOWN_FILTER',\n /** Use with `filter.byItemSetIdAndReferenceOptions`. */\n BY_ITEM_SET_ID_AND_REFERENCE = 'BY_ITEM_SET_ID_AND_REFERENCE',\n /** Use with `filter.byReferenceOptions`. */\n BY_REFERENCE = 'BY_REFERENCE',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'UNKNOWN_FILTER'\n | 'BY_ITEM_SET_ID_AND_REFERENCE'\n | 'BY_REFERENCE';\n\nexport interface ByItemSetIdAndReference {\n /**\n * Filter list.\n * @minSize 1\n * @maxSize 100\n */\n filters?: ByItemSetIdAndReferenceFilter[];\n}\n\nexport interface ByItemSetIdAndReferenceFilter {\n /**\n * ID set ID.\n * @format GUID\n */\n itemSetId?: string;\n /**\n * External item ID.\n * @format GUID\n */\n externalId?: string;\n /**\n * Item category.\n * @maxLength 20\n */\n category?: string;\n /**\n * *Required**. ID of the app providing the item.\n * @format GUID\n */\n providerAppId?: string;\n}\n\nexport interface ByReference {\n /**\n * Filter list.\n * @minSize 1\n * @maxSize 100\n */\n filters?: ByReferenceFilter[];\n}\n\nexport interface ByReferenceFilter {\n /**\n * External item ID.\n * @format GUID\n */\n externalId?: string;\n /**\n * Item category.\n * @maxLength 20\n */\n category?: string;\n /**\n * *Required**. ID of the app providing the item.\n * @format GUID\n */\n providerAppId?: string;\n}\n\nexport interface Filter extends FilterFilterOneOf {\n /** Filter the request by `itemSetId` and item reference. */\n byItemSetIdAndReferenceOptions?: ByItemSetIdAndReference;\n /** Filter the request item reference. */\n byReferenceOptions?: ByReference;\n /** Filter type. */\n type?: TypeWithLiterals;\n /**\n * Filter by namespace.\n * @minLength 1\n * @maxLength 20\n */\n namespace?: string;\n}\n\n/** @oneof */\nexport interface FilterFilterOneOf {\n /** Filter the request by `itemSetId` and item reference. */\n byItemSetIdAndReferenceOptions?: ByItemSetIdAndReference;\n /** Filter the request item reference. */\n byReferenceOptions?: ByReference;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return.\n * @max 1000\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface ListItemsResponse {\n /** Items. */\n items?: Item[];\n /** Metadata for paginated results. */\n metadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface QueryItemsRequest {\n /** Filter, sort, and paging to apply to the query. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface QueryItemsResponse {\n /** List of retrieved items. */\n items?: Item[];\n /** Metadata for paginated results. */\n metadata?: CursorPagingMetadata;\n}\n\nexport interface CountItemsRequest {\n /**\n * Items to count.\n *\n * Filter options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).\n */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountItemsResponse {\n /** Number of items fulfilling the specified filter conditions. */\n count?: number;\n}\n\nexport interface CloneItemsRequest {\n /**\n * Id of the item set to be cloned\n * @format GUID\n */\n itemSetId?: string;\n}\n\nexport interface CloneItemsResponse {\n /**\n * Id of the item set that these items were added to\n * @format GUID\n */\n clonedItemSetId?: string;\n /**\n * Id of the job that is cloning the item set\n * @format GUID\n */\n cloneJobId?: string;\n}\n\nexport interface BulkCloneItemSetsRequest {\n /**\n * Id of the item sets to be cloned\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n itemSetIds?: string[];\n}\n\nexport interface BulkCloneItemSetsResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 1000\n */\n results?: BulkCloneItemSetsResult[];\n /** Bulk action metadata */\n bulkActionMetadata?: BulkActionMetadata;\n /**\n * Id of the job that is cloning the item set\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface BulkCloneItemSetsResult {\n /** Item metadata */\n itemMetadata?: ItemMetadata;\n /**\n * Id of the item set that these items were added to\n * @format GUID\n */\n clonedItemSetId?: string;\n}\n\nexport interface AllocateItemSetsRequest {\n /**\n * Number of sets to allocate\n * @min 1\n * @max 1000\n */\n numberOfSets?: number;\n}\n\nexport interface AllocateItemSetsResponse {\n /**\n * ID that is a shared reference between a benefit pool and a specific item.\n * @format GUID\n */\n itemSetIds?: string[];\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n/** @docsIgnore */\nexport type CountItemsApplicationErrors = {\n code?: 'TOO_MANY_TO_COUNT';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixBenefitProgramsV1Item from './benefit-programs-v1-item-items.http.js';\nimport * as ambassadorWixBenefitProgramsV1ItemTypes from './benefit-programs-v1-item-items.types.js';\nimport * as ambassadorWixBenefitProgramsV1ItemUniversalTypes from './benefit-programs-v1-item-items.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createItem(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.CreateItemRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.CreateItemRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.CreateItemResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.CreateItemResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.createItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkCreateItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkCreateItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkCreateItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkCreateItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.bulkCreateItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteItem(): __PublicMethodMetaInfo<\n 'POST',\n { itemId: string },\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.DeleteItemRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.DeleteItemRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.DeleteItemResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.DeleteItemResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.deleteItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/{itemId}/delete',\n pathParams: { itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkDeleteItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkDeleteItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkDeleteItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkDeleteItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.bulkDeleteItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteItemsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkDeleteItemsByFilterRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkDeleteItemsByFilterRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkDeleteItemsByFilterResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkDeleteItemsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.bulkDeleteItemsByFilter(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/delete-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateItem(): __PublicMethodMetaInfo<\n 'PATCH',\n { itemId: string },\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.UpdateItemRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.UpdateItemRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.UpdateItemResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.UpdateItemResponse\n> {\n const payload = { item: { id: ':itemId' } } as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.updateItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/items/{item.id}',\n pathParams: { itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkUpdateItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkUpdateItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.BulkUpdateItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.BulkUpdateItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.bulkUpdateItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getItem(): __PublicMethodMetaInfo<\n 'GET',\n { itemId: string },\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.GetItemRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.GetItemRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.GetItemResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.GetItemResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions = ambassadorWixBenefitProgramsV1Item.getItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/items/{itemId}',\n pathParams: { itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listItems(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.ListItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.ListItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.ListItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.ListItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.listItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/items',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.QueryItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.QueryItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.QueryItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.QueryItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.queryItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function countItems(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.CountItemsRequest,\n ambassadorWixBenefitProgramsV1ItemTypes.CountItemsRequest,\n ambassadorWixBenefitProgramsV1ItemUniversalTypes.CountItemsResponse,\n ambassadorWixBenefitProgramsV1ItemTypes.CountItemsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBenefitProgramsV1Item.countItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Item as ItemOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n ItemsCloned as ItemsClonedOriginal,\n CreateItemRequest as CreateItemRequestOriginal,\n CreateItemResponse as CreateItemResponseOriginal,\n BulkCreateItemsRequest as BulkCreateItemsRequestOriginal,\n BulkCreateItemsResponse as BulkCreateItemsResponseOriginal,\n BulkItemResult as BulkItemResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n DeleteItemRequest as DeleteItemRequestOriginal,\n DeleteItemResponse as DeleteItemResponseOriginal,\n BulkDeleteItemsRequest as BulkDeleteItemsRequestOriginal,\n BulkDeleteItemsResponse as BulkDeleteItemsResponseOriginal,\n BulkDeleteItemsByFilterRequest as BulkDeleteItemsByFilterRequestOriginal,\n BulkDeleteItemsByFilterResponse as BulkDeleteItemsByFilterResponseOriginal,\n UpdateItemRequest as UpdateItemRequestOriginal,\n UpdateItemResponse as UpdateItemResponseOriginal,\n BulkUpdateItemsRequest as BulkUpdateItemsRequestOriginal,\n MaskedItem as MaskedItemOriginal,\n BulkUpdateItemsResponse as BulkUpdateItemsResponseOriginal,\n GetItemRequest as GetItemRequestOriginal,\n GetItemResponse as GetItemResponseOriginal,\n ListItemsRequest as ListItemsRequestOriginal,\n Type as TypeOriginal,\n TypeWithLiterals as TypeWithLiteralsOriginal,\n ByItemSetIdAndReference as ByItemSetIdAndReferenceOriginal,\n ByItemSetIdAndReferenceFilter as ByItemSetIdAndReferenceFilterOriginal,\n ByReference as ByReferenceOriginal,\n ByReferenceFilter as ByReferenceFilterOriginal,\n Filter as FilterOriginal,\n FilterFilterOneOf as FilterFilterOneOfOriginal,\n CursorPaging as CursorPagingOriginal,\n ListItemsResponse as ListItemsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n QueryItemsRequest as QueryItemsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n QueryItemsResponse as QueryItemsResponseOriginal,\n CountItemsRequest as CountItemsRequestOriginal,\n CountItemsResponse as CountItemsResponseOriginal,\n CloneItemsRequest as CloneItemsRequestOriginal,\n CloneItemsResponse as CloneItemsResponseOriginal,\n BulkCloneItemSetsRequest as BulkCloneItemSetsRequestOriginal,\n BulkCloneItemSetsResponse as BulkCloneItemSetsResponseOriginal,\n BulkCloneItemSetsResult as BulkCloneItemSetsResultOriginal,\n AllocateItemSetsRequest as AllocateItemSetsRequestOriginal,\n AllocateItemSetsResponse as AllocateItemSetsResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n CountItemsApplicationErrors as CountItemsApplicationErrorsOriginal,\n} from './benefit-programs-v1-item-items.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAAA;AAAA,EAAA,uBAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,eAAAC;AAAA,EAAA,iBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,kBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,8CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MAC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AAwB;AAAA,EAC1B;AACF;","names":["bulkCreateItems","bulkDeleteItems","bulkDeleteItemsByFilter","bulkUpdateItems","countItems","createItem","deleteItem","getItem","listItems","queryItems","updateItem","import_timestamp","import_rest_modules","payload","Type","SortOrder","WebhookIdentityType","createItem","bulkCreateItems","deleteItem","bulkDeleteItems","bulkDeleteItemsByFilter","updateItem","bulkUpdateItems","getItem","listItems","queryItems","countItems"]}