@salable/sdk 1.0.48 → 1.0.50

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
@@ -15714,7 +15714,7 @@ const ConversationsRequestBuilderRequestsMetadata = {
15714
15714
  /**
15715
15715
  * Uri template for the request builder.
15716
15716
  */
15717
- const MessagesRequestBuilderUriTemplate = "{+baseurl}/api/ai/messages{?after*,before*,conversationId*,limit*}";
15717
+ const MessagesRequestBuilderUriTemplate = "{+baseurl}/api/ai/messages{?after*,before*,conversation*,conversationId*,limit*}";
15718
15718
  /**
15719
15719
  * Metadata for all the requests in the request builder.
15720
15720
  */
@@ -16106,7 +16106,7 @@ const CartsItemRequestBuilderRequestsMetadata = {
16106
16106
  /**
16107
16107
  * Uri template for the request builder.
16108
16108
  */
16109
- const CartsRequestBuilderUriTemplate = "{+baseurl}/api/carts{?after*,before*,expand,limit*,ownerId,search*,status}";
16109
+ const CartsRequestBuilderUriTemplate = "{+baseurl}/api/carts{?after*,before*,expand,limit*,owner,ownerId,search*,status}";
16110
16110
  /**
16111
16111
  * Metadata for all the navigation properties in the request builder.
16112
16112
  */
@@ -16355,7 +16355,7 @@ const CurrencyOptionsItemRequestBuilderRequestsMetadata = {
16355
16355
  /**
16356
16356
  * Uri template for the request builder.
16357
16357
  */
16358
- const CurrencyOptionsRequestBuilderUriTemplate = "{+baseurl}/api/currency-options{?after*,before*,expand,limit*,priceId*}";
16358
+ const CurrencyOptionsRequestBuilderUriTemplate = "{+baseurl}/api/currency-options{?after*,before*,expand,limit*,price*,priceId*}";
16359
16359
  /**
16360
16360
  * Metadata for all the navigation properties in the request builder.
16361
16361
  */
@@ -16438,7 +16438,7 @@ const DestinationsItemRequestBuilderRequestsMetadata = {
16438
16438
  /**
16439
16439
  * Uri template for the request builder.
16440
16440
  */
16441
- const DestinationsRequestBuilderUriTemplate = "{+baseurl}/api/destinations{?after*,before*,eventId*,limit*}";
16441
+ const DestinationsRequestBuilderUriTemplate = "{+baseurl}/api/destinations{?after*,before*,event*,eventId*,limit*}";
16442
16442
  /**
16443
16443
  * Metadata for all the navigation properties in the request builder.
16444
16444
  */
@@ -16568,7 +16568,7 @@ const EntitlementsItemRequestBuilderRequestsMetadata = {
16568
16568
  /**
16569
16569
  * Uri template for the request builder.
16570
16570
  */
16571
- const EntitlementsRequestBuilderUriTemplate = "{+baseurl}/api/entitlements{?after*,before*,limit*,planId*,search*}";
16571
+ const EntitlementsRequestBuilderUriTemplate = "{+baseurl}/api/entitlements{?after*,before*,limit*,plan*,planId*,search*}";
16572
16572
  /**
16573
16573
  * Metadata for all the navigation properties in the request builder.
16574
16574
  */
@@ -16625,7 +16625,7 @@ const EntitlementsRequestBuilderRequestsMetadata = {
16625
16625
  /**
16626
16626
  * Uri template for the request builder.
16627
16627
  */
16628
- const EventAttemptsRequestBuilderUriTemplate = "{+baseurl}/api/event-attempts{?after*,before*,destinationId*,limit*}";
16628
+ const EventAttemptsRequestBuilderUriTemplate = "{+baseurl}/api/event-attempts{?after*,before*,destination*,destinationId*,limit*}";
16629
16629
  /**
16630
16630
  * Metadata for all the requests in the request builder.
16631
16631
  */
@@ -16785,7 +16785,7 @@ const GranteesItemRequestBuilderRequestsMetadata = {
16785
16785
  /**
16786
16786
  * Uri template for the request builder.
16787
16787
  */
16788
- const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*,search*}";
16788
+ const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,group*,groupId*,limit*,search*}";
16789
16789
  /**
16790
16790
  * Metadata for all the navigation properties in the request builder.
16791
16791
  */
@@ -17122,7 +17122,7 @@ const LineItemsItemRequestBuilderRequestsMetadata = {
17122
17122
  /**
17123
17123
  * Uri template for the request builder.
17124
17124
  */
17125
- const LineItemsRequestBuilderUriTemplate = "{+baseurl}/api/line-items{?after*,before*,limit*,planId*,search*}";
17125
+ const LineItemsRequestBuilderUriTemplate = "{+baseurl}/api/line-items{?after*,before*,limit*,plan*,planId*,search*}";
17126
17126
  /**
17127
17127
  * Metadata for all the navigation properties in the request builder.
17128
17128
  */
@@ -17192,7 +17192,7 @@ const MembershipsItemRequestBuilderRequestsMetadata = {
17192
17192
  /**
17193
17193
  * Uri template for the request builder.
17194
17194
  */
17195
- const MembershipsRequestBuilderUriTemplate = "{+baseurl}/api/memberships{?expand}";
17195
+ const MembershipsRequestBuilderUriTemplate = "{+baseurl}/api/memberships{?after*,before*,expand,grantee*,granteeId*,limit*}";
17196
17196
  /**
17197
17197
  * Metadata for all the navigation properties in the request builder.
17198
17198
  */
@@ -17364,7 +17364,7 @@ const OwnersItemRequestBuilderRequestsMetadata = {
17364
17364
  /**
17365
17365
  * Uri template for the request builder.
17366
17366
  */
17367
- const OwnersRequestBuilderUriTemplate = "{+baseurl}/api/owners{?after*,before*,expand,limit*,search*,stripeCustomerId*}";
17367
+ const OwnersRequestBuilderUriTemplate = "{+baseurl}/api/owners{?after*,before*,expand,limit*,search*,stripeCustomer*,stripeCustomerId*}";
17368
17368
  /**
17369
17369
  * Metadata for all the navigation properties in the request builder.
17370
17370
  */
@@ -17651,7 +17651,7 @@ const SaveRequestBuilderRequestsMetadata = {
17651
17651
  /**
17652
17652
  * Uri template for the request builder.
17653
17653
  */
17654
- const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId,search*}";
17654
+ const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,product,productId,search*}";
17655
17655
  /**
17656
17656
  * Metadata for all the navigation properties in the request builder.
17657
17657
  */
@@ -18188,7 +18188,7 @@ const ReceiptsItemRequestBuilderRequestsMetadata = {
18188
18188
  /**
18189
18189
  * Uri template for the request builder.
18190
18190
  */
18191
- const ReceiptsRequestBuilderUriTemplate = "{+baseurl}/api/receipts{?after*,before*,expand,limit*,lineItems,owner,search*,sort*,subscriptionId*}";
18191
+ const ReceiptsRequestBuilderUriTemplate = "{+baseurl}/api/receipts{?after*,before*,expand,limit*,lineItems,owner,search*,sort*,subscription*,subscriptionId*}";
18192
18192
  /**
18193
18193
  * Metadata for all the navigation properties in the request builder.
18194
18194
  */
@@ -19602,7 +19602,7 @@ function serializeSubscriptionsPostRequestBody_plans_metadata(writer, subscripti
19602
19602
  /**
19603
19603
  * Uri template for the request builder.
19604
19604
  */
19605
- const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/api/subscriptions{?after*,before*,expand,id*,limit*,owner*,plans,priceId*,products,search*,sort*,status*,stripePriceId*}";
19605
+ const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/api/subscriptions{?after*,before*,expand,id*,limit*,owner*,plans,price*,priceId*,products,search*,sort*,status*,stripePrice*,stripePriceId*}";
19606
19606
  /**
19607
19607
  * Metadata for all the navigation properties in the request builder.
19608
19608
  */
package/dist/index.js CHANGED
@@ -15716,7 +15716,7 @@ const ConversationsRequestBuilderRequestsMetadata = {
15716
15716
  /**
15717
15717
  * Uri template for the request builder.
15718
15718
  */
15719
- const MessagesRequestBuilderUriTemplate = "{+baseurl}/api/ai/messages{?after*,before*,conversationId*,limit*}";
15719
+ const MessagesRequestBuilderUriTemplate = "{+baseurl}/api/ai/messages{?after*,before*,conversation*,conversationId*,limit*}";
15720
15720
  /**
15721
15721
  * Metadata for all the requests in the request builder.
15722
15722
  */
@@ -16108,7 +16108,7 @@ const CartsItemRequestBuilderRequestsMetadata = {
16108
16108
  /**
16109
16109
  * Uri template for the request builder.
16110
16110
  */
16111
- const CartsRequestBuilderUriTemplate = "{+baseurl}/api/carts{?after*,before*,expand,limit*,ownerId,search*,status}";
16111
+ const CartsRequestBuilderUriTemplate = "{+baseurl}/api/carts{?after*,before*,expand,limit*,owner,ownerId,search*,status}";
16112
16112
  /**
16113
16113
  * Metadata for all the navigation properties in the request builder.
16114
16114
  */
@@ -16357,7 +16357,7 @@ const CurrencyOptionsItemRequestBuilderRequestsMetadata = {
16357
16357
  /**
16358
16358
  * Uri template for the request builder.
16359
16359
  */
16360
- const CurrencyOptionsRequestBuilderUriTemplate = "{+baseurl}/api/currency-options{?after*,before*,expand,limit*,priceId*}";
16360
+ const CurrencyOptionsRequestBuilderUriTemplate = "{+baseurl}/api/currency-options{?after*,before*,expand,limit*,price*,priceId*}";
16361
16361
  /**
16362
16362
  * Metadata for all the navigation properties in the request builder.
16363
16363
  */
@@ -16440,7 +16440,7 @@ const DestinationsItemRequestBuilderRequestsMetadata = {
16440
16440
  /**
16441
16441
  * Uri template for the request builder.
16442
16442
  */
16443
- const DestinationsRequestBuilderUriTemplate = "{+baseurl}/api/destinations{?after*,before*,eventId*,limit*}";
16443
+ const DestinationsRequestBuilderUriTemplate = "{+baseurl}/api/destinations{?after*,before*,event*,eventId*,limit*}";
16444
16444
  /**
16445
16445
  * Metadata for all the navigation properties in the request builder.
16446
16446
  */
@@ -16570,7 +16570,7 @@ const EntitlementsItemRequestBuilderRequestsMetadata = {
16570
16570
  /**
16571
16571
  * Uri template for the request builder.
16572
16572
  */
16573
- const EntitlementsRequestBuilderUriTemplate = "{+baseurl}/api/entitlements{?after*,before*,limit*,planId*,search*}";
16573
+ const EntitlementsRequestBuilderUriTemplate = "{+baseurl}/api/entitlements{?after*,before*,limit*,plan*,planId*,search*}";
16574
16574
  /**
16575
16575
  * Metadata for all the navigation properties in the request builder.
16576
16576
  */
@@ -16627,7 +16627,7 @@ const EntitlementsRequestBuilderRequestsMetadata = {
16627
16627
  /**
16628
16628
  * Uri template for the request builder.
16629
16629
  */
16630
- const EventAttemptsRequestBuilderUriTemplate = "{+baseurl}/api/event-attempts{?after*,before*,destinationId*,limit*}";
16630
+ const EventAttemptsRequestBuilderUriTemplate = "{+baseurl}/api/event-attempts{?after*,before*,destination*,destinationId*,limit*}";
16631
16631
  /**
16632
16632
  * Metadata for all the requests in the request builder.
16633
16633
  */
@@ -16787,7 +16787,7 @@ const GranteesItemRequestBuilderRequestsMetadata = {
16787
16787
  /**
16788
16788
  * Uri template for the request builder.
16789
16789
  */
16790
- const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*,search*}";
16790
+ const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,group*,groupId*,limit*,search*}";
16791
16791
  /**
16792
16792
  * Metadata for all the navigation properties in the request builder.
16793
16793
  */
@@ -17124,7 +17124,7 @@ const LineItemsItemRequestBuilderRequestsMetadata = {
17124
17124
  /**
17125
17125
  * Uri template for the request builder.
17126
17126
  */
17127
- const LineItemsRequestBuilderUriTemplate = "{+baseurl}/api/line-items{?after*,before*,limit*,planId*,search*}";
17127
+ const LineItemsRequestBuilderUriTemplate = "{+baseurl}/api/line-items{?after*,before*,limit*,plan*,planId*,search*}";
17128
17128
  /**
17129
17129
  * Metadata for all the navigation properties in the request builder.
17130
17130
  */
@@ -17194,7 +17194,7 @@ const MembershipsItemRequestBuilderRequestsMetadata = {
17194
17194
  /**
17195
17195
  * Uri template for the request builder.
17196
17196
  */
17197
- const MembershipsRequestBuilderUriTemplate = "{+baseurl}/api/memberships{?expand}";
17197
+ const MembershipsRequestBuilderUriTemplate = "{+baseurl}/api/memberships{?after*,before*,expand,grantee*,granteeId*,limit*}";
17198
17198
  /**
17199
17199
  * Metadata for all the navigation properties in the request builder.
17200
17200
  */
@@ -17366,7 +17366,7 @@ const OwnersItemRequestBuilderRequestsMetadata = {
17366
17366
  /**
17367
17367
  * Uri template for the request builder.
17368
17368
  */
17369
- const OwnersRequestBuilderUriTemplate = "{+baseurl}/api/owners{?after*,before*,expand,limit*,search*,stripeCustomerId*}";
17369
+ const OwnersRequestBuilderUriTemplate = "{+baseurl}/api/owners{?after*,before*,expand,limit*,search*,stripeCustomer*,stripeCustomerId*}";
17370
17370
  /**
17371
17371
  * Metadata for all the navigation properties in the request builder.
17372
17372
  */
@@ -17653,7 +17653,7 @@ const SaveRequestBuilderRequestsMetadata = {
17653
17653
  /**
17654
17654
  * Uri template for the request builder.
17655
17655
  */
17656
- const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId,search*}";
17656
+ const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,product,productId,search*}";
17657
17657
  /**
17658
17658
  * Metadata for all the navigation properties in the request builder.
17659
17659
  */
@@ -18190,7 +18190,7 @@ const ReceiptsItemRequestBuilderRequestsMetadata = {
18190
18190
  /**
18191
18191
  * Uri template for the request builder.
18192
18192
  */
18193
- const ReceiptsRequestBuilderUriTemplate = "{+baseurl}/api/receipts{?after*,before*,expand,limit*,lineItems,owner,search*,sort*,subscriptionId*}";
18193
+ const ReceiptsRequestBuilderUriTemplate = "{+baseurl}/api/receipts{?after*,before*,expand,limit*,lineItems,owner,search*,sort*,subscription*,subscriptionId*}";
18194
18194
  /**
18195
18195
  * Metadata for all the navigation properties in the request builder.
18196
18196
  */
@@ -19604,7 +19604,7 @@ function serializeSubscriptionsPostRequestBody_plans_metadata(writer, subscripti
19604
19604
  /**
19605
19605
  * Uri template for the request builder.
19606
19606
  */
19607
- const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/api/subscriptions{?after*,before*,expand,id*,limit*,owner*,plans,priceId*,products,search*,sort*,status*,stripePriceId*}";
19607
+ const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/api/subscriptions{?after*,before*,expand,id*,limit*,owner*,plans,price*,priceId*,products,search*,sort*,status*,stripePrice*,stripePriceId*}";
19608
19608
  /**
19609
19609
  * Metadata for all the navigation properties in the request builder.
19610
19610
  */
@@ -31,6 +31,11 @@ export interface MessagesRequestBuilderGetQueryParameters {
31
31
  /**
32
32
  * Returns only messages belonging to this conversation ID.
33
33
  */
34
+ conversation?: string;
35
+ /**
36
+ * Deprecated: use `conversation` instead.
37
+ * @deprecated
38
+ */
34
39
  conversationId?: string;
35
40
  /**
36
41
  * The number of records returned in a response. Value between 1 and 100. Defaults to 25.
@@ -40,7 +45,7 @@ export interface MessagesRequestBuilderGetQueryParameters {
40
45
  /**
41
46
  * Uri template for the request builder.
42
47
  */
43
- export declare const MessagesRequestBuilderUriTemplate = "{+baseurl}/api/ai/messages{?after*,before*,conversationId*,limit*}";
48
+ export declare const MessagesRequestBuilderUriTemplate = "{+baseurl}/api/ai/messages{?after*,before*,conversation*,conversationId*,limit*}";
44
49
  /**
45
50
  * Metadata for all the requests in the request builder.
46
51
  */
@@ -4,7 +4,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
4
4
  */
5
5
  export interface CartItemsItemRequestBuilder extends BaseRequestBuilder<CartItemsItemRequestBuilder> {
6
6
  /**
7
- * Delete Cart
7
+ * Delete Cart Item
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
9
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
10
10
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
@@ -16,7 +16,7 @@ export interface CartItemsItemRequestBuilder extends BaseRequestBuilder<CartItem
16
16
  */
17
17
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
18
  /**
19
- * Delete Cart
19
+ * Delete Cart Item
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
21
  * @returns {RequestInformation}
22
22
  */
@@ -76,6 +76,11 @@ export interface CartsRequestBuilderGetQueryParameters {
76
76
  /**
77
77
  * Filter by owner ID. Accepts a comma-separated list of owner IDs.
78
78
  */
79
+ owner?: string[];
80
+ /**
81
+ * Deprecated: use `owner` instead.
82
+ * @deprecated
83
+ */
79
84
  ownerId?: string[];
80
85
  /**
81
86
  * Search carts by ID.
@@ -91,7 +96,7 @@ export type GetStatusQueryParameterType = (typeof GetStatusQueryParameterTypeObj
91
96
  /**
92
97
  * Uri template for the request builder.
93
98
  */
94
- export declare const CartsRequestBuilderUriTemplate = "{+baseurl}/api/carts{?after*,before*,expand,limit*,ownerId,search*,status}";
99
+ export declare const CartsRequestBuilderUriTemplate = "{+baseurl}/api/carts{?after*,before*,expand,limit*,owner,ownerId,search*,status}";
95
100
  /**
96
101
  * Metadata for all the navigation properties in the request builder.
97
102
  */
@@ -43,13 +43,18 @@ export interface CurrencyOptionsRequestBuilderGetQueryParameters {
43
43
  /**
44
44
  * Returns only currency options linked to this price ID.
45
45
  */
46
+ price?: string;
47
+ /**
48
+ * Deprecated: use `price` instead.
49
+ * @deprecated
50
+ */
46
51
  priceId?: string;
47
52
  }
48
53
  export type GetExpandQueryParameterType = (typeof GetExpandQueryParameterTypeObject)[keyof typeof GetExpandQueryParameterTypeObject];
49
54
  /**
50
55
  * Uri template for the request builder.
51
56
  */
52
- export declare const CurrencyOptionsRequestBuilderUriTemplate = "{+baseurl}/api/currency-options{?after*,before*,expand,limit*,priceId*}";
57
+ export declare const CurrencyOptionsRequestBuilderUriTemplate = "{+baseurl}/api/currency-options{?after*,before*,expand,limit*,price*,priceId*}";
53
58
  /**
54
59
  * Metadata for all the navigation properties in the request builder.
55
60
  */
@@ -38,6 +38,11 @@ export interface DestinationsRequestBuilderGetQueryParameters {
38
38
  /**
39
39
  * Returns only destinations linked to this event ID.
40
40
  */
41
+ event?: string;
42
+ /**
43
+ * Deprecated: use `event` instead.
44
+ * @deprecated
45
+ */
41
46
  eventId?: string;
42
47
  /**
43
48
  * The number of records returned in a response. Value between 1 and 100. Defaults to 25.
@@ -47,7 +52,7 @@ export interface DestinationsRequestBuilderGetQueryParameters {
47
52
  /**
48
53
  * Uri template for the request builder.
49
54
  */
50
- export declare const DestinationsRequestBuilderUriTemplate = "{+baseurl}/api/destinations{?after*,before*,eventId*,limit*}";
55
+ export declare const DestinationsRequestBuilderUriTemplate = "{+baseurl}/api/destinations{?after*,before*,event*,eventId*,limit*}";
51
56
  /**
52
57
  * Metadata for all the navigation properties in the request builder.
53
58
  */
@@ -66,13 +66,18 @@ export interface EntitlementsRequestBuilderGetQueryParameters {
66
66
  /**
67
67
  * Returns only entitlements linked to this plan ID.
68
68
  */
69
+ plan?: string;
70
+ /**
71
+ * Deprecated: use `plan` instead.
72
+ * @deprecated
73
+ */
69
74
  planId?: string;
70
75
  search?: string;
71
76
  }
72
77
  /**
73
78
  * Uri template for the request builder.
74
79
  */
75
- export declare const EntitlementsRequestBuilderUriTemplate = "{+baseurl}/api/entitlements{?after*,before*,limit*,planId*,search*}";
80
+ export declare const EntitlementsRequestBuilderUriTemplate = "{+baseurl}/api/entitlements{?after*,before*,limit*,plan*,planId*,search*}";
76
81
  /**
77
82
  * Metadata for all the navigation properties in the request builder.
78
83
  */
@@ -28,6 +28,14 @@ export interface EventAttemptsRequestBuilder extends BaseRequestBuilder<EventAtt
28
28
  export interface EventAttemptsRequestBuilderGetQueryParameters {
29
29
  after?: string;
30
30
  before?: string;
31
+ /**
32
+ * Filter by destination ID.
33
+ */
34
+ destination?: string;
35
+ /**
36
+ * Deprecated: use `destination` instead.
37
+ * @deprecated
38
+ */
31
39
  destinationId?: string;
32
40
  /**
33
41
  * The number of records returned in a response. Value between 1 and 100. Defaults to 25.
@@ -37,7 +45,7 @@ export interface EventAttemptsRequestBuilderGetQueryParameters {
37
45
  /**
38
46
  * Uri template for the request builder.
39
47
  */
40
- export declare const EventAttemptsRequestBuilderUriTemplate = "{+baseurl}/api/event-attempts{?after*,before*,destinationId*,limit*}";
48
+ export declare const EventAttemptsRequestBuilderUriTemplate = "{+baseurl}/api/event-attempts{?after*,before*,destination*,destinationId*,limit*}";
41
49
  /**
42
50
  * Metadata for all the requests in the request builder.
43
51
  */
@@ -57,6 +57,11 @@ export interface GranteesRequestBuilderGetQueryParameters {
57
57
  /**
58
58
  * Returns only grantees belonging to this group ID.
59
59
  */
60
+ group?: string;
61
+ /**
62
+ * Deprecated: use `group` instead.
63
+ * @deprecated
64
+ */
60
65
  groupId?: string;
61
66
  /**
62
67
  * The number of records returned in a response. Value between 1 and 100. Defaults to 25.
@@ -67,7 +72,7 @@ export interface GranteesRequestBuilderGetQueryParameters {
67
72
  /**
68
73
  * Uri template for the request builder.
69
74
  */
70
- export declare const GranteesRequestBuilderUriTemplate = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*,search*}";
75
+ export declare const GranteesRequestBuilderUriTemplate = "{+baseurl}/api/grantees{?after*,before*,group*,groupId*,limit*,search*}";
71
76
  /**
72
77
  * Metadata for all the navigation properties in the request builder.
73
78
  */
@@ -60,6 +60,9 @@ export interface GroupsRequestBuilderGetQueryParameters {
60
60
  * The number of records returned in a response. Value between 1 and 100. Defaults to 25.
61
61
  */
62
62
  limit?: string;
63
+ /**
64
+ * Filter by owner ID.
65
+ */
63
66
  owner?: string;
64
67
  }
65
68
  /**
@@ -42,13 +42,18 @@ export interface LineItemsRequestBuilderGetQueryParameters {
42
42
  /**
43
43
  * Returns only line items linked to this plan ID.
44
44
  */
45
+ plan?: string;
46
+ /**
47
+ * Deprecated: use `plan` instead.
48
+ * @deprecated
49
+ */
45
50
  planId?: string;
46
51
  search?: string;
47
52
  }
48
53
  /**
49
54
  * Uri template for the request builder.
50
55
  */
51
- export declare const LineItemsRequestBuilderUriTemplate = "{+baseurl}/api/line-items{?after*,before*,limit*,planId*,search*}";
56
+ export declare const LineItemsRequestBuilderUriTemplate = "{+baseurl}/api/line-items{?after*,before*,limit*,plan*,planId*,search*}";
52
57
  /**
53
58
  * Metadata for all the navigation properties in the request builder.
54
59
  */
@@ -34,12 +34,27 @@ export interface MembershipsRequestBuilder extends BaseRequestBuilder<Membership
34
34
  * List Memberships
35
35
  */
36
36
  export interface MembershipsRequestBuilderGetQueryParameters {
37
+ after?: string;
38
+ before?: string;
37
39
  expand?: GetExpandQueryParameterType[];
40
+ /**
41
+ * Returns only memberships linked to this grantee ID.
42
+ */
43
+ grantee?: string;
44
+ /**
45
+ * Deprecated: use `grantee` instead.
46
+ * @deprecated
47
+ */
48
+ granteeId?: string;
49
+ /**
50
+ * The number of records returned in a response. Value between 1 and 100. Defaults to 25.
51
+ */
52
+ limit?: string;
38
53
  }
39
54
  /**
40
55
  * Uri template for the request builder.
41
56
  */
42
- export declare const MembershipsRequestBuilderUriTemplate = "{+baseurl}/api/memberships{?expand}";
57
+ export declare const MembershipsRequestBuilderUriTemplate = "{+baseurl}/api/memberships{?after*,before*,expand,grantee*,granteeId*,limit*}";
43
58
  export declare const GetExpandQueryParameterTypeObject: {
44
59
  readonly Group: "group";
45
60
  };
@@ -42,12 +42,20 @@ export interface OwnersRequestBuilderGetQueryParameters {
42
42
  */
43
43
  limit?: string;
44
44
  search?: string;
45
+ /**
46
+ * Filter by Stripe customer ID.
47
+ */
48
+ stripeCustomer?: string;
49
+ /**
50
+ * Deprecated: use `stripeCustomer` instead.
51
+ * @deprecated
52
+ */
45
53
  stripeCustomerId?: string;
46
54
  }
47
55
  /**
48
56
  * Uri template for the request builder.
49
57
  */
50
- export declare const OwnersRequestBuilderUriTemplate = "{+baseurl}/api/owners{?after*,before*,expand,limit*,search*,stripeCustomerId*}";
58
+ export declare const OwnersRequestBuilderUriTemplate = "{+baseurl}/api/owners{?after*,before*,expand,limit*,search*,stripeCustomer*,stripeCustomerId*}";
51
59
  export declare const GetExpandQueryParameterTypeObject: {
52
60
  readonly Subscriptions: "subscriptions";
53
61
  readonly Receipts: "receipts";
@@ -79,13 +79,18 @@ export interface PlansRequestBuilderGetQueryParameters {
79
79
  /**
80
80
  * Accepts a comma-separated list of product IDs. Returns plans belonging to any of the specified product IDs.
81
81
  */
82
+ product?: string[];
83
+ /**
84
+ * Deprecated: use `product` instead.
85
+ * @deprecated
86
+ */
82
87
  productId?: string[];
83
88
  search?: string;
84
89
  }
85
90
  /**
86
91
  * Uri template for the request builder.
87
92
  */
88
- export declare const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId,search*}";
93
+ export declare const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,product,productId,search*}";
89
94
  export declare const GetCurrencyQueryParameterTypeObject: {
90
95
  readonly USD: "USD";
91
96
  readonly AED: "AED";
@@ -46,19 +46,33 @@ export interface ReceiptsRequestBuilderGetQueryParameters {
46
46
  * The number of records returned in a response. Value between 1 and 100. Defaults to 25.
47
47
  */
48
48
  limit?: string;
49
+ /**
50
+ * Filter by line item ID. Accepts a comma-separated list of line item IDs.
51
+ */
49
52
  lineItems?: string[];
53
+ /**
54
+ * Filter by owner ID. Accepts a comma-separated list of owner IDs.
55
+ */
50
56
  owner?: string[];
57
+ /**
58
+ * Search by receipt ID, owner ID or value, receipt item ID, or line item ID or name.
59
+ */
51
60
  search?: string;
52
61
  sort?: string;
53
62
  /**
54
63
  * Returns only receipts linked to this subscription ID.
55
64
  */
65
+ subscription?: string;
66
+ /**
67
+ * Deprecated: use `subscription` instead.
68
+ * @deprecated
69
+ */
56
70
  subscriptionId?: string;
57
71
  }
58
72
  /**
59
73
  * Uri template for the request builder.
60
74
  */
61
- export declare const ReceiptsRequestBuilderUriTemplate = "{+baseurl}/api/receipts{?after*,before*,expand,limit*,lineItems,owner,search*,sort*,subscriptionId*}";
75
+ export declare const ReceiptsRequestBuilderUriTemplate = "{+baseurl}/api/receipts{?after*,before*,expand,limit*,lineItems,owner,search*,sort*,subscription*,subscriptionId*}";
62
76
  export declare const GetExpandQueryParameterTypeObject: {
63
77
  readonly Owner: "owner";
64
78
  };
@@ -460,7 +460,7 @@ export interface SubscriptionPlansRequestBuilderGetQueryParameters {
460
460
  */
461
461
  limit?: string;
462
462
  /**
463
- * Returns only subscription plans belonging to this owner.
463
+ * Returns only subscription plans belonging to this owner ID.
464
464
  */
465
465
  owner?: string;
466
466
  /**
@@ -304,7 +304,7 @@ export interface SubscriptionsRequestBuilderGetQueryParameters {
304
304
  */
305
305
  limit?: string;
306
306
  /**
307
- * Returns only subscriptions belonging to this owner.
307
+ * Returns only subscriptions belonging to this owner ID.
308
308
  */
309
309
  owner?: string;
310
310
  /**
@@ -314,6 +314,11 @@ export interface SubscriptionsRequestBuilderGetQueryParameters {
314
314
  /**
315
315
  * Returns subscriptions that include a subscription plan line item linked to this price ID.
316
316
  */
317
+ price?: string;
318
+ /**
319
+ * Deprecated: use `price` instead.
320
+ * @deprecated
321
+ */
317
322
  priceId?: string;
318
323
  /**
319
324
  * Accepts a comma-separated list of product IDs. Returns subscriptions that include a plan belonging to any of the specified product IDs.
@@ -334,12 +339,17 @@ export interface SubscriptionsRequestBuilderGetQueryParameters {
334
339
  /**
335
340
  * Returns subscriptions that include a subscription plan line item with this Stripe price ID.
336
341
  */
342
+ stripePrice?: string;
343
+ /**
344
+ * Deprecated: use `stripePrice` instead.
345
+ * @deprecated
346
+ */
337
347
  stripePriceId?: string;
338
348
  }
339
349
  /**
340
350
  * Uri template for the request builder.
341
351
  */
342
- export declare const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/api/subscriptions{?after*,before*,expand,id*,limit*,owner*,plans,priceId*,products,search*,sort*,status*,stripePriceId*}";
352
+ export declare const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/api/subscriptions{?after*,before*,expand,id*,limit*,owner*,plans,price*,priceId*,products,search*,sort*,status*,stripePrice*,stripePriceId*}";
343
353
  export declare const GetExpandQueryParameterTypeObject: {
344
354
  readonly Owner: "owner";
345
355
  readonly SubscriptionPlans: "subscriptionPlans";
@@ -36,6 +36,9 @@ export interface UsageRecordsRequestBuilderGetQueryParameters {
36
36
  */
37
37
  limit?: string;
38
38
  meterSlug?: string;
39
+ /**
40
+ * Owner ID to filter usage records by.
41
+ */
39
42
  owner?: string;
40
43
  sort?: GetSortQueryParameterType;
41
44
  status?: GetStatusQueryParameterType[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",