@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.
- package/README.md +14 -1
- package/docs/sdks/bankaccounts/README.md +564 -0
- package/examples/accountingTaxRatesList.example.ts +1 -1
- package/examples/package-lock.json +1 -1
- package/funcs/accountingBankAccountsCreate.d.ts +18 -0
- package/funcs/accountingBankAccountsCreate.d.ts.map +1 -0
- package/funcs/accountingBankAccountsCreate.js +139 -0
- package/funcs/accountingBankAccountsCreate.js.map +1 -0
- package/funcs/accountingBankAccountsDelete.d.ts +18 -0
- package/funcs/accountingBankAccountsDelete.d.ts.map +1 -0
- package/funcs/accountingBankAccountsDelete.js +142 -0
- package/funcs/accountingBankAccountsDelete.js.map +1 -0
- package/funcs/accountingBankAccountsGet.d.ts +18 -0
- package/funcs/accountingBankAccountsGet.d.ts.map +1 -0
- package/funcs/accountingBankAccountsGet.js +143 -0
- package/funcs/accountingBankAccountsGet.js.map +1 -0
- package/funcs/accountingBankAccountsList.d.ts +21 -0
- package/funcs/accountingBankAccountsList.d.ts.map +1 -0
- package/funcs/accountingBankAccountsList.js +168 -0
- package/funcs/accountingBankAccountsList.js.map +1 -0
- package/funcs/accountingBankAccountsUpdate.d.ts +18 -0
- package/funcs/accountingBankAccountsUpdate.d.ts.map +1 -0
- package/funcs/accountingBankAccountsUpdate.js +145 -0
- package/funcs/accountingBankAccountsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/models/components/accountingbankaccount.d.ts +348 -0
- package/models/components/accountingbankaccount.d.ts.map +1 -0
- package/models/components/accountingbankaccount.js +298 -0
- package/models/components/accountingbankaccount.js.map +1 -0
- package/models/components/bankaccountsfilter.d.ts +72 -0
- package/models/components/bankaccountsfilter.d.ts.map +1 -0
- package/models/components/bankaccountsfilter.js +94 -0
- package/models/components/bankaccountsfilter.js.map +1 -0
- package/models/components/bankaccountssort.d.ts +70 -0
- package/models/components/bankaccountssort.d.ts.map +1 -0
- package/models/components/bankaccountssort.js +95 -0
- package/models/components/bankaccountssort.js.map +1 -0
- package/models/components/createbankaccountresponse.d.ts +61 -0
- package/models/components/createbankaccountresponse.d.ts.map +1 -0
- package/models/components/createbankaccountresponse.js +89 -0
- package/models/components/createbankaccountresponse.js.map +1 -0
- package/models/components/deletebankaccountresponse.d.ts +61 -0
- package/models/components/deletebankaccountresponse.d.ts.map +1 -0
- package/models/components/deletebankaccountresponse.js +89 -0
- package/models/components/deletebankaccountresponse.js.map +1 -0
- package/models/components/getbankaccountresponse.d.ts +58 -0
- package/models/components/getbankaccountresponse.d.ts.map +1 -0
- package/models/components/getbankaccountresponse.js +89 -0
- package/models/components/getbankaccountresponse.js.map +1 -0
- package/models/components/getbankaccountsresponse.d.ts +70 -0
- package/models/components/getbankaccountsresponse.d.ts.map +1 -0
- package/models/components/getbankaccountsresponse.js +95 -0
- package/models/components/getbankaccountsresponse.js.map +1 -0
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/logsfilter.d.ts +8 -0
- package/models/components/logsfilter.d.ts.map +1 -1
- package/models/components/logsfilter.js +4 -0
- package/models/components/logsfilter.js.map +1 -1
- package/models/components/updatebankaccountresponse.d.ts +61 -0
- package/models/components/updatebankaccountresponse.d.ts.map +1 -0
- package/models/components/updatebankaccountresponse.js +89 -0
- package/models/components/updatebankaccountresponse.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/accountingbankaccountsadd.d.ts +118 -0
- package/models/operations/accountingbankaccountsadd.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsadd.js +163 -0
- package/models/operations/accountingbankaccountsadd.js.map +1 -0
- package/models/operations/accountingbankaccountsall.d.ts +150 -0
- package/models/operations/accountingbankaccountsall.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsall.js +173 -0
- package/models/operations/accountingbankaccountsall.js.map +1 -0
- package/models/operations/accountingbankaccountsdelete.d.ts +121 -0
- package/models/operations/accountingbankaccountsdelete.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsdelete.js +155 -0
- package/models/operations/accountingbankaccountsdelete.js.map +1 -0
- package/models/operations/accountingbankaccountsone.d.ts +126 -0
- package/models/operations/accountingbankaccountsone.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsone.js +157 -0
- package/models/operations/accountingbankaccountsone.js.map +1 -0
- package/models/operations/accountingbankaccountsupdate.d.ts +123 -0
- package/models/operations/accountingbankaccountsupdate.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsupdate.js +165 -0
- package/models/operations/accountingbankaccountsupdate.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/accounting.d.ts +3 -0
- package/sdk/accounting.d.ts.map +1 -1
- package/sdk/accounting.js +4 -0
- package/sdk/accounting.js.map +1 -1
- package/sdk/bankaccounts.d.ts +43 -0
- package/sdk/bankaccounts.d.ts.map +1 -0
- package/sdk/bankaccounts.js +63 -0
- package/sdk/bankaccounts.js.map +1 -0
- package/src/__tests__/bankaccounts.test.ts +293 -0
- package/src/funcs/accountingBankAccountsCreate.ts +225 -0
- package/src/funcs/accountingBankAccountsDelete.ts +231 -0
- package/src/funcs/accountingBankAccountsGet.ts +230 -0
- package/src/funcs/accountingBankAccountsList.ts +303 -0
- package/src/funcs/accountingBankAccountsUpdate.ts +234 -0
- package/src/lib/config.ts +4 -4
- package/src/models/components/accountingbankaccount.ts +576 -0
- package/src/models/components/bankaccountsfilter.ts +113 -0
- package/src/models/components/bankaccountssort.ts +113 -0
- package/src/models/components/createbankaccountresponse.ts +122 -0
- package/src/models/components/deletebankaccountresponse.ts +122 -0
- package/src/models/components/getbankaccountresponse.ts +119 -0
- package/src/models/components/getbankaccountsresponse.ts +145 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/logsfilter.ts +12 -0
- package/src/models/components/updatebankaccountresponse.ts +122 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/accountingbankaccountsadd.ts +271 -0
- package/src/models/operations/accountingbankaccountsall.ts +309 -0
- package/src/models/operations/accountingbankaccountsdelete.ts +274 -0
- package/src/models/operations/accountingbankaccountsone.ts +273 -0
- package/src/models/operations/accountingbankaccountsupdate.ts +286 -0
- package/src/models/operations/index.ts +5 -0
- package/src/sdk/accounting.ts +6 -0
- package/src/sdk/bankaccounts.ts +105 -0
|
@@ -0,0 +1,126 @@
|
|
|
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 AccountingBankAccountsOneGlobals = {
|
|
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 AccountingBankAccountsOneRequest = {
|
|
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
|
+
* 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.
|
|
38
|
+
*/
|
|
39
|
+
fields?: string | null | undefined;
|
|
40
|
+
};
|
|
41
|
+
export type AccountingBankAccountsOneResponse = {
|
|
42
|
+
httpMeta: components.HTTPMetadata;
|
|
43
|
+
/**
|
|
44
|
+
* Bank Account
|
|
45
|
+
*/
|
|
46
|
+
getBankAccountResponse?: components.GetBankAccountResponse | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Unexpected error
|
|
49
|
+
*/
|
|
50
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const AccountingBankAccountsOneGlobals$inboundSchema: z.ZodType<AccountingBankAccountsOneGlobals, z.ZodTypeDef, unknown>;
|
|
54
|
+
/** @internal */
|
|
55
|
+
export type AccountingBankAccountsOneGlobals$Outbound = {
|
|
56
|
+
consumerId?: string | undefined;
|
|
57
|
+
appId?: string | undefined;
|
|
58
|
+
};
|
|
59
|
+
/** @internal */
|
|
60
|
+
export declare const AccountingBankAccountsOneGlobals$outboundSchema: z.ZodType<AccountingBankAccountsOneGlobals$Outbound, z.ZodTypeDef, AccountingBankAccountsOneGlobals>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
+
*/
|
|
65
|
+
export declare namespace AccountingBankAccountsOneGlobals$ {
|
|
66
|
+
/** @deprecated use `AccountingBankAccountsOneGlobals$inboundSchema` instead. */
|
|
67
|
+
const inboundSchema: z.ZodType<AccountingBankAccountsOneGlobals, z.ZodTypeDef, unknown>;
|
|
68
|
+
/** @deprecated use `AccountingBankAccountsOneGlobals$outboundSchema` instead. */
|
|
69
|
+
const outboundSchema: z.ZodType<AccountingBankAccountsOneGlobals$Outbound, z.ZodTypeDef, AccountingBankAccountsOneGlobals>;
|
|
70
|
+
/** @deprecated use `AccountingBankAccountsOneGlobals$Outbound` instead. */
|
|
71
|
+
type Outbound = AccountingBankAccountsOneGlobals$Outbound;
|
|
72
|
+
}
|
|
73
|
+
export declare function accountingBankAccountsOneGlobalsToJSON(accountingBankAccountsOneGlobals: AccountingBankAccountsOneGlobals): string;
|
|
74
|
+
export declare function accountingBankAccountsOneGlobalsFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsOneGlobals, SDKValidationError>;
|
|
75
|
+
/** @internal */
|
|
76
|
+
export declare const AccountingBankAccountsOneRequest$inboundSchema: z.ZodType<AccountingBankAccountsOneRequest, z.ZodTypeDef, unknown>;
|
|
77
|
+
/** @internal */
|
|
78
|
+
export type AccountingBankAccountsOneRequest$Outbound = {
|
|
79
|
+
id: string;
|
|
80
|
+
consumerId?: string | undefined;
|
|
81
|
+
appId?: string | undefined;
|
|
82
|
+
serviceId?: string | undefined;
|
|
83
|
+
raw: boolean;
|
|
84
|
+
fields?: string | null | undefined;
|
|
85
|
+
};
|
|
86
|
+
/** @internal */
|
|
87
|
+
export declare const AccountingBankAccountsOneRequest$outboundSchema: z.ZodType<AccountingBankAccountsOneRequest$Outbound, z.ZodTypeDef, AccountingBankAccountsOneRequest>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
91
|
+
*/
|
|
92
|
+
export declare namespace AccountingBankAccountsOneRequest$ {
|
|
93
|
+
/** @deprecated use `AccountingBankAccountsOneRequest$inboundSchema` instead. */
|
|
94
|
+
const inboundSchema: z.ZodType<AccountingBankAccountsOneRequest, z.ZodTypeDef, unknown>;
|
|
95
|
+
/** @deprecated use `AccountingBankAccountsOneRequest$outboundSchema` instead. */
|
|
96
|
+
const outboundSchema: z.ZodType<AccountingBankAccountsOneRequest$Outbound, z.ZodTypeDef, AccountingBankAccountsOneRequest>;
|
|
97
|
+
/** @deprecated use `AccountingBankAccountsOneRequest$Outbound` instead. */
|
|
98
|
+
type Outbound = AccountingBankAccountsOneRequest$Outbound;
|
|
99
|
+
}
|
|
100
|
+
export declare function accountingBankAccountsOneRequestToJSON(accountingBankAccountsOneRequest: AccountingBankAccountsOneRequest): string;
|
|
101
|
+
export declare function accountingBankAccountsOneRequestFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsOneRequest, SDKValidationError>;
|
|
102
|
+
/** @internal */
|
|
103
|
+
export declare const AccountingBankAccountsOneResponse$inboundSchema: z.ZodType<AccountingBankAccountsOneResponse, z.ZodTypeDef, unknown>;
|
|
104
|
+
/** @internal */
|
|
105
|
+
export type AccountingBankAccountsOneResponse$Outbound = {
|
|
106
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
107
|
+
GetBankAccountResponse?: components.GetBankAccountResponse$Outbound | undefined;
|
|
108
|
+
UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
|
|
109
|
+
};
|
|
110
|
+
/** @internal */
|
|
111
|
+
export declare const AccountingBankAccountsOneResponse$outboundSchema: z.ZodType<AccountingBankAccountsOneResponse$Outbound, z.ZodTypeDef, AccountingBankAccountsOneResponse>;
|
|
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 AccountingBankAccountsOneResponse$ {
|
|
117
|
+
/** @deprecated use `AccountingBankAccountsOneResponse$inboundSchema` instead. */
|
|
118
|
+
const inboundSchema: z.ZodType<AccountingBankAccountsOneResponse, z.ZodTypeDef, unknown>;
|
|
119
|
+
/** @deprecated use `AccountingBankAccountsOneResponse$outboundSchema` instead. */
|
|
120
|
+
const outboundSchema: z.ZodType<AccountingBankAccountsOneResponse$Outbound, z.ZodTypeDef, AccountingBankAccountsOneResponse>;
|
|
121
|
+
/** @deprecated use `AccountingBankAccountsOneResponse$Outbound` instead. */
|
|
122
|
+
type Outbound = AccountingBankAccountsOneResponse$Outbound;
|
|
123
|
+
}
|
|
124
|
+
export declare function accountingBankAccountsOneResponseToJSON(accountingBankAccountsOneResponse: AccountingBankAccountsOneResponse): string;
|
|
125
|
+
export declare function accountingBankAccountsOneResponseFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsOneResponse, SDKValidationError>;
|
|
126
|
+
//# sourceMappingURL=accountingbankaccountsone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingbankaccountsone.d.ts","sourceRoot":"","sources":["../../src/models/operations/accountingbankaccountsone.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,EAAE,EAAE,MAAM,CAAC;IACX;;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,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AU,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,157 @@
|
|
|
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.AccountingBankAccountsOneResponse$ = exports.AccountingBankAccountsOneResponse$outboundSchema = exports.AccountingBankAccountsOneResponse$inboundSchema = exports.AccountingBankAccountsOneRequest$ = exports.AccountingBankAccountsOneRequest$outboundSchema = exports.AccountingBankAccountsOneRequest$inboundSchema = exports.AccountingBankAccountsOneGlobals$ = exports.AccountingBankAccountsOneGlobals$outboundSchema = exports.AccountingBankAccountsOneGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.accountingBankAccountsOneGlobalsToJSON = accountingBankAccountsOneGlobalsToJSON;
|
|
41
|
+
exports.accountingBankAccountsOneGlobalsFromJSON = accountingBankAccountsOneGlobalsFromJSON;
|
|
42
|
+
exports.accountingBankAccountsOneRequestToJSON = accountingBankAccountsOneRequestToJSON;
|
|
43
|
+
exports.accountingBankAccountsOneRequestFromJSON = accountingBankAccountsOneRequestFromJSON;
|
|
44
|
+
exports.accountingBankAccountsOneResponseToJSON = accountingBankAccountsOneResponseToJSON;
|
|
45
|
+
exports.accountingBankAccountsOneResponseFromJSON = accountingBankAccountsOneResponseFromJSON;
|
|
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.AccountingBankAccountsOneGlobals$inboundSchema = z.object({
|
|
52
|
+
consumerId: z.string().optional(),
|
|
53
|
+
appId: z.string().optional(),
|
|
54
|
+
});
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.AccountingBankAccountsOneGlobals$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 AccountingBankAccountsOneGlobals$;
|
|
65
|
+
(function (AccountingBankAccountsOneGlobals$) {
|
|
66
|
+
/** @deprecated use `AccountingBankAccountsOneGlobals$inboundSchema` instead. */
|
|
67
|
+
AccountingBankAccountsOneGlobals$.inboundSchema = exports.AccountingBankAccountsOneGlobals$inboundSchema;
|
|
68
|
+
/** @deprecated use `AccountingBankAccountsOneGlobals$outboundSchema` instead. */
|
|
69
|
+
AccountingBankAccountsOneGlobals$.outboundSchema = exports.AccountingBankAccountsOneGlobals$outboundSchema;
|
|
70
|
+
})(AccountingBankAccountsOneGlobals$ || (exports.AccountingBankAccountsOneGlobals$ = AccountingBankAccountsOneGlobals$ = {}));
|
|
71
|
+
function accountingBankAccountsOneGlobalsToJSON(accountingBankAccountsOneGlobals) {
|
|
72
|
+
return JSON.stringify(exports.AccountingBankAccountsOneGlobals$outboundSchema.parse(accountingBankAccountsOneGlobals));
|
|
73
|
+
}
|
|
74
|
+
function accountingBankAccountsOneGlobalsFromJSON(jsonString) {
|
|
75
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsOneGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsOneGlobals' from JSON`);
|
|
76
|
+
}
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.AccountingBankAccountsOneRequest$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
|
+
fields: z.nullable(z.string()).optional(),
|
|
85
|
+
});
|
|
86
|
+
/** @internal */
|
|
87
|
+
exports.AccountingBankAccountsOneRequest$outboundSchema = z.object({
|
|
88
|
+
id: z.string(),
|
|
89
|
+
consumerId: z.string().optional(),
|
|
90
|
+
appId: z.string().optional(),
|
|
91
|
+
serviceId: z.string().optional(),
|
|
92
|
+
raw: z.boolean().default(false),
|
|
93
|
+
fields: z.nullable(z.string()).optional(),
|
|
94
|
+
});
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
+
*/
|
|
99
|
+
var AccountingBankAccountsOneRequest$;
|
|
100
|
+
(function (AccountingBankAccountsOneRequest$) {
|
|
101
|
+
/** @deprecated use `AccountingBankAccountsOneRequest$inboundSchema` instead. */
|
|
102
|
+
AccountingBankAccountsOneRequest$.inboundSchema = exports.AccountingBankAccountsOneRequest$inboundSchema;
|
|
103
|
+
/** @deprecated use `AccountingBankAccountsOneRequest$outboundSchema` instead. */
|
|
104
|
+
AccountingBankAccountsOneRequest$.outboundSchema = exports.AccountingBankAccountsOneRequest$outboundSchema;
|
|
105
|
+
})(AccountingBankAccountsOneRequest$ || (exports.AccountingBankAccountsOneRequest$ = AccountingBankAccountsOneRequest$ = {}));
|
|
106
|
+
function accountingBankAccountsOneRequestToJSON(accountingBankAccountsOneRequest) {
|
|
107
|
+
return JSON.stringify(exports.AccountingBankAccountsOneRequest$outboundSchema.parse(accountingBankAccountsOneRequest));
|
|
108
|
+
}
|
|
109
|
+
function accountingBankAccountsOneRequestFromJSON(jsonString) {
|
|
110
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsOneRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsOneRequest' from JSON`);
|
|
111
|
+
}
|
|
112
|
+
/** @internal */
|
|
113
|
+
exports.AccountingBankAccountsOneResponse$inboundSchema = z.object({
|
|
114
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
115
|
+
GetBankAccountResponse: components.GetBankAccountResponse$inboundSchema
|
|
116
|
+
.optional(),
|
|
117
|
+
UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
|
|
118
|
+
.optional(),
|
|
119
|
+
}).transform((v) => {
|
|
120
|
+
return (0, primitives_js_1.remap)(v, {
|
|
121
|
+
"HttpMeta": "httpMeta",
|
|
122
|
+
"GetBankAccountResponse": "getBankAccountResponse",
|
|
123
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
/** @internal */
|
|
127
|
+
exports.AccountingBankAccountsOneResponse$outboundSchema = z.object({
|
|
128
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
129
|
+
getBankAccountResponse: components.GetBankAccountResponse$outboundSchema
|
|
130
|
+
.optional(),
|
|
131
|
+
unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
|
|
132
|
+
.optional(),
|
|
133
|
+
}).transform((v) => {
|
|
134
|
+
return (0, primitives_js_1.remap)(v, {
|
|
135
|
+
httpMeta: "HttpMeta",
|
|
136
|
+
getBankAccountResponse: "GetBankAccountResponse",
|
|
137
|
+
unexpectedErrorResponse: "UnexpectedErrorResponse",
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
143
|
+
*/
|
|
144
|
+
var AccountingBankAccountsOneResponse$;
|
|
145
|
+
(function (AccountingBankAccountsOneResponse$) {
|
|
146
|
+
/** @deprecated use `AccountingBankAccountsOneResponse$inboundSchema` instead. */
|
|
147
|
+
AccountingBankAccountsOneResponse$.inboundSchema = exports.AccountingBankAccountsOneResponse$inboundSchema;
|
|
148
|
+
/** @deprecated use `AccountingBankAccountsOneResponse$outboundSchema` instead. */
|
|
149
|
+
AccountingBankAccountsOneResponse$.outboundSchema = exports.AccountingBankAccountsOneResponse$outboundSchema;
|
|
150
|
+
})(AccountingBankAccountsOneResponse$ || (exports.AccountingBankAccountsOneResponse$ = AccountingBankAccountsOneResponse$ = {}));
|
|
151
|
+
function accountingBankAccountsOneResponseToJSON(accountingBankAccountsOneResponse) {
|
|
152
|
+
return JSON.stringify(exports.AccountingBankAccountsOneResponse$outboundSchema.parse(accountingBankAccountsOneResponse));
|
|
153
|
+
}
|
|
154
|
+
function accountingBankAccountsOneResponseFromJSON(jsonString) {
|
|
155
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsOneResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsOneResponse' from JSON`);
|
|
156
|
+
}
|
|
157
|
+
//# sourceMappingURL=accountingbankaccountsone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingbankaccountsone.js","sourceRoot":"","sources":["../../src/models/operations/accountingbankaccountsone.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkGH,wFAQC;AAED,4FAQC;AAqDD,wFAQC;AAED,4FAQC;AAiED,0FAQC;AAED,8FAQC;AA5QD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAqDrD,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAA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ACV,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,123 @@
|
|
|
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 AccountingBankAccountsUpdateGlobals = {
|
|
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 AccountingBankAccountsUpdateRequest = {
|
|
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
|
+
accountingBankAccount: components.AccountingBankAccountInput;
|
|
37
|
+
};
|
|
38
|
+
export type AccountingBankAccountsUpdateResponse = {
|
|
39
|
+
httpMeta: components.HTTPMetadata;
|
|
40
|
+
/**
|
|
41
|
+
* Bank Account updated
|
|
42
|
+
*/
|
|
43
|
+
updateBankAccountResponse?: components.UpdateBankAccountResponse | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Unexpected error
|
|
46
|
+
*/
|
|
47
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const AccountingBankAccountsUpdateGlobals$inboundSchema: z.ZodType<AccountingBankAccountsUpdateGlobals, z.ZodTypeDef, unknown>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export type AccountingBankAccountsUpdateGlobals$Outbound = {
|
|
53
|
+
consumerId?: string | undefined;
|
|
54
|
+
appId?: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
/** @internal */
|
|
57
|
+
export declare const AccountingBankAccountsUpdateGlobals$outboundSchema: z.ZodType<AccountingBankAccountsUpdateGlobals$Outbound, z.ZodTypeDef, AccountingBankAccountsUpdateGlobals>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
export declare namespace AccountingBankAccountsUpdateGlobals$ {
|
|
63
|
+
/** @deprecated use `AccountingBankAccountsUpdateGlobals$inboundSchema` instead. */
|
|
64
|
+
const inboundSchema: z.ZodType<AccountingBankAccountsUpdateGlobals, z.ZodTypeDef, unknown>;
|
|
65
|
+
/** @deprecated use `AccountingBankAccountsUpdateGlobals$outboundSchema` instead. */
|
|
66
|
+
const outboundSchema: z.ZodType<AccountingBankAccountsUpdateGlobals$Outbound, z.ZodTypeDef, AccountingBankAccountsUpdateGlobals>;
|
|
67
|
+
/** @deprecated use `AccountingBankAccountsUpdateGlobals$Outbound` instead. */
|
|
68
|
+
type Outbound = AccountingBankAccountsUpdateGlobals$Outbound;
|
|
69
|
+
}
|
|
70
|
+
export declare function accountingBankAccountsUpdateGlobalsToJSON(accountingBankAccountsUpdateGlobals: AccountingBankAccountsUpdateGlobals): string;
|
|
71
|
+
export declare function accountingBankAccountsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsUpdateGlobals, SDKValidationError>;
|
|
72
|
+
/** @internal */
|
|
73
|
+
export declare const AccountingBankAccountsUpdateRequest$inboundSchema: z.ZodType<AccountingBankAccountsUpdateRequest, z.ZodTypeDef, unknown>;
|
|
74
|
+
/** @internal */
|
|
75
|
+
export type AccountingBankAccountsUpdateRequest$Outbound = {
|
|
76
|
+
id: string;
|
|
77
|
+
consumerId?: string | undefined;
|
|
78
|
+
appId?: string | undefined;
|
|
79
|
+
serviceId?: string | undefined;
|
|
80
|
+
raw: boolean;
|
|
81
|
+
AccountingBankAccount: components.AccountingBankAccountInput$Outbound;
|
|
82
|
+
};
|
|
83
|
+
/** @internal */
|
|
84
|
+
export declare const AccountingBankAccountsUpdateRequest$outboundSchema: z.ZodType<AccountingBankAccountsUpdateRequest$Outbound, z.ZodTypeDef, AccountingBankAccountsUpdateRequest>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
export declare namespace AccountingBankAccountsUpdateRequest$ {
|
|
90
|
+
/** @deprecated use `AccountingBankAccountsUpdateRequest$inboundSchema` instead. */
|
|
91
|
+
const inboundSchema: z.ZodType<AccountingBankAccountsUpdateRequest, z.ZodTypeDef, unknown>;
|
|
92
|
+
/** @deprecated use `AccountingBankAccountsUpdateRequest$outboundSchema` instead. */
|
|
93
|
+
const outboundSchema: z.ZodType<AccountingBankAccountsUpdateRequest$Outbound, z.ZodTypeDef, AccountingBankAccountsUpdateRequest>;
|
|
94
|
+
/** @deprecated use `AccountingBankAccountsUpdateRequest$Outbound` instead. */
|
|
95
|
+
type Outbound = AccountingBankAccountsUpdateRequest$Outbound;
|
|
96
|
+
}
|
|
97
|
+
export declare function accountingBankAccountsUpdateRequestToJSON(accountingBankAccountsUpdateRequest: AccountingBankAccountsUpdateRequest): string;
|
|
98
|
+
export declare function accountingBankAccountsUpdateRequestFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsUpdateRequest, SDKValidationError>;
|
|
99
|
+
/** @internal */
|
|
100
|
+
export declare const AccountingBankAccountsUpdateResponse$inboundSchema: z.ZodType<AccountingBankAccountsUpdateResponse, z.ZodTypeDef, unknown>;
|
|
101
|
+
/** @internal */
|
|
102
|
+
export type AccountingBankAccountsUpdateResponse$Outbound = {
|
|
103
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
104
|
+
UpdateBankAccountResponse?: components.UpdateBankAccountResponse$Outbound | undefined;
|
|
105
|
+
UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
|
|
106
|
+
};
|
|
107
|
+
/** @internal */
|
|
108
|
+
export declare const AccountingBankAccountsUpdateResponse$outboundSchema: z.ZodType<AccountingBankAccountsUpdateResponse$Outbound, z.ZodTypeDef, AccountingBankAccountsUpdateResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
112
|
+
*/
|
|
113
|
+
export declare namespace AccountingBankAccountsUpdateResponse$ {
|
|
114
|
+
/** @deprecated use `AccountingBankAccountsUpdateResponse$inboundSchema` instead. */
|
|
115
|
+
const inboundSchema: z.ZodType<AccountingBankAccountsUpdateResponse, z.ZodTypeDef, unknown>;
|
|
116
|
+
/** @deprecated use `AccountingBankAccountsUpdateResponse$outboundSchema` instead. */
|
|
117
|
+
const outboundSchema: z.ZodType<AccountingBankAccountsUpdateResponse$Outbound, z.ZodTypeDef, AccountingBankAccountsUpdateResponse>;
|
|
118
|
+
/** @deprecated use `AccountingBankAccountsUpdateResponse$Outbound` instead. */
|
|
119
|
+
type Outbound = AccountingBankAccountsUpdateResponse$Outbound;
|
|
120
|
+
}
|
|
121
|
+
export declare function accountingBankAccountsUpdateResponseToJSON(accountingBankAccountsUpdateResponse: AccountingBankAccountsUpdateResponse): string;
|
|
122
|
+
export declare function accountingBankAccountsUpdateResponseFromJSON(jsonString: string): SafeParseResult<AccountingBankAccountsUpdateResponse, SDKValidationError>;
|
|
123
|
+
//# sourceMappingURL=accountingbankaccountsupdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingbankaccountsupdate.d.ts","sourceRoot":"","sources":["../../src/models/operations/accountingbankaccountsupdate.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,mCAAmC,GAAG;IAChD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;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,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B,qBAAqB,EAAE,UAAU,CAAC,0BAA0B,CAAC;CAC9D,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,QAAQ,EAAE,UAAU,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,yBAAyB,CAAC,EAAE,UAAU,CAAC,yBAAyB,GAAG,SAAS,CAAC;IAC7E;;OAEG;IACH,uBAAuB,CAAC,EAAE,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ED,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,165 @@
|
|
|
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.AccountingBankAccountsUpdateResponse$ = exports.AccountingBankAccountsUpdateResponse$outboundSchema = exports.AccountingBankAccountsUpdateResponse$inboundSchema = exports.AccountingBankAccountsUpdateRequest$ = exports.AccountingBankAccountsUpdateRequest$outboundSchema = exports.AccountingBankAccountsUpdateRequest$inboundSchema = exports.AccountingBankAccountsUpdateGlobals$ = exports.AccountingBankAccountsUpdateGlobals$outboundSchema = exports.AccountingBankAccountsUpdateGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.accountingBankAccountsUpdateGlobalsToJSON = accountingBankAccountsUpdateGlobalsToJSON;
|
|
41
|
+
exports.accountingBankAccountsUpdateGlobalsFromJSON = accountingBankAccountsUpdateGlobalsFromJSON;
|
|
42
|
+
exports.accountingBankAccountsUpdateRequestToJSON = accountingBankAccountsUpdateRequestToJSON;
|
|
43
|
+
exports.accountingBankAccountsUpdateRequestFromJSON = accountingBankAccountsUpdateRequestFromJSON;
|
|
44
|
+
exports.accountingBankAccountsUpdateResponseToJSON = accountingBankAccountsUpdateResponseToJSON;
|
|
45
|
+
exports.accountingBankAccountsUpdateResponseFromJSON = accountingBankAccountsUpdateResponseFromJSON;
|
|
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.AccountingBankAccountsUpdateGlobals$inboundSchema = z.object({
|
|
52
|
+
consumerId: z.string().optional(),
|
|
53
|
+
appId: z.string().optional(),
|
|
54
|
+
});
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.AccountingBankAccountsUpdateGlobals$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 AccountingBankAccountsUpdateGlobals$;
|
|
65
|
+
(function (AccountingBankAccountsUpdateGlobals$) {
|
|
66
|
+
/** @deprecated use `AccountingBankAccountsUpdateGlobals$inboundSchema` instead. */
|
|
67
|
+
AccountingBankAccountsUpdateGlobals$.inboundSchema = exports.AccountingBankAccountsUpdateGlobals$inboundSchema;
|
|
68
|
+
/** @deprecated use `AccountingBankAccountsUpdateGlobals$outboundSchema` instead. */
|
|
69
|
+
AccountingBankAccountsUpdateGlobals$.outboundSchema = exports.AccountingBankAccountsUpdateGlobals$outboundSchema;
|
|
70
|
+
})(AccountingBankAccountsUpdateGlobals$ || (exports.AccountingBankAccountsUpdateGlobals$ = AccountingBankAccountsUpdateGlobals$ = {}));
|
|
71
|
+
function accountingBankAccountsUpdateGlobalsToJSON(accountingBankAccountsUpdateGlobals) {
|
|
72
|
+
return JSON.stringify(exports.AccountingBankAccountsUpdateGlobals$outboundSchema.parse(accountingBankAccountsUpdateGlobals));
|
|
73
|
+
}
|
|
74
|
+
function accountingBankAccountsUpdateGlobalsFromJSON(jsonString) {
|
|
75
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsUpdateGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsUpdateGlobals' from JSON`);
|
|
76
|
+
}
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.AccountingBankAccountsUpdateRequest$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
|
+
AccountingBankAccount: components.AccountingBankAccountInput$inboundSchema,
|
|
85
|
+
}).transform((v) => {
|
|
86
|
+
return (0, primitives_js_1.remap)(v, {
|
|
87
|
+
"AccountingBankAccount": "accountingBankAccount",
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
/** @internal */
|
|
91
|
+
exports.AccountingBankAccountsUpdateRequest$outboundSchema = z.object({
|
|
92
|
+
id: z.string(),
|
|
93
|
+
consumerId: z.string().optional(),
|
|
94
|
+
appId: z.string().optional(),
|
|
95
|
+
serviceId: z.string().optional(),
|
|
96
|
+
raw: z.boolean().default(false),
|
|
97
|
+
accountingBankAccount: components.AccountingBankAccountInput$outboundSchema,
|
|
98
|
+
}).transform((v) => {
|
|
99
|
+
return (0, primitives_js_1.remap)(v, {
|
|
100
|
+
accountingBankAccount: "AccountingBankAccount",
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
+
*/
|
|
107
|
+
var AccountingBankAccountsUpdateRequest$;
|
|
108
|
+
(function (AccountingBankAccountsUpdateRequest$) {
|
|
109
|
+
/** @deprecated use `AccountingBankAccountsUpdateRequest$inboundSchema` instead. */
|
|
110
|
+
AccountingBankAccountsUpdateRequest$.inboundSchema = exports.AccountingBankAccountsUpdateRequest$inboundSchema;
|
|
111
|
+
/** @deprecated use `AccountingBankAccountsUpdateRequest$outboundSchema` instead. */
|
|
112
|
+
AccountingBankAccountsUpdateRequest$.outboundSchema = exports.AccountingBankAccountsUpdateRequest$outboundSchema;
|
|
113
|
+
})(AccountingBankAccountsUpdateRequest$ || (exports.AccountingBankAccountsUpdateRequest$ = AccountingBankAccountsUpdateRequest$ = {}));
|
|
114
|
+
function accountingBankAccountsUpdateRequestToJSON(accountingBankAccountsUpdateRequest) {
|
|
115
|
+
return JSON.stringify(exports.AccountingBankAccountsUpdateRequest$outboundSchema.parse(accountingBankAccountsUpdateRequest));
|
|
116
|
+
}
|
|
117
|
+
function accountingBankAccountsUpdateRequestFromJSON(jsonString) {
|
|
118
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsUpdateRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsUpdateRequest' from JSON`);
|
|
119
|
+
}
|
|
120
|
+
/** @internal */
|
|
121
|
+
exports.AccountingBankAccountsUpdateResponse$inboundSchema = z.object({
|
|
122
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
123
|
+
UpdateBankAccountResponse: components.UpdateBankAccountResponse$inboundSchema
|
|
124
|
+
.optional(),
|
|
125
|
+
UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
|
|
126
|
+
.optional(),
|
|
127
|
+
}).transform((v) => {
|
|
128
|
+
return (0, primitives_js_1.remap)(v, {
|
|
129
|
+
"HttpMeta": "httpMeta",
|
|
130
|
+
"UpdateBankAccountResponse": "updateBankAccountResponse",
|
|
131
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
/** @internal */
|
|
135
|
+
exports.AccountingBankAccountsUpdateResponse$outboundSchema = z.object({
|
|
136
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
137
|
+
updateBankAccountResponse: components.UpdateBankAccountResponse$outboundSchema
|
|
138
|
+
.optional(),
|
|
139
|
+
unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
|
|
140
|
+
.optional(),
|
|
141
|
+
}).transform((v) => {
|
|
142
|
+
return (0, primitives_js_1.remap)(v, {
|
|
143
|
+
httpMeta: "HttpMeta",
|
|
144
|
+
updateBankAccountResponse: "UpdateBankAccountResponse",
|
|
145
|
+
unexpectedErrorResponse: "UnexpectedErrorResponse",
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
/**
|
|
149
|
+
* @internal
|
|
150
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
151
|
+
*/
|
|
152
|
+
var AccountingBankAccountsUpdateResponse$;
|
|
153
|
+
(function (AccountingBankAccountsUpdateResponse$) {
|
|
154
|
+
/** @deprecated use `AccountingBankAccountsUpdateResponse$inboundSchema` instead. */
|
|
155
|
+
AccountingBankAccountsUpdateResponse$.inboundSchema = exports.AccountingBankAccountsUpdateResponse$inboundSchema;
|
|
156
|
+
/** @deprecated use `AccountingBankAccountsUpdateResponse$outboundSchema` instead. */
|
|
157
|
+
AccountingBankAccountsUpdateResponse$.outboundSchema = exports.AccountingBankAccountsUpdateResponse$outboundSchema;
|
|
158
|
+
})(AccountingBankAccountsUpdateResponse$ || (exports.AccountingBankAccountsUpdateResponse$ = AccountingBankAccountsUpdateResponse$ = {}));
|
|
159
|
+
function accountingBankAccountsUpdateResponseToJSON(accountingBankAccountsUpdateResponse) {
|
|
160
|
+
return JSON.stringify(exports.AccountingBankAccountsUpdateResponse$outboundSchema.parse(accountingBankAccountsUpdateResponse));
|
|
161
|
+
}
|
|
162
|
+
function accountingBankAccountsUpdateResponseFromJSON(jsonString) {
|
|
163
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingBankAccountsUpdateResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingBankAccountsUpdateResponse' from JSON`);
|
|
164
|
+
}
|
|
165
|
+
//# sourceMappingURL=accountingbankaccountsupdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingbankaccountsupdate.js","sourceRoot":"","sources":["../../src/models/operations/accountingbankaccountsupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiGH,8FAQC;AAED,kGASC;AA+DD,8FAQC;AAED,kGASC;AAkED,gGAQC;AAED,oGASC;AAzRD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAkD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AAC;AAGxD,CAAC,EATgB,qCAAqC,qDAArC,qCAAqC,QASrD;AAED,SAAgB,0CAA0C,CACxD,oCAA0E;IAE1E,OAAO,IAAI,CAAC,SAAS,CACnB,2DAAmD,CAAC,KAAK,CACvD,oCAAoC,CACrC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,4CAA4C,CAC1D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,0DAAkD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,kEAAkE,CACnE,CAAC;AACJ,CAAC"}
|
|
@@ -6,6 +6,11 @@ export * from "./accountingattachmentsdownload.js";
|
|
|
6
6
|
export * from "./accountingattachmentsone.js";
|
|
7
7
|
export * from "./accountingattachmentsupload.js";
|
|
8
8
|
export * from "./accountingbalancesheetone.js";
|
|
9
|
+
export * from "./accountingbankaccountsadd.js";
|
|
10
|
+
export * from "./accountingbankaccountsall.js";
|
|
11
|
+
export * from "./accountingbankaccountsdelete.js";
|
|
12
|
+
export * from "./accountingbankaccountsone.js";
|
|
13
|
+
export * from "./accountingbankaccountsupdate.js";
|
|
9
14
|
export * from "./accountingbankfeedaccountsadd.js";
|
|
10
15
|
export * from "./accountingbankfeedaccountsall.js";
|
|
11
16
|
export * from "./accountingbankfeedaccountsdelete.js";
|