@salable/sdk 1.0.35 → 1.0.37

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.
@@ -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
  /**
@@ -6984,6 +6984,14 @@ export interface GetDestinationDetailSchema_data_attempts_data extends Parsable
6984
6984
  * The organisation property
6985
6985
  */
6986
6986
  organisation?: string | null;
6987
+ /**
6988
+ * The responseCode property
6989
+ */
6990
+ responseCode?: number | null;
6991
+ /**
6992
+ * The responseReceived property
6993
+ */
6994
+ responseReceived?: boolean | null;
6987
6995
  /**
6988
6996
  * The scheduledAt property
6989
6997
  */
@@ -7172,6 +7180,14 @@ export interface GetEventAttemptsListSchema_data extends Parsable {
7172
7180
  * The organisation property
7173
7181
  */
7174
7182
  organisation?: string | null;
7183
+ /**
7184
+ * The responseCode property
7185
+ */
7186
+ responseCode?: number | null;
7187
+ /**
7188
+ * The responseReceived property
7189
+ */
7190
+ responseReceived?: boolean | null;
7175
7191
  /**
7176
7192
  * The scheduledAt property
7177
7193
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",