@gethydra/sdk 0.1.8 → 0.1.9
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.d.ts +37 -37
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2320,7 +2320,7 @@ interface components {
|
|
|
2320
2320
|
* @example product
|
|
2321
2321
|
* @enum {string}
|
|
2322
2322
|
*/
|
|
2323
|
-
type: "product" | "collection" | "product_type";
|
|
2323
|
+
type: "product" | "collection" | "product_type" | "tag";
|
|
2324
2324
|
/** @example prod_abc123 */
|
|
2325
2325
|
id?: string;
|
|
2326
2326
|
/** @example classic-cotton-t-shirt */
|
|
@@ -13507,6 +13507,42 @@ interface operations {
|
|
|
13507
13507
|
};
|
|
13508
13508
|
};
|
|
13509
13509
|
};
|
|
13510
|
+
listMembershipSubscriptions: {
|
|
13511
|
+
parameters: {
|
|
13512
|
+
query?: {
|
|
13513
|
+
limit?: number;
|
|
13514
|
+
cursor?: string;
|
|
13515
|
+
fields?: string;
|
|
13516
|
+
sort?: "created_at" | "updated_at";
|
|
13517
|
+
order?: "asc" | "desc";
|
|
13518
|
+
status?: "active" | "trialing" | "past_due" | "cancelled" | "expired" | "pending";
|
|
13519
|
+
plan_id?: string;
|
|
13520
|
+
customer_id?: string;
|
|
13521
|
+
};
|
|
13522
|
+
header?: never;
|
|
13523
|
+
path?: never;
|
|
13524
|
+
cookie?: never;
|
|
13525
|
+
};
|
|
13526
|
+
requestBody?: never;
|
|
13527
|
+
responses: {
|
|
13528
|
+
/** @description Paginated subscription list */
|
|
13529
|
+
200: {
|
|
13530
|
+
headers: {
|
|
13531
|
+
[name: string]: unknown;
|
|
13532
|
+
};
|
|
13533
|
+
content: {
|
|
13534
|
+
"application/json": {
|
|
13535
|
+
data: components["schemas"]["CustomerMembership"][];
|
|
13536
|
+
pagination: {
|
|
13537
|
+
cursor: string | null;
|
|
13538
|
+
has_more: boolean;
|
|
13539
|
+
total: number;
|
|
13540
|
+
};
|
|
13541
|
+
};
|
|
13542
|
+
};
|
|
13543
|
+
};
|
|
13544
|
+
};
|
|
13545
|
+
};
|
|
13510
13546
|
getMembershipPlan: {
|
|
13511
13547
|
parameters: {
|
|
13512
13548
|
query?: never;
|
|
@@ -13596,42 +13632,6 @@ interface operations {
|
|
|
13596
13632
|
};
|
|
13597
13633
|
};
|
|
13598
13634
|
};
|
|
13599
|
-
listMembershipSubscriptions: {
|
|
13600
|
-
parameters: {
|
|
13601
|
-
query?: {
|
|
13602
|
-
limit?: number;
|
|
13603
|
-
cursor?: string;
|
|
13604
|
-
fields?: string;
|
|
13605
|
-
sort?: "created_at" | "updated_at";
|
|
13606
|
-
order?: "asc" | "desc";
|
|
13607
|
-
status?: "active" | "trialing" | "past_due" | "cancelled" | "expired" | "pending";
|
|
13608
|
-
plan_id?: string;
|
|
13609
|
-
customer_id?: string;
|
|
13610
|
-
};
|
|
13611
|
-
header?: never;
|
|
13612
|
-
path?: never;
|
|
13613
|
-
cookie?: never;
|
|
13614
|
-
};
|
|
13615
|
-
requestBody?: never;
|
|
13616
|
-
responses: {
|
|
13617
|
-
/** @description Paginated subscription list */
|
|
13618
|
-
200: {
|
|
13619
|
-
headers: {
|
|
13620
|
-
[name: string]: unknown;
|
|
13621
|
-
};
|
|
13622
|
-
content: {
|
|
13623
|
-
"application/json": {
|
|
13624
|
-
data: components["schemas"]["CustomerMembership"][];
|
|
13625
|
-
pagination: {
|
|
13626
|
-
cursor: string | null;
|
|
13627
|
-
has_more: boolean;
|
|
13628
|
-
total: number;
|
|
13629
|
-
};
|
|
13630
|
-
};
|
|
13631
|
-
};
|
|
13632
|
-
};
|
|
13633
|
-
};
|
|
13634
|
-
};
|
|
13635
13635
|
listRefunds: {
|
|
13636
13636
|
parameters: {
|
|
13637
13637
|
query?: {
|