@salable/sdk 1.0.4 → 1.0.6
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 +71 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +71 -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 +106 -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.
|
|
@@ -9671,6 +9691,7 @@ function deserializeIntoGetAIConversationDetailSchema_data_messages_data(getAICo
|
|
|
9671
9691
|
"id": n => { getAIConversationDetailSchema_data_messages_data.id = n.getStringValue(); },
|
|
9672
9692
|
"organisation": n => { getAIConversationDetailSchema_data_messages_data.organisation = n.getStringValue(); },
|
|
9673
9693
|
"role": n => { getAIConversationDetailSchema_data_messages_data.role = n.getStringValue(); },
|
|
9694
|
+
"status": n => { getAIConversationDetailSchema_data_messages_data.status = n.getStringValue(); },
|
|
9674
9695
|
};
|
|
9675
9696
|
}
|
|
9676
9697
|
/**
|
|
@@ -9880,6 +9901,7 @@ function deserializeIntoGetAiMessageListSchema_data(getAiMessageListSchema_data
|
|
|
9880
9901
|
"id": n => { getAiMessageListSchema_data.id = n.getStringValue(); },
|
|
9881
9902
|
"organisation": n => { getAiMessageListSchema_data.organisation = n.getStringValue(); },
|
|
9882
9903
|
"role": n => { getAiMessageListSchema_data.role = n.getStringValue(); },
|
|
9904
|
+
"status": n => { getAiMessageListSchema_data.status = n.getStringValue(); },
|
|
9883
9905
|
};
|
|
9884
9906
|
}
|
|
9885
9907
|
/**
|
|
@@ -14490,6 +14512,19 @@ function serializeBatchSubscriptionActionsRequestSchema(writer, batchSubscriptio
|
|
|
14490
14512
|
writer.writeEnumValue("action", batchSubscriptionActionsRequestSchema.action);
|
|
14491
14513
|
writer.writeCollectionOfPrimitiveValues("subscriptionIds", batchSubscriptionActionsRequestSchema.subscriptionIds);
|
|
14492
14514
|
}
|
|
14515
|
+
/**
|
|
14516
|
+
* Serializes information the current object
|
|
14517
|
+
* @param CopyProductToLiveModeRequestSchema The instance to serialize from.
|
|
14518
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14519
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14520
|
+
*/
|
|
14521
|
+
// @ts-ignore
|
|
14522
|
+
function serializeCopyProductToLiveModeRequestSchema(writer, copyProductToLiveModeRequestSchema = {}, isSerializingDerivedType = false) {
|
|
14523
|
+
if (!copyProductToLiveModeRequestSchema || isSerializingDerivedType) {
|
|
14524
|
+
return;
|
|
14525
|
+
}
|
|
14526
|
+
writer.writeStringValue("id", copyProductToLiveModeRequestSchema.id);
|
|
14527
|
+
}
|
|
14493
14528
|
/**
|
|
14494
14529
|
* Serializes information the current object
|
|
14495
14530
|
* @param CreateCartItemRequestSchema The instance to serialize from.
|
|
@@ -17340,6 +17375,39 @@ const PricesRequestBuilderRequestsMetadata = {
|
|
|
17340
17375
|
/* tslint:enable */
|
|
17341
17376
|
/* eslint-enable */
|
|
17342
17377
|
|
|
17378
|
+
/* tslint:disable */
|
|
17379
|
+
/* eslint-disable */
|
|
17380
|
+
// Generated by Microsoft Kiota
|
|
17381
|
+
// @ts-ignore
|
|
17382
|
+
/**
|
|
17383
|
+
* Uri template for the request builder.
|
|
17384
|
+
*/
|
|
17385
|
+
const CopyToLiveModeRequestBuilderUriTemplate = "{+baseurl}/api/products/copy-to-live-mode";
|
|
17386
|
+
/**
|
|
17387
|
+
* Metadata for all the requests in the request builder.
|
|
17388
|
+
*/
|
|
17389
|
+
const CopyToLiveModeRequestBuilderRequestsMetadata = {
|
|
17390
|
+
post: {
|
|
17391
|
+
uriTemplate: CopyToLiveModeRequestBuilderUriTemplate,
|
|
17392
|
+
responseBodyContentType: "application/json",
|
|
17393
|
+
errorMappings: {
|
|
17394
|
+
400: createErrorResponseBodyFromDiscriminatorValue,
|
|
17395
|
+
401: createErrorResponseBodyFromDiscriminatorValue,
|
|
17396
|
+
403: createErrorResponseBodyFromDiscriminatorValue,
|
|
17397
|
+
404: createErrorResponseBodyFromDiscriminatorValue,
|
|
17398
|
+
405: createErrorResponseBodyFromDiscriminatorValue,
|
|
17399
|
+
500: createErrorResponseBodyFromDiscriminatorValue,
|
|
17400
|
+
},
|
|
17401
|
+
adapterMethodName: "send",
|
|
17402
|
+
responseBodyFactory: createCopyToLiveModeSchemaFromDiscriminatorValue,
|
|
17403
|
+
requestBodyContentType: "application/json",
|
|
17404
|
+
requestBodySerializer: serializeCopyProductToLiveModeRequestSchema,
|
|
17405
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
17406
|
+
},
|
|
17407
|
+
};
|
|
17408
|
+
/* tslint:enable */
|
|
17409
|
+
/* eslint-enable */
|
|
17410
|
+
|
|
17343
17411
|
/* tslint:disable */
|
|
17344
17412
|
/* eslint-disable */
|
|
17345
17413
|
// Generated by Microsoft Kiota
|
|
@@ -17532,6 +17600,9 @@ const ProductsRequestBuilderNavigationMetadata = {
|
|
|
17532
17600
|
navigationMetadata: ProductsItemRequestBuilderNavigationMetadata,
|
|
17533
17601
|
pathParametersMappings: ["id"],
|
|
17534
17602
|
},
|
|
17603
|
+
copyToLiveMode: {
|
|
17604
|
+
requestsMetadata: CopyToLiveModeRequestBuilderRequestsMetadata,
|
|
17605
|
+
},
|
|
17535
17606
|
exportEscaped: {
|
|
17536
17607
|
navigationMetadata: ExportRequestBuilderNavigationMetadata,
|
|
17537
17608
|
},
|