@kittycad/lib 4.1.7 → 4.1.8
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.
|
@@ -2,7 +2,6 @@ import { Client } from '../../client.js';
|
|
|
2
2
|
interface DeletePaymentMethodForUserInput {
|
|
3
3
|
client?: Client;
|
|
4
4
|
id: string;
|
|
5
|
-
force?: boolean;
|
|
6
5
|
}
|
|
7
6
|
type DeletePaymentMethodForUserReturn = void;
|
|
8
7
|
/**
|
|
@@ -15,9 +14,8 @@ type DeletePaymentMethodForUserReturn = void;
|
|
|
15
14
|
* @param params Function parameters.
|
|
16
15
|
* @property {Client} [client] Optional client with auth token.
|
|
17
16
|
* @property {string} id Stripe payment method identifier. (path)
|
|
18
|
-
* @property {boolean} force Force deletion even when it is the last payment method on file. (query)
|
|
19
17
|
* @returns {Promise<DeletePaymentMethodForUserReturn>} successful deletion
|
|
20
18
|
*/
|
|
21
|
-
export default function delete_payment_method_for_user({ client, id,
|
|
19
|
+
export default function delete_payment_method_for_user({ client, id, }: DeletePaymentMethodForUserInput): Promise<DeletePaymentMethodForUserReturn>;
|
|
22
20
|
export {};
|
|
23
21
|
//# sourceMappingURL=delete_payment_method_for_user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete_payment_method_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/payments/delete_payment_method_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAKpD,UAAU,+BAA+B;IACvC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"delete_payment_method_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/payments/delete_payment_method_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAKpD,UAAU,+BAA+B;IACvC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;CACX;AAED,KAAK,gCAAgC,GAAG,IAAI,CAAA;AAE5C;;;;;;;;;;;GAWG;AACH,wBAA8B,8BAA8B,CAAC,EAC3D,MAAM,EACN,EAAE,GACH,EAAE,+BAA+B,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAoB7E"}
|