@salable/sdk 1.0.4 → 1.0.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/dist/index.es.js +69 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +69 -0
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/ai/conversations/index.d.ts +3 -0
- package/dist/sdk/api/ai/messages/index.d.ts +3 -0
- package/dist/sdk/api/apiKeys/index.d.ts +3 -0
- package/dist/sdk/api/carts/index.d.ts +6 -0
- package/dist/sdk/api/currencyOptions/index.d.ts +3 -0
- package/dist/sdk/api/destinations/index.d.ts +3 -0
- package/dist/sdk/api/entitlements/index.d.ts +3 -0
- package/dist/sdk/api/eventAttempts/index.d.ts +3 -0
- package/dist/sdk/api/events/index.d.ts +3 -0
- package/dist/sdk/api/grantees/index.d.ts +3 -0
- package/dist/sdk/api/groups/index.d.ts +3 -0
- package/dist/sdk/api/lineItems/index.d.ts +3 -0
- package/dist/sdk/api/meters/index.d.ts +3 -0
- package/dist/sdk/api/owners/index.d.ts +3 -0
- package/dist/sdk/api/paymentIntegrations/index.d.ts +3 -0
- package/dist/sdk/api/plans/index.d.ts +3 -0
- package/dist/sdk/api/prices/index.d.ts +3 -0
- package/dist/sdk/api/products/copyToLiveMode/index.d.ts +35 -0
- package/dist/sdk/api/products/exportEscaped/item/index.d.ts +2 -2
- package/dist/sdk/api/products/importEscaped/index.d.ts +2 -2
- package/dist/sdk/api/products/index.d.ts +28 -5
- package/dist/sdk/api/products/item/archive/index.d.ts +2 -2
- package/dist/sdk/api/products/item/index.d.ts +10 -7
- package/dist/sdk/api/receipts/index.d.ts +3 -0
- package/dist/sdk/api/subscriptionPlans/index.d.ts +3 -0
- package/dist/sdk/api/subscriptions/index.d.ts +3 -0
- package/dist/sdk/api/tierTags/index.d.ts +3 -0
- package/dist/sdk/api/tiers/index.d.ts +3 -0
- package/dist/sdk/api/usageRecords/index.d.ts +3 -0
- package/dist/sdk/models/index.d.ts +68 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6296,6 +6296,15 @@ function createCheckEntitlementsSchema_dataFromDiscriminatorValue(parseNode) {
|
|
|
6296
6296
|
function createCheckEntitlementsSchemaFromDiscriminatorValue(parseNode) {
|
|
6297
6297
|
return deserializeIntoCheckEntitlementsSchema;
|
|
6298
6298
|
}
|
|
6299
|
+
/**
|
|
6300
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
6301
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6302
|
+
* @returns {CopyToLiveModeSchema}
|
|
6303
|
+
*/
|
|
6304
|
+
// @ts-ignore
|
|
6305
|
+
function createCopyToLiveModeSchemaFromDiscriminatorValue(parseNode) {
|
|
6306
|
+
return deserializeIntoCopyToLiveModeSchema;
|
|
6307
|
+
}
|
|
6299
6308
|
/**
|
|
6300
6309
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
6301
6310
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -9266,6 +9275,17 @@ function deserializeIntoCheckEntitlementsSchema_data_entitlements(checkEntitleme
|
|
|
9266
9275
|
"value": n => { checkEntitlementsSchema_data_entitlements.value = n.getStringValue(); },
|
|
9267
9276
|
};
|
|
9268
9277
|
}
|
|
9278
|
+
/**
|
|
9279
|
+
* The deserialization information for the current model
|
|
9280
|
+
* @param CopyToLiveModeSchema The instance to deserialize into.
|
|
9281
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9282
|
+
*/
|
|
9283
|
+
// @ts-ignore
|
|
9284
|
+
function deserializeIntoCopyToLiveModeSchema(copyToLiveModeSchema = {}) {
|
|
9285
|
+
return {
|
|
9286
|
+
"id": n => { copyToLiveModeSchema.id = n.getStringValue(); },
|
|
9287
|
+
};
|
|
9288
|
+
}
|
|
9269
9289
|
/**
|
|
9270
9290
|
* The deserialization information for the current model
|
|
9271
9291
|
* @param CreateAccountSessionResponseSchema The instance to deserialize into.
|
|
@@ -14490,6 +14510,19 @@ function serializeBatchSubscriptionActionsRequestSchema(writer, batchSubscriptio
|
|
|
14490
14510
|
writer.writeEnumValue("action", batchSubscriptionActionsRequestSchema.action);
|
|
14491
14511
|
writer.writeCollectionOfPrimitiveValues("subscriptionIds", batchSubscriptionActionsRequestSchema.subscriptionIds);
|
|
14492
14512
|
}
|
|
14513
|
+
/**
|
|
14514
|
+
* Serializes information the current object
|
|
14515
|
+
* @param CopyProductToLiveModeRequestSchema The instance to serialize from.
|
|
14516
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14517
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14518
|
+
*/
|
|
14519
|
+
// @ts-ignore
|
|
14520
|
+
function serializeCopyProductToLiveModeRequestSchema(writer, copyProductToLiveModeRequestSchema = {}, isSerializingDerivedType = false) {
|
|
14521
|
+
if (!copyProductToLiveModeRequestSchema || isSerializingDerivedType) {
|
|
14522
|
+
return;
|
|
14523
|
+
}
|
|
14524
|
+
writer.writeStringValue("id", copyProductToLiveModeRequestSchema.id);
|
|
14525
|
+
}
|
|
14493
14526
|
/**
|
|
14494
14527
|
* Serializes information the current object
|
|
14495
14528
|
* @param CreateCartItemRequestSchema The instance to serialize from.
|
|
@@ -17340,6 +17373,39 @@ const PricesRequestBuilderRequestsMetadata = {
|
|
|
17340
17373
|
/* tslint:enable */
|
|
17341
17374
|
/* eslint-enable */
|
|
17342
17375
|
|
|
17376
|
+
/* tslint:disable */
|
|
17377
|
+
/* eslint-disable */
|
|
17378
|
+
// Generated by Microsoft Kiota
|
|
17379
|
+
// @ts-ignore
|
|
17380
|
+
/**
|
|
17381
|
+
* Uri template for the request builder.
|
|
17382
|
+
*/
|
|
17383
|
+
const CopyToLiveModeRequestBuilderUriTemplate = "{+baseurl}/api/products/copy-to-live-mode";
|
|
17384
|
+
/**
|
|
17385
|
+
* Metadata for all the requests in the request builder.
|
|
17386
|
+
*/
|
|
17387
|
+
const CopyToLiveModeRequestBuilderRequestsMetadata = {
|
|
17388
|
+
post: {
|
|
17389
|
+
uriTemplate: CopyToLiveModeRequestBuilderUriTemplate,
|
|
17390
|
+
responseBodyContentType: "application/json",
|
|
17391
|
+
errorMappings: {
|
|
17392
|
+
400: createErrorResponseBodyFromDiscriminatorValue,
|
|
17393
|
+
401: createErrorResponseBodyFromDiscriminatorValue,
|
|
17394
|
+
403: createErrorResponseBodyFromDiscriminatorValue,
|
|
17395
|
+
404: createErrorResponseBodyFromDiscriminatorValue,
|
|
17396
|
+
405: createErrorResponseBodyFromDiscriminatorValue,
|
|
17397
|
+
500: createErrorResponseBodyFromDiscriminatorValue,
|
|
17398
|
+
},
|
|
17399
|
+
adapterMethodName: "send",
|
|
17400
|
+
responseBodyFactory: createCopyToLiveModeSchemaFromDiscriminatorValue,
|
|
17401
|
+
requestBodyContentType: "application/json",
|
|
17402
|
+
requestBodySerializer: serializeCopyProductToLiveModeRequestSchema,
|
|
17403
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
17404
|
+
},
|
|
17405
|
+
};
|
|
17406
|
+
/* tslint:enable */
|
|
17407
|
+
/* eslint-enable */
|
|
17408
|
+
|
|
17343
17409
|
/* tslint:disable */
|
|
17344
17410
|
/* eslint-disable */
|
|
17345
17411
|
// Generated by Microsoft Kiota
|
|
@@ -17532,6 +17598,9 @@ const ProductsRequestBuilderNavigationMetadata = {
|
|
|
17532
17598
|
navigationMetadata: ProductsItemRequestBuilderNavigationMetadata,
|
|
17533
17599
|
pathParametersMappings: ["id"],
|
|
17534
17600
|
},
|
|
17601
|
+
copyToLiveMode: {
|
|
17602
|
+
requestsMetadata: CopyToLiveModeRequestBuilderRequestsMetadata,
|
|
17603
|
+
},
|
|
17535
17604
|
exportEscaped: {
|
|
17536
17605
|
navigationMetadata: ExportRequestBuilderNavigationMetadata,
|
|
17537
17606
|
},
|