@salable/sdk 1.0.1 → 1.0.2
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 +5 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/plans/index.d.ts +5 -4
- package/dist/sdk/models/index.d.ts +16 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { type CreatePlanResponseSchema, type GetPlanListSchema, type PlanRequest
|
|
|
2
2
|
import { type PlansItemRequestBuilder } from './item/index.js';
|
|
3
3
|
import { type SaveRequestBuilder } from './save/index.js';
|
|
4
4
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
-
export type
|
|
5
|
+
export type GetCurrencyQueryParameterType = (typeof GetCurrencyQueryParameterTypeObject)[keyof typeof GetCurrencyQueryParameterTypeObject];
|
|
6
6
|
export type GetExpandQueryParameterType = (typeof GetExpandQueryParameterTypeObject)[keyof typeof GetExpandQueryParameterTypeObject];
|
|
7
7
|
export type GetIntervalQueryParameterType = (typeof GetIntervalQueryParameterTypeObject)[keyof typeof GetIntervalQueryParameterTypeObject];
|
|
8
8
|
/**
|
|
@@ -59,7 +59,7 @@ export interface PlansRequestBuilder extends BaseRequestBuilder<PlansRequestBuil
|
|
|
59
59
|
export interface PlansRequestBuilderGetQueryParameters {
|
|
60
60
|
after?: string;
|
|
61
61
|
before?: string;
|
|
62
|
-
|
|
62
|
+
currency?: GetCurrencyQueryParameterType;
|
|
63
63
|
expand?: GetExpandQueryParameterType[];
|
|
64
64
|
includeArchived?: string;
|
|
65
65
|
includeFilterOptions?: string;
|
|
@@ -73,8 +73,8 @@ export interface PlansRequestBuilderGetQueryParameters {
|
|
|
73
73
|
/**
|
|
74
74
|
* Uri template for the request builder.
|
|
75
75
|
*/
|
|
76
|
-
export declare const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,
|
|
77
|
-
export declare const
|
|
76
|
+
export declare const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId*,search*}";
|
|
77
|
+
export declare const GetCurrencyQueryParameterTypeObject: {
|
|
78
78
|
readonly USD: "USD";
|
|
79
79
|
readonly AED: "AED";
|
|
80
80
|
readonly AFN: "AFN";
|
|
@@ -225,6 +225,7 @@ export declare const GetIntervalQueryParameterTypeObject: {
|
|
|
225
225
|
readonly Week: "week";
|
|
226
226
|
readonly Month: "month";
|
|
227
227
|
readonly Year: "year";
|
|
228
|
+
readonly One_off: "one_off";
|
|
228
229
|
};
|
|
229
230
|
/**
|
|
230
231
|
* Metadata for all the navigation properties in the request builder.
|
|
@@ -10314,14 +10314,30 @@ export interface GetPlanListSchema_data_product extends Parsable {
|
|
|
10314
10314
|
* The archivedAt property
|
|
10315
10315
|
*/
|
|
10316
10316
|
archivedAt?: string | null;
|
|
10317
|
+
/**
|
|
10318
|
+
* The createdAt property
|
|
10319
|
+
*/
|
|
10320
|
+
createdAt?: string | null;
|
|
10317
10321
|
/**
|
|
10318
10322
|
* The id property
|
|
10319
10323
|
*/
|
|
10320
10324
|
id?: string | null;
|
|
10325
|
+
/**
|
|
10326
|
+
* The isActive property
|
|
10327
|
+
*/
|
|
10328
|
+
isActive?: boolean | null;
|
|
10321
10329
|
/**
|
|
10322
10330
|
* The name property
|
|
10323
10331
|
*/
|
|
10324
10332
|
name?: string | null;
|
|
10333
|
+
/**
|
|
10334
|
+
* The organisation property
|
|
10335
|
+
*/
|
|
10336
|
+
organisation?: string | null;
|
|
10337
|
+
/**
|
|
10338
|
+
* The updatedAt property
|
|
10339
|
+
*/
|
|
10340
|
+
updatedAt?: string | null;
|
|
10325
10341
|
}
|
|
10326
10342
|
export interface GetPlanListSchema_data_tierTag extends Parsable {
|
|
10327
10343
|
/**
|