@salable/sdk 1.0.20 → 1.0.22
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 +31 -23
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +31 -23
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/paymentIntegrations/item/index.d.ts +1 -22
- package/dist/sdk/api/subscriptions/item/index.d.ts +21 -1
- package/dist/sdk/models/index.d.ts +36 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15146,6 +15146,20 @@ function serializeUpdateProductRequestSchema_settings(writer, updateProductReque
|
|
|
15146
15146
|
writer.writeBooleanValue("pastDueEntitlements", updateProductRequestSchema_settings.pastDueEntitlements);
|
|
15147
15147
|
writer.writeStringValue("successUrl", updateProductRequestSchema_settings.successUrl);
|
|
15148
15148
|
}
|
|
15149
|
+
/**
|
|
15150
|
+
* Serializes information the current object
|
|
15151
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15152
|
+
* @param UpdateSalableOnlySubscriptionRequestSchema The instance to serialize from.
|
|
15153
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15154
|
+
*/
|
|
15155
|
+
// @ts-ignore
|
|
15156
|
+
function serializeUpdateSalableOnlySubscriptionRequestSchema(writer, updateSalableOnlySubscriptionRequestSchema = {}, isSerializingDerivedType = false) {
|
|
15157
|
+
if (!updateSalableOnlySubscriptionRequestSchema || isSerializingDerivedType) {
|
|
15158
|
+
return;
|
|
15159
|
+
}
|
|
15160
|
+
writer.writeEnumValue("interval", updateSalableOnlySubscriptionRequestSchema.interval);
|
|
15161
|
+
writer.writeNumberValue("intervalCount", updateSalableOnlySubscriptionRequestSchema.intervalCount);
|
|
15162
|
+
}
|
|
15149
15163
|
/**
|
|
15150
15164
|
* Serializes information the current object
|
|
15151
15165
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -16937,10 +16951,6 @@ const OnboardingRequestBuilderRequestsMetadata = {
|
|
|
16937
16951
|
/* eslint-disable */
|
|
16938
16952
|
// Generated by Microsoft Kiota
|
|
16939
16953
|
// @ts-ignore
|
|
16940
|
-
/**
|
|
16941
|
-
* Uri template for the request builder.
|
|
16942
|
-
*/
|
|
16943
|
-
const PaymentIntegrationsItemRequestBuilderUriTemplate = "{+baseurl}/api/payment-integrations/{id}";
|
|
16944
16954
|
/**
|
|
16945
16955
|
* Metadata for all the navigation properties in the request builder.
|
|
16946
16956
|
*/
|
|
@@ -16949,24 +16959,6 @@ const PaymentIntegrationsItemRequestBuilderNavigationMetadata = {
|
|
|
16949
16959
|
requestsMetadata: OnboardingRequestBuilderRequestsMetadata,
|
|
16950
16960
|
},
|
|
16951
16961
|
};
|
|
16952
|
-
/**
|
|
16953
|
-
* Metadata for all the requests in the request builder.
|
|
16954
|
-
*/
|
|
16955
|
-
const PaymentIntegrationsItemRequestBuilderRequestsMetadata = {
|
|
16956
|
-
delete: {
|
|
16957
|
-
uriTemplate: PaymentIntegrationsItemRequestBuilderUriTemplate,
|
|
16958
|
-
responseBodyContentType: "application/json",
|
|
16959
|
-
errorMappings: {
|
|
16960
|
-
400: createErrorResponseBodyFromDiscriminatorValue,
|
|
16961
|
-
401: createErrorResponseBodyFromDiscriminatorValue,
|
|
16962
|
-
403: createErrorResponseBodyFromDiscriminatorValue,
|
|
16963
|
-
404: createErrorResponseBodyFromDiscriminatorValue,
|
|
16964
|
-
405: createErrorResponseBodyFromDiscriminatorValue,
|
|
16965
|
-
500: createErrorResponseBodyFromDiscriminatorValue,
|
|
16966
|
-
},
|
|
16967
|
-
adapterMethodName: "sendNoResponseContent",
|
|
16968
|
-
},
|
|
16969
|
-
};
|
|
16970
16962
|
/* tslint:enable */
|
|
16971
16963
|
/* eslint-enable */
|
|
16972
16964
|
|
|
@@ -16997,7 +16989,6 @@ const PaymentIntegrationsRequestBuilderUriTemplate = "{+baseurl}/api/payment-int
|
|
|
16997
16989
|
*/
|
|
16998
16990
|
const PaymentIntegrationsRequestBuilderNavigationMetadata = {
|
|
16999
16991
|
byId: {
|
|
17000
|
-
requestsMetadata: PaymentIntegrationsItemRequestBuilderRequestsMetadata,
|
|
17001
16992
|
navigationMetadata: PaymentIntegrationsItemRequestBuilderNavigationMetadata,
|
|
17002
16993
|
pathParametersMappings: ["id"],
|
|
17003
16994
|
},
|
|
@@ -18968,6 +18959,23 @@ const SubscriptionsItemRequestBuilderRequestsMetadata = {
|
|
|
18968
18959
|
adapterMethodName: "send",
|
|
18969
18960
|
responseBodyFactory: createGetSubscriptionDetailSchemaFromDiscriminatorValue,
|
|
18970
18961
|
},
|
|
18962
|
+
put: {
|
|
18963
|
+
uriTemplate: SubscriptionsItemRequestBuilderUriTemplate,
|
|
18964
|
+
responseBodyContentType: "application/json",
|
|
18965
|
+
errorMappings: {
|
|
18966
|
+
400: createErrorResponseBodyFromDiscriminatorValue,
|
|
18967
|
+
401: createErrorResponseBodyFromDiscriminatorValue,
|
|
18968
|
+
403: createErrorResponseBodyFromDiscriminatorValue,
|
|
18969
|
+
404: createErrorResponseBodyFromDiscriminatorValue,
|
|
18970
|
+
405: createErrorResponseBodyFromDiscriminatorValue,
|
|
18971
|
+
429: createErrorResponseBodyFromDiscriminatorValue,
|
|
18972
|
+
500: createErrorResponseBodyFromDiscriminatorValue,
|
|
18973
|
+
},
|
|
18974
|
+
adapterMethodName: "sendNoResponseContent",
|
|
18975
|
+
requestBodyContentType: "application/json",
|
|
18976
|
+
requestBodySerializer: serializeUpdateSalableOnlySubscriptionRequestSchema,
|
|
18977
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
18978
|
+
},
|
|
18971
18979
|
};
|
|
18972
18980
|
/* tslint:enable */
|
|
18973
18981
|
/* eslint-enable */
|