listbee 0.4.0 → 0.6.0

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.
Files changed (175) hide show
  1. package/README.md +187 -381
  2. package/dist/cjs/base-client.d.ts +9 -29
  3. package/dist/cjs/base-client.js +58 -14
  4. package/dist/cjs/base-client.js.map +1 -1
  5. package/dist/cjs/client.d.ts +17 -13
  6. package/dist/cjs/client.js +14 -11
  7. package/dist/cjs/client.js.map +1 -1
  8. package/dist/cjs/errors.d.ts +12 -0
  9. package/dist/cjs/errors.js +31 -1
  10. package/dist/cjs/errors.js.map +1 -1
  11. package/dist/cjs/generated/api-types.d.ts +4089 -0
  12. package/dist/cjs/generated/api-types.js +7 -0
  13. package/dist/cjs/generated/api-types.js.map +1 -0
  14. package/dist/cjs/generated/enums.d.ts +94 -0
  15. package/dist/cjs/generated/enums.js +87 -0
  16. package/dist/cjs/generated/enums.js.map +1 -0
  17. package/dist/cjs/generated/operations.d.ts +233 -0
  18. package/dist/cjs/generated/operations.js +39 -0
  19. package/dist/cjs/generated/operations.js.map +1 -0
  20. package/dist/cjs/generated/types.d.ts +68 -0
  21. package/dist/cjs/{types/order.js → generated/types.js} +1 -4
  22. package/dist/cjs/generated/types.js.map +1 -0
  23. package/dist/cjs/index.d.ts +7 -13
  24. package/dist/cjs/index.js +22 -15
  25. package/dist/cjs/index.js.map +1 -1
  26. package/dist/cjs/resources/account.d.ts +11 -6
  27. package/dist/cjs/resources/account.js +19 -8
  28. package/dist/cjs/resources/account.js.map +1 -1
  29. package/dist/cjs/resources/api-keys.d.ts +18 -4
  30. package/dist/cjs/resources/api-keys.js +17 -1
  31. package/dist/cjs/resources/api-keys.js.map +1 -1
  32. package/dist/cjs/resources/customers.d.ts +23 -0
  33. package/dist/cjs/resources/customers.js +44 -0
  34. package/dist/cjs/resources/customers.js.map +1 -0
  35. package/dist/cjs/resources/files.d.ts +27 -0
  36. package/dist/cjs/resources/files.js +37 -0
  37. package/dist/cjs/resources/files.js.map +1 -0
  38. package/dist/cjs/resources/index.d.ts +3 -1
  39. package/dist/cjs/resources/index.js +7 -3
  40. package/dist/cjs/resources/index.js.map +1 -1
  41. package/dist/cjs/resources/listings.d.ts +35 -35
  42. package/dist/cjs/resources/listings.js +51 -116
  43. package/dist/cjs/resources/listings.js.map +1 -1
  44. package/dist/cjs/resources/orders.d.ts +28 -16
  45. package/dist/cjs/resources/orders.js +43 -40
  46. package/dist/cjs/resources/orders.js.map +1 -1
  47. package/dist/cjs/resources/signup.d.ts +21 -9
  48. package/dist/cjs/resources/signup.js +20 -3
  49. package/dist/cjs/resources/signup.js.map +1 -1
  50. package/dist/cjs/resources/stripe.d.ts +18 -6
  51. package/dist/cjs/resources/stripe.js +18 -7
  52. package/dist/cjs/resources/stripe.js.map +1 -1
  53. package/dist/cjs/resources/webhooks.d.ts +59 -3
  54. package/dist/cjs/resources/webhooks.js +102 -21
  55. package/dist/cjs/resources/webhooks.js.map +1 -1
  56. package/dist/cjs/types/index.d.ts +4 -10
  57. package/dist/cjs/types/index.js +17 -10
  58. package/dist/cjs/types/index.js.map +1 -1
  59. package/dist/cjs/types/shared.d.ts +25 -145
  60. package/dist/cjs/types/shared.js +12 -66
  61. package/dist/cjs/types/shared.js.map +1 -1
  62. package/dist/esm/base-client.d.ts +9 -29
  63. package/dist/esm/base-client.js +56 -12
  64. package/dist/esm/base-client.js.map +1 -1
  65. package/dist/esm/client.d.ts +17 -13
  66. package/dist/esm/client.js +14 -11
  67. package/dist/esm/client.js.map +1 -1
  68. package/dist/esm/errors.d.ts +12 -0
  69. package/dist/esm/errors.js +27 -0
  70. package/dist/esm/errors.js.map +1 -1
  71. package/dist/esm/generated/api-types.d.ts +4089 -0
  72. package/dist/esm/generated/api-types.js +6 -0
  73. package/dist/esm/generated/api-types.js.map +1 -0
  74. package/dist/esm/generated/enums.d.ts +94 -0
  75. package/dist/esm/generated/enums.js +84 -0
  76. package/dist/esm/generated/enums.js.map +1 -0
  77. package/dist/esm/generated/operations.d.ts +233 -0
  78. package/dist/esm/generated/operations.js +36 -0
  79. package/dist/esm/generated/operations.js.map +1 -0
  80. package/dist/esm/generated/types.d.ts +68 -0
  81. package/dist/esm/generated/types.js +2 -0
  82. package/dist/esm/generated/types.js.map +1 -0
  83. package/dist/esm/index.d.ts +7 -13
  84. package/dist/esm/index.js +5 -4
  85. package/dist/esm/index.js.map +1 -1
  86. package/dist/esm/resources/account.d.ts +11 -6
  87. package/dist/esm/resources/account.js +19 -8
  88. package/dist/esm/resources/account.js.map +1 -1
  89. package/dist/esm/resources/api-keys.d.ts +18 -4
  90. package/dist/esm/resources/api-keys.js +17 -1
  91. package/dist/esm/resources/api-keys.js.map +1 -1
  92. package/dist/esm/resources/customers.d.ts +23 -0
  93. package/dist/esm/resources/customers.js +39 -0
  94. package/dist/esm/resources/customers.js.map +1 -0
  95. package/dist/esm/resources/files.d.ts +27 -0
  96. package/dist/esm/resources/files.js +33 -0
  97. package/dist/esm/resources/files.js.map +1 -0
  98. package/dist/esm/resources/index.d.ts +3 -1
  99. package/dist/esm/resources/index.js +3 -1
  100. package/dist/esm/resources/index.js.map +1 -1
  101. package/dist/esm/resources/listings.d.ts +35 -35
  102. package/dist/esm/resources/listings.js +50 -116
  103. package/dist/esm/resources/listings.js.map +1 -1
  104. package/dist/esm/resources/orders.d.ts +28 -16
  105. package/dist/esm/resources/orders.js +43 -40
  106. package/dist/esm/resources/orders.js.map +1 -1
  107. package/dist/esm/resources/signup.d.ts +21 -9
  108. package/dist/esm/resources/signup.js +20 -3
  109. package/dist/esm/resources/signup.js.map +1 -1
  110. package/dist/esm/resources/stripe.d.ts +18 -6
  111. package/dist/esm/resources/stripe.js +18 -7
  112. package/dist/esm/resources/stripe.js.map +1 -1
  113. package/dist/esm/resources/webhooks.d.ts +59 -3
  114. package/dist/esm/resources/webhooks.js +101 -21
  115. package/dist/esm/resources/webhooks.js.map +1 -1
  116. package/dist/esm/types/index.d.ts +4 -10
  117. package/dist/esm/types/index.js +2 -1
  118. package/dist/esm/types/index.js.map +1 -1
  119. package/dist/esm/types/shared.d.ts +25 -145
  120. package/dist/esm/types/shared.js +10 -65
  121. package/dist/esm/types/shared.js.map +1 -1
  122. package/package.json +4 -82
  123. package/dist/cjs/resources/stores.d.ts +0 -31
  124. package/dist/cjs/resources/stores.js +0 -67
  125. package/dist/cjs/resources/stores.js.map +0 -1
  126. package/dist/cjs/types/account.d.ts +0 -47
  127. package/dist/cjs/types/account.js +0 -6
  128. package/dist/cjs/types/account.js.map +0 -1
  129. package/dist/cjs/types/api-key.d.ts +0 -18
  130. package/dist/cjs/types/api-key.js +0 -6
  131. package/dist/cjs/types/api-key.js.map +0 -1
  132. package/dist/cjs/types/listing.d.ts +0 -189
  133. package/dist/cjs/types/listing.js +0 -6
  134. package/dist/cjs/types/listing.js.map +0 -1
  135. package/dist/cjs/types/order.d.ts +0 -74
  136. package/dist/cjs/types/order.js.map +0 -1
  137. package/dist/cjs/types/signup.d.ts +0 -24
  138. package/dist/cjs/types/signup.js +0 -6
  139. package/dist/cjs/types/signup.js.map +0 -1
  140. package/dist/cjs/types/store.d.ts +0 -70
  141. package/dist/cjs/types/store.js +0 -6
  142. package/dist/cjs/types/store.js.map +0 -1
  143. package/dist/cjs/types/stripe.d.ts +0 -12
  144. package/dist/cjs/types/stripe.js +0 -6
  145. package/dist/cjs/types/stripe.js.map +0 -1
  146. package/dist/cjs/types/webhook.d.ts +0 -88
  147. package/dist/cjs/types/webhook.js +0 -6
  148. package/dist/cjs/types/webhook.js.map +0 -1
  149. package/dist/esm/resources/stores.d.ts +0 -31
  150. package/dist/esm/resources/stores.js +0 -63
  151. package/dist/esm/resources/stores.js.map +0 -1
  152. package/dist/esm/types/account.d.ts +0 -47
  153. package/dist/esm/types/account.js +0 -5
  154. package/dist/esm/types/account.js.map +0 -1
  155. package/dist/esm/types/api-key.d.ts +0 -18
  156. package/dist/esm/types/api-key.js +0 -5
  157. package/dist/esm/types/api-key.js.map +0 -1
  158. package/dist/esm/types/listing.d.ts +0 -189
  159. package/dist/esm/types/listing.js +0 -5
  160. package/dist/esm/types/listing.js.map +0 -1
  161. package/dist/esm/types/order.d.ts +0 -74
  162. package/dist/esm/types/order.js +0 -5
  163. package/dist/esm/types/order.js.map +0 -1
  164. package/dist/esm/types/signup.d.ts +0 -24
  165. package/dist/esm/types/signup.js +0 -5
  166. package/dist/esm/types/signup.js.map +0 -1
  167. package/dist/esm/types/store.d.ts +0 -70
  168. package/dist/esm/types/store.js +0 -5
  169. package/dist/esm/types/store.js.map +0 -1
  170. package/dist/esm/types/stripe.d.ts +0 -12
  171. package/dist/esm/types/stripe.js +0 -5
  172. package/dist/esm/types/stripe.js.map +0 -1
  173. package/dist/esm/types/webhook.d.ts +0 -88
  174. package/dist/esm/types/webhook.js +0 -5
  175. package/dist/esm/types/webhook.js.map +0 -1
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by openapi-typescript.
4
+ * Do not make direct changes to the file.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ //# sourceMappingURL=api-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-types.js","sourceRoot":"","sources":["../../../src/generated/api-types.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
@@ -0,0 +1,94 @@
1
+ export declare const ActionCode: {
2
+ readonly CONNECT_STRIPE: "connect_stripe";
3
+ readonly ENABLE_CHARGES: "enable_charges";
4
+ readonly UPDATE_BILLING: "update_billing";
5
+ readonly CONFIGURE_WEBHOOK: "configure_webhook";
6
+ readonly PUBLISH_LISTING: "publish_listing";
7
+ readonly WEBHOOK_DISABLED: "webhook_disabled";
8
+ };
9
+ export type ActionCode = typeof ActionCode[keyof typeof ActionCode];
10
+ export declare const ActionKind: {
11
+ readonly API: "api";
12
+ readonly HUMAN: "human";
13
+ };
14
+ export type ActionKind = typeof ActionKind[keyof typeof ActionKind];
15
+ export declare const BlurMode: {
16
+ readonly TRUE: "true";
17
+ readonly FALSE: "false";
18
+ readonly AUTO: "auto";
19
+ };
20
+ export type BlurMode = typeof BlurMode[keyof typeof BlurMode];
21
+ export declare const CheckoutFieldType: {
22
+ readonly ADDRESS: "address";
23
+ readonly TEXT: "text";
24
+ readonly SELECT: "select";
25
+ readonly DATE: "date";
26
+ };
27
+ export type CheckoutFieldType = typeof CheckoutFieldType[keyof typeof CheckoutFieldType];
28
+ export declare const DeliverableStatus: {
29
+ readonly PROCESSING: "processing";
30
+ readonly READY: "ready";
31
+ readonly FAILED: "failed";
32
+ };
33
+ export type DeliverableStatus = typeof DeliverableStatus[keyof typeof DeliverableStatus];
34
+ export declare const DeliverableType: {
35
+ readonly FILE: "file";
36
+ readonly URL: "url";
37
+ readonly TEXT: "text";
38
+ };
39
+ export type DeliverableType = typeof DeliverableType[keyof typeof DeliverableType];
40
+ export declare const FulfillmentMode: {
41
+ readonly MANAGED: "managed";
42
+ readonly EXTERNAL: "external";
43
+ };
44
+ export type FulfillmentMode = typeof FulfillmentMode[keyof typeof FulfillmentMode];
45
+ export declare const ListingStatus: {
46
+ readonly DRAFT: "draft";
47
+ readonly PUBLISHED: "published";
48
+ };
49
+ export type ListingStatus = typeof ListingStatus[keyof typeof ListingStatus];
50
+ export declare const OrderStatus: {
51
+ readonly PENDING: "pending";
52
+ readonly PAID: "paid";
53
+ readonly FULFILLED: "fulfilled";
54
+ readonly CANCELED: "canceled";
55
+ readonly FAILED: "failed";
56
+ };
57
+ export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
58
+ export declare const WebhookEventType: {
59
+ readonly ORDER_PAID: "order.paid";
60
+ readonly ORDER_FULFILLED: "order.fulfilled";
61
+ readonly ORDER_SHIPPED: "order.shipped";
62
+ readonly ORDER_REFUNDED: "order.refunded";
63
+ readonly ORDER_DISPUTED: "order.disputed";
64
+ readonly ORDER_DISPUTE_CLOSED: "order.dispute_closed";
65
+ readonly ORDER_CANCELED: "order.canceled";
66
+ readonly LISTING_CREATED: "listing.created";
67
+ readonly LISTING_UPDATED: "listing.updated";
68
+ readonly LISTING_OUT_OF_STOCK: "listing.out_of_stock";
69
+ readonly LISTING_DELETED: "listing.deleted";
70
+ readonly CUSTOMER_CREATED: "customer.created";
71
+ };
72
+ export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
73
+ export declare const ErrorCode: {
74
+ readonly INVALID_API_KEY: "invalid_api_key";
75
+ readonly UNAUTHORIZED: "unauthorized";
76
+ readonly FORBIDDEN: "forbidden";
77
+ readonly NOT_FOUND: "not_found";
78
+ readonly CONFLICT: "conflict";
79
+ readonly VALIDATION_ERROR: "validation_error";
80
+ readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
81
+ readonly STRIPE_ERROR: "stripe_error";
82
+ readonly STRIPE_NOT_CONNECTED: "stripe_not_connected";
83
+ readonly STRIPE_CHARGES_DISABLED: "stripe_charges_disabled";
84
+ readonly PAYMENT_FAILED: "payment_failed";
85
+ readonly INSUFFICIENT_STOCK: "insufficient_stock";
86
+ readonly LISTING_NOT_PUBLISHED: "listing_not_published";
87
+ readonly LISTING_HAS_ORDERS: "listing_has_orders";
88
+ readonly ORDER_NOT_PAID: "order_not_paid";
89
+ readonly ORDER_ALREADY_FULFILLED: "order_already_fulfilled";
90
+ readonly DELIVERABLE_NOT_READY: "deliverable_not_ready";
91
+ readonly WEBHOOK_DISABLED: "webhook_disabled";
92
+ readonly INTERNAL_ERROR: "internal_error";
93
+ };
94
+ export type ErrorCode = typeof ErrorCode[keyof typeof ErrorCode];
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ErrorCode = exports.WebhookEventType = exports.OrderStatus = exports.ListingStatus = exports.FulfillmentMode = exports.DeliverableType = exports.DeliverableStatus = exports.CheckoutFieldType = exports.BlurMode = exports.ActionKind = exports.ActionCode = void 0;
4
+ exports.ActionCode = {
5
+ CONNECT_STRIPE: 'connect_stripe',
6
+ ENABLE_CHARGES: 'enable_charges',
7
+ UPDATE_BILLING: 'update_billing',
8
+ CONFIGURE_WEBHOOK: 'configure_webhook',
9
+ PUBLISH_LISTING: 'publish_listing',
10
+ WEBHOOK_DISABLED: 'webhook_disabled',
11
+ };
12
+ exports.ActionKind = {
13
+ API: 'api',
14
+ HUMAN: 'human',
15
+ };
16
+ exports.BlurMode = {
17
+ TRUE: 'true',
18
+ FALSE: 'false',
19
+ AUTO: 'auto',
20
+ };
21
+ exports.CheckoutFieldType = {
22
+ ADDRESS: 'address',
23
+ TEXT: 'text',
24
+ SELECT: 'select',
25
+ DATE: 'date',
26
+ };
27
+ exports.DeliverableStatus = {
28
+ PROCESSING: 'processing',
29
+ READY: 'ready',
30
+ FAILED: 'failed',
31
+ };
32
+ exports.DeliverableType = {
33
+ FILE: 'file',
34
+ URL: 'url',
35
+ TEXT: 'text',
36
+ };
37
+ exports.FulfillmentMode = {
38
+ MANAGED: 'managed',
39
+ EXTERNAL: 'external',
40
+ };
41
+ exports.ListingStatus = {
42
+ DRAFT: 'draft',
43
+ PUBLISHED: 'published',
44
+ };
45
+ exports.OrderStatus = {
46
+ PENDING: 'pending',
47
+ PAID: 'paid',
48
+ FULFILLED: 'fulfilled',
49
+ CANCELED: 'canceled',
50
+ FAILED: 'failed',
51
+ };
52
+ exports.WebhookEventType = {
53
+ ORDER_PAID: 'order.paid',
54
+ ORDER_FULFILLED: 'order.fulfilled',
55
+ ORDER_SHIPPED: 'order.shipped',
56
+ ORDER_REFUNDED: 'order.refunded',
57
+ ORDER_DISPUTED: 'order.disputed',
58
+ ORDER_DISPUTE_CLOSED: 'order.dispute_closed',
59
+ ORDER_CANCELED: 'order.canceled',
60
+ LISTING_CREATED: 'listing.created',
61
+ LISTING_UPDATED: 'listing.updated',
62
+ LISTING_OUT_OF_STOCK: 'listing.out_of_stock',
63
+ LISTING_DELETED: 'listing.deleted',
64
+ CUSTOMER_CREATED: 'customer.created',
65
+ };
66
+ exports.ErrorCode = {
67
+ INVALID_API_KEY: 'invalid_api_key',
68
+ UNAUTHORIZED: 'unauthorized',
69
+ FORBIDDEN: 'forbidden',
70
+ NOT_FOUND: 'not_found',
71
+ CONFLICT: 'conflict',
72
+ VALIDATION_ERROR: 'validation_error',
73
+ RATE_LIMIT_EXCEEDED: 'rate_limit_exceeded',
74
+ STRIPE_ERROR: 'stripe_error',
75
+ STRIPE_NOT_CONNECTED: 'stripe_not_connected',
76
+ STRIPE_CHARGES_DISABLED: 'stripe_charges_disabled',
77
+ PAYMENT_FAILED: 'payment_failed',
78
+ INSUFFICIENT_STOCK: 'insufficient_stock',
79
+ LISTING_NOT_PUBLISHED: 'listing_not_published',
80
+ LISTING_HAS_ORDERS: 'listing_has_orders',
81
+ ORDER_NOT_PAID: 'order_not_paid',
82
+ ORDER_ALREADY_FULFILLED: 'order_already_fulfilled',
83
+ DELIVERABLE_NOT_READY: 'deliverable_not_ready',
84
+ WEBHOOK_DISABLED: 'webhook_disabled',
85
+ INTERNAL_ERROR: 'internal_error',
86
+ };
87
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/generated/enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;CAC5B,CAAC;AAGE,QAAA,UAAU,GAAG;IACxB,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;CACN,CAAC;AAGE,QAAA,QAAQ,GAAG;IACtB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAGE,QAAA,iBAAiB,GAAG;IAC/B,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,IAAI,EAA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Ac,EAAE,gBAAgB;IAChC,kBAAkB,EAAE,oBAAoB;IACxC,qBAAqB,EAAE,uBAAuB;IAC9C,kBAAkB,EAAE,oBAAoB;IACxC,cAAc,EAAE,gBAAgB;IAChC,uBAAuB,EAAE,yBAAyB;IAClD,qBAAqB,EAAE,uBAAuB;IAC9C,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;CACxB,CAAC"}
@@ -0,0 +1,233 @@
1
+ export declare const operations: {
2
+ readonly get_account: {
3
+ readonly method: "GET";
4
+ readonly path: "/v1/account";
5
+ readonly auth: true;
6
+ readonly request: null;
7
+ readonly response: "AccountResponse";
8
+ };
9
+ readonly update_account: {
10
+ readonly method: "PUT";
11
+ readonly path: "/v1/account";
12
+ readonly auth: true;
13
+ readonly request: "UpdateAccountRequest";
14
+ readonly response: "AccountResponse";
15
+ };
16
+ readonly create_account: {
17
+ readonly method: "POST";
18
+ readonly path: "/v1/account";
19
+ readonly auth: false;
20
+ readonly request: "CreateAccountRequest";
21
+ readonly response: "CreateAccountResponse";
22
+ };
23
+ readonly delete_account: {
24
+ readonly method: "DELETE";
25
+ readonly path: "/v1/account";
26
+ readonly auth: true;
27
+ readonly request: null;
28
+ readonly response: null;
29
+ };
30
+ readonly verify_otp: {
31
+ readonly method: "POST";
32
+ readonly path: "/v1/account/verify/otp";
33
+ readonly auth: false;
34
+ readonly request: "VerifyOtpRequest";
35
+ readonly response: "VerifyOtpResponse";
36
+ };
37
+ readonly list_api_keys: {
38
+ readonly method: "GET";
39
+ readonly path: "/v1/api-keys";
40
+ readonly auth: true;
41
+ readonly request: null;
42
+ readonly response: "ApiKeyListResponse";
43
+ };
44
+ readonly create_api_key: {
45
+ readonly method: "POST";
46
+ readonly path: "/v1/api-keys";
47
+ readonly auth: true;
48
+ readonly request: "CreateApiKeyRequest";
49
+ readonly response: "ApiKeyResponse";
50
+ };
51
+ readonly delete_api_key: {
52
+ readonly method: "DELETE";
53
+ readonly path: "/v1/api-keys/{key_id}";
54
+ readonly auth: true;
55
+ readonly request: null;
56
+ readonly response: null;
57
+ };
58
+ readonly list_customers: {
59
+ readonly method: "GET";
60
+ readonly path: "/v1/customers";
61
+ readonly auth: true;
62
+ readonly request: null;
63
+ readonly response: "CustomerListResponse";
64
+ };
65
+ readonly get_customer: {
66
+ readonly method: "GET";
67
+ readonly path: "/v1/customers/{customer_id}";
68
+ readonly auth: true;
69
+ readonly request: null;
70
+ readonly response: "CustomerResponse";
71
+ };
72
+ readonly upload_file: {
73
+ readonly method: "POST";
74
+ readonly path: "/v1/files";
75
+ readonly auth: true;
76
+ readonly request: "multipart";
77
+ readonly response: "FileResponse";
78
+ };
79
+ readonly create_listing: {
80
+ readonly method: "POST";
81
+ readonly path: "/v1/listings";
82
+ readonly auth: true;
83
+ readonly request: "CreateListingRequest";
84
+ readonly response: "ListingResponse";
85
+ };
86
+ readonly list_listings: {
87
+ readonly method: "GET";
88
+ readonly path: "/v1/listings";
89
+ readonly auth: true;
90
+ readonly request: null;
91
+ readonly response: "ListingListResponse";
92
+ };
93
+ readonly get_listing: {
94
+ readonly method: "GET";
95
+ readonly path: "/v1/listings/{listing_id}";
96
+ readonly auth: true;
97
+ readonly request: null;
98
+ readonly response: "ListingResponse";
99
+ };
100
+ readonly update_listing: {
101
+ readonly method: "PUT";
102
+ readonly path: "/v1/listings/{listing_id}";
103
+ readonly auth: true;
104
+ readonly request: "UpdateListingRequest";
105
+ readonly response: "ListingResponse";
106
+ };
107
+ readonly delete_listing: {
108
+ readonly method: "DELETE";
109
+ readonly path: "/v1/listings/{listing_id}";
110
+ readonly auth: true;
111
+ readonly request: null;
112
+ readonly response: null;
113
+ };
114
+ readonly set_deliverables: {
115
+ readonly method: "PUT";
116
+ readonly path: "/v1/listings/{listing_id}/deliverables";
117
+ readonly auth: true;
118
+ readonly request: "SetDeliverablesRequest";
119
+ readonly response: "ListingResponse";
120
+ };
121
+ readonly remove_deliverables: {
122
+ readonly method: "DELETE";
123
+ readonly path: "/v1/listings/{listing_id}/deliverables";
124
+ readonly auth: true;
125
+ readonly request: null;
126
+ readonly response: "ListingResponse";
127
+ };
128
+ readonly publish_listing: {
129
+ readonly method: "POST";
130
+ readonly path: "/v1/listings/{listing_id}/publish";
131
+ readonly auth: true;
132
+ readonly request: null;
133
+ readonly response: "ListingResponse";
134
+ };
135
+ readonly list_orders: {
136
+ readonly method: "GET";
137
+ readonly path: "/v1/orders";
138
+ readonly auth: true;
139
+ readonly request: null;
140
+ readonly response: "OrderListResponse";
141
+ };
142
+ readonly get_order: {
143
+ readonly method: "GET";
144
+ readonly path: "/v1/orders/{order_id}";
145
+ readonly auth: true;
146
+ readonly request: null;
147
+ readonly response: "OrderResponse";
148
+ };
149
+ readonly refund_order: {
150
+ readonly method: "POST";
151
+ readonly path: "/v1/orders/{order_id}/refund";
152
+ readonly auth: true;
153
+ readonly request: null;
154
+ readonly response: "OrderResponse";
155
+ };
156
+ readonly deliver_order: {
157
+ readonly method: "POST";
158
+ readonly path: "/v1/orders/{order_id}/deliver";
159
+ readonly auth: true;
160
+ readonly request: "DeliverOrderRequest";
161
+ readonly response: "OrderResponse";
162
+ };
163
+ readonly ship_order: {
164
+ readonly method: "POST";
165
+ readonly path: "/v1/orders/{order_id}/ship";
166
+ readonly auth: true;
167
+ readonly request: "ShipOrderRequest";
168
+ readonly response: "OrderResponse";
169
+ };
170
+ readonly start_stripe_connect: {
171
+ readonly method: "POST";
172
+ readonly path: "/v1/account/stripe/connect";
173
+ readonly auth: true;
174
+ readonly request: null;
175
+ readonly response: "StripeConnectSessionResponse";
176
+ };
177
+ readonly disconnect_stripe: {
178
+ readonly method: "DELETE";
179
+ readonly path: "/v1/account/stripe";
180
+ readonly auth: true;
181
+ readonly request: null;
182
+ readonly response: null;
183
+ };
184
+ readonly list_webhooks: {
185
+ readonly method: "GET";
186
+ readonly path: "/v1/webhooks";
187
+ readonly auth: true;
188
+ readonly request: null;
189
+ readonly response: "WebhookListResponse";
190
+ };
191
+ readonly create_webhook: {
192
+ readonly method: "POST";
193
+ readonly path: "/v1/webhooks";
194
+ readonly auth: true;
195
+ readonly request: "CreateWebhookRequest";
196
+ readonly response: "WebhookResponse";
197
+ };
198
+ readonly update_webhook: {
199
+ readonly method: "PUT";
200
+ readonly path: "/v1/webhooks/{webhook_id}";
201
+ readonly auth: true;
202
+ readonly request: "UpdateWebhookRequest";
203
+ readonly response: "WebhookResponse";
204
+ };
205
+ readonly delete_webhook: {
206
+ readonly method: "DELETE";
207
+ readonly path: "/v1/webhooks/{webhook_id}";
208
+ readonly auth: true;
209
+ readonly request: null;
210
+ readonly response: null;
211
+ };
212
+ readonly list_webhook_events: {
213
+ readonly method: "GET";
214
+ readonly path: "/v1/webhooks/{webhook_id}/events";
215
+ readonly auth: true;
216
+ readonly request: null;
217
+ readonly response: "WebhookEventListResponse";
218
+ };
219
+ readonly retry_webhook_event: {
220
+ readonly method: "POST";
221
+ readonly path: "/v1/webhooks/{webhook_id}/events/{event_id}/retry";
222
+ readonly auth: true;
223
+ readonly request: null;
224
+ readonly response: "WebhookEventResponse";
225
+ };
226
+ readonly test_webhook: {
227
+ readonly method: "POST";
228
+ readonly path: "/v1/webhooks/{webhook_id}/test";
229
+ readonly auth: true;
230
+ readonly request: null;
231
+ readonly response: "WebhookTestResponse";
232
+ };
233
+ };
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.operations = void 0;
4
+ exports.operations = {
5
+ get_account: { method: 'GET', path: '/v1/account', auth: true, request: null, response: 'AccountResponse' },
6
+ update_account: { method: 'PUT', path: '/v1/account', auth: true, request: 'UpdateAccountRequest', response: 'AccountResponse' },
7
+ create_account: { method: 'POST', path: '/v1/account', auth: false, request: 'CreateAccountRequest', response: 'CreateAccountResponse' },
8
+ delete_account: { method: 'DELETE', path: '/v1/account', auth: true, request: null, response: null },
9
+ verify_otp: { method: 'POST', path: '/v1/account/verify/otp', auth: false, request: 'VerifyOtpRequest', response: 'VerifyOtpResponse' },
10
+ list_api_keys: { method: 'GET', path: '/v1/api-keys', auth: true, request: null, response: 'ApiKeyListResponse' },
11
+ create_api_key: { method: 'POST', path: '/v1/api-keys', auth: true, request: 'CreateApiKeyRequest', response: 'ApiKeyResponse' },
12
+ delete_api_key: { method: 'DELETE', path: '/v1/api-keys/{key_id}', auth: true, request: null, response: null },
13
+ list_customers: { method: 'GET', path: '/v1/customers', auth: true, request: null, response: 'CustomerListResponse' },
14
+ get_customer: { method: 'GET', path: '/v1/customers/{customer_id}', auth: true, request: null, response: 'CustomerResponse' },
15
+ upload_file: { method: 'POST', path: '/v1/files', auth: true, request: 'multipart', response: 'FileResponse' },
16
+ create_listing: { method: 'POST', path: '/v1/listings', auth: true, request: 'CreateListingRequest', response: 'ListingResponse' },
17
+ list_listings: { method: 'GET', path: '/v1/listings', auth: true, request: null, response: 'ListingListResponse' },
18
+ get_listing: { method: 'GET', path: '/v1/listings/{listing_id}', auth: true, request: null, response: 'ListingResponse' },
19
+ update_listing: { method: 'PUT', path: '/v1/listings/{listing_id}', auth: true, request: 'UpdateListingRequest', response: 'ListingResponse' },
20
+ delete_listing: { method: 'DELETE', path: '/v1/listings/{listing_id}', auth: true, request: null, response: null },
21
+ set_deliverables: { method: 'PUT', path: '/v1/listings/{listing_id}/deliverables', auth: true, request: 'SetDeliverablesRequest', response: 'ListingResponse' },
22
+ remove_deliverables: { method: 'DELETE', path: '/v1/listings/{listing_id}/deliverables', auth: true, request: null, response: 'ListingResponse' },
23
+ publish_listing: { method: 'POST', path: '/v1/listings/{listing_id}/publish', auth: true, request: null, response: 'ListingResponse' },
24
+ list_orders: { method: 'GET', path: '/v1/orders', auth: true, request: null, response: 'OrderListResponse' },
25
+ get_order: { method: 'GET', path: '/v1/orders/{order_id}', auth: true, request: null, response: 'OrderResponse' },
26
+ refund_order: { method: 'POST', path: '/v1/orders/{order_id}/refund', auth: true, request: null, response: 'OrderResponse' },
27
+ deliver_order: { method: 'POST', path: '/v1/orders/{order_id}/deliver', auth: true, request: 'DeliverOrderRequest', response: 'OrderResponse' },
28
+ ship_order: { method: 'POST', path: '/v1/orders/{order_id}/ship', auth: true, request: 'ShipOrderRequest', response: 'OrderResponse' },
29
+ start_stripe_connect: { method: 'POST', path: '/v1/account/stripe/connect', auth: true, request: null, response: 'StripeConnectSessionResponse' },
30
+ disconnect_stripe: { method: 'DELETE', path: '/v1/account/stripe', auth: true, request: null, response: null },
31
+ list_webhooks: { method: 'GET', path: '/v1/webhooks', auth: true, request: null, response: 'WebhookListResponse' },
32
+ create_webhook: { method: 'POST', path: '/v1/webhooks', auth: true, request: 'CreateWebhookRequest', response: 'WebhookResponse' },
33
+ update_webhook: { method: 'PUT', path: '/v1/webhooks/{webhook_id}', auth: true, request: 'UpdateWebhookRequest', response: 'WebhookResponse' },
34
+ delete_webhook: { method: 'DELETE', path: '/v1/webhooks/{webhook_id}', auth: true, request: null, response: null },
35
+ list_webhook_events: { method: 'GET', path: '/v1/webhooks/{webhook_id}/events', auth: true, request: null, response: 'WebhookEventListResponse' },
36
+ retry_webhook_event: { method: 'POST', path: '/v1/webhooks/{webhook_id}/events/{event_id}/retry', auth: true, request: null, response: 'WebhookEventResponse' },
37
+ test_webhook: { method: 'POST', path: '/v1/webhooks/{webhook_id}/test', auth: true, request: null, response: 'WebhookTestResponse' },
38
+ };
39
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/generated/operations.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,WAAW,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAC3G,cAAc,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,sBAAsB,EAAE,QAA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E,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,qBAAqB,EAAE;IAClH,cAAc,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,sBAAsB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAClI,cAAc,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,2BAA2B,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,sBAAsB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAC9I,cAAc,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,2BAA2B,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;IAClH,mBAAmB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,kCAAkC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,0BAA0B,EAAE;IACjJ,mBAAmB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mDAAmD,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,sBAAsB,EAAE;IAC/J,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gCAAgC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,qBAAqB,EAAE;CAC5H,CAAC"}
@@ -0,0 +1,68 @@
1
+ import type { components } from './api-types';
2
+ export type AccountReadiness = components['schemas']['AccountReadiness'];
3
+ export type AccountResponse = components['schemas']['AccountResponse'];
4
+ export type AccountStats = components['schemas']['AccountStats'];
5
+ export type Action = components['schemas']['Action'];
6
+ export type ActionResolve = components['schemas']['ActionResolve'];
7
+ export type ApiKeyListResponse = components['schemas']['ApiKeyListResponse'];
8
+ export type ApiKeyResponse = components['schemas']['ApiKeyResponse'];
9
+ export type CheckoutFieldInput = components['schemas']['CheckoutFieldInput'];
10
+ export type CreateAccountParams = components['schemas']['CreateAccountRequest'];
11
+ export type CreateAccountResponse = components['schemas']['CreateAccountResponse'];
12
+ export type CreateApiKeyParams = components['schemas']['CreateApiKeyRequest'];
13
+ export type CreateListingParams = components['schemas']['CreateListingRequest'];
14
+ export type CreateWebhookParams = components['schemas']['CreateWebhookRequest'];
15
+ export type CustomerListResponse = components['schemas']['CustomerListResponse'];
16
+ export type CustomerResponse = components['schemas']['CustomerResponse'];
17
+ export type DeliverOrderParams = components['schemas']['DeliverOrderRequest'];
18
+ export type DeliverableInputParams = components['schemas']['DeliverableInputRequest'];
19
+ export type DeliverableResponse = components['schemas']['DeliverableResponse'];
20
+ export type FaqItemInput = components['schemas']['FaqItemInput'];
21
+ export type FileResponse = components['schemas']['FileResponse'];
22
+ export type ListingListResponse = components['schemas']['ListingListResponse'];
23
+ export type ListingReadiness = components['schemas']['ListingReadiness'];
24
+ export type ListingResponse = components['schemas']['ListingResponse'];
25
+ export type OrderListResponse = components['schemas']['OrderListResponse'];
26
+ export type OrderResponse = components['schemas']['OrderResponse'];
27
+ export type ReviewInput = components['schemas']['ReviewInput'];
28
+ export type SetDeliverablesParams = components['schemas']['SetDeliverablesRequest'];
29
+ export type ShipOrderParams = components['schemas']['ShipOrderRequest'];
30
+ export type ShippingAddressResponse = components['schemas']['ShippingAddressResponse'];
31
+ export type StripeConnectSessionResponse = components['schemas']['StripeConnectSessionResponse'];
32
+ export type UpdateAccountParams = components['schemas']['UpdateAccountRequest'];
33
+ export type UpdateListingParams = components['schemas']['UpdateListingRequest'];
34
+ export type UpdateWebhookParams = components['schemas']['UpdateWebhookRequest'];
35
+ export type VerifyOtpParams = components['schemas']['VerifyOtpRequest'];
36
+ export type VerifyOtpResponse = components['schemas']['VerifyOtpResponse'];
37
+ export type WebhookEventListResponse = components['schemas']['WebhookEventListResponse'];
38
+ export type WebhookEventResponse = components['schemas']['WebhookEventResponse'];
39
+ export type WebhookListResponse = components['schemas']['WebhookListResponse'];
40
+ export type WebhookReadiness = components['schemas']['WebhookReadiness'];
41
+ export type WebhookResponse = components['schemas']['WebhookResponse'];
42
+ export type WebhookTestResponse = components['schemas']['WebhookTestResponse'];
43
+ export interface ListListingsParams {
44
+ status?: string | null;
45
+ cursor?: string | null;
46
+ limit?: number;
47
+ }
48
+ export interface ListOrdersParams {
49
+ status?: string | null;
50
+ listing?: string | null;
51
+ buyer_email?: string | null;
52
+ created_after?: string | null;
53
+ created_before?: string | null;
54
+ cursor?: string | null;
55
+ limit?: number;
56
+ }
57
+ export interface ListCustomersParams {
58
+ email?: string | null;
59
+ created_after?: string | null;
60
+ created_before?: string | null;
61
+ cursor?: string | null;
62
+ limit?: number;
63
+ }
64
+ export interface ListWebhookEventsParams {
65
+ delivered?: boolean | null;
66
+ cursor?: string | null;
67
+ limit?: number;
68
+ }
@@ -1,6 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * Order response types.
4
- */
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=order.js.map
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/generated/types.ts"],"names":[],"mappings":""}
@@ -5,22 +5,16 @@ export { ListBee } from './client';
5
5
  export type { ClientOptions } from './client';
