@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.es.js
CHANGED
|
@@ -6294,6 +6294,15 @@ function createCheckEntitlementsSchema_dataFromDiscriminatorValue(parseNode) {
|
|
|
6294
6294
|
function createCheckEntitlementsSchemaFromDiscriminatorValue(parseNode) {
|
|
6295
6295
|
return deserializeIntoCheckEntitlementsSchema;
|
|
6296
6296
|
}
|
|
6297
|
+
/**
|
|
6298
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
6299
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6300
|
+
* @returns {CopyToLiveModeSchema}
|
|
6301
|
+
*/
|
|
6302
|
+
// @ts-ignore
|
|
6303
|
+
function createCopyToLiveModeSchemaFromDiscriminatorValue(parseNode) {
|
|
6304
|
+
return deserializeIntoCopyToLiveModeSchema;
|
|
6305
|
+
}
|
|
6297
6306
|
/**
|
|
6298
6307
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
6299
6308
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -9264,6 +9273,17 @@ function deserializeIntoCheckEntitlementsSchema_data_entitlements(checkEntitleme
|
|
|
9264
9273
|
"value": n => { checkEntitlementsSchema_data_entitlements.value = n.getStringValue(); },
|
|
9265
9274
|
};
|
|
9266
9275
|
}
|
|
9276
|
+
/**
|
|
9277
|
+
* The deserialization information for the current model
|
|
9278
|
+
* @param CopyToLiveModeSchema The instance to deserialize into.
|
|
9279
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9280
|
+
*/
|
|
9281
|
+
// @ts-ignore
|
|
9282
|
+
function deserializeIntoCopyToLiveModeSchema(copyToLiveModeSchema = {}) {
|
|
9283
|
+
return {
|
|
9284
|
+
"id": n => { copyToLiveModeSchema.id = n.getStringValue(); },
|
|
9285
|
+
};
|
|
9286
|
+
}
|
|
9267
9287
|
/**
|
|
9268
9288
|
* The deserialization information for the current model
|
|
9269
9289
|
* @param CreateAccountSessionResponseSchema The instance to deserialize into.
|
|
@@ -14488,6 +14508,19 @@ function serializeBatchSubscriptionActionsRequestSchema(writer, batchSubscriptio
|
|
|
14488
14508
|
writer.writeEnumValue("action", batchSubscriptionActionsRequestSchema.action);
|
|
14489
14509
|
writer.writeCollectionOfPrimitiveValues("subscriptionIds", batchSubscriptionActionsRequestSchema.subscriptionIds);
|
|
14490
14510
|
}
|
|
14511
|
+
/**
|
|
14512
|
+
* Serializes information the current object
|
|
14513
|
+
* @param CopyProductToLiveModeRequestSchema The instance to serialize from.
|
|
14514
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14515
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14516
|
+
*/
|
|
14517
|
+
// @ts-ignore
|
|
14518
|
+
function serializeCopyProductToLiveModeRequestSchema(writer, copyProductToLiveModeRequestSchema = {}, isSerializingDerivedType = false) {
|
|
14519
|
+
if (!copyProductToLiveModeRequestSchema || isSerializingDerivedType) {
|
|
14520
|
+
return;
|
|
14521
|
+
}
|
|
14522
|
+
writer.writeStringValue("id", copyProductToLiveModeRequestSchema.id);
|
|
14523
|
+
}
|
|
14491
14524
|
/**
|
|
14492
14525
|
* Serializes information the current object
|
|
14493
14526
|
* @param CreateCartItemRequestSchema The instance to serialize from.
|
|
@@ -17338,6 +17371,39 @@ const PricesRequestBuilderRequestsMetadata = {
|
|
|
17338
17371
|
/* tslint:enable */
|
|
17339
17372
|
/* eslint-enable */
|
|
17340
17373
|
|
|
17374
|
+
/* tslint:disable */
|
|
17375
|
+
/* eslint-disable */
|
|
17376
|
+
// Generated by Microsoft Kiota
|
|
17377
|
+
// @ts-ignore
|
|
17378
|
+
/**
|
|
17379
|
+
* Uri template for the request builder.
|
|
17380
|
+
*/
|
|
17381
|
+
const CopyToLiveModeRequestBuilderUriTemplate = "{+baseurl}/api/products/copy-to-live-mode";
|
|
17382
|
+
/**
|
|
17383
|
+
* Metadata for all the requests in the request builder.
|
|
17384
|
+
*/
|
|
17385
|
+
const CopyToLiveModeRequestBuilderRequestsMetadata = {
|
|
17386
|
+
post: {
|
|
17387
|
+
uriTemplate: CopyToLiveModeRequestBuilderUriTemplate,
|
|
17388
|
+
responseBodyContentType: "application/json",
|
|
17389
|
+
errorMappings: {
|
|
17390
|
+
400: createErrorResponseBodyFromDiscriminatorValue,
|
|
17391
|
+
401: createErrorResponseBodyFromDiscriminatorValue,
|
|
17392
|
+
403: createErrorResponseBodyFromDiscriminatorValue,
|
|
17393
|
+
404: createErrorResponseBodyFromDiscriminatorValue,
|
|
17394
|
+
405: createErrorResponseBodyFromDiscriminatorValue,
|
|
17395
|
+
500: createErrorResponseBodyFromDiscriminatorValue,
|
|
17396
|
+
},
|
|
17397
|
+
adapterMethodName: "send",
|
|
17398
|
+
responseBodyFactory: createCopyToLiveModeSchemaFromDiscriminatorValue,
|
|
17399
|
+
requestBodyContentType: "application/json",
|
|
17400
|
+
requestBodySerializer: serializeCopyProductToLiveModeRequestSchema,
|
|
17401
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
17402
|
+
},
|
|
17403
|
+
};
|
|
17404
|
+
/* tslint:enable */
|
|
17405
|
+
/* eslint-enable */
|
|
17406
|
+
|
|
17341
17407
|
/* tslint:disable */
|
|
17342
17408
|
/* eslint-disable */
|
|
17343
17409
|
// Generated by Microsoft Kiota
|
|
@@ -17530,6 +17596,9 @@ const ProductsRequestBuilderNavigationMetadata = {
|
|
|
17530
17596
|
navigationMetadata: ProductsItemRequestBuilderNavigationMetadata,
|
|
17531
17597
|
pathParametersMappings: ["id"],
|
|
17532
17598
|
},
|
|
17599
|
+
copyToLiveMode: {
|
|
17600
|
+
requestsMetadata: CopyToLiveModeRequestBuilderRequestsMetadata,
|
|
17601
|
+
},
|
|
17533
17602
|
exportEscaped: {
|
|
17534
17603
|
navigationMetadata: ExportRequestBuilderNavigationMetadata,
|
|
17535
17604
|
},
|