@elasticpath/js-sdk 3.0.0 → 3.0.1
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/index.cjs.js +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -7229,6 +7229,7 @@ interface SubscriptionPlansEndpoint
|
|
|
7229
7229
|
* For custom flows, extend this interface
|
|
7230
7230
|
* DOCS: TODO: add docs when ready
|
|
7231
7231
|
*/
|
|
7232
|
+
|
|
7232
7233
|
interface SubscriptionOfferingBase {
|
|
7233
7234
|
type: string
|
|
7234
7235
|
attributes: {
|
|
@@ -7347,6 +7348,7 @@ type SubscriptionOfferingPlanMeta = {
|
|
|
7347
7348
|
|
|
7348
7349
|
type SubscriptionOfferingPlan = Omit<SubscriptionPlan, 'meta'> & SubscriptionOfferingAttachmentsRelationships & SubscriptionOfferingPlanMeta
|
|
7349
7350
|
type SubscriptionOfferingProduct = SubscriptionProduct & SubscriptionOfferingAttachmentsRelationships
|
|
7351
|
+
|
|
7350
7352
|
/**
|
|
7351
7353
|
* Subscription Offering Endpoints
|
|
7352
7354
|
* DOCS: TODO: add docs when ready
|
|
@@ -7364,9 +7366,9 @@ interface SubscriptionOfferingsEndpoint
|
|
|
7364
7366
|
|
|
7365
7367
|
Build(body: SubscriptionOfferingBuildBody): Promise<Resource<SubscriptionOffering>>
|
|
7366
7368
|
|
|
7367
|
-
GetAttachedProducts(id: string)
|
|
7369
|
+
GetAttachedProducts(id: string): Promise<Resource<SubscriptionOfferingProduct[]>>
|
|
7368
7370
|
|
|
7369
|
-
GetAttachedPlans(id: string)
|
|
7371
|
+
GetAttachedPlans(id: string): Promise<Resource<SubscriptionOfferingPlan[]>>
|
|
7370
7372
|
|
|
7371
7373
|
AttachProducts(offeringId: string, body: SubscriptionOfferingAttachProductBody): Promise<Resource<SubscriptionProduct[]>>
|
|
7372
7374
|
|
|
@@ -7379,6 +7381,7 @@ interface SubscriptionOfferingsEndpoint
|
|
|
7379
7381
|
AttachProrationPolicy(offeringId: string, body: SubscriptionOfferingAttachProrationPolicyBody | null): Promise<Resource<SubscriptionOfferingAttachProrationPolicyBody>>
|
|
7380
7382
|
|
|
7381
7383
|
ReplaceProducts(offeringId: string, productIds: string[]): Promise<Resource<SubscriptionProduct[]>>
|
|
7384
|
+
}
|
|
7382
7385
|
|
|
7383
7386
|
/**
|
|
7384
7387
|
* One Time Password Token Request
|
package/dist/index.esm.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED