@salable/sdk 1.0.35 → 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 CHANGED
@@ -17227,7 +17227,7 @@ const SaveRequestBuilderRequestsMetadata = {
17227
17227
  /**
17228
17228
  * Uri template for the request builder.
17229
17229
  */
17230
- const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId*,search*}";
17230
+ const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId,search*}";
17231
17231
  /**
17232
17232
  * Metadata for all the navigation properties in the request builder.
17233
17233
  */
@@ -18778,7 +18778,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineIt
18778
18778
  /**
18779
18779
  * Uri template for the request builder.
18780
18780
  */
18781
- const SubscriptionPlansRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans{?after*,before*,expand,limit*,owner*,plans*,status*}";
18781
+ const SubscriptionPlansRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans{?after*,before*,expand,limit*,owner*,plans,status*}";
18782
18782
  /**
18783
18783
  * Metadata for all the navigation properties in the request builder.
18784
18784
  */
package/dist/index.js CHANGED
@@ -17229,7 +17229,7 @@ const SaveRequestBuilderRequestsMetadata = {
17229
17229
  /**
17230
17230
  * Uri template for the request builder.
17231
17231
  */
17232
- const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId*,search*}";
17232
+ const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId,search*}";
17233
17233
  /**
17234
17234
  * Metadata for all the navigation properties in the request builder.
17235
17235
  */
@@ -18780,7 +18780,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineIt
18780
18780
  /**
18781
18781
  * Uri template for the request builder.
18782
18782
  */
18783
- const SubscriptionPlansRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans{?after*,before*,expand,limit*,owner*,plans*,status*}";
18783
+ const SubscriptionPlansRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans{?after*,before*,expand,limit*,owner*,plans,status*}";
18784
18784
  /**
18785
18785
  * Metadata for all the navigation properties in the request builder.
18786
18786
  */
@@ -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
  }
@@ -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
- productId?: string;
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*,search*}";
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";
@@ -50,6 +50,9 @@ export interface ReceiptsRequestBuilderGetQueryParameters {
50
50
  owner?: string[];
51
51
  search?: string;
52
52
  sort?: string;
53
+ /**
54
+ * Returns only receipts linked to this subscription ID.
55
+ */
53
56
  subscriptionId?: string;
54
57
  }
55
58
  /**
@@ -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 plans.
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*,status*}";
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 plans.
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 products.
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",