@linqapp/sdk 0.32.0 → 0.33.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 (148) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/client.d.mts +41 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +41 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +38 -2
  7. package/client.js.map +1 -1
  8. package/client.mjs +38 -2
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/available-number.d.mts +13 -1
  12. package/resources/available-number.d.mts.map +1 -1
  13. package/resources/available-number.d.ts +13 -1
  14. package/resources/available-number.d.ts.map +1 -1
  15. package/resources/available-number.js +2 -1
  16. package/resources/available-number.js.map +1 -1
  17. package/resources/available-number.mjs +2 -1
  18. package/resources/available-number.mjs.map +1 -1
  19. package/resources/chats/chats.d.mts +125 -64
  20. package/resources/chats/chats.d.mts.map +1 -1
  21. package/resources/chats/chats.d.ts +125 -64
  22. package/resources/chats/chats.d.ts.map +1 -1
  23. package/resources/chats/chats.js +59 -59
  24. package/resources/chats/chats.js.map +1 -1
  25. package/resources/chats/chats.mjs +59 -59
  26. package/resources/chats/chats.mjs.map +1 -1
  27. package/resources/chats/index.d.mts +2 -2
  28. package/resources/chats/index.d.mts.map +1 -1
  29. package/resources/chats/index.d.ts +2 -2
  30. package/resources/chats/index.d.ts.map +1 -1
  31. package/resources/chats/location.d.mts +25 -25
  32. package/resources/chats/location.d.mts.map +1 -1
  33. package/resources/chats/location.d.ts +25 -25
  34. package/resources/chats/location.d.ts.map +1 -1
  35. package/resources/chats/location.js +27 -27
  36. package/resources/chats/location.js.map +1 -1
  37. package/resources/chats/location.mjs +27 -27
  38. package/resources/chats/location.mjs.map +1 -1
  39. package/resources/chats/messages.d.mts +17 -17
  40. package/resources/chats/messages.d.mts.map +1 -1
  41. package/resources/chats/messages.d.ts +17 -17
  42. package/resources/chats/messages.d.ts.map +1 -1
  43. package/resources/chats/messages.js +16 -16
  44. package/resources/chats/messages.js.map +1 -1
  45. package/resources/chats/messages.mjs +16 -16
  46. package/resources/chats/messages.mjs.map +1 -1
  47. package/resources/contact-card.d.mts +29 -28
  48. package/resources/contact-card.d.mts.map +1 -1
  49. package/resources/contact-card.d.ts +29 -28
  50. package/resources/contact-card.d.ts.map +1 -1
  51. package/resources/contact-card.js +23 -22
  52. package/resources/contact-card.js.map +1 -1
  53. package/resources/contact-card.mjs +23 -22
  54. package/resources/contact-card.mjs.map +1 -1
  55. package/resources/experiences.d.mts +91 -0
  56. package/resources/experiences.d.mts.map +1 -0
  57. package/resources/experiences.d.ts +91 -0
  58. package/resources/experiences.d.ts.map +1 -0
  59. package/resources/experiences.js +29 -0
  60. package/resources/experiences.js.map +1 -0
  61. package/resources/experiences.mjs +25 -0
  62. package/resources/experiences.mjs.map +1 -0
  63. package/resources/index.d.mts +7 -3
  64. package/resources/index.d.mts.map +1 -1
  65. package/resources/index.d.ts +7 -3
  66. package/resources/index.d.ts.map +1 -1
  67. package/resources/index.js +9 -1
  68. package/resources/index.js.map +1 -1
  69. package/resources/index.mjs +4 -0
  70. package/resources/index.mjs.map +1 -1
  71. package/resources/messages.d.mts +71 -35
  72. package/resources/messages.d.mts.map +1 -1
  73. package/resources/messages.d.ts +71 -35
  74. package/resources/messages.d.ts.map +1 -1
  75. package/resources/messages.js +41 -30
  76. package/resources/messages.js.map +1 -1
  77. package/resources/messages.mjs +41 -30
  78. package/resources/messages.mjs.map +1 -1
  79. package/resources/payment-handles.d.mts +87 -0
  80. package/resources/payment-handles.d.mts.map +1 -0
  81. package/resources/payment-handles.d.ts +87 -0
  82. package/resources/payment-handles.d.ts.map +1 -0
  83. package/resources/payment-handles.js +76 -0
  84. package/resources/payment-handles.js.map +1 -0
  85. package/resources/payment-handles.mjs +72 -0
  86. package/resources/payment-handles.mjs.map +1 -0
  87. package/resources/payment-providers.d.mts +58 -0
  88. package/resources/payment-providers.d.mts.map +1 -0
  89. package/resources/payment-providers.d.ts +58 -0
  90. package/resources/payment-providers.d.ts.map +1 -0
  91. package/resources/payment-providers.js +45 -0
  92. package/resources/payment-providers.js.map +1 -0
  93. package/resources/payment-providers.mjs +41 -0
  94. package/resources/payment-providers.mjs.map +1 -0
  95. package/resources/payment-requests.d.mts +2 -2
  96. package/resources/payment-requests.d.ts +2 -2
  97. package/resources/payment-requests.js +2 -2
  98. package/resources/payment-requests.mjs +2 -2
  99. package/resources/payments.d.mts +116 -0
  100. package/resources/payments.d.mts.map +1 -0
  101. package/resources/payments.d.ts +116 -0
  102. package/resources/payments.d.ts.map +1 -0
  103. package/resources/payments.js +70 -0
  104. package/resources/payments.js.map +1 -0
  105. package/resources/payments.mjs +66 -0
  106. package/resources/payments.mjs.map +1 -0
  107. package/resources/phone-numbers.d.mts +11 -11
  108. package/resources/phone-numbers.d.mts.map +1 -1
  109. package/resources/phone-numbers.d.ts +11 -11
  110. package/resources/phone-numbers.d.ts.map +1 -1
  111. package/resources/phone-numbers.js +13 -13
  112. package/resources/phone-numbers.js.map +1 -1
  113. package/resources/phone-numbers.mjs +13 -13
  114. package/resources/phone-numbers.mjs.map +1 -1
  115. package/resources/webhook-subscriptions.d.mts +11 -11
  116. package/resources/webhook-subscriptions.d.mts.map +1 -1
  117. package/resources/webhook-subscriptions.d.ts +11 -11
  118. package/resources/webhook-subscriptions.d.ts.map +1 -1
  119. package/resources/webhook-subscriptions.js +13 -13
  120. package/resources/webhook-subscriptions.js.map +1 -1
  121. package/resources/webhook-subscriptions.mjs +13 -13
  122. package/resources/webhook-subscriptions.mjs.map +1 -1
  123. package/resources/webhooks.d.mts +59 -0
  124. package/resources/webhooks.d.mts.map +1 -1
  125. package/resources/webhooks.d.ts +59 -0
  126. package/resources/webhooks.d.ts.map +1 -1
  127. package/src/client.ts +77 -6
  128. package/src/resources/available-number.ts +14 -1
  129. package/src/resources/chats/chats.ts +142 -79
  130. package/src/resources/chats/index.ts +2 -2
  131. package/src/resources/chats/location.ts +28 -28
  132. package/src/resources/chats/messages.ts +28 -28
  133. package/src/resources/contact-card.ts +36 -35
  134. package/src/resources/experiences.ts +118 -0
  135. package/src/resources/index.ts +22 -4
  136. package/src/resources/messages.ts +85 -47
  137. package/src/resources/payment-handles.ts +114 -0
  138. package/src/resources/payment-providers.ts +81 -0
  139. package/src/resources/payment-requests.ts +2 -2
  140. package/src/resources/payments.ts +163 -0
  141. package/src/resources/phone-numbers.ts +14 -14
  142. package/src/resources/webhook-subscriptions.ts +14 -14
  143. package/src/resources/webhooks.ts +61 -0
  144. package/src/version.ts +1 -1
  145. package/version.d.mts +1 -1
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
  148. package/version.mjs +1 -1
