@wix/referral 1.0.22 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/referral",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,7 +21,7 @@
21
21
  "@wix/referral_customers": "1.0.10",
22
22
  "@wix/referral_friends": "1.0.7",
23
23
  "@wix/referral_programs": "1.0.11",
24
- "@wix/referral_rewards": "1.0.9",
24
+ "@wix/referral_rewards": "1.0.10",
25
25
  "@wix/referral_tracker": "1.0.12"
26
26
  },
27
27
  "devDependencies": {
@@ -47,5 +47,5 @@
47
47
  "fqdn": ""
48
48
  }
49
49
  },
50
- "falconPackageHash": "28896ffca80e0f980ededfd93279d4cb284f81cd39c74d66ba7a6838"
50
+ "falconPackageHash": "d47cf7b84c9699f7dd8b7868602d5fceed3338a9fec7e292989b0fa3"
51
51
  }
@@ -1510,14 +1510,14 @@ interface ProgramUpdatedEnvelope {
1510
1510
  entity: ReferralProgram;
1511
1511
  metadata: EventMetadata$3;
1512
1512
  }
1513
- interface QueryCursorResult$3 {
1513
+ interface QueryCursorResult$4 {
1514
1514
  cursors: Cursors$4;
1515
1515
  hasNext: () => boolean;
1516
1516
  hasPrev: () => boolean;
1517
1517
  length: number;
1518
1518
  pageSize: number;
1519
1519
  }
1520
- interface ReferralProgramsQueryResult extends QueryCursorResult$3 {
1520
+ interface ReferralProgramsQueryResult extends QueryCursorResult$4 {
1521
1521
  items: ReferralProgram[];
1522
1522
  query: ReferralProgramsQueryBuilder;
1523
1523
  next: () => Promise<ReferralProgramsQueryResult>;
@@ -2513,14 +2513,14 @@ interface ReferralEventCreatedEnvelope {
2513
2513
  entity: ReferralEvent;
2514
2514
  metadata: EventMetadata$2;
2515
2515
  }
2516
- interface QueryCursorResult$2 {
2516
+ interface QueryCursorResult$3 {
2517
2517
  cursors: Cursors$3;
2518
2518
  hasNext: () => boolean;
2519
2519
  hasPrev: () => boolean;
2520
2520
  length: number;
2521
2521
  pageSize: number;
2522
2522
  }
2523
- interface ReferralEventsQueryResult extends QueryCursorResult$2 {
2523
+ interface ReferralEventsQueryResult extends QueryCursorResult$3 {
2524
2524
  items: ReferralEvent[];
2525
2525
  query: ReferralEventsQueryBuilder;
2526
2526
  next: () => Promise<ReferralEventsQueryResult>;
@@ -3236,7 +3236,84 @@ interface QueryReferralRewardsResponseNonNullableFields {
3236
3236
  }
3237
3237
  interface QueryReferralRewardsOptions {
3238
3238
  /** Contact ID to filter rewards by. Use `"me"` for current identity's rewards. */
3239
- contactId?: string | null;
3239
+ contactId?: string | null | undefined;
3240
+ }
3241
+ interface QueryCursorResult$2 {
3242
+ cursors: Cursors$2;
3243
+ hasNext: () => boolean;
3244
+ hasPrev: () => boolean;
3245
+ length: number;
3246
+ pageSize: number;
3247
+ }
3248
+ interface ReferralRewardsQueryResult extends QueryCursorResult$2 {
3249
+ items: ReferralReward[];
3250
+ query: ReferralRewardsQueryBuilder;
3251
+ next: () => Promise<ReferralRewardsQueryResult>;
3252
+ prev: () => Promise<ReferralRewardsQueryResult>;
3253
+ }
3254
+ interface ReferralRewardsQueryBuilder {
3255
+ /** @param propertyName - Property whose value is compared with `value`.
3256
+ * @param value - Value to compare against.
3257
+ * @documentationMaturity preview
3258
+ */
3259
+ eq: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: any) => ReferralRewardsQueryBuilder;
3260
+ /** @param propertyName - Property whose value is compared with `value`.
3261
+ * @param value - Value to compare against.
3262
+ * @documentationMaturity preview
3263
+ */
3264
+ ne: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: any) => ReferralRewardsQueryBuilder;
3265
+ /** @param propertyName - Property whose value is compared with `value`.
3266
+ * @param value - Value to compare against.
3267
+ * @documentationMaturity preview
3268
+ */
3269
+ ge: (propertyName: '_createdDate' | '_updatedDate', value: any) => ReferralRewardsQueryBuilder;
3270
+ /** @param propertyName - Property whose value is compared with `value`.
3271
+ * @param value - Value to compare against.
3272
+ * @documentationMaturity preview
3273
+ */
3274
+ gt: (propertyName: '_createdDate' | '_updatedDate', value: any) => ReferralRewardsQueryBuilder;
3275
+ /** @param propertyName - Property whose value is compared with `value`.
3276
+ * @param value - Value to compare against.
3277
+ * @documentationMaturity preview
3278
+ */
3279
+ le: (propertyName: '_createdDate' | '_updatedDate', value: any) => ReferralRewardsQueryBuilder;
3280
+ /** @param propertyName - Property whose value is compared with `value`.
3281
+ * @param value - Value to compare against.
3282
+ * @documentationMaturity preview
3283
+ */
3284
+ lt: (propertyName: '_createdDate' | '_updatedDate', value: any) => ReferralRewardsQueryBuilder;
3285
+ /** @param propertyName - Property whose value is compared with `string`.
3286
+ * @param string - String to compare against. Case-insensitive.
3287
+ * @documentationMaturity preview
3288
+ */
3289
+ startsWith: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId', value: string) => ReferralRewardsQueryBuilder;
3290
+ /** @param propertyName - Property whose value is compared with `values`.
3291
+ * @param values - List of values to compare against.
3292
+ * @documentationMaturity preview
3293
+ */
3294
+ hasSome: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: any[]) => ReferralRewardsQueryBuilder;
3295
+ /** @documentationMaturity preview */
3296
+ in: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: any) => ReferralRewardsQueryBuilder;
3297
+ /** @documentationMaturity preview */
3298
+ exists: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: boolean) => ReferralRewardsQueryBuilder;
3299
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3300
+ * @documentationMaturity preview
3301
+ */
3302
+ ascending: (...propertyNames: Array<'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType'>) => ReferralRewardsQueryBuilder;
3303
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3304
+ * @documentationMaturity preview
3305
+ */
3306
+ descending: (...propertyNames: Array<'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType'>) => ReferralRewardsQueryBuilder;
3307
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
3308
+ * @documentationMaturity preview
3309
+ */
3310
+ limit: (limit: number) => ReferralRewardsQueryBuilder;
3311
+ /** @param cursor - A pointer to specific record
3312
+ * @documentationMaturity preview
3313
+ */
3314
+ skipTo: (cursor: string) => ReferralRewardsQueryBuilder;
3315
+ /** @documentationMaturity preview */
3316
+ find: () => Promise<ReferralRewardsQueryResult>;
3240
3317
  }
3241
3318
 
3242
3319
  declare function getReferralReward$1(httpClient: HttpClient): GetReferralRewardSignature;
@@ -3257,9 +3334,8 @@ interface QueryReferralRewardsSignature {
3257
3334
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
3258
3335
  * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
3259
3336
  * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
3260
- * @param - Query to filter referral rewards.
3261
3337
  */
3262
- (query: CursorQuery$2, options?: QueryReferralRewardsOptions | undefined): Promise<QueryReferralRewardsResponse & QueryReferralRewardsResponseNonNullableFields>;
3338
+ (options?: QueryReferralRewardsOptions | undefined): ReferralRewardsQueryBuilder;
3263
3339
  }
3264
3340
 
3265
3341
  declare const getReferralReward: BuildRESTFunction<typeof getReferralReward$1> & typeof getReferralReward$1;
@@ -3288,6 +3364,8 @@ type context$2_ReferralReward = ReferralReward;
3288
3364
  type context$2_ReferralRewardNonNullableFields = ReferralRewardNonNullableFields;
3289
3365
  type context$2_ReferralRewardReceiverOneOf = ReferralRewardReceiverOneOf;
3290
3366
  type context$2_ReferralRewardRewardTypeOptionsOneOf = ReferralRewardRewardTypeOptionsOneOf;
3367
+ type context$2_ReferralRewardsQueryBuilder = ReferralRewardsQueryBuilder;
3368
+ type context$2_ReferralRewardsQueryResult = ReferralRewardsQueryResult;
3291
3369
  type context$2_Reward = Reward;
3292
3370
  type context$2_RewardOptionsOneOf = RewardOptionsOneOf;
3293
3371
  type context$2_RewardTypeType = RewardTypeType;
@@ -3302,7 +3380,7 @@ type context$2_ValidateReferralRewardResponse = ValidateReferralRewardResponse;
3302
3380
  declare const context$2_getReferralReward: typeof getReferralReward;
3303
3381
  declare const context$2_queryReferralRewards: typeof queryReferralRewards;
3304
3382
  declare namespace context$2 {
3305
- export { type ActionEvent$2 as ActionEvent, type context$2_BulkGetReferralRewardsRequest as BulkGetReferralRewardsRequest, type context$2_BulkGetReferralRewardsResponse as BulkGetReferralRewardsResponse, type context$2_Coupon as Coupon, type context$2_CouponDiscountTypeOptionsOneOf as CouponDiscountTypeOptionsOneOf, type context$2_CouponScope as CouponScope, type context$2_CouponScopeOrMinSubtotalOneOf as CouponScopeOrMinSubtotalOneOf, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, context$2_DiscountType as DiscountType, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type context$2_FixedAmountDiscount as FixedAmountDiscount, type context$2_GetReferralRewardRequest as GetReferralRewardRequest, type context$2_GetReferralRewardResponse as GetReferralRewardResponse, type context$2_GetReferralRewardResponseNonNullableFields as GetReferralRewardResponseNonNullableFields, type context$2_Group as Group, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$2_LoyaltyPoints as LoyaltyPoints, type MessageEnvelope$2 as MessageEnvelope, type context$2_PercentageDiscount as PercentageDiscount, type context$2_QueryReferralRewardsOptions as QueryReferralRewardsOptions, type context$2_QueryReferralRewardsRequest as QueryReferralRewardsRequest, type context$2_QueryReferralRewardsResponse as QueryReferralRewardsResponse, type context$2_QueryReferralRewardsResponseNonNullableFields as QueryReferralRewardsResponseNonNullableFields, type context$2_ReferralReward as ReferralReward, type context$2_ReferralRewardNonNullableFields as ReferralRewardNonNullableFields, type context$2_ReferralRewardReceiverOneOf as ReferralRewardReceiverOneOf, type context$2_ReferralRewardRewardTypeOptionsOneOf as ReferralRewardRewardTypeOptionsOneOf, type ReferredFriendDetails$1 as ReferredFriendDetails, type RestoreInfo$2 as RestoreInfo, type context$2_Reward as Reward, type context$2_RewardOptionsOneOf as RewardOptionsOneOf, context$2_RewardTypeType as RewardTypeType, type context$2_RewardsInSite as RewardsInSite, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Status$1 as Status, type SuccessfulReferralEvent$1 as SuccessfulReferralEvent, context$2_Type as Type, type context$2_V1Coupon as V1Coupon, type context$2_V1LoyaltyPoints as V1LoyaltyPoints, type context$2_ValidateReferralRewardRequest as ValidateReferralRewardRequest, type context$2_ValidateReferralRewardResponse as ValidateReferralRewardResponse, WebhookIdentityType$2 as WebhookIdentityType, context$2_getReferralReward as getReferralReward, context$2_queryReferralRewards as queryReferralRewards };
3383
+ export { type ActionEvent$2 as ActionEvent, type context$2_BulkGetReferralRewardsRequest as BulkGetReferralRewardsRequest, type context$2_BulkGetReferralRewardsResponse as BulkGetReferralRewardsResponse, type context$2_Coupon as Coupon, type context$2_CouponDiscountTypeOptionsOneOf as CouponDiscountTypeOptionsOneOf, type context$2_CouponScope as CouponScope, type context$2_CouponScopeOrMinSubtotalOneOf as CouponScopeOrMinSubtotalOneOf, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, context$2_DiscountType as DiscountType, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type context$2_FixedAmountDiscount as FixedAmountDiscount, type context$2_GetReferralRewardRequest as GetReferralRewardRequest, type context$2_GetReferralRewardResponse as GetReferralRewardResponse, type context$2_GetReferralRewardResponseNonNullableFields as GetReferralRewardResponseNonNullableFields, type context$2_Group as Group, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$2_LoyaltyPoints as LoyaltyPoints, type MessageEnvelope$2 as MessageEnvelope, type context$2_PercentageDiscount as PercentageDiscount, type context$2_QueryReferralRewardsOptions as QueryReferralRewardsOptions, type context$2_QueryReferralRewardsRequest as QueryReferralRewardsRequest, type context$2_QueryReferralRewardsResponse as QueryReferralRewardsResponse, type context$2_QueryReferralRewardsResponseNonNullableFields as QueryReferralRewardsResponseNonNullableFields, type context$2_ReferralReward as ReferralReward, type context$2_ReferralRewardNonNullableFields as ReferralRewardNonNullableFields, type context$2_ReferralRewardReceiverOneOf as ReferralRewardReceiverOneOf, type context$2_ReferralRewardRewardTypeOptionsOneOf as ReferralRewardRewardTypeOptionsOneOf, type context$2_ReferralRewardsQueryBuilder as ReferralRewardsQueryBuilder, type context$2_ReferralRewardsQueryResult as ReferralRewardsQueryResult, type ReferredFriendDetails$1 as ReferredFriendDetails, type RestoreInfo$2 as RestoreInfo, type context$2_Reward as Reward, type context$2_RewardOptionsOneOf as RewardOptionsOneOf, context$2_RewardTypeType as RewardTypeType, type context$2_RewardsInSite as RewardsInSite, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Status$1 as Status, type SuccessfulReferralEvent$1 as SuccessfulReferralEvent, context$2_Type as Type, type context$2_V1Coupon as V1Coupon, type context$2_V1LoyaltyPoints as V1LoyaltyPoints, type context$2_ValidateReferralRewardRequest as ValidateReferralRewardRequest, type context$2_ValidateReferralRewardResponse as ValidateReferralRewardResponse, WebhookIdentityType$2 as WebhookIdentityType, context$2_getReferralReward as getReferralReward, context$2_queryReferralRewards as queryReferralRewards };
3306
3384
  }
3307
3385
 
3308
3386
  interface ReferredFriend {
@@ -1510,14 +1510,14 @@ interface ProgramUpdatedEnvelope {
1510
1510
  entity: ReferralProgram;
1511
1511
  metadata: EventMetadata$3;
1512
1512
  }
1513
- interface QueryCursorResult$3 {
1513
+ interface QueryCursorResult$4 {
1514
1514
  cursors: Cursors$4;
1515
1515
  hasNext: () => boolean;
1516
1516
  hasPrev: () => boolean;
1517
1517
  length: number;
1518
1518
  pageSize: number;
1519
1519
  }
1520
- interface ReferralProgramsQueryResult extends QueryCursorResult$3 {
1520
+ interface ReferralProgramsQueryResult extends QueryCursorResult$4 {
1521
1521
  items: ReferralProgram[];
1522
1522
  query: ReferralProgramsQueryBuilder;
1523
1523
  next: () => Promise<ReferralProgramsQueryResult>;
@@ -2513,14 +2513,14 @@ interface ReferralEventCreatedEnvelope {
2513
2513
  entity: ReferralEvent;
2514
2514
  metadata: EventMetadata$2;
2515
2515
  }
2516
- interface QueryCursorResult$2 {
2516
+ interface QueryCursorResult$3 {
2517
2517
  cursors: Cursors$3;
2518
2518
  hasNext: () => boolean;
2519
2519
  hasPrev: () => boolean;
2520
2520
  length: number;
2521
2521
  pageSize: number;
2522
2522
  }
2523
- interface ReferralEventsQueryResult extends QueryCursorResult$2 {
2523
+ interface ReferralEventsQueryResult extends QueryCursorResult$3 {
2524
2524
  items: ReferralEvent[];
2525
2525
  query: ReferralEventsQueryBuilder;
2526
2526
  next: () => Promise<ReferralEventsQueryResult>;
@@ -3236,7 +3236,84 @@ interface QueryReferralRewardsResponseNonNullableFields {
3236
3236
  }
3237
3237
  interface QueryReferralRewardsOptions {
3238
3238
  /** Contact ID to filter rewards by. Use `"me"` for current identity's rewards. */
3239
- contactId?: string | null;
3239
+ contactId?: string | null | undefined;
3240
+ }
3241
+ interface QueryCursorResult$2 {
3242
+ cursors: Cursors$2;
3243
+ hasNext: () => boolean;
3244
+ hasPrev: () => boolean;
3245
+ length: number;
3246
+ pageSize: number;
3247
+ }
3248
+ interface ReferralRewardsQueryResult extends QueryCursorResult$2 {
3249
+ items: ReferralReward[];
3250
+ query: ReferralRewardsQueryBuilder;
3251
+ next: () => Promise<ReferralRewardsQueryResult>;
3252
+ prev: () => Promise<ReferralRewardsQueryResult>;
3253
+ }
3254
+ interface ReferralRewardsQueryBuilder {
3255
+ /** @param propertyName - Property whose value is compared with `value`.
3256
+ * @param value - Value to compare against.
3257
+ * @documentationMaturity preview
3258
+ */
3259
+ eq: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: any) => ReferralRewardsQueryBuilder;
3260
+ /** @param propertyName - Property whose value is compared with `value`.
3261
+ * @param value - Value to compare against.
3262
+ * @documentationMaturity preview
3263
+ */
3264
+ ne: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: any) => ReferralRewardsQueryBuilder;
3265
+ /** @param propertyName - Property whose value is compared with `value`.
3266
+ * @param value - Value to compare against.
3267
+ * @documentationMaturity preview
3268
+ */
3269
+ ge: (propertyName: '_createdDate' | '_updatedDate', value: any) => ReferralRewardsQueryBuilder;
3270
+ /** @param propertyName - Property whose value is compared with `value`.
3271
+ * @param value - Value to compare against.
3272
+ * @documentationMaturity preview
3273
+ */
3274
+ gt: (propertyName: '_createdDate' | '_updatedDate', value: any) => ReferralRewardsQueryBuilder;
3275
+ /** @param propertyName - Property whose value is compared with `value`.
3276
+ * @param value - Value to compare against.
3277
+ * @documentationMaturity preview
3278
+ */
3279
+ le: (propertyName: '_createdDate' | '_updatedDate', value: any) => ReferralRewardsQueryBuilder;
3280
+ /** @param propertyName - Property whose value is compared with `value`.
3281
+ * @param value - Value to compare against.
3282
+ * @documentationMaturity preview
3283
+ */
3284
+ lt: (propertyName: '_createdDate' | '_updatedDate', value: any) => ReferralRewardsQueryBuilder;
3285
+ /** @param propertyName - Property whose value is compared with `string`.
3286
+ * @param string - String to compare against. Case-insensitive.
3287
+ * @documentationMaturity preview
3288
+ */
3289
+ startsWith: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId', value: string) => ReferralRewardsQueryBuilder;
3290
+ /** @param propertyName - Property whose value is compared with `values`.
3291
+ * @param values - List of values to compare against.
3292
+ * @documentationMaturity preview
3293
+ */
3294
+ hasSome: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: any[]) => ReferralRewardsQueryBuilder;
3295
+ /** @documentationMaturity preview */
3296
+ in: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: any) => ReferralRewardsQueryBuilder;
3297
+ /** @documentationMaturity preview */
3298
+ exists: (propertyName: 'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType', value: boolean) => ReferralRewardsQueryBuilder;
3299
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3300
+ * @documentationMaturity preview
3301
+ */
3302
+ ascending: (...propertyNames: Array<'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType'>) => ReferralRewardsQueryBuilder;
3303
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3304
+ * @documentationMaturity preview
3305
+ */
3306
+ descending: (...propertyNames: Array<'rewardedReferringCustomerId' | 'rewardedReferredFriendId' | '_createdDate' | '_updatedDate' | 'rewardType'>) => ReferralRewardsQueryBuilder;
3307
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
3308
+ * @documentationMaturity preview
3309
+ */
3310
+ limit: (limit: number) => ReferralRewardsQueryBuilder;
3311
+ /** @param cursor - A pointer to specific record
3312
+ * @documentationMaturity preview
3313
+ */
3314
+ skipTo: (cursor: string) => ReferralRewardsQueryBuilder;
3315
+ /** @documentationMaturity preview */
3316
+ find: () => Promise<ReferralRewardsQueryResult>;
3240
3317
  }
3241
3318
 
3242
3319
  declare function getReferralReward$1(httpClient: HttpClient): GetReferralRewardSignature;
@@ -3257,9 +3334,8 @@ interface QueryReferralRewardsSignature {
3257
3334
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
3258
3335
  * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
3259
3336
  * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
3260
- * @param - Query to filter referral rewards.
3261
3337
  */
3262
- (query: CursorQuery$2, options?: QueryReferralRewardsOptions | undefined): Promise<QueryReferralRewardsResponse & QueryReferralRewardsResponseNonNullableFields>;
3338
+ (options?: QueryReferralRewardsOptions | undefined): ReferralRewardsQueryBuilder;
3263
3339
  }
3264
3340
 
3265
3341
  declare const getReferralReward: BuildRESTFunction<typeof getReferralReward$1> & typeof getReferralReward$1;
@@ -3288,6 +3364,8 @@ type index_d$2_ReferralReward = ReferralReward;
3288
3364
  type index_d$2_ReferralRewardNonNullableFields = ReferralRewardNonNullableFields;
3289
3365
  type index_d$2_ReferralRewardReceiverOneOf = ReferralRewardReceiverOneOf;
3290
3366
  type index_d$2_ReferralRewardRewardTypeOptionsOneOf = ReferralRewardRewardTypeOptionsOneOf;
3367
+ type index_d$2_ReferralRewardsQueryBuilder = ReferralRewardsQueryBuilder;
3368
+ type index_d$2_ReferralRewardsQueryResult = ReferralRewardsQueryResult;
3291
3369
  type index_d$2_Reward = Reward;
3292
3370
  type index_d$2_RewardOptionsOneOf = RewardOptionsOneOf;
3293
3371
  type index_d$2_RewardTypeType = RewardTypeType;
@@ -3302,7 +3380,7 @@ type index_d$2_ValidateReferralRewardResponse = ValidateReferralRewardResponse;
3302
3380
  declare const index_d$2_getReferralReward: typeof getReferralReward;
3303
3381
  declare const index_d$2_queryReferralRewards: typeof queryReferralRewards;
3304
3382
  declare namespace index_d$2 {
3305
- export { type ActionEvent$2 as ActionEvent, type index_d$2_BulkGetReferralRewardsRequest as BulkGetReferralRewardsRequest, type index_d$2_BulkGetReferralRewardsResponse as BulkGetReferralRewardsResponse, type index_d$2_Coupon as Coupon, type index_d$2_CouponDiscountTypeOptionsOneOf as CouponDiscountTypeOptionsOneOf, type index_d$2_CouponScope as CouponScope, type index_d$2_CouponScopeOrMinSubtotalOneOf as CouponScopeOrMinSubtotalOneOf, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, index_d$2_DiscountType as DiscountType, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$2_FixedAmountDiscount as FixedAmountDiscount, type index_d$2_GetReferralRewardRequest as GetReferralRewardRequest, type index_d$2_GetReferralRewardResponse as GetReferralRewardResponse, type index_d$2_GetReferralRewardResponseNonNullableFields as GetReferralRewardResponseNonNullableFields, type index_d$2_Group as Group, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$2_LoyaltyPoints as LoyaltyPoints, type MessageEnvelope$2 as MessageEnvelope, type index_d$2_PercentageDiscount as PercentageDiscount, type index_d$2_QueryReferralRewardsOptions as QueryReferralRewardsOptions, type index_d$2_QueryReferralRewardsRequest as QueryReferralRewardsRequest, type index_d$2_QueryReferralRewardsResponse as QueryReferralRewardsResponse, type index_d$2_QueryReferralRewardsResponseNonNullableFields as QueryReferralRewardsResponseNonNullableFields, type index_d$2_ReferralReward as ReferralReward, type index_d$2_ReferralRewardNonNullableFields as ReferralRewardNonNullableFields, type index_d$2_ReferralRewardReceiverOneOf as ReferralRewardReceiverOneOf, type index_d$2_ReferralRewardRewardTypeOptionsOneOf as ReferralRewardRewardTypeOptionsOneOf, type ReferredFriendDetails$1 as ReferredFriendDetails, type RestoreInfo$2 as RestoreInfo, type index_d$2_Reward as Reward, type index_d$2_RewardOptionsOneOf as RewardOptionsOneOf, index_d$2_RewardTypeType as RewardTypeType, type index_d$2_RewardsInSite as RewardsInSite, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Status$1 as Status, type SuccessfulReferralEvent$1 as SuccessfulReferralEvent, index_d$2_Type as Type, type index_d$2_V1Coupon as V1Coupon, type index_d$2_V1LoyaltyPoints as V1LoyaltyPoints, type index_d$2_ValidateReferralRewardRequest as ValidateReferralRewardRequest, type index_d$2_ValidateReferralRewardResponse as ValidateReferralRewardResponse, WebhookIdentityType$2 as WebhookIdentityType, index_d$2_getReferralReward as getReferralReward, index_d$2_queryReferralRewards as queryReferralRewards };
3383
+ export { type ActionEvent$2 as ActionEvent, type index_d$2_BulkGetReferralRewardsRequest as BulkGetReferralRewardsRequest, type index_d$2_BulkGetReferralRewardsResponse as BulkGetReferralRewardsResponse, type index_d$2_Coupon as Coupon, type index_d$2_CouponDiscountTypeOptionsOneOf as CouponDiscountTypeOptionsOneOf, type index_d$2_CouponScope as CouponScope, type index_d$2_CouponScopeOrMinSubtotalOneOf as CouponScopeOrMinSubtotalOneOf, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, index_d$2_DiscountType as DiscountType, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$2_FixedAmountDiscount as FixedAmountDiscount, type index_d$2_GetReferralRewardRequest as GetReferralRewardRequest, type index_d$2_GetReferralRewardResponse as GetReferralRewardResponse, type index_d$2_GetReferralRewardResponseNonNullableFields as GetReferralRewardResponseNonNullableFields, type index_d$2_Group as Group, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$2_LoyaltyPoints as LoyaltyPoints, type MessageEnvelope$2 as MessageEnvelope, type index_d$2_PercentageDiscount as PercentageDiscount, type index_d$2_QueryReferralRewardsOptions as QueryReferralRewardsOptions, type index_d$2_QueryReferralRewardsRequest as QueryReferralRewardsRequest, type index_d$2_QueryReferralRewardsResponse as QueryReferralRewardsResponse, type index_d$2_QueryReferralRewardsResponseNonNullableFields as QueryReferralRewardsResponseNonNullableFields, type index_d$2_ReferralReward as ReferralReward, type index_d$2_ReferralRewardNonNullableFields as ReferralRewardNonNullableFields, type index_d$2_ReferralRewardReceiverOneOf as ReferralRewardReceiverOneOf, type index_d$2_ReferralRewardRewardTypeOptionsOneOf as ReferralRewardRewardTypeOptionsOneOf, type index_d$2_ReferralRewardsQueryBuilder as ReferralRewardsQueryBuilder, type index_d$2_ReferralRewardsQueryResult as ReferralRewardsQueryResult, type ReferredFriendDetails$1 as ReferredFriendDetails, type RestoreInfo$2 as RestoreInfo, type index_d$2_Reward as Reward, type index_d$2_RewardOptionsOneOf as RewardOptionsOneOf, index_d$2_RewardTypeType as RewardTypeType, type index_d$2_RewardsInSite as RewardsInSite, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Status$1 as Status, type SuccessfulReferralEvent$1 as SuccessfulReferralEvent, index_d$2_Type as Type, type index_d$2_V1Coupon as V1Coupon, type index_d$2_V1LoyaltyPoints as V1LoyaltyPoints, type index_d$2_ValidateReferralRewardRequest as ValidateReferralRewardRequest, type index_d$2_ValidateReferralRewardResponse as ValidateReferralRewardResponse, WebhookIdentityType$2 as WebhookIdentityType, index_d$2_getReferralReward as getReferralReward, index_d$2_queryReferralRewards as queryReferralRewards };
3306
3384
  }
3307
3385
 
3308
3386
  interface ReferredFriend {