@apideck/unify 0.29.8 → 0.29.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.
Files changed (130) hide show
  1. package/README.md +14 -1
  2. package/docs/sdks/bankaccounts/README.md +564 -0
  3. package/examples/accountingTaxRatesList.example.ts +1 -1
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/accountingBankAccountsCreate.d.ts +18 -0
  6. package/funcs/accountingBankAccountsCreate.d.ts.map +1 -0
  7. package/funcs/accountingBankAccountsCreate.js +139 -0
  8. package/funcs/accountingBankAccountsCreate.js.map +1 -0
  9. package/funcs/accountingBankAccountsDelete.d.ts +18 -0
  10. package/funcs/accountingBankAccountsDelete.d.ts.map +1 -0
  11. package/funcs/accountingBankAccountsDelete.js +142 -0
  12. package/funcs/accountingBankAccountsDelete.js.map +1 -0
  13. package/funcs/accountingBankAccountsGet.d.ts +18 -0
  14. package/funcs/accountingBankAccountsGet.d.ts.map +1 -0
  15. package/funcs/accountingBankAccountsGet.js +143 -0
  16. package/funcs/accountingBankAccountsGet.js.map +1 -0
  17. package/funcs/accountingBankAccountsList.d.ts +21 -0
  18. package/funcs/accountingBankAccountsList.d.ts.map +1 -0
  19. package/funcs/accountingBankAccountsList.js +168 -0
  20. package/funcs/accountingBankAccountsList.js.map +1 -0
  21. package/funcs/accountingBankAccountsUpdate.d.ts +18 -0
  22. package/funcs/accountingBankAccountsUpdate.d.ts.map +1 -0
  23. package/funcs/accountingBankAccountsUpdate.js +145 -0
  24. package/funcs/accountingBankAccountsUpdate.js.map +1 -0
  25. package/jsr.json +1 -1
  26. package/lib/config.d.ts +4 -4
  27. package/lib/config.js +4 -4
  28. package/models/components/accountingbankaccount.d.ts +348 -0
  29. package/models/components/accountingbankaccount.d.ts.map +1 -0
  30. package/models/components/accountingbankaccount.js +298 -0
  31. package/models/components/accountingbankaccount.js.map +1 -0
  32. package/models/components/bankaccountsfilter.d.ts +72 -0
  33. package/models/components/bankaccountsfilter.d.ts.map +1 -0
  34. package/models/components/bankaccountsfilter.js +94 -0
  35. package/models/components/bankaccountsfilter.js.map +1 -0
  36. package/models/components/bankaccountssort.d.ts +70 -0
  37. package/models/components/bankaccountssort.d.ts.map +1 -0
  38. package/models/components/bankaccountssort.js +95 -0
  39. package/models/components/bankaccountssort.js.map +1 -0
  40. package/models/components/createbankaccountresponse.d.ts +61 -0
  41. package/models/components/createbankaccountresponse.d.ts.map +1 -0
  42. package/models/components/createbankaccountresponse.js +89 -0
  43. package/models/components/createbankaccountresponse.js.map +1 -0
  44. package/models/components/deletebankaccountresponse.d.ts +61 -0
  45. package/models/components/deletebankaccountresponse.d.ts.map +1 -0
  46. package/models/components/deletebankaccountresponse.js +89 -0
  47. package/models/components/deletebankaccountresponse.js.map +1 -0
  48. package/models/components/getbankaccountresponse.d.ts +58 -0
  49. package/models/components/getbankaccountresponse.d.ts.map +1 -0
  50. package/models/components/getbankaccountresponse.js +89 -0
  51. package/models/components/getbankaccountresponse.js.map +1 -0
  52. package/models/components/getbankaccountsresponse.d.ts +70 -0
  53. package/models/components/getbankaccountsresponse.d.ts.map +1 -0
  54. package/models/components/getbankaccountsresponse.js +95 -0
  55. package/models/components/getbankaccountsresponse.js.map +1 -0
  56. package/models/components/index.d.ts +8 -0
  57. package/models/components/index.d.ts.map +1 -1
  58. package/models/components/index.js +8 -0
  59. package/models/components/index.js.map +1 -1
  60. package/models/components/logsfilter.d.ts +8 -0
  61. package/models/components/logsfilter.d.ts.map +1 -1
  62. package/models/components/logsfilter.js +4 -0
  63. package/models/components/logsfilter.js.map +1 -1
  64. package/models/components/updatebankaccountresponse.d.ts +61 -0
  65. package/models/components/updatebankaccountresponse.d.ts.map +1 -0
  66. package/models/components/updatebankaccountresponse.js +89 -0
  67. package/models/components/updatebankaccountresponse.js.map +1 -0
  68. package/models/errors/index.d.ts +1 -0
  69. package/models/errors/index.d.ts.map +1 -1
  70. package/models/errors/index.js +1 -0
  71. package/models/errors/index.js.map +1 -1
  72. package/models/operations/accountingbankaccountsadd.d.ts +118 -0
  73. package/models/operations/accountingbankaccountsadd.d.ts.map +1 -0
  74. package/models/operations/accountingbankaccountsadd.js +163 -0
  75. package/models/operations/accountingbankaccountsadd.js.map +1 -0
  76. package/models/operations/accountingbankaccountsall.d.ts +150 -0
  77. package/models/operations/accountingbankaccountsall.d.ts.map +1 -0
  78. package/models/operations/accountingbankaccountsall.js +173 -0
  79. package/models/operations/accountingbankaccountsall.js.map +1 -0
  80. package/models/operations/accountingbankaccountsdelete.d.ts +121 -0
  81. package/models/operations/accountingbankaccountsdelete.d.ts.map +1 -0
  82. package/models/operations/accountingbankaccountsdelete.js +155 -0
  83. package/models/operations/accountingbankaccountsdelete.js.map +1 -0
  84. package/models/operations/accountingbankaccountsone.d.ts +126 -0
  85. package/models/operations/accountingbankaccountsone.d.ts.map +1 -0
  86. package/models/operations/accountingbankaccountsone.js +157 -0
  87. package/models/operations/accountingbankaccountsone.js.map +1 -0
  88. package/models/operations/accountingbankaccountsupdate.d.ts +123 -0
  89. package/models/operations/accountingbankaccountsupdate.d.ts.map +1 -0
  90. package/models/operations/accountingbankaccountsupdate.js +165 -0
  91. package/models/operations/accountingbankaccountsupdate.js.map +1 -0
  92. package/models/operations/index.d.ts +5 -0
  93. package/models/operations/index.d.ts.map +1 -1
  94. package/models/operations/index.js +5 -0
  95. package/models/operations/index.js.map +1 -1
  96. package/package.json +1 -1
  97. package/sdk/accounting.d.ts +3 -0
  98. package/sdk/accounting.d.ts.map +1 -1
  99. package/sdk/accounting.js +4 -0
  100. package/sdk/accounting.js.map +1 -1
  101. package/sdk/bankaccounts.d.ts +43 -0
  102. package/sdk/bankaccounts.d.ts.map +1 -0
  103. package/sdk/bankaccounts.js +63 -0
  104. package/sdk/bankaccounts.js.map +1 -0
  105. package/src/__tests__/bankaccounts.test.ts +293 -0
  106. package/src/funcs/accountingBankAccountsCreate.ts +225 -0
  107. package/src/funcs/accountingBankAccountsDelete.ts +231 -0
  108. package/src/funcs/accountingBankAccountsGet.ts +230 -0
  109. package/src/funcs/accountingBankAccountsList.ts +303 -0
  110. package/src/funcs/accountingBankAccountsUpdate.ts +234 -0
  111. package/src/lib/config.ts +4 -4
  112. package/src/models/components/accountingbankaccount.ts +576 -0
  113. package/src/models/components/bankaccountsfilter.ts +113 -0
  114. package/src/models/components/bankaccountssort.ts +113 -0
  115. package/src/models/components/createbankaccountresponse.ts +122 -0
  116. package/src/models/components/deletebankaccountresponse.ts +122 -0
  117. package/src/models/components/getbankaccountresponse.ts +119 -0
  118. package/src/models/components/getbankaccountsresponse.ts +145 -0
  119. package/src/models/components/index.ts +8 -0
  120. package/src/models/components/logsfilter.ts +12 -0
  121. package/src/models/components/updatebankaccountresponse.ts +122 -0
  122. package/src/models/errors/index.ts +1 -0
  123. package/src/models/operations/accountingbankaccountsadd.ts +271 -0
  124. package/src/models/operations/accountingbankaccountsall.ts +309 -0
  125. package/src/models/operations/accountingbankaccountsdelete.ts +274 -0
  126. package/src/models/operations/accountingbankaccountsone.ts +273 -0
  127. package/src/models/operations/accountingbankaccountsupdate.ts +286 -0
  128. package/src/models/operations/index.ts +5 -0
  129. package/src/sdk/accounting.ts +6 -0
  130. package/src/sdk/bankaccounts.ts +105 -0