@@ -0,0 +1,58 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ /**
5
+ * Let an agent pay on a customer's behalf with a single-use virtual card.
6
+ * Connect a customer once, then create a payment — a virtual card is minted
7
+ * scoped to that purchase and the card details are handed back for checkout.
8
+ */
9
+ export declare class PaymentProviders extends APIResource {
10
+ /**
11
+ * Returns your organization's onboarding status for a payment provider.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const paymentProvider =
16
+ * await client.paymentProviders.retrieve('provider');
17
+ * ```
18
+ */
19
+ retrieve(provider: string, options?: RequestOptions): APIPromise<PaymentProvider>;
20
+ /**
21
+ * Begins connecting your organization to a payment provider (e.g. `agentcard`).
22
+ * Returns a hosted URL where an admin authorizes the connection; on completion the
23
+ * provider redirects back and Linq stores your connected credentials.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const response = await client.paymentProviders.connect(
28
+ * 'provider',
29
+ * {
30
+ * return_url: 'https://partner.example/settings/payments',
31
+ * },
32
+ * );
33
+ * ```
34
+ */
35
+ connect(provider: string, body: PaymentProviderConnectParams, options?: RequestOptions): APIPromise<PaymentProviderConnectResponse>;
36
+ }
37
+ export interface PaymentProvider {
38
+ provider?: string;
39
+ status?: 'onboarding' | 'ready' | 'disabled';
40
+ }
41
+ export interface PaymentProviderConnectResponse {
42
+ /**
43
+ * Send the admin here to authorize the connection.
44
+ */
45
+ hosted_url?: string;
46
+ session_id?: string;
47
+ status?: string;
48
+ }
49
+ export interface PaymentProviderConnectParams {
50
+ /**
51
+ * Where to send the admin after they authorize the connection.
52
+ */
53
+ return_url: string;
54
+ }
55
+ export declare namespace PaymentProviders {
56
+ export { type PaymentProvider as PaymentProvider, type PaymentProviderConnectResponse as PaymentProviderConnectResponse, type PaymentProviderConnectParams as PaymentProviderConnectParams, };
57
+ }
58
+ //# sourceMappingURL=payment-providers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-providers.d.mts","sourceRoot":"","sources":["../src/resources/payment-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;OAQG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIjF;;;;;;;;;;;;;;OAcG;IACH,OAAO,CACL,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,GAAG,UAAU,CAAC;CAC9C;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
@@ -0,0 +1,58 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ /**
5
+ * Let an agent pay on a customer's behalf with a single-use virtual card.
6
+ * Connect a customer once, then create a payment — a virtual card is minted
7
+ * scoped to that purchase and the card details are handed back for checkout.
8
+ */
9
+ export declare class PaymentProviders extends APIResource {
10
+ /**
11
+ * Returns your organization's onboarding status for a payment provider.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const paymentProvider =
16
+ * await client.paymentProviders.retrieve('provider');
17
+ * ```
18
+ */
19
+ retrieve(provider: string, options?: RequestOptions): APIPromise<PaymentProvider>;
20
+ /**
21
+ * Begins connecting your organization to a payment provider (e.g. `agentcard`).
22
+ * Returns a hosted URL where an admin authorizes the connection; on completion the
23
+ * provider redirects back and Linq stores your connected credentials.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const response = await client.paymentProviders.connect(
28
+ * 'provider',
29
+ * {
30
+ * return_url: 'https://partner.example/settings/payments',
31
+ * },
32
+ * );
33
+ * ```
34
+ */
35
+ connect(provider: string, body: PaymentProviderConnectParams, options?: RequestOptions): APIPromise<PaymentProviderConnectResponse>;
36
+ }
37
+ export interface PaymentProvider {
38
+ provider?: string;
39
+ status?: 'onboarding' | 'ready' | 'disabled';
40
+ }
41
+ export interface PaymentProviderConnectResponse {
42
+ /**
43
+ * Send the admin here to authorize the connection.
44
+ */
45
+ hosted_url?: string;
46
+ session_id?: string;
47
+ status?: string;
48
+ }
49
+ export interface PaymentProviderConnectParams {
50
+ /**
51
+ * Where to send the admin after they authorize the connection.
52
+ */
53
+ return_url: string;
54
+ }
55
+ export declare namespace PaymentProviders {
56
+ export { type PaymentProvider as PaymentProvider, type PaymentProviderConnectResponse as PaymentProviderConnectResponse, type PaymentProviderConnectParams as PaymentProviderConnectParams, };
57
+ }
58
+ //# sourceMappingURL=payment-providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-providers.d.ts","sourceRoot":"","sources":["../src/resources/payment-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;OAQG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIjF;;;;;;;;;;;;;;OAcG;IACH,OAAO,CACL,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,GAAG,UAAU,CAAC;CAC9C;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PaymentProviders = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const path_1 = require("../internal/utils/path.js");
7
+ /**
8
+ * Let an agent pay on a customer's behalf with a single-use virtual card.
9
+ * Connect a customer once, then create a payment — a virtual card is minted
10
+ * scoped to that purchase and the card details are handed back for checkout.
11
+ */
12
+ class PaymentProviders extends resource_1.APIResource {
13
+ /**
14
+ * Returns your organization's onboarding status for a payment provider.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const paymentProvider =
19
+ * await client.paymentProviders.retrieve('provider');
20
+ * ```
21
+ */
22
+ retrieve(provider, options) {
23
+ return this._client.get((0, path_1.path) `/v3/payments/providers/${provider}`, options);
24
+ }
25
+ /**
26
+ * Begins connecting your organization to a payment provider (e.g. `agentcard`).
27
+ * Returns a hosted URL where an admin authorizes the connection; on completion the
28
+ * provider redirects back and Linq stores your connected credentials.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const response = await client.paymentProviders.connect(
33
+ * 'provider',
34
+ * {
35
+ * return_url: 'https://partner.example/settings/payments',
36
+ * },
37
+ * );
38
+ * ```
39
+ */
40
+ connect(provider, body, options) {
41
+ return this._client.post((0, path_1.path) `/v3/payments/providers/${provider}/connect`, { body, ...options });
42
+ }
43
+ }
44
+ exports.PaymentProviders = PaymentProviders;
45
+ //# sourceMappingURL=payment-providers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-providers.js","sourceRoot":"","sources":["../src/resources/payment-providers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;;;GAIG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;OAQG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAAO,CACL,QAAgB,EAChB,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,0BAA0B,QAAQ,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AApCD,4CAoCC"}
@@ -0,0 +1,41 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { path } from "../internal/utils/path.mjs";
4
+ /**
5
+ * Let an agent pay on a customer's behalf with a single-use virtual card.
6
+ * Connect a customer once, then create a payment — a virtual card is minted
7
+ * scoped to that purchase and the card details are handed back for checkout.
8
+ */
9
+ export class PaymentProviders extends APIResource {
10
+ /**
11
+ * Returns your organization's onboarding status for a payment provider.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const paymentProvider =
16
+ * await client.paymentProviders.retrieve('provider');
17
+ * ```
18
+ */
19
+ retrieve(provider, options) {
20
+ return this._client.get(path `/v3/payments/providers/${provider}`, options);
21
+ }
22
+ /**
23
+ * Begins connecting your organization to a payment provider (e.g. `agentcard`).
24
+ * Returns a hosted URL where an admin authorizes the connection; on completion the
25
+ * provider redirects back and Linq stores your connected credentials.
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const response = await client.paymentProviders.connect(
30
+ * 'provider',
31
+ * {
32
+ * return_url: 'https://partner.example/settings/payments',
33
+ * },
34
+ * );
35
+ * ```
36
+ */
37
+ connect(provider, body, options) {
38
+ return this._client.post(path `/v3/payments/providers/${provider}/connect`, { body, ...options });
39
+ }
40
+ }
41
+ //# sourceMappingURL=payment-providers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-providers.mjs","sourceRoot":"","sources":["../src/resources/payment-providers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;;;GAIG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;OAQG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAAO,CACL,QAAgB,EAChB,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,0BAA0B,QAAQ,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF"}
@@ -20,7 +20,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
20
20
  *
