@wix/auto_sdk_premium-assets_premium-assets 1.0.4 → 1.0.6
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 +20 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +112 -96
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +89 -79
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +20 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +112 -96
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +89 -79
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +20 -16
- package/build/internal/cjs/index.typings.d.ts +112 -96
- package/build/internal/cjs/meta.d.ts +89 -79
- package/build/internal/es/index.d.mts +20 -16
- package/build/internal/es/index.typings.d.mts +112 -96
- package/build/internal/es/meta.d.mts +89 -79
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -5,29 +5,33 @@ export { Account, AccountInfo, ActionEvent, ActionStatus, ActionStatusStatusOneO
|
|
|
5
5
|
declare function queryPremiumAssets$1(httpClient: HttpClient): QueryPremiumAssetsSignature;
|
|
6
6
|
interface QueryPremiumAssetsSignature {
|
|
7
7
|
/**
|
|
8
|
-
* Retrieves a list of Premium assets, given the provided
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* aren't returned by default.
|
|
8
|
+
* Retrieves a list of up to 100 Premium assets, given the provided paging,
|
|
9
|
+
* filtering, and sorting.
|
|
10
|
+
*
|
|
12
11
|
*
|
|
12
|
+
* Query Premium Assets runs with these defaults, which you can override:
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* assets. The call fails if you omit it.
|
|
14
|
+
* - `cursorPaging.limit` is `50`
|
|
16
15
|
*
|
|
17
|
-
*
|
|
18
|
-
* `
|
|
16
|
+
* Pass the ID of the account whose assets you want to retrieve in the
|
|
17
|
+
* `targetAccountId` header. The call fails without it.
|
|
19
18
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* Which assets are returned depends on what the caller is permitted on. A
|
|
20
|
+
* caller permitted on the target account receives all of the account's assets.
|
|
21
|
+
* A caller permitted only on a specific site receives that site's assets alone,
|
|
22
|
+
* and the results are filtered to that site. In the second case the site is
|
|
23
|
+
* taken from the call scope, so a call with neither an account permission nor a
|
|
24
|
+
* site in scope fails.
|
|
22
25
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
26
|
+
* Assets for which the account is
|
|
27
|
+
* [Billing Manager](https://support.wix.com/en/article/roles-permissions-overview#roles-for-integrated-wix-apps)
|
|
28
|
+
* aren't returned by default. Pass `{"includePermitted": true}` to include
|
|
29
|
+
* them. Sort isn't guaranteed to be applied when `includePermitted` is `true`.
|
|
25
30
|
*
|
|
26
|
-
*
|
|
31
|
+
* Sorting applies to the first page of results. Following requests use the
|
|
32
|
+
* cursor token, which already carries the sort from the first call.
|
|
27
33
|
*
|
|
28
|
-
* [
|
|
29
|
-
* [2]: https://dev.wix.com/api/rest/contacts/contacts/sorting,-filtering,-and-searching
|
|
30
|
-
* [3]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
34
|
+
* To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).
|
|
31
35
|
*/
|
|
32
36
|
(options?: QueryPremiumAssetsOptions): Promise<NonNullablePaths<QueryPremiumAssetsResponse, `premiumAssets` | `premiumAssets.${number}.domainsData.domain` | `premiumAssets.${number}.domainsData.primary` | `premiumAssets.${number}.domainsData.privacy` | `premiumAssets.${number}.domainsData.validInRegistrar` | `premiumAssets.${number}.domainsData.dnssecSupported` | `premiumAssets.${number}.domainsData.insuranceSupported` | `premiumAssets.${number}.domainsData.insuranceActivated` | `premiumAssets.${number}.mailboxesData.domainName` | `premiumAssets.${number}.mailboxesData.seats` | `premiumAssets.${number}.mailboxesData.vendor` | `premiumAssets.${number}.digitalGoodsData.digitalGoodsType` | `premiumAssets.${number}.premiumId` | `premiumAssets.${number}.siteData.metasiteId` | `premiumAssets.${number}.siteData.siteName` | `premiumAssets.${number}.accountOwnerId` | `premiumAssets.${number}.billingReference.providerName` | `premiumAssets.${number}.billingReference.providerReferenceId` | `premiumAssets.${number}.status` | `premiumAssets.${number}.deliveryComplete` | `premiumAssets.${number}.renewalType` | `premiumAssets.${number}.billingCycle.cycleType` | `premiumAssets.${number}.billingCycle.cycleDuration.unit` | `premiumAssets.${number}.billingCycle.cycleDuration.count` | `premiumAssets.${number}.pendingChanges.product.productId` | `premiumAssets.${number}.pendingChanges.product.productTypeId` | `premiumAssets.${number}.pendingChanges.product.productTypeName` | `premiumAssets.${number}.pendingChanges.product.productName` | `premiumAssets.${number}.wixBillingDetails.paymentMethod.paymentMethodType` | `premiumAssets.${number}.wixBillingDetails.paymentMethod.displayLabel` | `premiumAssets.${number}.wixBillingDetails.paymentMethod.paymentSourceId` | `premiumAssets.${number}.wixBillingDetails.lastInvoiceDetails.invoiceId` | `premiumAssets.${number}.wixBillingDetails.lastInvoiceDetails.currencyCode` | `premiumAssets.${number}.wixBillingDetails.lastInvoiceDetails.amount` | `premiumAssets.${number}.wixBillingDetails.lastInvoiceDetails.paymentStatus` | `premiumAssets.${number}.wixBillingDetails.customCharges` | `premiumAssets.${number}.freeTrialData.inFreeTrialPeriod` | `premiumAssets.${number}.freeTrialData.pendingExternalActivation`, 4> & {
|
|
33
37
|
__applicationErrorsType?: QueryPremiumAssetsApplicationErrors;
|