@deliverart/sdk-js-subscription 2.13.3 → 2.13.5
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/README.md +51 -0
- package/dist/index.cjs +571 -46
- package/dist/index.d.cts +2872 -107
- package/dist/index.d.ts +2872 -107
- package/dist/index.js +517 -46
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -13819,6 +13819,8 @@ var subscriptionAvailabilityReasons = [
|
|
|
13819
13819
|
"operation_not_allowed"
|
|
13820
13820
|
];
|
|
13821
13821
|
var subscriptionAvailabilityReasonSchema = external_exports.enum(subscriptionAvailabilityReasons);
|
|
13822
|
+
var subscriptionPurchaseStatuses = ["pending", "completed", "cancelled", "failed"];
|
|
13823
|
+
var subscriptionPurchaseStatusSchema = external_exports.enum(subscriptionPurchaseStatuses);
|
|
13822
13824
|
var resolvableRenewalPaymentStatuses = ["paid", "failed", "canceled"];
|
|
13823
13825
|
var resolvableRenewalPaymentStatusSchema = external_exports.enum(resolvableRenewalPaymentStatuses);
|
|
13824
13826
|
var subscriptionIriSchema = iriSchema("/subscriptions/:id");
|
|
@@ -13837,6 +13839,10 @@ var subscriptionTimeBasedNullableIriSchema = iriNullableSchema(
|
|
|
13837
13839
|
);
|
|
13838
13840
|
var subscriptionPriceIriSchema = iriSchema("/subscriptions/prices/:id");
|
|
13839
13841
|
var subscriptionPriceNullableIriSchema = iriNullableSchema("/subscriptions/prices/:id");
|
|
13842
|
+
var subscriptionPlanIriSchema = iriSchema("/subscription_plans/:id");
|
|
13843
|
+
var subscriptionPlanNullableIriSchema = iriNullableSchema("/subscription_plans/:id");
|
|
13844
|
+
var subscriptionPurchaseIriSchema = iriSchema("/subscriptions/purchases/:id");
|
|
13845
|
+
var subscriptionPurchaseNullableIriSchema = iriNullableSchema("/subscriptions/purchases/:id");
|
|
13840
13846
|
var subscriptionConsumptionRenewalIriSchema = iriSchema(
|
|
13841
13847
|
"/subscriptions/consumption/renewals/:id"
|
|
13842
13848
|
);
|
|
@@ -13864,12 +13870,59 @@ var integerRangeFilterShape = {
|
|
|
13864
13870
|
"[lte]": external_exports.coerce.number().optional()
|
|
13865
13871
|
};
|
|
13866
13872
|
var jsonContextSchema = external_exports.union([external_exports.array(external_exports.unknown()), external_exports.record(external_exports.string(), external_exports.unknown())]);
|
|
13873
|
+
var subscriptionPlanSummarySchema = external_exports.object({
|
|
13874
|
+
id: external_exports.string(),
|
|
13875
|
+
code: external_exports.string(),
|
|
13876
|
+
name: external_exports.string(),
|
|
13877
|
+
type: subscriptionTypeSchema2,
|
|
13878
|
+
isActive: external_exports.boolean(),
|
|
13879
|
+
isPurchasable: external_exports.boolean(),
|
|
13880
|
+
isAdminOnly: external_exports.boolean()
|
|
13881
|
+
});
|
|
13882
|
+
var subscriptionOverviewPlanSchema = external_exports.object({
|
|
13883
|
+
id: external_exports.string(),
|
|
13884
|
+
iri: subscriptionPlanIriSchema,
|
|
13885
|
+
code: external_exports.string(),
|
|
13886
|
+
name: external_exports.string(),
|
|
13887
|
+
type: subscriptionTypeSchema2,
|
|
13888
|
+
active: external_exports.boolean(),
|
|
13889
|
+
purchasable: external_exports.boolean(),
|
|
13890
|
+
adminOnly: external_exports.boolean()
|
|
13891
|
+
});
|
|
13892
|
+
var subscriptionPlanPriceOptionSchema = external_exports.object({
|
|
13893
|
+
id: external_exports.string(),
|
|
13894
|
+
iri: subscriptionPriceIriSchema,
|
|
13895
|
+
threshold: external_exports.coerce.number().int().nonnegative(),
|
|
13896
|
+
unitPrice: external_exports.string()
|
|
13897
|
+
});
|
|
13898
|
+
var subscriptionPlanSchema = external_exports.object({
|
|
13899
|
+
id: external_exports.string(),
|
|
13900
|
+
code: external_exports.string(),
|
|
13901
|
+
name: external_exports.string(),
|
|
13902
|
+
description: external_exports.string().nullable(),
|
|
13903
|
+
type: subscriptionTypeSchema2,
|
|
13904
|
+
isActive: external_exports.boolean(),
|
|
13905
|
+
isPurchasable: external_exports.boolean(),
|
|
13906
|
+
isAdminOnly: external_exports.boolean(),
|
|
13907
|
+
defaultAutoRenewal: external_exports.boolean(),
|
|
13908
|
+
includedCredits: external_exports.coerce.number().int().positive().nullable(),
|
|
13909
|
+
renewalCredits: external_exports.coerce.number().int().positive().nullable(),
|
|
13910
|
+
renewalThreshold: external_exports.coerce.number().int().nonnegative().nullable(),
|
|
13911
|
+
durationDays: external_exports.coerce.number().int().positive().nullable(),
|
|
13912
|
+
renewalDays: external_exports.coerce.number().int().positive().nullable(),
|
|
13913
|
+
renewalOffsetDays: external_exports.coerce.number().int().nonnegative().nullable(),
|
|
13914
|
+
operationCosts: external_exports.record(external_exports.string(), external_exports.coerce.number().int().nonnegative()),
|
|
13915
|
+
priceOptions: external_exports.array(subscriptionPlanPriceOptionSchema).default([]),
|
|
13916
|
+
createdAt: datetimeSchema,
|
|
13917
|
+
updatedAt: datetimeSchema
|
|
13918
|
+
});
|
|
13867
13919
|
var subscriptionBaseSchema = external_exports.object({
|
|
13868
13920
|
id: external_exports.string(),
|
|
13869
13921
|
status: subscriptionStatusSchema2,
|
|
13870
13922
|
autoRenewal: external_exports.boolean(),
|
|
13871
13923
|
startsAt: subscriptionDateSchema,
|
|
13872
13924
|
customUnitPrice: external_exports.string().nullable(),
|
|
13925
|
+
plan: subscriptionPlanSummarySchema.nullable().optional(),
|
|
13873
13926
|
createdAt: datetimeSchema,
|
|
13874
13927
|
updatedAt: datetimeSchema
|
|
13875
13928
|
});
|
|
@@ -13944,9 +13997,29 @@ var subscriptionTimeBasedRenewalSchema = renewalBaseSchema.extend({
|
|
|
13944
13997
|
var subscriptionTimeBasedRenewalDetailsSchema = subscriptionTimeBasedRenewalSchema.extend({
|
|
13945
13998
|
subscription: subscriptionTimeBasedIriSchema
|
|
13946
13999
|
});
|
|
14000
|
+
var subscriptionPurchaseSchema = external_exports.object({
|
|
14001
|
+
id: external_exports.string(),
|
|
14002
|
+
plan: subscriptionPlanIriSchema,
|
|
14003
|
+
status: subscriptionPurchaseStatusSchema,
|
|
14004
|
+
type: subscriptionTypeSchema2,
|
|
14005
|
+
autoRenewal: external_exports.boolean().nullable(),
|
|
14006
|
+
startsAt: subscriptionDateSchema,
|
|
14007
|
+
threshold: external_exports.coerce.number().int().nonnegative(),
|
|
14008
|
+
amount: external_exports.string(),
|
|
14009
|
+
paymentMethod: paymentMethodSchema2.nullable(),
|
|
14010
|
+
paymentStatus: paymentStatusSchema2.nullable(),
|
|
14011
|
+
createdAt: datetimeSchema,
|
|
14012
|
+
updatedAt: datetimeSchema
|
|
14013
|
+
});
|
|
14014
|
+
var subscriptionPurchaseDetailsSchema = subscriptionPurchaseSchema.extend({
|
|
14015
|
+
pointOfSale: pointOfSaleIriSchema,
|
|
14016
|
+
payment: paymentNullableIriSchema.nullable().optional(),
|
|
14017
|
+
subscription: subscriptionNullableIriSchema.nullable().optional()
|
|
14018
|
+
});
|
|
13947
14019
|
var subscriptionPriceSchema = external_exports.object({
|
|
13948
14020
|
id: external_exports.string(),
|
|
13949
14021
|
type: subscriptionTypeSchema2,
|
|
14022
|
+
plan: subscriptionPlanNullableIriSchema.nullable().optional(),
|
|
13950
14023
|
threshold: external_exports.coerce.number().int(),
|
|
13951
14024
|
unitPrice: external_exports.string(),
|
|
13952
14025
|
createdAt: datetimeSchema,
|
|
@@ -14017,6 +14090,12 @@ var resolveSubscriptionRenewalPaymentInputSchema = external_exports.object({
|
|
|
14017
14090
|
status: resolvableRenewalPaymentStatusSchema,
|
|
14018
14091
|
response: external_exports.string().max(65535).optional()
|
|
14019
14092
|
});
|
|
14093
|
+
var writableSubscriptionPurchaseSchema = external_exports.object({
|
|
14094
|
+
pointOfSale: pointOfSaleIriSchema,
|
|
14095
|
+
plan: subscriptionPlanIriSchema,
|
|
14096
|
+
autoRenewal: external_exports.boolean().optional().nullable(),
|
|
14097
|
+
startsAt: subscriptionDateSchema.optional()
|
|
14098
|
+
});
|
|
14020
14099
|
var subscriptionOverviewSubscriptionIriSchema = external_exports.union([
|
|
14021
14100
|
subscriptionInfiniteIriSchema,
|
|
14022
14101
|
subscriptionConsumptionIriSchema,
|
|
@@ -14025,6 +14104,7 @@ var subscriptionOverviewSubscriptionIriSchema = external_exports.union([
|
|
|
14025
14104
|
var subscriptionOverviewSubscriptionSchema = external_exports.object({
|
|
14026
14105
|
id: external_exports.string(),
|
|
14027
14106
|
iri: subscriptionOverviewSubscriptionIriSchema,
|
|
14107
|
+
plan: subscriptionOverviewPlanSchema.nullable(),
|
|
14028
14108
|
type: subscriptionTypeSchema2,
|
|
14029
14109
|
status: subscriptionStatusSchema2,
|
|
14030
14110
|
startsAt: subscriptionDateSchema,
|
|
@@ -14073,9 +14153,27 @@ var writableSubscriptionTimeBasedSchema = writableSubscriptionCommonSchema.exten
|
|
|
14073
14153
|
});
|
|
14074
14154
|
var writableSubscriptionPriceSchema = external_exports.object({
|
|
14075
14155
|
type: subscriptionTypeSchema2,
|
|
14156
|
+
plan: subscriptionPlanNullableIriSchema.nullable().optional(),
|
|
14076
14157
|
threshold: external_exports.coerce.number().int().nonnegative(),
|
|
14077
14158
|
unitPrice: external_exports.string()
|
|
14078
14159
|
});
|
|
14160
|
+
var writableSubscriptionPlanSchema = external_exports.object({
|
|
14161
|
+
code: external_exports.string().min(1).max(100),
|
|
14162
|
+
name: external_exports.string().min(1).max(255),
|
|
14163
|
+
description: external_exports.string().optional().nullable(),
|
|
14164
|
+
type: subscriptionTypeSchema2,
|
|
14165
|
+
isActive: external_exports.boolean().optional(),
|
|
14166
|
+
isPurchasable: external_exports.boolean().optional(),
|
|
14167
|
+
isAdminOnly: external_exports.boolean().optional(),
|
|
14168
|
+
defaultAutoRenewal: external_exports.boolean().optional(),
|
|
14169
|
+
includedCredits: external_exports.coerce.number().int().positive().optional().nullable(),
|
|
14170
|
+
renewalCredits: external_exports.coerce.number().int().positive().optional().nullable(),
|
|
14171
|
+
renewalThreshold: external_exports.coerce.number().int().nonnegative().optional().nullable(),
|
|
14172
|
+
durationDays: external_exports.coerce.number().int().positive().optional().nullable(),
|
|
14173
|
+
renewalDays: external_exports.coerce.number().int().positive().optional().nullable(),
|
|
14174
|
+
renewalOffsetDays: external_exports.coerce.number().int().nonnegative().optional().nullable(),
|
|
14175
|
+
operationCosts: external_exports.record(external_exports.string(), external_exports.coerce.number().int().nonnegative()).optional()
|
|
14176
|
+
});
|
|
14079
14177
|
var writableSubscriptionConsumptionRenewalSchema = external_exports.object({
|
|
14080
14178
|
subscription: subscriptionConsumptionIriSchema,
|
|
14081
14179
|
credits: external_exports.coerce.number().int().positive()
|
|
@@ -14157,9 +14255,26 @@ var subscriptionTimeBasedRenewalsQuerySchema = renewalQueryBaseSchema.extend({
|
|
|
14157
14255
|
"days[lt]": integerRangeFilterShape["[lt]"],
|
|
14158
14256
|
"days[lte]": integerRangeFilterShape["[lte]"]
|
|
14159
14257
|
});
|
|
14258
|
+
var subscriptionPlansQuerySchema = external_exports.object({
|
|
14259
|
+
id: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14260
|
+
code: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14261
|
+
name: external_exports.string().optional(),
|
|
14262
|
+
type: external_exports.union([subscriptionTypeSchema2, external_exports.array(subscriptionTypeSchema2)]).optional(),
|
|
14263
|
+
isActive: booleanSchema.optional(),
|
|
14264
|
+
isPurchasable: booleanSchema.optional(),
|
|
14265
|
+
isAdminOnly: booleanSchema.optional(),
|
|
14266
|
+
defaultAutoRenewal: booleanSchema.optional(),
|
|
14267
|
+
"order[name]": sortDirSchema.optional(),
|
|
14268
|
+
"order[code]": sortDirSchema.optional(),
|
|
14269
|
+
"order[createdAt]": sortDirSchema.optional(),
|
|
14270
|
+
"order[updatedAt]": sortDirSchema.optional(),
|
|
14271
|
+
page: external_exports.coerce.number().optional()
|
|
14272
|
+
}).extend(timestampsFilterSchema.shape);
|
|
14160
14273
|
var subscriptionPricesQuerySchema = external_exports.object({
|
|
14161
14274
|
id: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14162
14275
|
type: external_exports.union([subscriptionTypeSchema2, external_exports.array(subscriptionTypeSchema2)]).optional(),
|
|
14276
|
+
"plan.id": external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14277
|
+
"plan.code": external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14163
14278
|
"threshold[between]": external_exports.coerce.number().optional(),
|
|
14164
14279
|
"threshold[gt]": external_exports.coerce.number().optional(),
|
|
14165
14280
|
"threshold[gte]": external_exports.coerce.number().optional(),
|
|
@@ -14175,6 +14290,33 @@ var subscriptionPricesQuerySchema = external_exports.object({
|
|
|
14175
14290
|
"order[updatedAt]": sortDirSchema.optional(),
|
|
14176
14291
|
page: external_exports.coerce.number().optional()
|
|
14177
14292
|
}).extend(timestampsFilterSchema.shape);
|
|
14293
|
+
var subscriptionPurchasesQuerySchema = external_exports.object({
|
|
14294
|
+
id: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14295
|
+
status: external_exports.union([subscriptionPurchaseStatusSchema, external_exports.array(subscriptionPurchaseStatusSchema)]).optional(),
|
|
14296
|
+
type: external_exports.union([subscriptionTypeSchema2, external_exports.array(subscriptionTypeSchema2)]).optional(),
|
|
14297
|
+
"pointOfSale.id": external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14298
|
+
"plan.id": external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14299
|
+
"plan.code": external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14300
|
+
"startsAt[before]": external_exports.string().optional(),
|
|
14301
|
+
"startsAt[strictly_before]": external_exports.string().optional(),
|
|
14302
|
+
"startsAt[after]": external_exports.string().optional(),
|
|
14303
|
+
"startsAt[strictly_after]": external_exports.string().optional(),
|
|
14304
|
+
"threshold[between]": external_exports.coerce.number().optional(),
|
|
14305
|
+
"threshold[gt]": external_exports.coerce.number().optional(),
|
|
14306
|
+
"threshold[gte]": external_exports.coerce.number().optional(),
|
|
14307
|
+
"threshold[lt]": external_exports.coerce.number().optional(),
|
|
14308
|
+
"threshold[lte]": external_exports.coerce.number().optional(),
|
|
14309
|
+
"amount[between]": external_exports.coerce.number().optional(),
|
|
14310
|
+
"amount[gt]": external_exports.coerce.number().optional(),
|
|
14311
|
+
"amount[gte]": external_exports.coerce.number().optional(),
|
|
14312
|
+
"amount[lt]": external_exports.coerce.number().optional(),
|
|
14313
|
+
"amount[lte]": external_exports.coerce.number().optional(),
|
|
14314
|
+
"order[createdAt]": sortDirSchema.optional(),
|
|
14315
|
+
"order[updatedAt]": sortDirSchema.optional(),
|
|
14316
|
+
"order[startsAt]": sortDirSchema.optional(),
|
|
14317
|
+
"order[amount]": sortDirSchema.optional(),
|
|
14318
|
+
page: external_exports.coerce.number().optional()
|
|
14319
|
+
}).extend(timestampsFilterSchema.shape);
|
|
14178
14320
|
var creditUsageLogsQuerySchema = external_exports.object({
|
|
14179
14321
|
id: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
14180
14322
|
type: external_exports.union([creditTransactionTypeSchema2, external_exports.array(creditTransactionTypeSchema2)]).optional(),
|
|
@@ -14198,7 +14340,9 @@ var getSubscriptionTimeBasedListResponseSchema = createPaginatedSchema(
|
|
|
14198
14340
|
var getSubscriptionInfiniteListResponseSchema = createPaginatedSchema(
|
|
14199
14341
|
subscriptionInfiniteSchema
|
|
14200
14342
|
);
|
|
14343
|
+
var getSubscriptionPlansResponseSchema = createPaginatedSchema(subscriptionPlanSchema);
|
|
14201
14344
|
var getSubscriptionPricesResponseSchema = createPaginatedSchema(subscriptionPriceSchema);
|
|
14345
|
+
var getSubscriptionPurchasesResponseSchema = createPaginatedSchema(subscriptionPurchaseSchema);
|
|
14202
14346
|
var getCreditUsageLogsResponseSchema = createPaginatedSchema(creditUsageLogSchema);
|
|
14203
14347
|
var getSubscriptionConsumptionRenewalsResponseSchema = createPaginatedSchema(
|
|
14204
14348
|
subscriptionConsumptionRenewalSchema
|
|
@@ -14206,6 +14350,7 @@ var getSubscriptionConsumptionRenewalsResponseSchema = createPaginatedSchema(
|
|
|
14206
14350
|
var getSubscriptionTimeBasedRenewalsResponseSchema = createPaginatedSchema(
|
|
14207
14351
|
subscriptionTimeBasedRenewalSchema
|
|
14208
14352
|
);
|
|
14353
|
+
var getSubscriptionPlanCatalogResponseSchema = external_exports.array(subscriptionPlanSchema);
|
|
14209
14354
|
|
|
14210
14355
|
// src/requests/credit-usage-logs/DeleteCreditUsageLog.ts
|
|
14211
14356
|
import { AbstractApiRequest } from "@deliverart/sdk-js-core";
|
|
@@ -14653,11 +14798,157 @@ var GetSubscriptionInfiniteList = class extends AbstractApiRequest21 {
|
|
|
14653
14798
|
}
|
|
14654
14799
|
};
|
|
14655
14800
|
|
|
14656
|
-
// src/requests/subscription-
|
|
14801
|
+
// src/requests/subscription-plans/CreateSubscriptionPlan.ts
|
|
14657
14802
|
import { AbstractApiRequest as AbstractApiRequest22 } from "@deliverart/sdk-js-core";
|
|
14803
|
+
var createSubscriptionPlanInputSchema = writableSubscriptionPlanSchema.required();
|
|
14804
|
+
var createSubscriptionPlanResponseSchema = subscriptionPlanSchema;
|
|
14805
|
+
var CreateSubscriptionPlan = class extends AbstractApiRequest22 {
|
|
14806
|
+
constructor(input) {
|
|
14807
|
+
super(input);
|
|
14808
|
+
this.method = "POST";
|
|
14809
|
+
this.contentType = "application/json";
|
|
14810
|
+
this.accept = "application/json";
|
|
14811
|
+
this.inputSchema = createSubscriptionPlanInputSchema;
|
|
14812
|
+
this.outputSchema = createSubscriptionPlanResponseSchema;
|
|
14813
|
+
this.querySchema = void 0;
|
|
14814
|
+
this.headersSchema = void 0;
|
|
14815
|
+
}
|
|
14816
|
+
getPath() {
|
|
14817
|
+
return "/subscription_plans";
|
|
14818
|
+
}
|
|
14819
|
+
};
|
|
14820
|
+
|
|
14821
|
+
// src/requests/subscription-plans/DeleteSubscriptionPlan.ts
|
|
14822
|
+
import { AbstractApiRequest as AbstractApiRequest23 } from "@deliverart/sdk-js-core";
|
|
14823
|
+
var deleteSubscriptionPlanInputSchema = external_exports.undefined();
|
|
14824
|
+
var deleteSubscriptionPlanResponseSchema = external_exports.undefined();
|
|
14825
|
+
var DeleteSubscriptionPlan = class extends AbstractApiRequest23 {
|
|
14826
|
+
constructor(subscriptionPlanId) {
|
|
14827
|
+
super(void 0);
|
|
14828
|
+
this.method = "DELETE";
|
|
14829
|
+
this.contentType = "application/json";
|
|
14830
|
+
this.accept = "application/json";
|
|
14831
|
+
this.inputSchema = deleteSubscriptionPlanInputSchema;
|
|
14832
|
+
this.outputSchema = deleteSubscriptionPlanResponseSchema;
|
|
14833
|
+
this.querySchema = void 0;
|
|
14834
|
+
this.headersSchema = void 0;
|
|
14835
|
+
this.subscriptionPlanId = subscriptionPlanId;
|
|
14836
|
+
}
|
|
14837
|
+
getPath() {
|
|
14838
|
+
return `/subscription_plans/${this.subscriptionPlanId}`;
|
|
14839
|
+
}
|
|
14840
|
+
};
|
|
14841
|
+
|
|
14842
|
+
// src/requests/subscription-plans/GetSubscriptionPlanCatalog.ts
|
|
14843
|
+
import { AbstractApiRequest as AbstractApiRequest24 } from "@deliverart/sdk-js-core";
|
|
14844
|
+
var getSubscriptionPlanCatalogInputSchema = external_exports.undefined();
|
|
14845
|
+
var GetSubscriptionPlanCatalog = class extends AbstractApiRequest24 {
|
|
14846
|
+
constructor() {
|
|
14847
|
+
super(void 0);
|
|
14848
|
+
this.method = "GET";
|
|
14849
|
+
this.contentType = "application/json";
|
|
14850
|
+
this.accept = "application/json";
|
|
14851
|
+
this.inputSchema = getSubscriptionPlanCatalogInputSchema;
|
|
14852
|
+
this.outputSchema = getSubscriptionPlanCatalogResponseSchema;
|
|
14853
|
+
this.querySchema = void 0;
|
|
14854
|
+
this.headersSchema = void 0;
|
|
14855
|
+
this.listItemSchema = subscriptionPlanSchema;
|
|
14856
|
+
this.paginationDefaultEnabled = false;
|
|
14857
|
+
}
|
|
14858
|
+
getPath() {
|
|
14859
|
+
return "/subscriptions/catalog/plans";
|
|
14860
|
+
}
|
|
14861
|
+
};
|
|
14862
|
+
|
|
14863
|
+
// src/requests/subscription-plans/GetSubscriptionPlanCatalogDetails.ts
|
|
14864
|
+
import { AbstractApiRequest as AbstractApiRequest25 } from "@deliverart/sdk-js-core";
|
|
14865
|
+
var getSubscriptionPlanCatalogDetailsInputSchema = external_exports.undefined();
|
|
14866
|
+
var getSubscriptionPlanCatalogDetailsResponseSchema = subscriptionPlanSchema;
|
|
14867
|
+
var GetSubscriptionPlanCatalogDetails = class extends AbstractApiRequest25 {
|
|
14868
|
+
constructor(subscriptionPlanId) {
|
|
14869
|
+
super(void 0);
|
|
14870
|
+
this.method = "GET";
|
|
14871
|
+
this.contentType = "application/json";
|
|
14872
|
+
this.accept = "application/json";
|
|
14873
|
+
this.inputSchema = getSubscriptionPlanCatalogDetailsInputSchema;
|
|
14874
|
+
this.outputSchema = getSubscriptionPlanCatalogDetailsResponseSchema;
|
|
14875
|
+
this.querySchema = void 0;
|
|
14876
|
+
this.headersSchema = void 0;
|
|
14877
|
+
this.subscriptionPlanId = subscriptionPlanId;
|
|
14878
|
+
}
|
|
14879
|
+
getPath() {
|
|
14880
|
+
return `/subscriptions/catalog/plans/${this.subscriptionPlanId}`;
|
|
14881
|
+
}
|
|
14882
|
+
};
|
|
14883
|
+
|
|
14884
|
+
// src/requests/subscription-plans/GetSubscriptionPlanDetails.ts
|
|
14885
|
+
import { AbstractApiRequest as AbstractApiRequest26 } from "@deliverart/sdk-js-core";
|
|
14886
|
+
var getSubscriptionPlanDetailsInputSchema = external_exports.undefined();
|
|
14887
|
+
var getSubscriptionPlanDetailsResponseSchema = subscriptionPlanSchema;
|
|
14888
|
+
var GetSubscriptionPlanDetails = class extends AbstractApiRequest26 {
|
|
14889
|
+
constructor(subscriptionPlanId) {
|
|
14890
|
+
super(void 0);
|
|
14891
|
+
this.method = "GET";
|
|
14892
|
+
this.contentType = "application/json";
|
|
14893
|
+
this.accept = "application/json";
|
|
14894
|
+
this.inputSchema = getSubscriptionPlanDetailsInputSchema;
|
|
14895
|
+
this.outputSchema = getSubscriptionPlanDetailsResponseSchema;
|
|
14896
|
+
this.querySchema = void 0;
|
|
14897
|
+
this.headersSchema = void 0;
|
|
14898
|
+
this.subscriptionPlanId = subscriptionPlanId;
|
|
14899
|
+
}
|
|
14900
|
+
getPath() {
|
|
14901
|
+
return `/subscription_plans/${this.subscriptionPlanId}`;
|
|
14902
|
+
}
|
|
14903
|
+
};
|
|
14904
|
+
|
|
14905
|
+
// src/requests/subscription-plans/GetSubscriptionPlans.ts
|
|
14906
|
+
import { AbstractApiRequest as AbstractApiRequest27 } from "@deliverart/sdk-js-core";
|
|
14907
|
+
var getSubscriptionPlansInputSchema = external_exports.undefined();
|
|
14908
|
+
var GetSubscriptionPlans = class extends AbstractApiRequest27 {
|
|
14909
|
+
constructor(options) {
|
|
14910
|
+
super(void 0, options);
|
|
14911
|
+
this.method = "GET";
|
|
14912
|
+
this.contentType = "application/json";
|
|
14913
|
+
this.accept = "application/json";
|
|
14914
|
+
this.inputSchema = getSubscriptionPlansInputSchema;
|
|
14915
|
+
this.outputSchema = getSubscriptionPlansResponseSchema;
|
|
14916
|
+
this.querySchema = subscriptionPlansQuerySchema;
|
|
14917
|
+
this.headersSchema = void 0;
|
|
14918
|
+
this.listItemSchema = subscriptionPlanSchema;
|
|
14919
|
+
this.paginationDefaultEnabled = true;
|
|
14920
|
+
}
|
|
14921
|
+
getPath() {
|
|
14922
|
+
return "/subscription_plans";
|
|
14923
|
+
}
|
|
14924
|
+
};
|
|
14925
|
+
|
|
14926
|
+
// src/requests/subscription-plans/UpdateSubscriptionPlan.ts
|
|
14927
|
+
import { AbstractApiRequest as AbstractApiRequest28 } from "@deliverart/sdk-js-core";
|
|
14928
|
+
var updateSubscriptionPlanInputSchema = writableSubscriptionPlanSchema.partial();
|
|
14929
|
+
var updateSubscriptionPlanResponseSchema = subscriptionPlanSchema;
|
|
14930
|
+
var UpdateSubscriptionPlan = class extends AbstractApiRequest28 {
|
|
14931
|
+
constructor(subscriptionPlanId, input) {
|
|
14932
|
+
super(input);
|
|
14933
|
+
this.method = "PATCH";
|
|
14934
|
+
this.contentType = "application/merge-patch+json";
|
|
14935
|
+
this.accept = "application/json";
|
|
14936
|
+
this.inputSchema = updateSubscriptionPlanInputSchema;
|
|
14937
|
+
this.outputSchema = updateSubscriptionPlanResponseSchema;
|
|
14938
|
+
this.querySchema = void 0;
|
|
14939
|
+
this.headersSchema = void 0;
|
|
14940
|
+
this.subscriptionPlanId = subscriptionPlanId;
|
|
14941
|
+
}
|
|
14942
|
+
getPath() {
|
|
14943
|
+
return `/subscription_plans/${this.subscriptionPlanId}`;
|
|
14944
|
+
}
|
|
14945
|
+
};
|
|
14946
|
+
|
|
14947
|
+
// src/requests/subscription-prices/CreateSubscriptionPrice.ts
|
|
14948
|
+
import { AbstractApiRequest as AbstractApiRequest29 } from "@deliverart/sdk-js-core";
|
|
14658
14949
|
var createSubscriptionPriceInputSchema = writableSubscriptionPriceSchema.required();
|
|
14659
14950
|
var createSubscriptionPriceResponseSchema = subscriptionPriceSchema;
|
|
14660
|
-
var CreateSubscriptionPrice = class extends
|
|
14951
|
+
var CreateSubscriptionPrice = class extends AbstractApiRequest29 {
|
|
14661
14952
|
constructor(input) {
|
|
14662
14953
|
super(input);
|
|
14663
14954
|
this.method = "POST";
|
|
@@ -14674,11 +14965,11 @@ var CreateSubscriptionPrice = class extends AbstractApiRequest22 {
|
|
|
14674
14965
|
};
|
|
14675
14966
|
|
|
14676
14967
|
// src/requests/subscription-prices/DeleteSubscriptionPrice.ts
|
|
14677
|
-
import { AbstractApiRequest as
|
|
14968
|
+
import { AbstractApiRequest as AbstractApiRequest30 } from "@deliverart/sdk-js-core";
|
|
14678
14969
|
import { emptyResponseSchema as emptyResponseSchema5 } from "@deliverart/sdk-js-global-types";
|
|
14679
14970
|
var deleteSubscriptionPriceInputSchema = external_exports.undefined();
|
|
14680
14971
|
var deleteSubscriptionPriceResponseSchema = emptyResponseSchema5;
|
|
14681
|
-
var DeleteSubscriptionPrice = class extends
|
|
14972
|
+
var DeleteSubscriptionPrice = class extends AbstractApiRequest30 {
|
|
14682
14973
|
constructor(priceId) {
|
|
14683
14974
|
super(void 0);
|
|
14684
14975
|
this.method = "DELETE";
|
|
@@ -14696,10 +14987,10 @@ var DeleteSubscriptionPrice = class extends AbstractApiRequest23 {
|
|
|
14696
14987
|
};
|
|
14697
14988
|
|
|
14698
14989
|
// src/requests/subscription-prices/GetSubscriptionPriceDetails.ts
|
|
14699
|
-
import { AbstractApiRequest as
|
|
14990
|
+
import { AbstractApiRequest as AbstractApiRequest31 } from "@deliverart/sdk-js-core";
|
|
14700
14991
|
var getSubscriptionPriceDetailsInputSchema = external_exports.undefined();
|
|
14701
14992
|
var getSubscriptionPriceDetailsResponseSchema = subscriptionPriceSchema;
|
|
14702
|
-
var GetSubscriptionPriceDetails = class extends
|
|
14993
|
+
var GetSubscriptionPriceDetails = class extends AbstractApiRequest31 {
|
|
14703
14994
|
constructor(priceId) {
|
|
14704
14995
|
super(void 0);
|
|
14705
14996
|
this.method = "GET";
|
|
@@ -14717,9 +15008,9 @@ var GetSubscriptionPriceDetails = class extends AbstractApiRequest24 {
|
|
|
14717
15008
|
};
|
|
14718
15009
|
|
|
14719
15010
|
// src/requests/subscription-prices/GetSubscriptionPrices.ts
|
|
14720
|
-
import { AbstractApiRequest as
|
|
15011
|
+
import { AbstractApiRequest as AbstractApiRequest32 } from "@deliverart/sdk-js-core";
|
|
14721
15012
|
var getSubscriptionPricesInputSchema = external_exports.undefined();
|
|
14722
|
-
var GetSubscriptionPrices = class extends
|
|
15013
|
+
var GetSubscriptionPrices = class extends AbstractApiRequest32 {
|
|
14723
15014
|
constructor(options) {
|
|
14724
15015
|
super(void 0, options);
|
|
14725
15016
|
this.method = "GET";
|
|
@@ -14738,10 +15029,10 @@ var GetSubscriptionPrices = class extends AbstractApiRequest25 {
|
|
|
14738
15029
|
};
|
|
14739
15030
|
|
|
14740
15031
|
// src/requests/subscription-prices/UpdateSubscriptionPrice.ts
|
|
14741
|
-
import { AbstractApiRequest as
|
|
15032
|
+
import { AbstractApiRequest as AbstractApiRequest33 } from "@deliverart/sdk-js-core";
|
|
14742
15033
|
var updateSubscriptionPriceInputSchema = writableSubscriptionPriceSchema.partial();
|
|
14743
15034
|
var updateSubscriptionPriceResponseSchema = subscriptionPriceSchema;
|
|
14744
|
-
var UpdateSubscriptionPrice = class extends
|
|
15035
|
+
var UpdateSubscriptionPrice = class extends AbstractApiRequest33 {
|
|
14745
15036
|
constructor(priceId, input) {
|
|
14746
15037
|
super(input);
|
|
14747
15038
|
this.method = "PATCH";
|
|
@@ -14758,11 +15049,137 @@ var UpdateSubscriptionPrice = class extends AbstractApiRequest26 {
|
|
|
14758
15049
|
}
|
|
14759
15050
|
};
|
|
14760
15051
|
|
|
15052
|
+
// src/requests/subscription-purchases/CreateSubscriptionPurchase.ts
|
|
15053
|
+
import { AbstractApiRequest as AbstractApiRequest34 } from "@deliverart/sdk-js-core";
|
|
15054
|
+
var createSubscriptionPurchaseInputSchema = writableSubscriptionPurchaseSchema;
|
|
15055
|
+
var createSubscriptionPurchaseResponseSchema = subscriptionPurchaseDetailsSchema;
|
|
15056
|
+
var CreateSubscriptionPurchase = class extends AbstractApiRequest34 {
|
|
15057
|
+
constructor(input) {
|
|
15058
|
+
super(input);
|
|
15059
|
+
this.method = "POST";
|
|
15060
|
+
this.contentType = "application/json";
|
|
15061
|
+
this.accept = "application/json";
|
|
15062
|
+
this.inputSchema = createSubscriptionPurchaseInputSchema;
|
|
15063
|
+
this.outputSchema = createSubscriptionPurchaseResponseSchema;
|
|
15064
|
+
this.querySchema = void 0;
|
|
15065
|
+
this.headersSchema = void 0;
|
|
15066
|
+
}
|
|
15067
|
+
getPath() {
|
|
15068
|
+
return "/subscriptions/purchases";
|
|
15069
|
+
}
|
|
15070
|
+
};
|
|
15071
|
+
|
|
15072
|
+
// src/requests/subscription-purchases/GetSubscriptionPurchaseDetails.ts
|
|
15073
|
+
import { AbstractApiRequest as AbstractApiRequest35 } from "@deliverart/sdk-js-core";
|
|
15074
|
+
var getSubscriptionPurchaseDetailsInputSchema = external_exports.undefined();
|
|
15075
|
+
var getSubscriptionPurchaseDetailsResponseSchema = subscriptionPurchaseDetailsSchema;
|
|
15076
|
+
var GetSubscriptionPurchaseDetails = class extends AbstractApiRequest35 {
|
|
15077
|
+
constructor(purchaseId) {
|
|
15078
|
+
super(void 0);
|
|
15079
|
+
this.method = "GET";
|
|
15080
|
+
this.contentType = "application/json";
|
|
15081
|
+
this.accept = "application/json";
|
|
15082
|
+
this.inputSchema = getSubscriptionPurchaseDetailsInputSchema;
|
|
15083
|
+
this.outputSchema = getSubscriptionPurchaseDetailsResponseSchema;
|
|
15084
|
+
this.querySchema = void 0;
|
|
15085
|
+
this.headersSchema = void 0;
|
|
15086
|
+
this.purchaseId = purchaseId;
|
|
15087
|
+
}
|
|
15088
|
+
getPath() {
|
|
15089
|
+
return `/subscriptions/purchases/${this.purchaseId}`;
|
|
15090
|
+
}
|
|
15091
|
+
};
|
|
15092
|
+
|
|
15093
|
+
// src/requests/subscription-purchases/GetSubscriptionPurchases.ts
|
|
15094
|
+
import { AbstractApiRequest as AbstractApiRequest36 } from "@deliverart/sdk-js-core";
|
|
15095
|
+
var getSubscriptionPurchasesInputSchema = external_exports.undefined();
|
|
15096
|
+
var GetSubscriptionPurchases = class extends AbstractApiRequest36 {
|
|
15097
|
+
constructor(options) {
|
|
15098
|
+
super(void 0, options);
|
|
15099
|
+
this.method = "GET";
|
|
15100
|
+
this.contentType = "application/json";
|
|
15101
|
+
this.accept = "application/json";
|
|
15102
|
+
this.inputSchema = getSubscriptionPurchasesInputSchema;
|
|
15103
|
+
this.outputSchema = getSubscriptionPurchasesResponseSchema;
|
|
15104
|
+
this.querySchema = subscriptionPurchasesQuerySchema;
|
|
15105
|
+
this.headersSchema = void 0;
|
|
15106
|
+
this.listItemSchema = subscriptionPurchaseSchema;
|
|
15107
|
+
this.paginationDefaultEnabled = true;
|
|
15108
|
+
}
|
|
15109
|
+
getPath() {
|
|
15110
|
+
return "/subscriptions/purchases";
|
|
15111
|
+
}
|
|
15112
|
+
};
|
|
15113
|
+
|
|
15114
|
+
// src/requests/subscription-purchases/GetSubscriptionPurchasesFromPointOfSale.ts
|
|
15115
|
+
import { AbstractApiRequest as AbstractApiRequest37 } from "@deliverart/sdk-js-core";
|
|
15116
|
+
var getSubscriptionPurchasesFromPointOfSaleInputSchema = external_exports.undefined();
|
|
15117
|
+
var GetSubscriptionPurchasesFromPointOfSale = class extends AbstractApiRequest37 {
|
|
15118
|
+
constructor(pointOfSaleId, options) {
|
|
15119
|
+
super(void 0, options);
|
|
15120
|
+
this.method = "GET";
|
|
15121
|
+
this.contentType = "application/json";
|
|
15122
|
+
this.accept = "application/json";
|
|
15123
|
+
this.inputSchema = getSubscriptionPurchasesFromPointOfSaleInputSchema;
|
|
15124
|
+
this.outputSchema = getSubscriptionPurchasesResponseSchema;
|
|
15125
|
+
this.querySchema = subscriptionPurchasesQuerySchema;
|
|
15126
|
+
this.headersSchema = void 0;
|
|
15127
|
+
this.listItemSchema = subscriptionPurchaseSchema;
|
|
15128
|
+
this.paginationDefaultEnabled = true;
|
|
15129
|
+
this.pointOfSaleId = pointOfSaleId;
|
|
15130
|
+
}
|
|
15131
|
+
getPath() {
|
|
15132
|
+
return `/point_of_sales/${this.pointOfSaleId}/subscription_purchases`;
|
|
15133
|
+
}
|
|
15134
|
+
};
|
|
15135
|
+
|
|
15136
|
+
// src/requests/subscription-purchases/PaySubscriptionPurchase.ts
|
|
15137
|
+
import { AbstractApiRequest as AbstractApiRequest38 } from "@deliverart/sdk-js-core";
|
|
15138
|
+
var paySubscriptionPurchaseInputSchema = paySubscriptionRenewalInputSchema;
|
|
15139
|
+
var paySubscriptionPurchaseResponseSchema = subscriptionRenewalPaymentInfoSchema;
|
|
15140
|
+
var PaySubscriptionPurchase = class extends AbstractApiRequest38 {
|
|
15141
|
+
constructor(purchaseId, method) {
|
|
15142
|
+
super({ method });
|
|
15143
|
+
this.method = "POST";
|
|
15144
|
+
this.contentType = "application/json";
|
|
15145
|
+
this.accept = "application/json";
|
|
15146
|
+
this.inputSchema = paySubscriptionPurchaseInputSchema;
|
|
15147
|
+
this.outputSchema = paySubscriptionPurchaseResponseSchema;
|
|
15148
|
+
this.querySchema = void 0;
|
|
15149
|
+
this.headersSchema = void 0;
|
|
15150
|
+
this.purchaseId = purchaseId;
|
|
15151
|
+
}
|
|
15152
|
+
getPath() {
|
|
15153
|
+
return `/subscriptions/purchases/${this.purchaseId}/pay`;
|
|
15154
|
+
}
|
|
15155
|
+
};
|
|
15156
|
+
|
|
15157
|
+
// src/requests/subscription-purchases/ResolveSubscriptionPurchasePayment.ts
|
|
15158
|
+
import { AbstractApiRequest as AbstractApiRequest39 } from "@deliverart/sdk-js-core";
|
|
15159
|
+
var resolveSubscriptionPurchasePaymentInputSchema = resolveSubscriptionRenewalPaymentInputSchema;
|
|
15160
|
+
var resolveSubscriptionPurchasePaymentResponseSchema = subscriptionRenewalPaymentInfoSchema;
|
|
15161
|
+
var ResolveSubscriptionPurchasePayment = class extends AbstractApiRequest39 {
|
|
15162
|
+
constructor(purchaseId, input) {
|
|
15163
|
+
super(input);
|
|
15164
|
+
this.method = "POST";
|
|
15165
|
+
this.contentType = "application/json";
|
|
15166
|
+
this.accept = "application/json";
|
|
15167
|
+
this.inputSchema = resolveSubscriptionPurchasePaymentInputSchema;
|
|
15168
|
+
this.outputSchema = resolveSubscriptionPurchasePaymentResponseSchema;
|
|
15169
|
+
this.querySchema = void 0;
|
|
15170
|
+
this.headersSchema = void 0;
|
|
15171
|
+
this.purchaseId = purchaseId;
|
|
15172
|
+
}
|
|
15173
|
+
getPath() {
|
|
15174
|
+
return `/subscriptions/purchases/${this.purchaseId}/resolve_payment`;
|
|
15175
|
+
}
|
|
15176
|
+
};
|
|
15177
|
+
|
|
14761
15178
|
// src/requests/subscription-time-based/CreateSubscriptionTimeBased.ts
|
|
14762
|
-
import { AbstractApiRequest as
|
|
15179
|
+
import { AbstractApiRequest as AbstractApiRequest40 } from "@deliverart/sdk-js-core";
|
|
14763
15180
|
var createSubscriptionTimeBasedInputSchema = writableSubscriptionTimeBasedSchema;
|
|
14764
15181
|
var createSubscriptionTimeBasedResponseSchema = subscriptionTimeBasedDetailsSchema;
|
|
14765
|
-
var CreateSubscriptionTimeBased = class extends
|
|
15182
|
+
var CreateSubscriptionTimeBased = class extends AbstractApiRequest40 {
|
|
14766
15183
|
constructor(input) {
|
|
14767
15184
|
super(input);
|
|
14768
15185
|
this.method = "POST";
|
|
@@ -14779,11 +15196,11 @@ var CreateSubscriptionTimeBased = class extends AbstractApiRequest27 {
|
|
|
14779
15196
|
};
|
|
14780
15197
|
|
|
14781
15198
|
// src/requests/subscription-time-based/DeleteSubscriptionTimeBased.ts
|
|
14782
|
-
import { AbstractApiRequest as
|
|
15199
|
+
import { AbstractApiRequest as AbstractApiRequest41 } from "@deliverart/sdk-js-core";
|
|
14783
15200
|
import { emptyResponseSchema as emptyResponseSchema6 } from "@deliverart/sdk-js-global-types";
|
|
14784
15201
|
var deleteSubscriptionTimeBasedInputSchema = external_exports.undefined();
|
|
14785
15202
|
var deleteSubscriptionTimeBasedResponseSchema = emptyResponseSchema6;
|
|
14786
|
-
var DeleteSubscriptionTimeBased = class extends
|
|
15203
|
+
var DeleteSubscriptionTimeBased = class extends AbstractApiRequest41 {
|
|
14787
15204
|
constructor(subscriptionId) {
|
|
14788
15205
|
super(void 0);
|
|
14789
15206
|
this.method = "DELETE";
|
|
@@ -14801,10 +15218,10 @@ var DeleteSubscriptionTimeBased = class extends AbstractApiRequest28 {
|
|
|
14801
15218
|
};
|
|
14802
15219
|
|
|
14803
15220
|
// src/requests/subscription-time-based/GetSubscriptionTimeBasedDetails.ts
|
|
14804
|
-
import { AbstractApiRequest as
|
|
15221
|
+
import { AbstractApiRequest as AbstractApiRequest42 } from "@deliverart/sdk-js-core";
|
|
14805
15222
|
var getSubscriptionTimeBasedDetailsInputSchema = external_exports.undefined();
|
|
14806
15223
|
var getSubscriptionTimeBasedDetailsResponseSchema = subscriptionTimeBasedDetailsSchema;
|
|
14807
|
-
var GetSubscriptionTimeBasedDetails = class extends
|
|
15224
|
+
var GetSubscriptionTimeBasedDetails = class extends AbstractApiRequest42 {
|
|
14808
15225
|
constructor(subscriptionId) {
|
|
14809
15226
|
super(void 0);
|
|
14810
15227
|
this.method = "GET";
|
|
@@ -14822,9 +15239,9 @@ var GetSubscriptionTimeBasedDetails = class extends AbstractApiRequest29 {
|
|
|
14822
15239
|
};
|
|
14823
15240
|
|
|
14824
15241
|
// src/requests/subscription-time-based/GetSubscriptionTimeBasedList.ts
|
|
14825
|
-
import { AbstractApiRequest as
|
|
15242
|
+
import { AbstractApiRequest as AbstractApiRequest43 } from "@deliverart/sdk-js-core";
|
|
14826
15243
|
var getSubscriptionTimeBasedListInputSchema = external_exports.undefined();
|
|
14827
|
-
var GetSubscriptionTimeBasedList = class extends
|
|
15244
|
+
var GetSubscriptionTimeBasedList = class extends AbstractApiRequest43 {
|
|
14828
15245
|
constructor(options) {
|
|
14829
15246
|
super(void 0, options);
|
|
14830
15247
|
this.method = "GET";
|
|
@@ -14843,12 +15260,12 @@ var GetSubscriptionTimeBasedList = class extends AbstractApiRequest30 {
|
|
|
14843
15260
|
};
|
|
14844
15261
|
|
|
14845
15262
|
// src/requests/subscription-time-based/UpdateSubscriptionTimeBased.ts
|
|
14846
|
-
import { AbstractApiRequest as
|
|
15263
|
+
import { AbstractApiRequest as AbstractApiRequest44 } from "@deliverart/sdk-js-core";
|
|
14847
15264
|
var updateSubscriptionTimeBasedInputSchema = writableSubscriptionTimeBasedSchema.omit({
|
|
14848
15265
|
pointOfSale: true
|
|
14849
15266
|
}).partial();
|
|
14850
15267
|
var updateSubscriptionTimeBasedResponseSchema = subscriptionTimeBasedDetailsSchema;
|
|
14851
|
-
var UpdateSubscriptionTimeBased = class extends
|
|
15268
|
+
var UpdateSubscriptionTimeBased = class extends AbstractApiRequest44 {
|
|
14852
15269
|
constructor(subscriptionId, input) {
|
|
14853
15270
|
super(input);
|
|
14854
15271
|
this.method = "PATCH";
|
|
@@ -14866,10 +15283,10 @@ var UpdateSubscriptionTimeBased = class extends AbstractApiRequest31 {
|
|
|
14866
15283
|
};
|
|
14867
15284
|
|
|
14868
15285
|
// src/requests/subscription-time-based-renewals/CreateSubscriptionTimeBasedRenewal.ts
|
|
14869
|
-
import { AbstractApiRequest as
|
|
15286
|
+
import { AbstractApiRequest as AbstractApiRequest45 } from "@deliverart/sdk-js-core";
|
|
14870
15287
|
var createSubscriptionTimeBasedRenewalInputSchema = writableSubscriptionTimeBasedRenewalSchema.required();
|
|
14871
15288
|
var createSubscriptionTimeBasedRenewalResponseSchema = subscriptionTimeBasedRenewalDetailsSchema;
|
|
14872
|
-
var CreateSubscriptionTimeBasedRenewal = class extends
|
|
15289
|
+
var CreateSubscriptionTimeBasedRenewal = class extends AbstractApiRequest45 {
|
|
14873
15290
|
constructor(input) {
|
|
14874
15291
|
super(input);
|
|
14875
15292
|
this.method = "POST";
|
|
@@ -14886,11 +15303,11 @@ var CreateSubscriptionTimeBasedRenewal = class extends AbstractApiRequest32 {
|
|
|
14886
15303
|
};
|
|
14887
15304
|
|
|
14888
15305
|
// src/requests/subscription-time-based-renewals/DeleteSubscriptionTimeBasedRenewal.ts
|
|
14889
|
-
import { AbstractApiRequest as
|
|
15306
|
+
import { AbstractApiRequest as AbstractApiRequest46 } from "@deliverart/sdk-js-core";
|
|
14890
15307
|
import { emptyResponseSchema as emptyResponseSchema7 } from "@deliverart/sdk-js-global-types";
|
|
14891
15308
|
var deleteSubscriptionTimeBasedRenewalInputSchema = external_exports.undefined();
|
|
14892
15309
|
var deleteSubscriptionTimeBasedRenewalResponseSchema = emptyResponseSchema7;
|
|
14893
|
-
var DeleteSubscriptionTimeBasedRenewal = class extends
|
|
15310
|
+
var DeleteSubscriptionTimeBasedRenewal = class extends AbstractApiRequest46 {
|
|
14894
15311
|
constructor(renewalId) {
|
|
14895
15312
|
super(void 0);
|
|
14896
15313
|
this.method = "DELETE";
|
|
@@ -14908,10 +15325,10 @@ var DeleteSubscriptionTimeBasedRenewal = class extends AbstractApiRequest33 {
|
|
|
14908
15325
|
};
|
|
14909
15326
|
|
|
14910
15327
|
// src/requests/subscription-time-based-renewals/GetSubscriptionTimeBasedRenewalDetails.ts
|
|
14911
|
-
import { AbstractApiRequest as
|
|
15328
|
+
import { AbstractApiRequest as AbstractApiRequest47 } from "@deliverart/sdk-js-core";
|
|
14912
15329
|
var getSubscriptionTimeBasedRenewalDetailsInputSchema = external_exports.undefined();
|
|
14913
15330
|
var getSubscriptionTimeBasedRenewalDetailsResponseSchema = subscriptionTimeBasedRenewalDetailsSchema;
|
|
14914
|
-
var GetSubscriptionTimeBasedRenewalDetails = class extends
|
|
15331
|
+
var GetSubscriptionTimeBasedRenewalDetails = class extends AbstractApiRequest47 {
|
|
14915
15332
|
constructor(renewalId) {
|
|
14916
15333
|
super(void 0);
|
|
14917
15334
|
this.method = "GET";
|
|
@@ -14929,9 +15346,9 @@ var GetSubscriptionTimeBasedRenewalDetails = class extends AbstractApiRequest34
|
|
|
14929
15346
|
};
|
|
14930
15347
|
|
|
14931
15348
|
// src/requests/subscription-time-based-renewals/GetSubscriptionTimeBasedRenewals.ts
|
|
14932
|
-
import { AbstractApiRequest as
|
|
15349
|
+
import { AbstractApiRequest as AbstractApiRequest48 } from "@deliverart/sdk-js-core";
|
|
14933
15350
|
var getSubscriptionTimeBasedRenewalsInputSchema = external_exports.undefined();
|
|
14934
|
-
var GetSubscriptionTimeBasedRenewals = class extends
|
|
15351
|
+
var GetSubscriptionTimeBasedRenewals = class extends AbstractApiRequest48 {
|
|
14935
15352
|
constructor(options) {
|
|
14936
15353
|
super(void 0, options);
|
|
14937
15354
|
this.method = "GET";
|
|
@@ -14950,9 +15367,9 @@ var GetSubscriptionTimeBasedRenewals = class extends AbstractApiRequest35 {
|
|
|
14950
15367
|
};
|
|
14951
15368
|
|
|
14952
15369
|
// src/requests/subscription-time-based-renewals/GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased.ts
|
|
14953
|
-
import { AbstractApiRequest as
|
|
15370
|
+
import { AbstractApiRequest as AbstractApiRequest49 } from "@deliverart/sdk-js-core";
|
|
14954
15371
|
var getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema = external_exports.undefined();
|
|
14955
|
-
var GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased = class extends
|
|
15372
|
+
var GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased = class extends AbstractApiRequest49 {
|
|
14956
15373
|
constructor(subscriptionId, options) {
|
|
14957
15374
|
super(void 0, options);
|
|
14958
15375
|
this.method = "GET";
|
|
@@ -14972,10 +15389,10 @@ var GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased = class extends Ab
|
|
|
14972
15389
|
};
|
|
14973
15390
|
|
|
14974
15391
|
// src/requests/subscription-time-based-renewals/PaySubscriptionTimeBasedRenewal.ts
|
|
14975
|
-
import { AbstractApiRequest as
|
|
15392
|
+
import { AbstractApiRequest as AbstractApiRequest50 } from "@deliverart/sdk-js-core";
|
|
14976
15393
|
var paySubscriptionTimeBasedRenewalInputSchema = paySubscriptionRenewalInputSchema;
|
|
14977
15394
|
var paySubscriptionTimeBasedRenewalResponseSchema = subscriptionRenewalPaymentInfoSchema;
|
|
14978
|
-
var PaySubscriptionTimeBasedRenewal = class extends
|
|
15395
|
+
var PaySubscriptionTimeBasedRenewal = class extends AbstractApiRequest50 {
|
|
14979
15396
|
constructor(renewalId, method) {
|
|
14980
15397
|
super({ method });
|
|
14981
15398
|
this.method = "POST";
|
|
@@ -14993,10 +15410,10 @@ var PaySubscriptionTimeBasedRenewal = class extends AbstractApiRequest37 {
|
|
|
14993
15410
|
};
|
|
14994
15411
|
|
|
14995
15412
|
// src/requests/subscription-time-based-renewals/ResolveSubscriptionTimeBasedRenewalPayment.ts
|
|
14996
|
-
import { AbstractApiRequest as
|
|
15413
|
+
import { AbstractApiRequest as AbstractApiRequest51 } from "@deliverart/sdk-js-core";
|
|
14997
15414
|
var resolveSubscriptionTimeBasedRenewalPaymentInputSchema = resolveSubscriptionRenewalPaymentInputSchema;
|
|
14998
15415
|
var resolveSubscriptionTimeBasedRenewalPaymentResponseSchema = subscriptionRenewalPaymentInfoSchema;
|
|
14999
|
-
var ResolveSubscriptionTimeBasedRenewalPayment = class extends
|
|
15416
|
+
var ResolveSubscriptionTimeBasedRenewalPayment = class extends AbstractApiRequest51 {
|
|
15000
15417
|
constructor(renewalId, input) {
|
|
15001
15418
|
super(input);
|
|
15002
15419
|
this.method = "POST";
|
|
@@ -15014,11 +15431,11 @@ var ResolveSubscriptionTimeBasedRenewalPayment = class extends AbstractApiReques
|
|
|
15014
15431
|
};
|
|
15015
15432
|
|
|
15016
15433
|
// src/requests/subscriptions/DeleteSubscription.ts
|
|
15017
|
-
import { AbstractApiRequest as
|
|
15434
|
+
import { AbstractApiRequest as AbstractApiRequest52 } from "@deliverart/sdk-js-core";
|
|
15018
15435
|
import { emptyResponseSchema as emptyResponseSchema8 } from "@deliverart/sdk-js-global-types";
|
|
15019
15436
|
var deleteSubscriptionInputSchema = external_exports.undefined();
|
|
15020
15437
|
var deleteSubscriptionResponseSchema = emptyResponseSchema8;
|
|
15021
|
-
var DeleteSubscription = class extends
|
|
15438
|
+
var DeleteSubscription = class extends AbstractApiRequest52 {
|
|
15022
15439
|
constructor(subscriptionId) {
|
|
15023
15440
|
super(void 0);
|
|
15024
15441
|
this.method = "DELETE";
|
|
@@ -15036,10 +15453,10 @@ var DeleteSubscription = class extends AbstractApiRequest39 {
|
|
|
15036
15453
|
};
|
|
15037
15454
|
|
|
15038
15455
|
// src/requests/subscriptions/GetSubscriptionDetails.ts
|
|
15039
|
-
import { AbstractApiRequest as
|
|
15456
|
+
import { AbstractApiRequest as AbstractApiRequest53 } from "@deliverart/sdk-js-core";
|
|
15040
15457
|
var getSubscriptionDetailsInputSchema = external_exports.undefined();
|
|
15041
15458
|
var getSubscriptionDetailsResponseSchema = subscriptionDetailsSchema;
|
|
15042
|
-
var GetSubscriptionDetails = class extends
|
|
15459
|
+
var GetSubscriptionDetails = class extends AbstractApiRequest53 {
|
|
15043
15460
|
constructor(subscriptionId) {
|
|
15044
15461
|
super(void 0);
|
|
15045
15462
|
this.method = "GET";
|
|
@@ -15057,10 +15474,10 @@ var GetSubscriptionDetails = class extends AbstractApiRequest40 {
|
|
|
15057
15474
|
};
|
|
15058
15475
|
|
|
15059
15476
|
// src/requests/subscriptions/GetSubscriptionOverviewFromPointOfSale.ts
|
|
15060
|
-
import { AbstractApiRequest as
|
|
15477
|
+
import { AbstractApiRequest as AbstractApiRequest54 } from "@deliverart/sdk-js-core";
|
|
15061
15478
|
var getSubscriptionOverviewFromPointOfSaleInputSchema = external_exports.undefined();
|
|
15062
15479
|
var getSubscriptionOverviewFromPointOfSaleResponseSchema = subscriptionOverviewResponseSchema;
|
|
15063
|
-
var GetSubscriptionOverviewFromPointOfSale = class extends
|
|
15480
|
+
var GetSubscriptionOverviewFromPointOfSale = class extends AbstractApiRequest54 {
|
|
15064
15481
|
constructor(pointOfSaleId) {
|
|
15065
15482
|
super(void 0);
|
|
15066
15483
|
this.method = "GET";
|
|
@@ -15078,9 +15495,9 @@ var GetSubscriptionOverviewFromPointOfSale = class extends AbstractApiRequest41
|
|
|
15078
15495
|
};
|
|
15079
15496
|
|
|
15080
15497
|
// src/requests/subscriptions/GetSubscriptions.ts
|
|
15081
|
-
import { AbstractApiRequest as
|
|
15498
|
+
import { AbstractApiRequest as AbstractApiRequest55 } from "@deliverart/sdk-js-core";
|
|
15082
15499
|
var getSubscriptionsInputSchema = external_exports.undefined();
|
|
15083
|
-
var GetSubscriptions = class extends
|
|
15500
|
+
var GetSubscriptions = class extends AbstractApiRequest55 {
|
|
15084
15501
|
constructor(options) {
|
|
15085
15502
|
super(void 0, options);
|
|
15086
15503
|
this.method = "GET";
|
|
@@ -15099,10 +15516,10 @@ var GetSubscriptions = class extends AbstractApiRequest42 {
|
|
|
15099
15516
|
};
|
|
15100
15517
|
|
|
15101
15518
|
// src/requests/subscriptions/GetSubscriptionsFromPointOfSale.ts
|
|
15102
|
-
import { AbstractApiRequest as
|
|
15519
|
+
import { AbstractApiRequest as AbstractApiRequest56 } from "@deliverart/sdk-js-core";
|
|
15103
15520
|
var getSubscriptionsFromPointOfSaleInputSchema = external_exports.undefined();
|
|
15104
15521
|
var getSubscriptionsFromPointOfSaleResponseSchema = external_exports.array(subscriptionSchema);
|
|
15105
|
-
var GetSubscriptionsFromPointOfSale = class extends
|
|
15522
|
+
var GetSubscriptionsFromPointOfSale = class extends AbstractApiRequest56 {
|
|
15106
15523
|
constructor(pointOfSaleId, options) {
|
|
15107
15524
|
super(void 0, options);
|
|
15108
15525
|
this.method = "GET";
|
|
@@ -15122,12 +15539,12 @@ var GetSubscriptionsFromPointOfSale = class extends AbstractApiRequest43 {
|
|
|
15122
15539
|
};
|
|
15123
15540
|
|
|
15124
15541
|
// src/requests/subscriptions/UpdateSubscription.ts
|
|
15125
|
-
import { AbstractApiRequest as
|
|
15542
|
+
import { AbstractApiRequest as AbstractApiRequest57 } from "@deliverart/sdk-js-core";
|
|
15126
15543
|
var updateSubscriptionInputSchema = writableSubscriptionCommonSchema.omit({
|
|
15127
15544
|
pointOfSale: true
|
|
15128
15545
|
}).partial();
|
|
15129
15546
|
var updateSubscriptionResponseSchema = subscriptionDetailsSchema;
|
|
15130
|
-
var UpdateSubscription = class extends
|
|
15547
|
+
var UpdateSubscription = class extends AbstractApiRequest57 {
|
|
15131
15548
|
constructor(subscriptionId, input) {
|
|
15132
15549
|
super(input);
|
|
15133
15550
|
this.method = "PATCH";
|
|
@@ -15148,7 +15565,9 @@ export {
|
|
|
15148
15565
|
CreateSubscriptionConsumption,
|
|
15149
15566
|
CreateSubscriptionConsumptionRenewal,
|
|
15150
15567
|
CreateSubscriptionInfinite,
|
|
15568
|
+
CreateSubscriptionPlan,
|
|
15151
15569
|
CreateSubscriptionPrice,
|
|
15570
|
+
CreateSubscriptionPurchase,
|
|
15152
15571
|
CreateSubscriptionTimeBased,
|
|
15153
15572
|
CreateSubscriptionTimeBasedRenewal,
|
|
15154
15573
|
DeleteCreditUsageLog,
|
|
@@ -15156,6 +15575,7 @@ export {
|
|
|
15156
15575
|
DeleteSubscriptionConsumption,
|
|
15157
15576
|
DeleteSubscriptionConsumptionRenewal,
|
|
15158
15577
|
DeleteSubscriptionInfinite,
|
|
15578
|
+
DeleteSubscriptionPlan,
|
|
15159
15579
|
DeleteSubscriptionPrice,
|
|
15160
15580
|
DeleteSubscriptionTimeBased,
|
|
15161
15581
|
DeleteSubscriptionTimeBasedRenewal,
|
|
@@ -15171,8 +15591,15 @@ export {
|
|
|
15171
15591
|
GetSubscriptionInfiniteDetails,
|
|
15172
15592
|
GetSubscriptionInfiniteList,
|
|
15173
15593
|
GetSubscriptionOverviewFromPointOfSale,
|
|
15594
|
+
GetSubscriptionPlanCatalog,
|
|
15595
|
+
GetSubscriptionPlanCatalogDetails,
|
|
15596
|
+
GetSubscriptionPlanDetails,
|
|
15597
|
+
GetSubscriptionPlans,
|
|
15174
15598
|
GetSubscriptionPriceDetails,
|
|
15175
15599
|
GetSubscriptionPrices,
|
|
15600
|
+
GetSubscriptionPurchaseDetails,
|
|
15601
|
+
GetSubscriptionPurchases,
|
|
15602
|
+
GetSubscriptionPurchasesFromPointOfSale,
|
|
15176
15603
|
GetSubscriptionTimeBasedDetails,
|
|
15177
15604
|
GetSubscriptionTimeBasedList,
|
|
15178
15605
|
GetSubscriptionTimeBasedRenewalDetails,
|
|
@@ -15181,11 +15608,14 @@ export {
|
|
|
15181
15608
|
GetSubscriptions,
|
|
15182
15609
|
GetSubscriptionsFromPointOfSale,
|
|
15183
15610
|
PaySubscriptionConsumptionRenewal,
|
|
15611
|
+
PaySubscriptionPurchase,
|
|
15184
15612
|
PaySubscriptionTimeBasedRenewal,
|
|
15185
15613
|
ResolveSubscriptionConsumptionRenewalPayment,
|
|
15614
|
+
ResolveSubscriptionPurchasePayment,
|
|
15186
15615
|
ResolveSubscriptionTimeBasedRenewalPayment,
|
|
15187
15616
|
UpdateSubscription,
|
|
15188
15617
|
UpdateSubscriptionConsumption,
|
|
15618
|
+
UpdateSubscriptionPlan,
|
|
15189
15619
|
UpdateSubscriptionPrice,
|
|
15190
15620
|
UpdateSubscriptionTimeBased,
|
|
15191
15621
|
adjustSubscriptionConsumptionCreditsInputSchema,
|
|
@@ -15198,8 +15628,12 @@ export {
|
|
|
15198
15628
|
createSubscriptionConsumptionResponseSchema,
|
|
15199
15629
|
createSubscriptionInfiniteInputSchema,
|
|
15200
15630
|
createSubscriptionInfiniteResponseSchema,
|
|
15631
|
+
createSubscriptionPlanInputSchema,
|
|
15632
|
+
createSubscriptionPlanResponseSchema,
|
|
15201
15633
|
createSubscriptionPriceInputSchema,
|
|
15202
15634
|
createSubscriptionPriceResponseSchema,
|
|
15635
|
+
createSubscriptionPurchaseInputSchema,
|
|
15636
|
+
createSubscriptionPurchaseResponseSchema,
|
|
15203
15637
|
createSubscriptionTimeBasedInputSchema,
|
|
15204
15638
|
createSubscriptionTimeBasedRenewalInputSchema,
|
|
15205
15639
|
createSubscriptionTimeBasedRenewalResponseSchema,
|
|
@@ -15220,6 +15654,8 @@ export {
|
|
|
15220
15654
|
deleteSubscriptionInfiniteInputSchema,
|
|
15221
15655
|
deleteSubscriptionInfiniteResponseSchema,
|
|
15222
15656
|
deleteSubscriptionInputSchema,
|
|
15657
|
+
deleteSubscriptionPlanInputSchema,
|
|
15658
|
+
deleteSubscriptionPlanResponseSchema,
|
|
15223
15659
|
deleteSubscriptionPriceInputSchema,
|
|
15224
15660
|
deleteSubscriptionPriceResponseSchema,
|
|
15225
15661
|
deleteSubscriptionResponseSchema,
|
|
@@ -15250,10 +15686,23 @@ export {
|
|
|
15250
15686
|
getSubscriptionInfiniteListResponseSchema,
|
|
15251
15687
|
getSubscriptionOverviewFromPointOfSaleInputSchema,
|
|
15252
15688
|
getSubscriptionOverviewFromPointOfSaleResponseSchema,
|
|
15689
|
+
getSubscriptionPlanCatalogDetailsInputSchema,
|
|
15690
|
+
getSubscriptionPlanCatalogDetailsResponseSchema,
|
|
15691
|
+
getSubscriptionPlanCatalogInputSchema,
|
|
15692
|
+
getSubscriptionPlanCatalogResponseSchema,
|
|
15693
|
+
getSubscriptionPlanDetailsInputSchema,
|
|
15694
|
+
getSubscriptionPlanDetailsResponseSchema,
|
|
15695
|
+
getSubscriptionPlansInputSchema,
|
|
15696
|
+
getSubscriptionPlansResponseSchema,
|
|
15253
15697
|
getSubscriptionPriceDetailsInputSchema,
|
|
15254
15698
|
getSubscriptionPriceDetailsResponseSchema,
|
|
15255
15699
|
getSubscriptionPricesInputSchema,
|
|
15256
15700
|
getSubscriptionPricesResponseSchema,
|
|
15701
|
+
getSubscriptionPurchaseDetailsInputSchema,
|
|
15702
|
+
getSubscriptionPurchaseDetailsResponseSchema,
|
|
15703
|
+
getSubscriptionPurchasesFromPointOfSaleInputSchema,
|
|
15704
|
+
getSubscriptionPurchasesInputSchema,
|
|
15705
|
+
getSubscriptionPurchasesResponseSchema,
|
|
15257
15706
|
getSubscriptionTimeBasedDetailsInputSchema,
|
|
15258
15707
|
getSubscriptionTimeBasedDetailsResponseSchema,
|
|
15259
15708
|
getSubscriptionTimeBasedListInputSchema,
|
|
@@ -15269,6 +15718,8 @@ export {
|
|
|
15269
15718
|
getSubscriptionsResponseSchema,
|
|
15270
15719
|
paySubscriptionConsumptionRenewalInputSchema,
|
|
15271
15720
|
paySubscriptionConsumptionRenewalResponseSchema,
|
|
15721
|
+
paySubscriptionPurchaseInputSchema,
|
|
15722
|
+
paySubscriptionPurchaseResponseSchema,
|
|
15272
15723
|
paySubscriptionRenewalInputSchema,
|
|
15273
15724
|
paySubscriptionTimeBasedRenewalInputSchema,
|
|
15274
15725
|
paySubscriptionTimeBasedRenewalResponseSchema,
|
|
@@ -15284,6 +15735,8 @@ export {
|
|
|
15284
15735
|
resolvableRenewalPaymentStatuses,
|
|
15285
15736
|
resolveSubscriptionConsumptionRenewalPaymentInputSchema,
|
|
15286
15737
|
resolveSubscriptionConsumptionRenewalPaymentResponseSchema,
|
|
15738
|
+
resolveSubscriptionPurchasePaymentInputSchema,
|
|
15739
|
+
resolveSubscriptionPurchasePaymentResponseSchema,
|
|
15287
15740
|
resolveSubscriptionRenewalPaymentInputSchema,
|
|
15288
15741
|
resolveSubscriptionTimeBasedRenewalPaymentInputSchema,
|
|
15289
15742
|
resolveSubscriptionTimeBasedRenewalPaymentResponseSchema,
|
|
@@ -15307,12 +15760,26 @@ export {
|
|
|
15307
15760
|
subscriptionIriSchema,
|
|
15308
15761
|
subscriptionNullableIriSchema,
|
|
15309
15762
|
subscriptionOperationQuoteSchema,
|
|
15763
|
+
subscriptionOverviewPlanSchema,
|
|
15310
15764
|
subscriptionOverviewResponseSchema,
|
|
15311
15765
|
subscriptionOverviewSubscriptionSchema,
|
|
15766
|
+
subscriptionPlanIriSchema,
|
|
15767
|
+
subscriptionPlanNullableIriSchema,
|
|
15768
|
+
subscriptionPlanPriceOptionSchema,
|
|
15769
|
+
subscriptionPlanSchema,
|
|
15770
|
+
subscriptionPlanSummarySchema,
|
|
15771
|
+
subscriptionPlansQuerySchema,
|
|
15312
15772
|
subscriptionPriceIriSchema,
|
|
15313
15773
|
subscriptionPriceNullableIriSchema,
|
|
15314
15774
|
subscriptionPriceSchema,
|
|
15315
15775
|
subscriptionPricesQuerySchema,
|
|
15776
|
+
subscriptionPurchaseDetailsSchema,
|
|
15777
|
+
subscriptionPurchaseIriSchema,
|
|
15778
|
+
subscriptionPurchaseNullableIriSchema,
|
|
15779
|
+
subscriptionPurchaseSchema,
|
|
15780
|
+
subscriptionPurchaseStatusSchema,
|
|
15781
|
+
subscriptionPurchaseStatuses,
|
|
15782
|
+
subscriptionPurchasesQuerySchema,
|
|
15316
15783
|
subscriptionQuerySchema,
|
|
15317
15784
|
subscriptionRenewalPaymentInfoSchema,
|
|
15318
15785
|
subscriptionSchema,
|
|
@@ -15333,6 +15800,8 @@ export {
|
|
|
15333
15800
|
updateSubscriptionConsumptionInputSchema,
|
|
15334
15801
|
updateSubscriptionConsumptionResponseSchema,
|
|
15335
15802
|
updateSubscriptionInputSchema,
|
|
15803
|
+
updateSubscriptionPlanInputSchema,
|
|
15804
|
+
updateSubscriptionPlanResponseSchema,
|
|
15336
15805
|
updateSubscriptionPriceInputSchema,
|
|
15337
15806
|
updateSubscriptionPriceResponseSchema,
|
|
15338
15807
|
updateSubscriptionResponseSchema,
|
|
@@ -15342,7 +15811,9 @@ export {
|
|
|
15342
15811
|
writableSubscriptionConsumptionRenewalSchema,
|
|
15343
15812
|
writableSubscriptionConsumptionSchema,
|
|
15344
15813
|
writableSubscriptionInfiniteSchema,
|
|
15814
|
+
writableSubscriptionPlanSchema,
|
|
15345
15815
|
writableSubscriptionPriceSchema,
|
|
15816
|
+
writableSubscriptionPurchaseSchema,
|
|
15346
15817
|
writableSubscriptionTimeBasedRenewalSchema,
|
|
15347
15818
|
writableSubscriptionTimeBasedSchema
|
|
15348
15819
|
};
|