21
21
  * ## Connected accounts (Stripe Standard, direct charges)
22
22
  *
23
- * Agent Pay runs on **Stripe Connect Standard accounts** using **direct
23
+ * Payments run on **Stripe Connect Standard accounts** using **direct
24
24
  * charges**: the charge is created on *your* connected account and **you are
25
25
  * the merchant of record**. That means the money, the payout schedule, the
26
26
  * customer relationship, and the compliance surface are all yours — Linq
@@ -103,7 +103,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
103
103
  * no-install checkout sheet. Everywhere else (Android, desktop, iPhones
104
104
  * without the App Clip yet) the same URL opens the web checkout, so the link
105
105
  * always works. The App Clip experience for your payment links is registered
106
- * automatically by Linq and refreshed whenever you update your Agent Pay
106
+ * automatically by Linq and refreshed whenever you update your payments
107
107
  * branding; a newly registered experience can take up to ~24 hours to
108
108
  * activate on Apple's side, during which links open the web checkout.
109
109
  *
@@ -20,7 +20,7 @@ import { RequestOptions } from "../internal/request-options.js";
20
20
  *
21
21
  * ## Connected accounts (Stripe Standard, direct charges)
22
22
  *
23
- * Agent Pay runs on **Stripe Connect Standard accounts** using **direct
23
+ * Payments run on **Stripe Connect Standard accounts** using **direct
24
24
  * charges**: the charge is created on *your* connected account and **you are