6
6
  export { CursorPage } from './base-client';
7
7
  export type { RequestOptions } from './base-client';
8
- export { APIConnectionError, APIStatusError, APITimeoutError, AuthenticationError, ConflictError, InternalServerError, ListBeeError, NotFoundError, RateLimitError, ValidationError, WebhookVerificationError, } from './errors';
8
+ export { APIConnectionError, APIStatusError, APITimeoutError, AuthenticationError, BadRequestError, ConflictError, ForbiddenError, InternalServerError, ListBeeError, NotFoundError, PayloadTooLargeError, RateLimitError, ValidationError, WebhookVerificationError, } from './errors';
9
9
  export { AccountResource } from './resources/account';
10
- export { ListingsResource } from './resources/listings';
11
10
  export { ApiKeysResource } from './resources/api-keys';
11
+ export { CustomersResource } from './resources/customers';
12
+ export { FilesResource } from './resources/files';
13
+ export { ListingsResource } from './resources/listings';
12
14
  export { OrdersResource } from './resources/orders';
13
15
  export { SignupResource } from './resources/signup';
14
16
  export { StripeResource } from './resources/stripe';
15
- export { StoresResource } from './resources/stores';
16
17
  export { WebhooksResource } from './resources/webhooks';
17
- export { ContentType, DeliverableType, FulfillmentMode, CheckoutFieldType, OrderStatus, FulfillmentStatus, WebhookEventType, ActionKind, ActionCode } from './types/shared';
18
- export type { AccountReadiness, ListingReadiness, ReadinessAction, ListResponse, CheckoutField, ShippingAddress, } from './types/shared';
19
- export type { AccountResponse, UpdateAccountParams, AccountStats } from './types/account';
20
- export type { BlurMode, CreateListingParams, FaqItem, ListingResponse, ListingStatus, Review, UpdateListingParams, } from './types/listing';
21
- export type { ApiKeyResponse } from './types/api-key';
22
- export type { OrderResponse, ListOrdersParams, FulfillOrderParams, ShipOrderParams } from './types/order';
23
- export type { SignupResponse, VerifyResponse } from './types/signup';
24
- export type { StripeConnectSessionResponse } from './types/stripe';
25
- export type { WebhookResponse, CreateWebhookParams, UpdateWebhookParams, WebhookEventResponse, ListWebhookEventsParams, WebhookTestResponse, } from './types/webhook';
26
- export type { StoreResponse, StoreListResponse, DomainResponse, DomainStatus, CreateStoreParams, UpdateStoreParams } from './types/store';
18
+ export { ActionCode, ActionKind, BlurMode, CheckoutFieldType, DeliverableStatus, DeliverableType, ErrorCode, FulfillmentMode, ListingStatus, OrderStatus, WebhookEventType, } from './generated/enums';
19
+ export type { AccountReadiness, AccountResponse, AccountStats, Action, ActionResolve, ApiKeyListResponse, ApiKeyResponse, CheckoutFieldInput, CreateAccountParams, CreateAccountResponse, CreateApiKeyParams, CreateListingParams, CreateWebhookParams, CustomerListResponse, CustomerResponse, DeliverOrderParams, DeliverableInputParams, DeliverableResponse, FaqItemInput, FileResponse, ListCustomersParams, ListListingsParams, ListOrdersParams, ListWebhookEventsParams, ListingListResponse, ListingReadiness, ListingResponse, OrderListResponse, OrderResponse, ReviewInput, SetDeliverablesParams, ShipOrderParams, ShippingAddressResponse, StripeConnectSessionResponse, UpdateAccountParams, UpdateListingParams, UpdateWebhookParams, VerifyOtpParams, VerifyOtpResponse, WebhookEventListResponse, WebhookEventResponse, WebhookListResponse, WebhookReadiness, WebhookResponse, WebhookTestResponse, } from './generated/types';
20
+ export type { ListResponse } from './types/shared';