@salable/sdk 1.0.34 → 1.0.36
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 +51 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +51 -2
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/ai/messages/index.d.ts +3 -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/grantees/index.d.ts +3 -0
- package/dist/sdk/api/lineItems/index.d.ts +3 -0
- package/dist/sdk/api/owners/item/index.d.ts +1 -0
- package/dist/sdk/api/plans/index.d.ts +5 -2
- package/dist/sdk/api/receipts/index.d.ts +3 -0
- package/dist/sdk/api/subscriptionPlans/index.d.ts +3 -3
- package/dist/sdk/api/subscriptions/index.d.ts +3 -3
- package/dist/sdk/models/index.d.ts +86 -0
- package/package.json +1 -1
|
@@ -28,6 +28,9 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
28
28
|
export interface MessagesRequestBuilderGetQueryParameters {
|
|
29
29
|
after?: string;
|
|
30
30
|
before?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Returns only messages belonging to this conversation ID.
|
|
33
|
+
*/
|
|
31
34
|
conversationId?: string;
|
|
32
35
|
/**
|
|
33
36
|
* The number of records returned in a response. Value between 1 and 100. Defaults to 25.
|
|
@@ -40,6 +40,9 @@ export interface CurrencyOptionsRequestBuilderGetQueryParameters {
|
|
|
40
40
|
* The number of records returned in a response. Value between 1 and 100. Defaults to 25.
|
|
41
41
|
*/
|
|
42
42
|
limit?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Returns only currency options linked to this price ID.
|
|
45
|
+
*/
|
|
43
46
|
priceId?: string;
|
|
44
47
|
}
|
|
45
48
|
export type GetExpandQueryParameterType = (typeof GetExpandQueryParameterTypeObject)[keyof typeof GetExpandQueryParameterTypeObject];
|
|
@@ -35,6 +35,9 @@ export interface DestinationsRequestBuilder extends BaseRequestBuilder<Destinati
|
|
|
35
35
|
export interface DestinationsRequestBuilderGetQueryParameters {
|
|
36
36
|
after?: string;
|
|
37
37
|
before?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Returns only destinations linked to this event ID.
|
|
40
|
+
*/
|
|
38
41
|
eventId?: string;
|
|
39
42
|
/**
|
|
40
43
|
* The number of records returned in a response. Value between 1 and 100. Defaults to 25.
|
|
@@ -63,6 +63,9 @@ export interface EntitlementsRequestBuilderGetQueryParameters {
|
|
|
63
63
|
* The number of records returned in a response. Value between 1 and 100. Defaults to 25.
|
|
64
64
|
*/
|
|
65
65
|
limit?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Returns only entitlements linked to this plan ID.
|
|
68
|
+
*/
|
|
66
69
|
planId?: string;
|
|
67
70
|
search?: string;
|
|
68
71
|
}
|
|
@@ -54,6 +54,9 @@ export interface GranteesRequestBuilder extends BaseRequestBuilder<GranteesReque
|
|
|
54
54
|
export interface GranteesRequestBuilderGetQueryParameters {
|
|
55
55
|
after?: string;
|
|
56
56
|
before?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Returns only grantees belonging to this group ID.
|
|
59
|
+
*/
|
|
57
60
|
groupId?: string;
|
|
58
61
|
/**
|
|
59
62
|
* The number of records returned in a response. Value between 1 and 100. Defaults to 25.
|
|
@@ -39,6 +39,9 @@ export interface LineItemsRequestBuilderGetQueryParameters {
|
|
|
39
39
|
* The number of records returned in a response. Value between 1 and 100. Defaults to 25.
|
|
40
40
|
*/
|
|
41
41
|
limit?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Returns only line items linked to this plan ID.
|
|
44
|
+
*/
|
|
42
45
|
planId?: string;
|
|
43
46
|
search?: string;
|
|
44
47
|
}
|
|
@@ -83,6 +83,7 @@ export declare const GetExpandQueryParameterTypeObject: {
|
|
|
83
83
|
readonly Carts: "carts";
|
|
84
84
|
readonly Subscriptions: "subscriptions";
|
|
85
85
|
readonly Groups: "groups";
|
|
86
|
+
readonly Receipts: "receipts";
|
|
86
87
|
};
|
|
87
88
|
/**
|
|
88
89
|
* Metadata for all the navigation properties in the request builder.
|
|
@@ -76,13 +76,16 @@ export interface PlansRequestBuilderGetQueryParameters {
|
|
|
76
76
|
* The number of records returned in a response. Value between 1 and 100. Defaults to 25.
|
|
77
77
|
*/
|
|
78
78
|
limit?: string;
|
|
79
|
-
|
|
79
|
+
/**
|
|
80
|
+
* Accepts a comma-separated list of product IDs. Returns plans belonging to any of the specified product IDs.
|
|
81
|
+
*/
|
|
82
|
+
productId?: string[];
|
|
80
83
|
search?: string;
|
|
81
84
|
}
|
|
82
85
|
/**
|
|
83
86
|
* Uri template for the request builder.
|
|
84
87
|
*/
|
|
85
|
-
export declare const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId
|
|
88
|
+
export declare const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId,search*}";
|
|
86
89
|
export declare const GetCurrencyQueryParameterTypeObject: {
|
|
87
90
|
readonly USD: "USD";
|
|
88
91
|
readonly AED: "AED";
|
|
@@ -464,9 +464,9 @@ export interface SubscriptionPlansRequestBuilderGetQueryParameters {
|
|
|
464
464
|
*/
|
|
465
465
|
owner?: string;
|
|
466
466
|
/**
|
|
467
|
-
* Accepts a comma-separated list. Returns subscription plans linked to any of the specified
|
|
467
|
+
* Accepts a comma-separated list of plan IDs. Returns subscription plans linked to any of the specified plan IDs.
|
|
468
468
|
*/
|
|
469
|
-
plans?: string;
|
|
469
|
+
plans?: string[];
|
|
470
470
|
/**
|
|
471
471
|
* Defaults to `active`.
|
|
472
472
|
*/
|
|
@@ -475,7 +475,7 @@ export interface SubscriptionPlansRequestBuilderGetQueryParameters {
|
|
|
475
475
|
/**
|
|
476
476
|
* Uri template for the request builder.
|
|
477
477
|
*/
|
|
478
|
-
export declare const SubscriptionPlansRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans{?after*,before*,expand,limit*,owner*,plans
|
|
478
|
+
export declare const SubscriptionPlansRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans{?after*,before*,expand,limit*,owner*,plans,status*}";
|
|
479
479
|
export declare const GetExpandQueryParameterTypeObject: {
|
|
480
480
|
readonly SubscriptionPlanLineItems: "subscriptionPlanLineItems";
|
|
481
481
|
readonly Plan: "plan";
|
|
@@ -308,15 +308,15 @@ export interface SubscriptionsRequestBuilderGetQueryParameters {
|
|
|
308
308
|
*/
|
|
309
309
|
owner?: string;
|
|
310
310
|
/**
|
|
311
|
-
* Accepts a comma-separated list. Returns subscriptions that include any of the specified
|
|
311
|
+
* Accepts a comma-separated list of plan IDs. Returns subscriptions that include any of the specified plan IDs.
|
|
312
312
|
*/
|
|
313
313
|
plans?: string[];
|
|
314
314
|
/**
|
|
315
|
-
* Returns subscriptions that include a subscription plan line item linked to this price.
|
|
315
|
+
* Returns subscriptions that include a subscription plan line item linked to this price ID.
|
|
316
316
|
*/
|
|
317
317
|
priceId?: string;
|
|
318
318
|
/**
|
|
319
|
-
* Accepts a comma-separated list. Returns subscriptions that include a plan belonging to any of the specified
|
|
319
|
+
* Accepts a comma-separated list of product IDs. Returns subscriptions that include a plan belonging to any of the specified product IDs.
|
|
320
320
|
*/
|
|
321
321
|
products?: string[];
|
|
322
322
|
/**
|
|
@@ -1526,6 +1526,18 @@ export declare function createGetOwnerDetailSchema_data_groups_dataFromDiscrimin
|
|
|
1526
1526
|
* @returns {GetOwnerDetailSchema_data_groups}
|
|
1527
1527
|
*/
|
|
1528
1528
|
export declare function createGetOwnerDetailSchema_data_groupsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1529
|
+
/**
|
|
1530
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1531
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1532
|
+
* @returns {GetOwnerDetailSchema_data_receipts_data}
|
|
1533
|
+
*/
|
|
1534
|
+
export declare function createGetOwnerDetailSchema_data_receipts_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1535
|
+
/**
|
|
1536
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1537
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1538
|
+
* @returns {GetOwnerDetailSchema_data_receipts}
|
|
1539
|
+
*/
|
|
1540
|
+
export declare function createGetOwnerDetailSchema_data_receiptsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1529
1541
|
/**
|
|
1530
1542
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1531
1543
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4437,6 +4449,18 @@ export declare function deserializeIntoGetOwnerDetailSchema_data_groups(getOwner
|
|
|
4437
4449
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4438
4450
|
*/
|
|
4439
4451
|
export declare function deserializeIntoGetOwnerDetailSchema_data_groups_data(getOwnerDetailSchema_data_groups_data?: Partial<GetOwnerDetailSchema_data_groups_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4452
|
+
/**
|
|
4453
|
+
* The deserialization information for the current model
|
|
4454
|
+
* @param GetOwnerDetailSchema_data_receipts The instance to deserialize into.
|
|
4455
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4456
|
+
*/
|
|
4457
|
+
export declare function deserializeIntoGetOwnerDetailSchema_data_receipts(getOwnerDetailSchema_data_receipts?: Partial<GetOwnerDetailSchema_data_receipts> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4458
|
+
/**
|
|
4459
|
+
* The deserialization information for the current model
|
|
4460
|
+
* @param GetOwnerDetailSchema_data_receipts_data The instance to deserialize into.
|
|
4461
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4462
|
+
*/
|
|
4463
|
+
export declare function deserializeIntoGetOwnerDetailSchema_data_receipts_data(getOwnerDetailSchema_data_receipts_data?: Partial<GetOwnerDetailSchema_data_receipts_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4440
4464
|
/**
|
|
4441
4465
|
* The deserialization information for the current model
|
|
4442
4466
|
* @param GetOwnerDetailSchema_data_subscriptions The instance to deserialize into.
|
|
@@ -8629,6 +8653,10 @@ export interface GetOwnerDetailSchema_data extends AdditionalDataHolder, Parsabl
|
|
|
8629
8653
|
* The organisation property
|
|
8630
8654
|
*/
|
|
8631
8655
|
organisation?: string | null;
|
|
8656
|
+
/**
|
|
8657
|
+
* The receipts property
|
|
8658
|
+
*/
|
|
8659
|
+
receipts?: GetOwnerDetailSchema_data_receipts | null;
|
|
8632
8660
|
/**
|
|
8633
8661
|
* The stripeCustomerId property
|
|
8634
8662
|
*/
|
|
@@ -8746,6 +8774,50 @@ export interface GetOwnerDetailSchema_data_groups_data extends Parsable {
|
|
|
8746
8774
|
*/
|
|
8747
8775
|
updatedAt?: string | null;
|
|
8748
8776
|
}
|
|
8777
|
+
export interface GetOwnerDetailSchema_data_receipts extends Parsable {
|
|
8778
|
+
/**
|
|
8779
|
+
* The data property
|
|
8780
|
+
*/
|
|
8781
|
+
data?: GetOwnerDetailSchema_data_receipts_data[] | null;
|
|
8782
|
+
/**
|
|
8783
|
+
* The hasMore property
|
|
8784
|
+
*/
|
|
8785
|
+
hasMore?: boolean | null;
|
|
8786
|
+
/**
|
|
8787
|
+
* The path property
|
|
8788
|
+
*/
|
|
8789
|
+
path?: string | null;
|
|
8790
|
+
/**
|
|
8791
|
+
* The type property
|
|
8792
|
+
*/
|
|
8793
|
+
type?: string | null;
|
|
8794
|
+
}
|
|
8795
|
+
export interface GetOwnerDetailSchema_data_receipts_data extends Parsable {
|
|
8796
|
+
/**
|
|
8797
|
+
* The createdAt property
|
|
8798
|
+
*/
|
|
8799
|
+
createdAt?: string | null;
|
|
8800
|
+
/**
|
|
8801
|
+
* The id property
|
|
8802
|
+
*/
|
|
8803
|
+
id?: string | null;
|
|
8804
|
+
/**
|
|
8805
|
+
* The organisation property
|
|
8806
|
+
*/
|
|
8807
|
+
organisation?: string | null;
|
|
8808
|
+
/**
|
|
8809
|
+
* The ownerId property
|
|
8810
|
+
*/
|
|
8811
|
+
ownerId?: string | null;
|
|
8812
|
+
/**
|
|
8813
|
+
* The subscriptionId property
|
|
8814
|
+
*/
|
|
8815
|
+
subscriptionId?: string | null;
|
|
8816
|
+
/**
|
|
8817
|
+
* The updatedAt property
|
|
8818
|
+
*/
|
|
8819
|
+
updatedAt?: string | null;
|
|
8820
|
+
}
|
|
8749
8821
|
export interface GetOwnerDetailSchema_data_subscriptions extends Parsable {
|
|
8750
8822
|
/**
|
|
8751
8823
|
* The data property
|
|
@@ -15297,6 +15369,20 @@ export declare function serializeGetOwnerDetailSchema_data_groups(writer: Serial
|
|
|
15297
15369
|
* @param writer Serialization writer to use to serialize this model
|
|
15298
15370
|
*/
|
|
15299
15371
|
export declare function serializeGetOwnerDetailSchema_data_groups_data(writer: SerializationWriter, getOwnerDetailSchema_data_groups_data?: Partial<GetOwnerDetailSchema_data_groups_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15372
|
+
/**
|
|
15373
|
+
* Serializes information the current object
|
|
15374
|
+
* @param GetOwnerDetailSchema_data_receipts The instance to serialize from.
|
|
15375
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15376
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15377
|
+
*/
|
|
15378
|
+
export declare function serializeGetOwnerDetailSchema_data_receipts(writer: SerializationWriter, getOwnerDetailSchema_data_receipts?: Partial<GetOwnerDetailSchema_data_receipts> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15379
|
+
/**
|
|
15380
|
+
* Serializes information the current object
|
|
15381
|
+
* @param GetOwnerDetailSchema_data_receipts_data The instance to serialize from.
|
|
15382
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15383
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15384
|
+
*/
|
|
15385
|
+
export declare function serializeGetOwnerDetailSchema_data_receipts_data(writer: SerializationWriter, getOwnerDetailSchema_data_receipts_data?: Partial<GetOwnerDetailSchema_data_receipts_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15300
15386
|
/**
|
|
15301
15387
|
* Serializes information the current object
|
|
15302
15388
|
* @param GetOwnerDetailSchema_data_subscriptions The instance to serialize from.
|