25
25
  * the merchant of record**. That means the money, the payout schedule, the
26
26
  * customer relationship, and the compliance surface are all yours — Linq
@@ -103,7 +103,7 @@ import { RequestOptions } from "../internal/request-options.js";
103
103
  * no-install checkout sheet. Everywhere else (Android, desktop, iPhones
104
104
  * without the App Clip yet) the same URL opens the web checkout, so the link
105
105
  * always works. The App Clip experience for your payment links is registered
106
- * automatically by Linq and refreshed whenever you update your Agent Pay
106
+ * automatically by Linq and refreshed whenever you update your payments
107
107
  * branding; a newly registered experience can take up to ~24 hours to
108
108
  * activate on Apple's side, during which links open the web checkout.
109
109
  *
@@ -24,7 +24,7 @@ const path_1 = require("../internal/utils/path.js");
24
24
  *
25
25
  * ## Connected accounts (Stripe Standard, direct charges)
26
26
  *
27
- * Agent Pay runs on **Stripe Connect Standard accounts** using **direct
27
+ * Payments run on **Stripe Connect Standard accounts** using **direct
28
28
  * charges**: the charge is created on *your* connected account and **you are
29
29
  * the merchant of record**. That means the money, the payout schedule, the
30
30
  * customer relationship, and the compliance surface are all yours — Linq
