@wix/auto_sdk_pricing-plans_top-ups 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +34 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +70 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +34 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +70 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +0 -4
- package/build/internal/cjs/index.typings.d.ts +23 -15
- package/build/internal/es/index.d.mts +0 -4
- package/build/internal/es/index.typings.d.mts +23 -15
- package/package.json +2 -2
|
@@ -526,7 +526,7 @@ interface AccountInfo {
|
|
|
526
526
|
*
|
|
527
527
|
* Site members can retrieve only their own top-ups.
|
|
528
528
|
* @param topUpId - ID of the top-up to retrieve.
|
|
529
|
-
* @
|
|
529
|
+
* @public
|
|
530
530
|
* @documentationMaturity preview
|
|
531
531
|
* @requiredField topUpId
|
|
532
532
|
* @permissionId pricing_plans:v3:top_up:get_top_up
|
|
@@ -540,11 +540,13 @@ declare function getTopUp(topUpId: string): Promise<NonNullablePaths<TopUp, `bal
|
|
|
540
540
|
*
|
|
541
541
|
* Site members retrieve only their own top-ups.
|
|
542
542
|
*
|
|
543
|
+
* Supported fields for filtering and sorting: `id`, `planSubscriptionId`, `memberId`, `orderId`, `createdDate`.
|
|
544
|
+
*
|
|
543
545
|
* To learn how to query top-ups, see [API Query Language][2].
|
|
544
546
|
*
|
|
545
547
|
* [1]: https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging
|
|
546
548
|
* [2]: https://dev.wix.com/docs/rest/articles/getting-started/api-query-language
|
|
547
|
-
* @
|
|
549
|
+
* @public
|
|
548
550
|
* @documentationMaturity preview
|
|
549
551
|
* @permissionId pricing_plans:v3:top_up:query_top_ups
|
|
550
552
|
* @applicableIdentity APP
|
|
@@ -569,49 +571,49 @@ interface TopUpsQueryBuilder {
|
|
|
569
571
|
* @param value - Value to compare against.
|
|
570
572
|
* @documentationMaturity preview
|
|
571
573
|
*/
|
|
572
|
-
eq: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId', value: any) => TopUpsQueryBuilder;
|
|
574
|
+
eq: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId', value: any) => TopUpsQueryBuilder;
|
|
573
575
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
574
576
|
* @param value - Value to compare against.
|
|
575
577
|
* @documentationMaturity preview
|
|
576
578
|
*/
|
|
577
|
-
ne: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId', value: any) => TopUpsQueryBuilder;
|
|
579
|
+
ne: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId', value: any) => TopUpsQueryBuilder;
|
|
578
580
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
579
581
|
* @param value - Value to compare against.
|
|
580
582
|
* @documentationMaturity preview
|
|
581
583
|
*/
|
|
582
|
-
ge: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId', value: any) => TopUpsQueryBuilder;
|
|
584
|
+
ge: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId', value: any) => TopUpsQueryBuilder;
|
|
583
585
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
584
586
|
* @param value - Value to compare against.
|
|
585
587
|
* @documentationMaturity preview
|
|
586
588
|
*/
|
|
587
|
-
gt: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId', value: any) => TopUpsQueryBuilder;
|
|
589
|
+
gt: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId', value: any) => TopUpsQueryBuilder;
|
|
588
590
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
589
591
|
* @param value - Value to compare against.
|
|
590
592
|
* @documentationMaturity preview
|
|
591
593
|
*/
|
|
592
|
-
le: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId', value: any) => TopUpsQueryBuilder;
|
|
594
|
+
le: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId', value: any) => TopUpsQueryBuilder;
|
|
593
595
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
594
596
|
* @param value - Value to compare against.
|
|
595
597
|
* @documentationMaturity preview
|
|
596
598
|
*/
|
|
597
|
-
lt: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId', value: any) => TopUpsQueryBuilder;
|
|
599
|
+
lt: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId', value: any) => TopUpsQueryBuilder;
|
|
598
600
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
599
601
|
* @param string - String to compare against. Case-insensitive.
|
|
600
602
|
* @documentationMaturity preview
|
|
601
603
|
*/
|
|
602
|
-
startsWith: (propertyName: '_id' | 'planSubscriptionId' | 'memberId', value: string) => TopUpsQueryBuilder;
|
|
604
|
+
startsWith: (propertyName: '_id' | 'planSubscriptionId' | 'memberId' | 'orderId', value: string) => TopUpsQueryBuilder;
|
|
603
605
|
/** @documentationMaturity preview */
|
|
604
|
-
in: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId', value: any) => TopUpsQueryBuilder;
|
|
606
|
+
in: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId', value: any) => TopUpsQueryBuilder;
|
|
605
607
|
/** @documentationMaturity preview */
|
|
606
|
-
exists: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId', value: boolean) => TopUpsQueryBuilder;
|
|
608
|
+
exists: (propertyName: '_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId', value: boolean) => TopUpsQueryBuilder;
|
|
607
609
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
608
610
|
* @documentationMaturity preview
|
|
609
611
|
*/
|
|
610
|
-
ascending: (...propertyNames: Array<'_id' | '_createdDate' | 'planSubscriptionId' | 'memberId'>) => TopUpsQueryBuilder;
|
|
612
|
+
ascending: (...propertyNames: Array<'_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId'>) => TopUpsQueryBuilder;
|
|
611
613
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
612
614
|
* @documentationMaturity preview
|
|
613
615
|
*/
|
|
614
|
-
descending: (...propertyNames: Array<'_id' | '_createdDate' | 'planSubscriptionId' | 'memberId'>) => TopUpsQueryBuilder;
|
|
616
|
+
descending: (...propertyNames: Array<'_id' | '_createdDate' | 'planSubscriptionId' | 'memberId' | 'orderId'>) => TopUpsQueryBuilder;
|
|
615
617
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
616
618
|
* @documentationMaturity preview
|
|
617
619
|
*/
|
|
@@ -633,7 +635,13 @@ interface TopUpQuerySpec extends QuerySpec {
|
|
|
633
635
|
paging: 'cursor';
|
|
634
636
|
wql: [
|
|
635
637
|
{
|
|
636
|
-
fields: [
|
|
638
|
+
fields: [
|
|
639
|
+
'_createdDate',
|
|
640
|
+
'_id',
|
|
641
|
+
'memberId',
|
|
642
|
+
'orderId',
|
|
643
|
+
'planSubscriptionId'
|
|
644
|
+
];
|
|
637
645
|
operators: '*';
|
|
638
646
|
sort: 'BOTH';
|
|
639
647
|
}
|
|
@@ -699,7 +707,7 @@ declare const utils: {
|
|
|
699
707
|
* Site members can retrieve only the top-up offers of their own plan subscriptions. They get a `PERMISSION_DENIED`
|
|
700
708
|
* error for a plan subscription that doesn't exist or belongs to another member.
|
|
701
709
|
* @param planSubscriptionId - ID of the plan subscription to retrieve the top-up offers for.
|
|
702
|
-
* @
|
|
710
|
+
* @public
|
|
703
711
|
* @documentationMaturity preview
|
|
704
712
|
* @requiredField planSubscriptionId
|
|
705
713
|
* @permissionId pricing_plans:v3:top_up:get_purchasable_top_up_offers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_pricing-plans_top-ups",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.pricing_plans.v3.top_up"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "b48153fa47e083577926de3bc97ab6cf24842b4401b5d703bfc78497"
|
|
54
54
|
}
|