@@ -0,0 +1,150 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type AccountingBankAccountsAllGlobals = {
6
+ /**
7
+ * ID of the consumer which you want to get or push data from
8
+ */
9
+ consumerId?: string | undefined;
10
+ /**
11
+ * The ID of your Unify application
12
+ */
13
+ appId?: string | undefined;
14
+ };
15
+ export type AccountingBankAccountsAllRequest = {
16
+ /**
17
+ * Include raw response. Mostly used for debugging purposes
18
+ */
19
+ raw?: boolean | undefined;
20
+ /**
21
+ * ID of the consumer which you want to get or push data from
22
+ */
23
+ consumerId?: string | undefined;
24
+ /**
25
+ * The ID of your Unify application
26
+ */
27
+ appId?: string | undefined;
28
+ /**
29
+ * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
30
+ */
31
+ serviceId?: string | undefined;
32
+ /**
33
+ * Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
34
+ */
35
+ cursor?: string | null | undefined;
36
+ /**
37
+ * Number of results to return. Minimum 1, Maximum 200, Default 20
38
+ */
39
+ limit?: number | undefined;
40
+ /**
41
+ * Apply filters
42
+ */
43
+ filter?: components.BankAccountsFilter | undefined;
44
+ /**
45
+ * Apply sorting
46
+ */
47
+ sort?: components.BankAccountsSort | undefined;
48
+ /**
49
+ * Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
50
+ */
51
+ passThrough?: {
52
+ [k: string]: any;
53
+ } | undefined;
54
+ /**
55
+ * The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
56
+ */
57
+ fields?: string | null | undefined;
58
+ };
59
+ export type AccountingBankAccountsAllResponse = {
60
+ httpMeta: components.HTTPMetadata;
61
+ /**
62
+ * Bank Accounts
63
+ */
64
+ getBankAccountsResponse?: components.GetBankAccountsResponse | undefined;
65
+ /**
66
+ * Unexpected error
67
+ */
68
+ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
69
+ };
70
+ /** @internal */
71
+ export declare const AccountingBankAccountsAllGlobals$inboundSchema: z.ZodType<AccountingBankAccountsAllGlobals, z.ZodTypeDef, unknown>;
72
+ /** @internal */
73
+ export type AccountingBankAccountsAllGlobals$Outbound = {
74
+ consumerId?: string | undefined;
75
+ appId?: string | undefined;
76
+ };
77
+ /** @internal */
78
+ export declare const AccountingBankAccountsAllGlobals$outboundSchema: z.ZodType<AccountingBankAccountsAllGlobals$Outbound, z.ZodTypeDef, AccountingBankAccountsAllGlobals>;
79
+ /**
80
+ * @internal
81
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
82
+ */
83
+ export declare namespace AccountingBankAccountsAllGlobals$ {
84
+ /** @deprecated use `AccountingBankAccountsAllGlobals$inboundSchema` instead. */
85
+ const inboundSchema: z.ZodType<AccountingBankAccountsAllGlobals, z.ZodTypeDef, unknown>;
86
+ /** @deprecated use `AccountingBankAccountsAllGlobals$outboundSchema` instead. */
87
+ const outboundSchema: z.ZodType<AccountingBankAccountsAllGlobals$Outbound, z.ZodTypeDef, AccountingBankAccountsAllGlobals>;
88
+ /** @deprecated use `AccountingBankAccountsAllGlobals$Outbound` instead. */
89
+ type Outbound = AccountingBankAccountsAllGlobals$Outbound;
90
+ }
91
+ export declare function accountingBankAccountsAllGlobalsToJSON(accountingBankAccountsAllGlobals: AccountingBankAccountsAllGlobals): string;
92
+ export declare function accountingBankAccountsAllGlobalsFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsAllGlobals, SDKValidationError>;
93
+ /** @internal */
94
+ export declare const AccountingBankAccountsAllRequest$inboundSchema: z.ZodType<AccountingBankAccountsAllRequest, z.ZodTypeDef, unknown>;
95
+ /** @internal */
96
+ export type AccountingBankAccountsAllRequest$Outbound = {
97
+ raw: boolean;
98
+ consumerId?: string | undefined;
99
+ appId?: string | undefined;
100
+ serviceId?: string | undefined;
101
+ cursor?: string | null | undefined;
102
+ limit: number;
103
+ filter?: components.BankAccountsFilter$Outbound | undefined;
104
+ sort?: components.BankAccountsSort$Outbound | undefined;
105
+ pass_through?: {
106
+ [k: string]: any;
107
+ } | undefined;
108
+ fields?: string | null | undefined;
109
+ };
110
+ /** @internal */
111
+ export declare const AccountingBankAccountsAllRequest$outboundSchema: z.ZodType<AccountingBankAccountsAllRequest$Outbound, z.ZodTypeDef, AccountingBankAccountsAllRequest>;
112
+ /**
113
+ * @internal
114
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
115
+ */
116
+ export declare namespace AccountingBankAccountsAllRequest$ {
117
+ /** @deprecated use `AccountingBankAccountsAllRequest$inboundSchema` instead. */
118
+ const inboundSchema: z.ZodType<AccountingBankAccountsAllRequest, z.ZodTypeDef, unknown>;
119
+ /** @deprecated use `AccountingBankAccountsAllRequest$outboundSchema` instead. */
120
+ const outboundSchema: z.ZodType<AccountingBankAccountsAllRequest$Outbound, z.ZodTypeDef, AccountingBankAccountsAllRequest>;
121
+ /** @deprecated use `AccountingBankAccountsAllRequest$Outbound` instead. */
122
+ type Outbound = AccountingBankAccountsAllRequest$Outbound;
123
+ }
124
+ export declare function accountingBankAccountsAllRequestToJSON(accountingBankAccountsAllRequest: AccountingBankAccountsAllRequest): string;
125
+ export declare function accountingBankAccountsAllRequestFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsAllRequest, SDKValidationError>;
126
+ /** @internal */
127
+ export declare const AccountingBankAccountsAllResponse$inboundSchema: z.ZodType<AccountingBankAccountsAllResponse, z.ZodTypeDef, unknown>;
128
+ /** @internal */
129
+ export type AccountingBankAccountsAllResponse$Outbound = {
130
+ HttpMeta: components.HTTPMetadata$Outbound;
131
+ GetBankAccountsResponse?: components.GetBankAccountsResponse$Outbound | undefined;
132
+ UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
133
+ };
134
+ /** @internal */
135
+ export declare const AccountingBankAccountsAllResponse$outboundSchema: z.ZodType<AccountingBankAccountsAllResponse$Outbound, z.ZodTypeDef, AccountingBankAccountsAllResponse>;
136
+ /**
137
+ * @internal
138
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
139
+ */
140
+ export declare namespace AccountingBankAccountsAllResponse$ {
141
+ /** @deprecated use `AccountingBankAccountsAllResponse$inboundSchema` instead. */
142
+ const inboundSchema: z.ZodType<AccountingBankAccountsAllResponse, z.ZodTypeDef, unknown>;
143
+ /** @deprecated use `AccountingBankAccountsAllResponse$outboundSchema` instead. */
144
+ const outboundSchema: z.ZodType<AccountingBankAccountsAllResponse$Outbound, z.ZodTypeDef, AccountingBankAccountsAllResponse>;
145
+ /** @deprecated use `AccountingBankAccountsAllResponse$Outbound` instead. */
146
+ type Outbound = AccountingBankAccountsAllResponse$Outbound;
147
+ }
148
+ export declare function accountingBankAccountsAllResponseToJSON(accountingBankAccountsAllResponse: AccountingBankAccountsAllResponse): string;
149
+ export declare function accountingBankAccountsAllResponseFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsAllResponse, SDKValidationError>;
150
+ //# sourceMappingURL=accountingbankaccountsall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingbankaccountsall.d.ts","sourceRoot":"","sources":["../../src/models/operations/accountingbankaccountsall.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC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,QAAQ,GAAG,yCAAyC,CAAC;CAClE;AAED,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AAED,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE;AAED,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,uBAAuB,CAAC,EACpB,UAAU,CAAC,gCAAgC,GAC3C,SAAS,CAAC;IACd,uBAAuB,CAAC,EACpB,UAAU,CAAC,gCAAgC,GAC3C,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CAajC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kCAAkC,CAAC;IAClD,iFAAiF;IAC1E,MAAM,aAAa,qEAAkD,CAAC;IAC7E,kFAAkF;IAC3E,MAAM,cAAc,wGACuB,CAAC;IACnD,4EAA4E;IAC5E,KAAY,QAAQ,GAAG,0CAA0C,CAAC;CACnE;AAED,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
@@ -0,0 +1,173 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AccountingBankAccountsAllResponse$ = exports.AccountingBankAccountsAllResponse$outboundSchema = exports.AccountingBankAccountsAllResponse$inboundSchema = exports.AccountingBankAccountsAllRequest$ = exports.AccountingBankAccountsAllRequest$outboundSchema = exports.AccountingBankAccountsAllRequest$inboundSchema = exports.AccountingBankAccountsAllGlobals$ = exports.AccountingBankAccountsAllGlobals$outboundSchema = exports.AccountingBankAccountsAllGlobals$inboundSchema = void 0;
40
+ exports.accountingBankAccountsAllGlobalsToJSON = accountingBankAccountsAllGlobalsToJSON;
41
+ exports.accountingBankAccountsAllGlobalsFromJSON = accountingBankAccountsAllGlobalsFromJSON;
42
+ exports.accountingBankAccountsAllRequestToJSON = accountingBankAccountsAllRequestToJSON;
43
+ exports.accountingBankAccountsAllRequestFromJSON = accountingBankAccountsAllRequestFromJSON;
44
+ exports.accountingBankAccountsAllResponseToJSON = accountingBankAccountsAllResponseToJSON;
45
+ exports.accountingBankAccountsAllResponseFromJSON = accountingBankAccountsAllResponseFromJSON;
46
+ const z = __importStar(require("zod"));
47
+ const primitives_js_1 = require("../../lib/primitives.js");
48
+ const schemas_js_1 = require("../../lib/schemas.js");
49
+ const components = __importStar(require("../components/index.js"));
50
+ /** @internal */
51
+ exports.AccountingBankAccountsAllGlobals$inboundSchema = z.object({
52
+ consumerId: z.string().optional(),
53
+ appId: z.string().optional(),
54
+ });
55
+ /** @internal */
56
+ exports.AccountingBankAccountsAllGlobals$outboundSchema = z.object({
57
+ consumerId: z.string().optional(),
58
+ appId: z.string().optional(),
59
+ });
60
+ /**
61
+ * @internal
62
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
+ */
64
+ var AccountingBankAccountsAllGlobals$;
65
+ (function (AccountingBankAccountsAllGlobals$) {
66
+ /** @deprecated use `AccountingBankAccountsAllGlobals$inboundSchema` instead. */
67
+ AccountingBankAccountsAllGlobals$.inboundSchema = exports.AccountingBankAccountsAllGlobals$inboundSchema;
68
+ /** @deprecated use `AccountingBankAccountsAllGlobals$outboundSchema` instead. */
69
+ AccountingBankAccountsAllGlobals$.outboundSchema = exports.AccountingBankAccountsAllGlobals$outboundSchema;
70
+ })(AccountingBankAccountsAllGlobals$ || (exports.AccountingBankAccountsAllGlobals$ = AccountingBankAccountsAllGlobals$ = {}));
71
+ function accountingBankAccountsAllGlobalsToJSON(accountingBankAccountsAllGlobals) {
72
+ return JSON.stringify(exports.AccountingBankAccountsAllGlobals$outboundSchema.parse(accountingBankAccountsAllGlobals));
73
+ }
74
+ function accountingBankAccountsAllGlobalsFromJSON(jsonString) {
75
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsAllGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsAllGlobals' from JSON`);
76
+ }
77
+ /** @internal */
78
+ exports.AccountingBankAccountsAllRequest$inboundSchema = z.object({
79
+ raw: z.boolean().default(false),
80
+ consumerId: z.string().optional(),
81
+ appId: z.string().optional(),
82
+ serviceId: z.string().optional(),
83
+ cursor: z.nullable(z.string()).optional(),
84
+ limit: z.number().int().default(20),
85
+ filter: components.BankAccountsFilter$inboundSchema.optional(),
86
+ sort: components.BankAccountsSort$inboundSchema.optional(),
87
+ pass_through: z.record(z.any()).optional(),
88
+ fields: z.nullable(z.string()).optional(),
89
+ }).transform((v) => {
90
+ return (0, primitives_js_1.remap)(v, {
91
+ "pass_through": "passThrough",
92
+ });
93
+ });
94
+ /** @internal */
95
+ exports.AccountingBankAccountsAllRequest$outboundSchema = z.object({
96
+ raw: z.boolean().default(false),
97
+ consumerId: z.string().optional(),
98
+ appId: z.string().optional(),
99
+ serviceId: z.string().optional(),
100
+ cursor: z.nullable(z.string()).optional(),
101
+ limit: z.number().int().default(20),
102
+ filter: components.BankAccountsFilter$outboundSchema.optional(),
103
+ sort: components.BankAccountsSort$outboundSchema.optional(),
104
+ passThrough: z.record(z.any()).optional(),
105
+ fields: z.nullable(z.string()).optional(),
106
+ }).transform((v) => {
107
+ return (0, primitives_js_1.remap)(v, {
108
+ passThrough: "pass_through",
109
+ });
110
+ });
111
+ /**
112
+ * @internal
113
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
114
+ */
115
+ var AccountingBankAccountsAllRequest$;
116
+ (function (AccountingBankAccountsAllRequest$) {
117
+ /** @deprecated use `AccountingBankAccountsAllRequest$inboundSchema` instead. */
118
+ AccountingBankAccountsAllRequest$.inboundSchema = exports.AccountingBankAccountsAllRequest$inboundSchema;
119
+ /** @deprecated use `AccountingBankAccountsAllRequest$outboundSchema` instead. */
120
+ AccountingBankAccountsAllRequest$.outboundSchema = exports.AccountingBankAccountsAllRequest$outboundSchema;
121
+ })(AccountingBankAccountsAllRequest$ || (exports.AccountingBankAccountsAllRequest$ = AccountingBankAccountsAllRequest$ = {}));
122
+ function accountingBankAccountsAllRequestToJSON(accountingBankAccountsAllRequest) {
123
+ return JSON.stringify(exports.AccountingBankAccountsAllRequest$outboundSchema.parse(accountingBankAccountsAllRequest));
124
+ }
125
+ function accountingBankAccountsAllRequestFromJSON(jsonString) {
126
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsAllRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsAllRequest' from JSON`);
127
+ }
128
+ /** @internal */
129
+ exports.AccountingBankAccountsAllResponse$inboundSchema = z.object({
130
+ HttpMeta: components.HTTPMetadata$inboundSchema,
131
+ GetBankAccountsResponse: components.GetBankAccountsResponse$inboundSchema
132
+ .optional(),
133
+ UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
134
+ .optional(),
135
+ }).transform((v) => {
136
+ return (0, primitives_js_1.remap)(v, {
137
+ "HttpMeta": "httpMeta",
138
+ "GetBankAccountsResponse": "getBankAccountsResponse",
139
+ "UnexpectedErrorResponse": "unexpectedErrorResponse",
140
+ });
141
+ });
142
+ /** @internal */
143
+ exports.AccountingBankAccountsAllResponse$outboundSchema = z.object({
144
+ httpMeta: components.HTTPMetadata$outboundSchema,
145
+ getBankAccountsResponse: components.GetBankAccountsResponse$outboundSchema
146
+ .optional(),
147
+ unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
148
+ .optional(),
149
+ }).transform((v) => {
150
+ return (0, primitives_js_1.remap)(v, {
151
+ httpMeta: "HttpMeta",
152
+ getBankAccountsResponse: "GetBankAccountsResponse",
153
+ unexpectedErrorResponse: "UnexpectedErrorResponse",
154
+ });
155
+ });
156
+ /**
157
+ * @internal
158
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
159
+ */
160
+ var AccountingBankAccountsAllResponse$;
161
+ (function (AccountingBankAccountsAllResponse$) {
162
+ /** @deprecated use `AccountingBankAccountsAllResponse$inboundSchema` instead. */
163
+ AccountingBankAccountsAllResponse$.inboundSchema = exports.AccountingBankAccountsAllResponse$inboundSchema;
164
+ /** @deprecated use `AccountingBankAccountsAllResponse$outboundSchema` instead. */
165
+ AccountingBankAccountsAllResponse$.outboundSchema = exports.AccountingBankAccountsAllResponse$outboundSchema;
166
+ })(AccountingBankAccountsAllResponse$ || (exports.AccountingBankAccountsAllResponse$ = AccountingBankAccountsAllResponse$ = {}));
167
+ function accountingBankAccountsAllResponseToJSON(accountingBankAccountsAllResponse) {
168
+ return JSON.stringify(exports.AccountingBankAccountsAllResponse$outboundSchema.parse(accountingBankAccountsAllResponse));
169
+ }
170
+ function accountingBankAccountsAllResponseFromJSON(jsonString) {
171
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsAllResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsAllResponse' from JSON`);
172
+ }
173
+ //# sourceMappingURL=accountingbankaccountsall.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingbankaccountsall.js","sourceRoot":"","sources":["../../src/models/operations/accountingbankaccountsall.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkHH,wFAQC;AAED,4FAQC;AAyED,wFAQC;AAED,4FAQC;AAiED,0FAQC;AAED,8FAQC;AAhTD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAqErD,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,E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,UAAU,CAAC,2BAA2B;IAChD,uBAAuB,EAAE,UAAU,CAAC,sCAAsC;SACvE,QAAQ,EAAE;IACb,uBAAuB,EAAE,UAAU,CAAC,sCAAsC;SACvE,QAAQ,EAAE;CACd,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,UAAU;QACpB,uBAAuB,EAAE,yBAAyB;QAClD,uBAAuB,EAAE,yBAAyB;KACnD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kCAAkC,CAQlD;AARD,WAAiB,kCAAkC;IACjD,iFAAiF;IACpE,gDAAa,GAAG,uDAA+C,CAAC;IAC7E,kFAAkF;IACrE,iDAAc,GACzB,wDAAgD,CAAC;AAGrD,CAAC,EARgB,kCAAkC,kDAAlC,kCAAkC,QAQlD;AAED,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,yCAAyC,CACvD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uDAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,121 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type AccountingBankAccountsDeleteGlobals = {
6
+ /**
7
+ * ID of the consumer which you want to get or push data from
8
+ */
9
+ consumerId?: string | undefined;
10
+ /**
11
+ * The ID of your Unify application
12
+ */
13
+ appId?: string | undefined;
14
+ };
15
+ export type AccountingBankAccountsDeleteRequest = {
16
+ /**
17
+ * ID of the record you are acting upon.
18
+ */
19
+ id: string;
20
+ /**
21
+ * ID of the consumer which you want to get or push data from
22
+ */
23
+ consumerId?: string | undefined;
24
+ /**
25
+ * The ID of your Unify application
26
+ */
27
+ appId?: string | undefined;
28
+ /**
29
+ * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
30
+ */
31
+ serviceId?: string | undefined;
32
+ /**
33
+ * Include raw response. Mostly used for debugging purposes
34
+ */
35
+ raw?: boolean | undefined;
36
+ };
37
+ export type AccountingBankAccountsDeleteResponse = {
38
+ httpMeta: components.HTTPMetadata;
39
+ /**
40
+ * Bank Account deleted
41
+ */
42
+ deleteBankAccountResponse?: components.DeleteBankAccountResponse | undefined;
43
+ /**
44
+ * Unexpected error
45
+ */
46
+ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
47
+ };
48
+ /** @internal */
49
+ export declare const AccountingBankAccountsDeleteGlobals$inboundSchema: z.ZodType<AccountingBankAccountsDeleteGlobals, z.ZodTypeDef, unknown>;
50
+ /** @internal */
51
+ export type AccountingBankAccountsDeleteGlobals$Outbound = {
52
+ consumerId?: string | undefined;
53
+ appId?: string | undefined;
54
+ };
55
+ /** @internal */
56
+ export declare const AccountingBankAccountsDeleteGlobals$outboundSchema: z.ZodType<AccountingBankAccountsDeleteGlobals$Outbound, z.ZodTypeDef, AccountingBankAccountsDeleteGlobals>;
57
+ /**
58
+ * @internal
59
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
+ */
61
+ export declare namespace AccountingBankAccountsDeleteGlobals$ {
62
+ /** @deprecated use `AccountingBankAccountsDeleteGlobals$inboundSchema` instead. */
63
+ const inboundSchema: z.ZodType<AccountingBankAccountsDeleteGlobals, z.ZodTypeDef, unknown>;
64
+ /** @deprecated use `AccountingBankAccountsDeleteGlobals$outboundSchema` instead. */
65
+ const outboundSchema: z.ZodType<AccountingBankAccountsDeleteGlobals$Outbound, z.ZodTypeDef, AccountingBankAccountsDeleteGlobals>;
66
+ /** @deprecated use `AccountingBankAccountsDeleteGlobals$Outbound` instead. */
67
+ type Outbound = AccountingBankAccountsDeleteGlobals$Outbound;
68
+ }
69
+ export declare function accountingBankAccountsDeleteGlobalsToJSON(accountingBankAccountsDeleteGlobals: AccountingBankAccountsDeleteGlobals): string;
70
+ export declare function accountingBankAccountsDeleteGlobalsFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsDeleteGlobals, SDKValidationError>;
71
+ /** @internal */
72
+ export declare const AccountingBankAccountsDeleteRequest$inboundSchema: z.ZodType<AccountingBankAccountsDeleteRequest, z.ZodTypeDef, unknown>;
73
+ /** @internal */
74
+ export type AccountingBankAccountsDeleteRequest$Outbound = {
75
+ id: string;
76
+ consumerId?: string | undefined;
77
+ appId?: string | undefined;
78
+ serviceId?: string | undefined;
79
+ raw: boolean;
80
+ };
81
+ /** @internal */
82
+ export declare const AccountingBankAccountsDeleteRequest$outboundSchema: z.ZodType<AccountingBankAccountsDeleteRequest$Outbound, z.ZodTypeDef, AccountingBankAccountsDeleteRequest>;
83
+ /**
84
+ * @internal
85
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
86
+ */
87
+ export declare namespace AccountingBankAccountsDeleteRequest$ {
88
+ /** @deprecated use `AccountingBankAccountsDeleteRequest$inboundSchema` instead. */
89
+ const inboundSchema: z.ZodType<AccountingBankAccountsDeleteRequest, z.ZodTypeDef, unknown>;
90
+ /** @deprecated use `AccountingBankAccountsDeleteRequest$outboundSchema` instead. */
91
+ const outboundSchema: z.ZodType<AccountingBankAccountsDeleteRequest$Outbound, z.ZodTypeDef, AccountingBankAccountsDeleteRequest>;
92
+ /** @deprecated use `AccountingBankAccountsDeleteRequest$Outbound` instead. */
93
+ type Outbound = AccountingBankAccountsDeleteRequest$Outbound;
94
+ }
95
+ export declare function accountingBankAccountsDeleteRequestToJSON(accountingBankAccountsDeleteRequest: AccountingBankAccountsDeleteRequest): string;
96
+ export declare function accountingBankAccountsDeleteRequestFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsDeleteRequest, SDKValidationError>;
97
+ /** @internal */
98
+ export declare const AccountingBankAccountsDeleteResponse$inboundSchema: z.ZodType<AccountingBankAccountsDeleteResponse, z.ZodTypeDef, unknown>;
99
+ /** @internal */
100
+ export type AccountingBankAccountsDeleteResponse$Outbound = {
101
+ HttpMeta: components.HTTPMetadata$Outbound;
102
+ DeleteBankAccountResponse?: components.DeleteBankAccountResponse$Outbound | undefined;
103
+ UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
104
+ };
105
+ /** @internal */
106
+ export declare const AccountingBankAccountsDeleteResponse$outboundSchema: z.ZodType<AccountingBankAccountsDeleteResponse$Outbound, z.ZodTypeDef, AccountingBankAccountsDeleteResponse>;
107
+ /**
108
+ * @internal
109
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
110
+ */
111
+ export declare namespace AccountingBankAccountsDeleteResponse$ {
112
+ /** @deprecated use `AccountingBankAccountsDeleteResponse$inboundSchema` instead. */
113
+ const inboundSchema: z.ZodType<AccountingBankAccountsDeleteResponse, z.ZodTypeDef, unknown>;
114
+ /** @deprecated use `AccountingBankAccountsDeleteResponse$outboundSchema` instead. */
115
+ const outboundSchema: z.ZodType<AccountingBankAccountsDeleteResponse$Outbound, z.ZodTypeDef, AccountingBankAccountsDeleteResponse>;
116
+ /** @deprecated use `AccountingBankAccountsDeleteResponse$Outbound` instead. */
117
+ type Outbound = AccountingBankAccountsDeleteResponse$Outbound;
118
+ }
119
+ export declare function accountingBankAccountsDeleteResponseToJSON(accountingBankAccountsDeleteResponse: AccountingBankAccountsDeleteResponse): string;
120
+ export declare function accountingBankAccountsDeleteResponseFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsDeleteResponse, SDKValidationError>;
121
+ //# sourceMappingURL=accountingbankaccountsdelete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingbankacc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EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE;AAED,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E;AAED,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6CAA6C,GAAG;IAC1D,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,yBAAyB,CAAC,EACtB,UAAU,CAAC,kCAAkC,GAC7C,SAAS,CAAC;IACd,uBAAuB,CAAC,EACpB,UAAU,CAAC,gCAAgC,GAC3C,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,oCAAoC,CAapC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qCAAqC,CAAC;IACrD,oFAAoF;IAC7E,MAAM,aAAa,wEAC0B,CAAC;IACrD,qFAAqF;IAC9E,MAAM,cAAc,8GAC0B,CAAC;IACtD,+EAA+E;IAC/E,KAAY,QAAQ,GAAG,6CAA6C,CAAC;CACtE;AAED,wBAAgB,0CAA0C,CACxD,oCAAoC,EAAE,oCAAoC,GACzE,MAAM,CAMR;AAED,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oCAAoC,EAAE,kBAAkB,CAAC,CAO3E"}
@@ -0,0 +1,155 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AccountingBankAccountsDeleteResponse$ = exports.AccountingBankAccountsDeleteResponse$outboundSchema = exports.AccountingBankAccountsDeleteResponse$inboundSchema = exports.AccountingBankAccountsDeleteRequest$ = exports.AccountingBankAccountsDeleteRequest$outboundSchema = exports.AccountingBankAccountsDeleteRequest$inboundSchema = exports.AccountingBankAccountsDeleteGlobals$ = exports.AccountingBankAccountsDeleteGlobals$outboundSchema = exports.AccountingBankAccountsDeleteGlobals$inboundSchema = void 0;
40
+ exports.accountingBankAccountsDeleteGlobalsToJSON = accountingBankAccountsDeleteGlobalsToJSON;
41
+ exports.accountingBankAccountsDeleteGlobalsFromJSON = accountingBankAccountsDeleteGlobalsFromJSON;
42
+ exports.accountingBankAccountsDeleteRequestToJSON = accountingBankAccountsDeleteRequestToJSON;
43
+ exports.accountingBankAccountsDeleteRequestFromJSON = accountingBankAccountsDeleteRequestFromJSON;
44
+ exports.accountingBankAccountsDeleteResponseToJSON = accountingBankAccountsDeleteResponseToJSON;
45
+ exports.accountingBankAccountsDeleteResponseFromJSON = accountingBankAccountsDeleteResponseFromJSON;
46
+ const z = __importStar(require("zod"));
47
+ const primitives_js_1 = require("../../lib/primitives.js");
48
+ const schemas_js_1 = require("../../lib/schemas.js");
49
+ const components = __importStar(require("../components/index.js"));
50
+ /** @internal */
51
+ exports.AccountingBankAccountsDeleteGlobals$inboundSchema = z.object({
52
+ consumerId: z.string().optional(),
53
+ appId: z.string().optional(),
54
+ });
55
+ /** @internal */
56
+ exports.AccountingBankAccountsDeleteGlobals$outboundSchema = z.object({
57
+ consumerId: z.string().optional(),
58
+ appId: z.string().optional(),
59
+ });
60
+ /**
61
+ * @internal
62
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
+ */
64
+ var AccountingBankAccountsDeleteGlobals$;
65
+ (function (AccountingBankAccountsDeleteGlobals$) {
66
+ /** @deprecated use `AccountingBankAccountsDeleteGlobals$inboundSchema` instead. */
67
+ AccountingBankAccountsDeleteGlobals$.inboundSchema = exports.AccountingBankAccountsDeleteGlobals$inboundSchema;
68
+ /** @deprecated use `AccountingBankAccountsDeleteGlobals$outboundSchema` instead. */
69
+ AccountingBankAccountsDeleteGlobals$.outboundSchema = exports.AccountingBankAccountsDeleteGlobals$outboundSchema;
70
+ })(AccountingBankAccountsDeleteGlobals$ || (exports.AccountingBankAccountsDeleteGlobals$ = AccountingBankAccountsDeleteGlobals$ = {}));
71
+ function accountingBankAccountsDeleteGlobalsToJSON(accountingBankAccountsDeleteGlobals) {
72
+ return JSON.stringify(exports.AccountingBankAccountsDeleteGlobals$outboundSchema.parse(accountingBankAccountsDeleteGlobals));
73
+ }
74
+ function accountingBankAccountsDeleteGlobalsFromJSON(jsonString) {
75
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsDeleteGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsDeleteGlobals' from JSON`);
76
+ }
77
+ /** @internal */
78
+ exports.AccountingBankAccountsDeleteRequest$inboundSchema = z.object({
79
+ id: z.string(),
80
+ consumerId: z.string().optional(),
81
+ appId: z.string().optional(),
82
+ serviceId: z.string().optional(),
83
+ raw: z.boolean().default(false),
84
+ });
85
+ /** @internal */
86
+ exports.AccountingBankAccountsDeleteRequest$outboundSchema = z.object({
87
+ id: z.string(),
88
+ consumerId: z.string().optional(),
89
+ appId: z.string().optional(),
90
+ serviceId: z.string().optional(),
91
+ raw: z.boolean().default(false),
92
+ });
93
+ /**
94
+ * @internal
95
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
96
+ */
97
+ var AccountingBankAccountsDeleteRequest$;
98
+ (function (AccountingBankAccountsDeleteRequest$) {
99
+ /** @deprecated use `AccountingBankAccountsDeleteRequest$inboundSchema` instead. */
100
+ AccountingBankAccountsDeleteRequest$.inboundSchema = exports.AccountingBankAccountsDeleteRequest$inboundSchema;
101
+ /** @deprecated use `AccountingBankAccountsDeleteRequest$outboundSchema` instead. */
102
+ AccountingBankAccountsDeleteRequest$.outboundSchema = exports.AccountingBankAccountsDeleteRequest$outboundSchema;
103
+ })(AccountingBankAccountsDeleteRequest$ || (exports.AccountingBankAccountsDeleteRequest$ = AccountingBankAccountsDeleteRequest$ = {}));
104
+ function accountingBankAccountsDeleteRequestToJSON(accountingBankAccountsDeleteRequest) {
105
+ return JSON.stringify(exports.AccountingBankAccountsDeleteRequest$outboundSchema.parse(accountingBankAccountsDeleteRequest));
106
+ }
107
+ function accountingBankAccountsDeleteRequestFromJSON(jsonString) {
108
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsDeleteRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsDeleteRequest' from JSON`);
109
+ }
110
+ /** @internal */
111
+ exports.AccountingBankAccountsDeleteResponse$inboundSchema = z.object({
112
+ HttpMeta: components.HTTPMetadata$inboundSchema,
113
+ DeleteBankAccountResponse: components.DeleteBankAccountResponse$inboundSchema
114
+ .optional(),
115
+ UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
116
+ .optional(),
117
+ }).transform((v) => {
118
+ return (0, primitives_js_1.remap)(v, {
119
+ "HttpMeta": "httpMeta",
120
+ "DeleteBankAccountResponse": "deleteBankAccountResponse",
121
+ "UnexpectedErrorResponse": "unexpectedErrorResponse",
122
+ });
123
+ });
124
+ /** @internal */
125
+ exports.AccountingBankAccountsDeleteResponse$outboundSchema = z.object({
126
+ httpMeta: components.HTTPMetadata$outboundSchema,
127
+ deleteBankAccountResponse: components.DeleteBankAccountResponse$outboundSchema
128
+ .optional(),
129
+ unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
130
+ .optional(),
131
+ }).transform((v) => {
132
+ return (0, primitives_js_1.remap)(v, {
133
+ httpMeta: "HttpMeta",
134
+ deleteBankAccountResponse: "DeleteBankAccountResponse",
135
+ unexpectedErrorResponse: "UnexpectedErrorResponse",
136
+ });
137
+ });
138
+ /**
139
+ * @internal
140
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
141
+ */
142
+ var AccountingBankAccountsDeleteResponse$;
143
+ (function (AccountingBankAccountsDeleteResponse$) {
144
+ /** @deprecated use `AccountingBankAccountsDeleteResponse$inboundSchema` instead. */
145
+ AccountingBankAccountsDeleteResponse$.inboundSchema = exports.AccountingBankAccountsDeleteResponse$inboundSchema;
146
+ /** @deprecated use `AccountingBankAccountsDeleteResponse$outboundSchema` instead. */
147
+ AccountingBankAccountsDeleteResponse$.outboundSchema = exports.AccountingBankAccountsDeleteResponse$outboundSchema;
148
+ })(AccountingBankAccountsDeleteResponse$ || (exports.AccountingBankAccountsDeleteResponse$ = AccountingBankAccountsDeleteResponse$ = {}));
149
+ function accountingBankAccountsDeleteResponseToJSON(accountingBankAccountsDeleteResponse) {
150
+ return JSON.stringify(exports.AccountingBankAccountsDeleteResponse$outboundSchema.parse(accountingBankAccountsDeleteResponse));
151
+ }
152
+ function accountingBankAccountsDeleteResponseFromJSON(jsonString) {
153
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsDeleteResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsDeleteResponse' from JSON`);
154
+ }
155
+ //# sourceMappingURL=accountingbankaccountsdelete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingbankaccountsdelete.js","sourceRoot":"","sources":["../../src/models/operations/accountingbankaccountsdelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGH,8FAQC;AAED,kGASC;AAoDD,8FAQC;AAED,kGASC;AAkED,gGAQC;AAED,oGASC;AA7QD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAiDrD,gBAAgB;AACH,QAAA,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,kDAAkD,GAI3D,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oCAAoC,CASpD;AATD,WAAiB,oCAAoC;IACnD,mFAAmF;IACtE,kDAAa,GACxB,yDAAiD,CAAC;IACpD,oFAAoF;IACvE,mDAAc,G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