@@ -107,7 +107,7 @@ const path_1 = require("../internal/utils/path.js");
107
107
  * no-install checkout sheet. Everywhere else (Android, desktop, iPhones
108
108
  * without the App Clip yet) the same URL opens the web checkout, so the link
109
109
  * always works. The App Clip experience for your payment links is registered
110
- * automatically by Linq and refreshed whenever you update your Agent Pay
110
+ * automatically by Linq and refreshed whenever you update your payments
111
111
  * branding; a newly registered experience can take up to ~24 hours to
112
112
  * activate on Apple's side, during which links open the web checkout.
113
113
  *
@@ -21,7 +21,7 @@ import { path } from "../internal/utils/path.mjs";
21
21
  *
22
22
  * ## Connected accounts (Stripe Standard, direct charges)
23
23
  *
24
- * Agent Pay runs on **Stripe Connect Standard accounts** using **direct
24
+ * Payments run on **Stripe Connect Standard accounts** using **direct
25
25
  * charges**: the charge is created on *your* connected account and **you are
26
26
  * the merchant of record**. That means the money, the payout schedule, the
27
27
  * customer relationship, and the compliance surface are all yours — Linq
@@ -104,7 +104,7 @@ import { path } from "../internal/utils/path.mjs";
104
104
  * no-install checkout sheet. Everywhere else (Android, desktop, iPhones
105
105
  * without the App Clip yet) the same URL opens the web checkout, so the link
