@stigg/js-client-sdk 2.5.0 → 2.7.0
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/dist/api/CustomersApi.d.ts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.js +26 -2
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +1 -0
- package/dist/src/api/CustomersApi.d.ts +1 -1
- package/dist/src/client.d.ts +1 -1
- package/dist/src/models.d.ts +1 -0
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ declare class CustomersApi {
|
|
|
6
6
|
constructor(client: ApolloClient<NormalizedCacheObject>);
|
|
7
7
|
getCustomer(customerId: string): Promise<import("@apollo/client/core").ApolloQueryResult<GetCustomerByIdQuery>>;
|
|
8
8
|
getActiveSubscriptions(customerId: string, resourceId?: string): Promise<import("@apollo/client/core").ApolloQueryResult<GetActiveSubscriptionsQuery>>;
|
|
9
|
-
getCustomerPortal(customerId: string, resourceId: string | undefined): Promise<import("@apollo/client/core").ApolloQueryResult<GetCustomerPortalByRefIdQuery>>;
|
|
9
|
+
getCustomerPortal(customerId: string, resourceId: string | undefined, productId: string | undefined): Promise<import("@apollo/client/core").ApolloQueryResult<GetCustomerPortalByRefIdQuery>>;
|
|
10
10
|
fetchUsageHistory({ customerId, resourceId, endDate, startDate, featureId }: FetchUsageHistory): Promise<import("@apollo/client/core").ApolloQueryResult<UsageHistoryQuery>>;
|
|
11
11
|
}
|
|
12
12
|
export default CustomersApi;
|
package/dist/client.d.ts
CHANGED
|
@@ -144,7 +144,7 @@ export declare class Stigg implements StiggClient {
|
|
|
144
144
|
*
|
|
145
145
|
* @returns {Promise<CustomerPortal>}
|
|
146
146
|
*/
|
|
147
|
-
getCustomerPortal({ resourceId }?: GetCustomerPortal): Promise<CustomerPortal>;
|
|
147
|
+
getCustomerPortal({ resourceId, productId }?: GetCustomerPortal): Promise<CustomerPortal>;
|
|
148
148
|
/**
|
|
149
149
|
* Fetch customer usage history of a feature.
|
|
150
150
|
* @return {Promise<UsageHistoryPoint[]>} Array of usage history as data points.
|