106
106
  * always works. The App Clip experience for your payment links is registered
107
- * automatically by Linq and refreshed whenever you update your Agent Pay
107
+ * automatically by Linq and refreshed whenever you update your payments
108
108
  * branding; a newly registered experience can take up to ~24 hours to
109
109
  * activate on Apple's side, during which links open the web checkout.
110
110
  *
@@ -0,0 +1,116 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ /**
5
+ * Let an agent pay on a customer's behalf with a single-use virtual card.
6
+ * Connect a customer once, then create a payment — a virtual card is minted
7
+ * scoped to that purchase and the card details are handed back for checkout.
8
+ */
9
+ export declare class Payments extends APIResource {
10
+ /**
11
+ * Advances the pay flow for a connected customer handle and returns a `status`
12
+ * describing where it is (`needs_connection`, `awaiting_user_action`, `ready`,
13
+ * ...). A payment `id` appears once a card is minted. Idempotent on the
14
+ * `Idempotency-Key` header.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const payment = await client.payments.create({
19
+ * amount_cents: 2500,
20
+ * currency: 'usd',
21
+ * handle: '+14155550123',
22
+ * });
23
+ * ```
24
+ */
25
+ create(body: PaymentCreateParams, options?: RequestOptions): APIPromise<Payment>;
26
+ /**
27
+ * Get a payment
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const payment = await client.payments.retrieve('paymentId');
32
+ * ```
33
+ */
34
+ retrieve(paymentID: string, options?: RequestOptions): APIPromise<Payment>;
35
+ /**
36
+ * Closes the virtual card and cancels the payment.
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * const payment = await client.payments.cancel('paymentId');
41
+ * ```
42
+ */
43
+ cancel(paymentID: string, options?: RequestOptions): APIPromise<Payment>;
44
+ /**
45
+ * Returns a short-lived handoff for a `ready` payment. Fetch the card credentials
46
+ * **directly from the provider** with the returned `user_token` at `fetch_url` —
47
+ * the card number never passes through Linq. Do not persist PAN/CVC.
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * const response = await client.payments.credentials(
52
+ * 'paymentId',
53
+ * );
54
+ * ```
55
+ */
56
+ credentials(paymentID: string, options?: RequestOptions): APIPromise<PaymentCredentialsResponse>;
57
+ }
58
+ export interface Payment {
59
+ id?: string;
60
+ amount_cents?: number;
61
+ /**
62
+ * Present when the customer must approve with a passkey.
63
+ */
64
+ approval_url?: string;
65
+ /**
66
+ * Present when the customer must attach a card.
67
+ */
68
+ attach_url?: string;
69
+ currency?: string;
70
+ description?: string;
71
+ handle?: string;
72
+ status?: 'needs_connection' | 'connecting' | 'awaiting_user_action' | 'ready' | 'authorized' | 'succeeded' | 'declined' | 'canceled' | 'expired';
73
+ }
74
+ export interface PaymentCredentialsResponse {
75
+ /**
76
+ * Fetch the card directly from the provider with these — never through Linq.
77
+ */
78
+ handoff?: PaymentCredentialsResponse.Handoff;
79
+ }
80
+ export declare namespace PaymentCredentialsResponse {
81
+ /**
82
+ * Fetch the card directly from the provider with these — never through Linq.
83
+ */
84
+ interface Handoff {
85
+ card_ref?: string;
86
+ fetch_url?: string;
87
+ provider?: string;
88
+ /**
89
+ * Short-lived bearer to fetch the card from the provider.
90
+ */
91
+ user_token?: string;
92
+ }
93
+ }
94
+ export interface PaymentCreateParams {
95
+ amount_cents: number;
96
+ currency: string;
97
+ /**
98
+ * Customer phone (E.164) or email.
99
+ */
100
+ handle: string;
101
+ description?: string;
102
+ merchant?: PaymentCreateParams.Merchant;
103
+ metadata?: {
104
+ [key: string]: string;
105
+ };
106
+ }
107
+ export declare namespace PaymentCreateParams {
108
+ interface Merchant {
109
+ name?: string;
110
+ url?: string;
111
+ }
112
+ }
113
+ export declare namespace Payments {
114
+ export { type Payment as Payment, type PaymentCredentialsResponse as PaymentCredentialsResponse, type PaymentCreateParams as PaymentCreateParams, };
115
+ }
116
+ //# sourceMappingURL=payments.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments.d.mts","sourceRoot":"","sources":["../src/resources/payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;;;GAIG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF;;;;;;;OAOG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI1E;;;;;;;OAOG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIxE;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAGjG;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EACH,kBAAkB,GAClB,YAAY,GACZ,sBAAsB,GACtB,OAAO,GACP,YAAY,GACZ,WAAW,GACX,UAAU,GACV,UAAU,GACV,SAAS,CAAC;CACf;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,0BAA0B,CAAC,OAAO,CAAC;CAC9C;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;OAEG;IACH,UAAiB,OAAO;QACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,mBAAmB,CAAC,QAAQ,CAAC;IAExC,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACtC;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,QAAQ;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -0,0 +1,116 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ /**
5
+ * Let an agent pay on a customer's behalf with a single-use virtual card.
6
+ * Connect a customer once, then create a payment — a virtual card is minted
7
+ * scoped to that purchase and the card details are handed back for checkout.
8
+ */
9
+ export declare class Payments extends APIResource {
10
+ /**
11
+ * Advances the pay flow for a connected customer handle and returns a `status`
12
+ * describing where it is (`needs_connection`, `awaiting_user_action`, `ready`,
13
+ * ...). A payment `id` appears once a card is minted. Idempotent on the
14
+ * `Idempotency-Key` header.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const payment = await client.payments.create({
19
+ * amount_cents: 2500,
20
+ * currency: 'usd',
21
+ * handle: '+14155550123',
22
+ * });
23
+ * ```
24
+ */
25
+ create(body: PaymentCreateParams, options?: RequestOptions): APIPromise<Payment>;
26
+ /**
27
+ * Get a payment
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const payment = await client.payments.retrieve('paymentId');
32
+ * ```
33
+ */
34
+ retrieve(paymentID: string, options?: RequestOptions): APIPromise<Payment>;
35
+ /**
36
+ * Closes the virtual card and cancels the payment.
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * const payment = await client.payments.cancel('paymentId');
41
+ * ```
42
+ */
43
+ cancel(paymentID: string, options?: RequestOptions): APIPromise<Payment>;
44
+ /**
45
+ * Returns a short-lived handoff for a `ready` payment. Fetch the card credentials
46
+ * **directly from the provider** with the returned `user_token` at `fetch_url` —
47
+ * the card number never passes through Linq. Do not persist PAN/CVC.
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * const response = await client.payments.credentials(
52
+ * 'paymentId',
53
+ * );
54
+ * ```
55
+ */
56
+ credentials(paymentID: string, options?: RequestOptions): APIPromise<PaymentCredentialsResponse>;
57
+ }
58
+ export interface Payment {
59
+ id?: string;
60
+ amount_cents?: number;
61
+ /**
62
+ * Present when the customer must approve with a passkey.
63
+ */
64
+ approval_url?: string;
65
+ /**
66
+ * Present when the customer must attach a card.
67
+ */
68
+ attach_url?: string;
69
+ currency?: string;
70
+ description?: string;
71
+ handle?: string;
72
+ status?: 'needs_connection' | 'connecting' | 'awaiting_user_action' | 'ready' | 'authorized' | 'succeeded' | 'declined' | 'canceled' | 'expired';
73
+ }
74
+ export interface PaymentCredentialsResponse {
75
+ /**
76
+ * Fetch the card directly from the provider with these — never through Linq.
77
+ */
78
+ handoff?: PaymentCredentialsResponse.Handoff;
79
+ }
80
+ export declare namespace PaymentCredentialsResponse {
81
+ /**
82
+ * Fetch the card directly from the provider with these — never through Linq.
83
+ */
84
+ interface Handoff {
85
+ card_ref?: string;
86
+ fetch_url?: string;
87
+ provider?: string;
88
+ /**
89
+ * Short-lived bearer to fetch the card from the provider.
90
+ */
91
+ user_token?: string;
92
+ }
93
+ }
94
+ export interface PaymentCreateParams {
95
+ amount_cents: number;
96
+ currency: string;
97
+ /**
98
+ * Customer phone (E.164) or email.
99
+ */
100
+ handle: string;
101
+ description?: string;
102
+ merchant?: PaymentCreateParams.Merchant;
103
+ metadata?: {
104
+ [key: string]: string;
105
+ };
106
+ }
107
+ export declare namespace PaymentCreateParams {
108
+ interface Merchant {
109
+ name?: string;
110
+ url?: string;
111
+ }
112
+ }
113
+ export declare namespace Payments {
114
+ export { type Payment as Payment, type PaymentCredentialsResponse as PaymentCredentialsResponse, type PaymentCreateParams as PaymentCreateParams, };
115
+ }
116
+ //# sourceMappingURL=payments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../src/resources/payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;;;GAIG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF;;;;;;;OAOG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI1E;;;;;;;OAOG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIxE;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAGjG;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EACH,kBAAkB,GAClB,YAAY,GACZ,sBAAsB,GACtB,OAAO,GACP,YAAY,GACZ,WAAW,GACX,UAAU,GACV,UAAU,GACV,SAAS,CAAC;CACf;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,0BAA0B,CAAC,OAAO,CAAC;CAC9C;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;OAEG;IACH,UAAiB,OAAO;QACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,mBAAmB,CAAC,QAAQ,CAAC;IAExC,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACtC;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,QAAQ;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Payments = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const path_1 = require("../internal/utils/path.js");
7
+ /**
8
+ * Let an agent pay on a customer's behalf with a single-use virtual card.
9
+ * Connect a customer once, then create a payment — a virtual card is minted
10
+ * scoped to that purchase and the card details are handed back for checkout.
11
+ */
12
+ class Payments extends resource_1.APIResource {
13
+ /**
14
+ * Advances the pay flow for a connected customer handle and returns a `status`
15
+ * describing where it is (`needs_connection`, `awaiting_user_action`, `ready`,
16
+ * ...). A payment `id` appears once a card is minted. Idempotent on the
17
+ * `Idempotency-Key` header.
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * const payment = await client.payments.create({
22
+ * amount_cents: 2500,
23
+ * currency: 'usd',
24
+ * handle: '+14155550123',
25
+ * });
26
+ * ```
27
+ */
28
+ create(body, options) {
29
+ return this._client.post('/v3/payments', { body, ...options });
30
+ }
31
+ /**
32
+ * Get a payment
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const payment = await client.payments.retrieve('paymentId');
37
+ * ```
38
+ */
39
+ retrieve(paymentID, options) {
40
+ return this._client.get((0, path_1.path) `/v3/payments/${paymentID}`, options);
41
+ }
42
+ /**
43
+ * Closes the virtual card and cancels the payment.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const payment = await client.payments.cancel('paymentId');
48
+ * ```
49
+ */
50
+ cancel(paymentID, options) {
51
+ return this._client.post((0, path_1.path) `/v3/payments/${paymentID}/cancel`, options);
52
+ }
53
+ /**
54
+ * Returns a short-lived handoff for a `ready` payment. Fetch the card credentials
55
+ * **directly from the provider** with the returned `user_token` at `fetch_url` —
56
+ * the card number never passes through Linq. Do not persist PAN/CVC.
57
+ *
58
+ * @example
59
+ * ```ts
60
+ * const response = await client.payments.credentials(
61
+ * 'paymentId',
62
+ * );
63
+ * ```
64
+ */
65
+ credentials(paymentID, options) {
66
+ return this._client.get((0, path_1.path) `/v3/payments/${paymentID}/credentials`, options);
67
+ }
68
+ }
69
+ exports.Payments = Payments;
70
+ //# sourceMappingURL=payments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments.js","sourceRoot":"","sources":["../src/resources/payments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;;;GAIG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,SAAiB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,cAAc,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;AA3DD,4BA2DC"}