@apideck/unify 0.13.2 → 0.13.3

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 (137) hide show
  1. package/README.md +0 -13
  2. package/docs/sdks/pipelines/README.md +0 -542
  3. package/lib/config.d.ts +2 -2
  4. package/lib/config.js +2 -2
  5. package/models/components/bill.d.ts +5 -0
  6. package/models/components/bill.d.ts.map +1 -1
  7. package/models/components/bill.js +9 -0
  8. package/models/components/bill.js.map +1 -1
  9. package/models/components/index.d.ts +0 -8
  10. package/models/components/index.d.ts.map +1 -1
  11. package/models/components/index.js +0 -8
  12. package/models/components/index.js.map +1 -1
  13. package/models/components/ledgeraccount.d.ts +5 -0
  14. package/models/components/ledgeraccount.d.ts.map +1 -1
  15. package/models/components/ledgeraccount.js +9 -0
  16. package/models/components/ledgeraccount.js.map +1 -1
  17. package/models/components/supplier.d.ts +5 -0
  18. package/models/components/supplier.d.ts.map +1 -1
  19. package/models/components/supplier.js +9 -0
  20. package/models/components/supplier.js.map +1 -1
  21. package/models/operations/index.d.ts +0 -5
  22. package/models/operations/index.d.ts.map +1 -1
  23. package/models/operations/index.js +0 -5
  24. package/models/operations/index.js.map +1 -1
  25. package/package.json +1 -1
  26. package/sdk/accounting.d.ts +0 -3
  27. package/sdk/accounting.d.ts.map +1 -1
  28. package/sdk/accounting.js +0 -4
  29. package/sdk/accounting.js.map +1 -1
  30. package/sdk/pipelines.d.ts +0 -28
  31. package/sdk/pipelines.d.ts.map +1 -1
  32. package/sdk/pipelines.js +0 -41
  33. package/sdk/pipelines.js.map +1 -1
  34. package/src/lib/config.ts +2 -2
  35. package/src/models/components/bill.ts +18 -0
  36. package/src/models/components/index.ts +0 -8
  37. package/src/models/components/ledgeraccount.ts +18 -0
  38. package/src/models/components/supplier.ts +18 -0
  39. package/src/models/operations/index.ts +0 -5
  40. package/src/sdk/accounting.ts +0 -6
  41. package/src/sdk/pipelines.ts +0 -73
  42. package/docs/sdks/agedcreditors/README.md +0 -115
  43. package/funcs/accountingAgedCreditorsGet.d.ts +0 -16
  44. package/funcs/accountingAgedCreditorsGet.d.ts.map +0 -1
  45. package/funcs/accountingAgedCreditorsGet.js +0 -122
  46. package/funcs/accountingAgedCreditorsGet.js.map +0 -1
  47. package/funcs/crmPipelinesCreate.d.ts +0 -16
  48. package/funcs/crmPipelinesCreate.d.ts.map +0 -1
  49. package/funcs/crmPipelinesCreate.js +0 -121
  50. package/funcs/crmPipelinesCreate.js.map +0 -1
  51. package/funcs/crmPipelinesDelete.d.ts +0 -16
  52. package/funcs/crmPipelinesDelete.d.ts.map +0 -1
  53. package/funcs/crmPipelinesDelete.js +0 -126
  54. package/funcs/crmPipelinesDelete.js.map +0 -1
  55. package/funcs/crmPipelinesGet.d.ts +0 -16
  56. package/funcs/crmPipelinesGet.d.ts.map +0 -1
  57. package/funcs/crmPipelinesGet.js +0 -127
  58. package/funcs/crmPipelinesGet.js.map +0 -1
  59. package/funcs/crmPipelinesUpdate.d.ts +0 -16
  60. package/funcs/crmPipelinesUpdate.d.ts.map +0 -1
  61. package/funcs/crmPipelinesUpdate.js +0 -127
  62. package/funcs/crmPipelinesUpdate.js.map +0 -1
  63. package/models/components/agedcreditors.d.ts +0 -51
  64. package/models/components/agedcreditors.d.ts.map +0 -1
  65. package/models/components/agedcreditors.js +0 -88
  66. package/models/components/agedcreditors.js.map +0 -1
  67. package/models/components/createpipelineresponse.d.ts +0 -58
  68. package/models/components/createpipelineresponse.d.ts.map +0 -1
  69. package/models/components/createpipelineresponse.js +0 -79
  70. package/models/components/createpipelineresponse.js.map +0 -1
  71. package/models/components/deletepipelineresponse.d.ts +0 -58
  72. package/models/components/deletepipelineresponse.d.ts.map +0 -1
  73. package/models/components/deletepipelineresponse.js +0 -79
  74. package/models/components/deletepipelineresponse.js.map +0 -1
  75. package/models/components/getagedcreditorsresponse.d.ts +0 -58
  76. package/models/components/getagedcreditorsresponse.d.ts.map +0 -1
  77. package/models/components/getagedcreditorsresponse.js +0 -79
  78. package/models/components/getagedcreditorsresponse.js.map +0 -1
  79. package/models/components/getpipelineresponse.d.ts +0 -58
  80. package/models/components/getpipelineresponse.d.ts.map +0 -1
  81. package/models/components/getpipelineresponse.js +0 -79
  82. package/models/components/getpipelineresponse.js.map +0 -1
  83. package/models/components/outstandingbalancebysupplier.d.ts +0 -40
  84. package/models/components/outstandingbalancebysupplier.d.ts.map +0 -1
  85. package/models/components/outstandingbalancebysupplier.js +0 -77
  86. package/models/components/outstandingbalancebysupplier.js.map +0 -1
  87. package/models/components/pipelineinput.d.ts +0 -117
  88. package/models/components/pipelineinput.d.ts.map +0 -1
  89. package/models/components/pipelineinput.js +0 -133
  90. package/models/components/pipelineinput.js.map +0 -1
  91. package/models/components/updatepipelineresponse.d.ts +0 -58
  92. package/models/components/updatepipelineresponse.d.ts.map +0 -1
  93. package/models/components/updatepipelineresponse.js +0 -79
  94. package/models/components/updatepipelineresponse.js.map +0 -1
  95. package/models/operations/accountingagedcreditorsone.d.ts +0 -125
  96. package/models/operations/accountingagedcreditorsone.d.ts.map +0 -1
  97. package/models/operations/accountingagedcreditorsone.js +0 -153
  98. package/models/operations/accountingagedcreditorsone.js.map +0 -1
  99. package/models/operations/crmpipelinesadd.d.ts +0 -108
  100. package/models/operations/crmpipelinesadd.d.ts.map +0 -1
  101. package/models/operations/crmpipelinesadd.js +0 -149
  102. package/models/operations/crmpipelinesadd.js.map +0 -1
  103. package/models/operations/crmpipelinesdelete.d.ts +0 -111
  104. package/models/operations/crmpipelinesdelete.d.ts.map +0 -1
  105. package/models/operations/crmpipelinesdelete.js +0 -141
  106. package/models/operations/crmpipelinesdelete.js.map +0 -1
  107. package/models/operations/crmpipelinesone.d.ts +0 -116
  108. package/models/operations/crmpipelinesone.d.ts.map +0 -1
  109. package/models/operations/crmpipelinesone.js +0 -141
  110. package/models/operations/crmpipelinesone.js.map +0 -1
  111. package/models/operations/crmpipelinesupdate.d.ts +0 -113
  112. package/models/operations/crmpipelinesupdate.d.ts.map +0 -1
  113. package/models/operations/crmpipelinesupdate.js +0 -151
  114. package/models/operations/crmpipelinesupdate.js.map +0 -1
  115. package/sdk/agedcreditors.d.ts +0 -12
  116. package/sdk/agedcreditors.d.ts.map +0 -1
  117. package/sdk/agedcreditors.js +0 -22
  118. package/sdk/agedcreditors.js.map +0 -1
  119. package/src/funcs/accountingAgedCreditorsGet.ts +0 -193
  120. package/src/funcs/crmPipelinesCreate.ts +0 -179
  121. package/src/funcs/crmPipelinesDelete.ts +0 -185
  122. package/src/funcs/crmPipelinesGet.ts +0 -186
  123. package/src/funcs/crmPipelinesUpdate.ts +0 -186
  124. package/src/models/components/agedcreditors.ts +0 -120
  125. package/src/models/components/createpipelineresponse.ts +0 -119
  126. package/src/models/components/deletepipelineresponse.ts +0 -119
  127. package/src/models/components/getagedcreditorsresponse.ts +0 -119
  128. package/src/models/components/getpipelineresponse.ts +0 -119
  129. package/src/models/components/outstandingbalancebysupplier.ts +0 -109
  130. package/src/models/components/pipelineinput.ts +0 -233
  131. package/src/models/components/updatepipelineresponse.ts +0 -119
  132. package/src/models/operations/accountingagedcreditorsone.ts +0 -277
  133. package/src/models/operations/crmpipelinesadd.ts +0 -250
  134. package/src/models/operations/crmpipelinesdelete.ts +0 -245
  135. package/src/models/operations/crmpipelinesone.ts +0 -248
  136. package/src/models/operations/crmpipelinesupdate.ts +0 -257
  137. package/src/sdk/agedcreditors.ts +0 -27
@@ -1,149 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CrmPipelinesAddResponse$ = exports.CrmPipelinesAddResponse$outboundSchema = exports.CrmPipelinesAddResponse$inboundSchema = exports.CrmPipelinesAddRequest$ = exports.CrmPipelinesAddRequest$outboundSchema = exports.CrmPipelinesAddRequest$inboundSchema = exports.CrmPipelinesAddGlobals$ = exports.CrmPipelinesAddGlobals$outboundSchema = exports.CrmPipelinesAddGlobals$inboundSchema = void 0;
30
- exports.crmPipelinesAddGlobalsToJSON = crmPipelinesAddGlobalsToJSON;
31
- exports.crmPipelinesAddGlobalsFromJSON = crmPipelinesAddGlobalsFromJSON;
32
- exports.crmPipelinesAddRequestToJSON = crmPipelinesAddRequestToJSON;
33
- exports.crmPipelinesAddRequestFromJSON = crmPipelinesAddRequestFromJSON;
34
- exports.crmPipelinesAddResponseToJSON = crmPipelinesAddResponseToJSON;
35
- exports.crmPipelinesAddResponseFromJSON = crmPipelinesAddResponseFromJSON;
36
- const z = __importStar(require("zod"));
37
- const primitives_js_1 = require("../../lib/primitives.js");
38
- const schemas_js_1 = require("../../lib/schemas.js");
39
- const components = __importStar(require("../components/index.js"));
40
- /** @internal */
41
- exports.CrmPipelinesAddGlobals$inboundSchema = z.object({
42
- consumerId: z.string().optional(),
43
- appId: z.string().optional(),
44
- });
45
- /** @internal */
46
- exports.CrmPipelinesAddGlobals$outboundSchema = z.object({
47
- consumerId: z.string().optional(),
48
- appId: z.string().optional(),
49
- });
50
- /**
51
- * @internal
52
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
- */
54
- var CrmPipelinesAddGlobals$;
55
- (function (CrmPipelinesAddGlobals$) {
56
- /** @deprecated use `CrmPipelinesAddGlobals$inboundSchema` instead. */
57
- CrmPipelinesAddGlobals$.inboundSchema = exports.CrmPipelinesAddGlobals$inboundSchema;
58
- /** @deprecated use `CrmPipelinesAddGlobals$outboundSchema` instead. */
59
- CrmPipelinesAddGlobals$.outboundSchema = exports.CrmPipelinesAddGlobals$outboundSchema;
60
- })(CrmPipelinesAddGlobals$ || (exports.CrmPipelinesAddGlobals$ = CrmPipelinesAddGlobals$ = {}));
61
- function crmPipelinesAddGlobalsToJSON(crmPipelinesAddGlobals) {
62
- return JSON.stringify(exports.CrmPipelinesAddGlobals$outboundSchema.parse(crmPipelinesAddGlobals));
63
- }
64
- function crmPipelinesAddGlobalsFromJSON(jsonString) {
65
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CrmPipelinesAddGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CrmPipelinesAddGlobals' from JSON`);
66
- }
67
- /** @internal */
68
- exports.CrmPipelinesAddRequest$inboundSchema = z.object({
69
- raw: z.boolean().default(false),
70
- serviceId: z.string().optional(),
71
- Pipeline: components.PipelineInput$inboundSchema,
72
- }).transform((v) => {
73
- return (0, primitives_js_1.remap)(v, {
74
- "Pipeline": "pipeline",
75
- });
76
- });
77
- /** @internal */
78
- exports.CrmPipelinesAddRequest$outboundSchema = z.object({
79
- raw: z.boolean().default(false),
80
- serviceId: z.string().optional(),
81
- pipeline: components.PipelineInput$outboundSchema,
82
- }).transform((v) => {
83
- return (0, primitives_js_1.remap)(v, {
84
- pipeline: "Pipeline",
85
- });
86
- });
87
- /**
88
- * @internal
89
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
90
- */
91
- var CrmPipelinesAddRequest$;
92
- (function (CrmPipelinesAddRequest$) {
93
- /** @deprecated use `CrmPipelinesAddRequest$inboundSchema` instead. */
94
- CrmPipelinesAddRequest$.inboundSchema = exports.CrmPipelinesAddRequest$inboundSchema;
95
- /** @deprecated use `CrmPipelinesAddRequest$outboundSchema` instead. */
96
- CrmPipelinesAddRequest$.outboundSchema = exports.CrmPipelinesAddRequest$outboundSchema;
97
- })(CrmPipelinesAddRequest$ || (exports.CrmPipelinesAddRequest$ = CrmPipelinesAddRequest$ = {}));
98
- function crmPipelinesAddRequestToJSON(crmPipelinesAddRequest) {
99
- return JSON.stringify(exports.CrmPipelinesAddRequest$outboundSchema.parse(crmPipelinesAddRequest));
100
- }
101
- function crmPipelinesAddRequestFromJSON(jsonString) {
102
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CrmPipelinesAddRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CrmPipelinesAddRequest' from JSON`);
103
- }
104
- /** @internal */
105
- exports.CrmPipelinesAddResponse$inboundSchema = z.object({
106
- HttpMeta: components.HTTPMetadata$inboundSchema,
107
- CreatePipelineResponse: components.CreatePipelineResponse$inboundSchema
108
- .optional(),
109
- UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
110
- .optional(),
111
- }).transform((v) => {
112
- return (0, primitives_js_1.remap)(v, {
113
- "HttpMeta": "httpMeta",
114
- "CreatePipelineResponse": "createPipelineResponse",
115
- "UnexpectedErrorResponse": "unexpectedErrorResponse",
116
- });
117
- });
118
- /** @internal */
119
- exports.CrmPipelinesAddResponse$outboundSchema = z.object({
120
- httpMeta: components.HTTPMetadata$outboundSchema,
121
- createPipelineResponse: components.CreatePipelineResponse$outboundSchema
122
- .optional(),
123
- unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
124
- .optional(),
125
- }).transform((v) => {
126
- return (0, primitives_js_1.remap)(v, {
127
- httpMeta: "HttpMeta",
128
- createPipelineResponse: "CreatePipelineResponse",
129
- unexpectedErrorResponse: "UnexpectedErrorResponse",
130
- });
131
- });
132
- /**
133
- * @internal
134
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
135
- */
136
- var CrmPipelinesAddResponse$;
137
- (function (CrmPipelinesAddResponse$) {
138
- /** @deprecated use `CrmPipelinesAddResponse$inboundSchema` instead. */
139
- CrmPipelinesAddResponse$.inboundSchema = exports.CrmPipelinesAddResponse$inboundSchema;
140
- /** @deprecated use `CrmPipelinesAddResponse$outboundSchema` instead. */
141
- CrmPipelinesAddResponse$.outboundSchema = exports.CrmPipelinesAddResponse$outboundSchema;
142
- })(CrmPipelinesAddResponse$ || (exports.CrmPipelinesAddResponse$ = CrmPipelinesAddResponse$ = {}));
143
- function crmPipelinesAddResponseToJSON(crmPipelinesAddResponse) {
144
- return JSON.stringify(exports.CrmPipelinesAddResponse$outboundSchema.parse(crmPipelinesAddResponse));
145
- }
146
- function crmPipelinesAddResponseFromJSON(jsonString) {
147
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CrmPipelinesAddResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CrmPipelinesAddResponse' from JSON`);
148
- }
149
- //# sourceMappingURL=crmpipelinesadd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crmpipelinesadd.js","sourceRoot":"","sources":["../../src/models/operations/crmpipelinesadd.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFH,oEAMC;AAED,wEAQC;AAoDD,oEAMC;AAED,wEAQC;AAgED,sEAMC;AAED,0EAQC;AArPD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAsCrD,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,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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B,EAAE,wBAAwB;QAClD,yBAAyB,EAAE,yBAAyB;KACrD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAaH,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,2BAA2B;IAChD,sBAAsB,EAAE,UAAU,CAAC,qCAAqC;SACrE,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,sBAAsB,EAAE,wBAAwB;QAChD,uBAAuB,EAAE,yBAAyB;KACnD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
@@ -1,111 +0,0 @@
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 CrmPipelinesDeleteGlobals = {
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 CrmPipelinesDeleteRequest = {
16
- /**
17
- * ID of the record you are acting upon.
18
- */
19
- id: string;
20
- /**
21
- * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
22
- */
23
- serviceId?: string | undefined;
24
- /**
25
- * Include raw response. Mostly used for debugging purposes
26
- */
27
- raw?: boolean | undefined;
28
- };
29
- export type CrmPipelinesDeleteResponse = {
30
- httpMeta: components.HTTPMetadata;
31
- /**
32
- * Pipeline deleted
33
- */
34
- deletePipelineResponse?: components.DeletePipelineResponse | undefined;
35
- /**
36
- * Unexpected error
37
- */
38
- unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
39
- };
40
- /** @internal */
41
- export declare const CrmPipelinesDeleteGlobals$inboundSchema: z.ZodType<CrmPipelinesDeleteGlobals, z.ZodTypeDef, unknown>;
42
- /** @internal */
43
- export type CrmPipelinesDeleteGlobals$Outbound = {
44
- consumerId?: string | undefined;
45
- appId?: string | undefined;
46
- };
47
- /** @internal */
48
- export declare const CrmPipelinesDeleteGlobals$outboundSchema: z.ZodType<CrmPipelinesDeleteGlobals$Outbound, z.ZodTypeDef, CrmPipelinesDeleteGlobals>;
49
- /**
50
- * @internal
51
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
52
- */
53
- export declare namespace CrmPipelinesDeleteGlobals$ {
54
- /** @deprecated use `CrmPipelinesDeleteGlobals$inboundSchema` instead. */
55
- const inboundSchema: z.ZodType<CrmPipelinesDeleteGlobals, z.ZodTypeDef, unknown>;
56
- /** @deprecated use `CrmPipelinesDeleteGlobals$outboundSchema` instead. */
57
- const outboundSchema: z.ZodType<CrmPipelinesDeleteGlobals$Outbound, z.ZodTypeDef, CrmPipelinesDeleteGlobals>;
58
- /** @deprecated use `CrmPipelinesDeleteGlobals$Outbound` instead. */
59
- type Outbound = CrmPipelinesDeleteGlobals$Outbound;
60
- }
61
- export declare function crmPipelinesDeleteGlobalsToJSON(crmPipelinesDeleteGlobals: CrmPipelinesDeleteGlobals): string;
62
- export declare function crmPipelinesDeleteGlobalsFromJSON(jsonString: string): SafeParseResult<CrmPipelinesDeleteGlobals, SDKValidationError>;
63
- /** @internal */
64
- export declare const CrmPipelinesDeleteRequest$inboundSchema: z.ZodType<CrmPipelinesDeleteRequest, z.ZodTypeDef, unknown>;
65
- /** @internal */
66
- export type CrmPipelinesDeleteRequest$Outbound = {
67
- id: string;
68
- serviceId?: string | undefined;
69
- raw: boolean;
70
- };
71
- /** @internal */
72
- export declare const CrmPipelinesDeleteRequest$outboundSchema: z.ZodType<CrmPipelinesDeleteRequest$Outbound, z.ZodTypeDef, CrmPipelinesDeleteRequest>;
73
- /**
74
- * @internal
75
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
76
- */
77
- export declare namespace CrmPipelinesDeleteRequest$ {
78
- /** @deprecated use `CrmPipelinesDeleteRequest$inboundSchema` instead. */
79
- const inboundSchema: z.ZodType<CrmPipelinesDeleteRequest, z.ZodTypeDef, unknown>;
80
- /** @deprecated use `CrmPipelinesDeleteRequest$outboundSchema` instead. */
81
- const outboundSchema: z.ZodType<CrmPipelinesDeleteRequest$Outbound, z.ZodTypeDef, CrmPipelinesDeleteRequest>;
82
- /** @deprecated use `CrmPipelinesDeleteRequest$Outbound` instead. */
83
- type Outbound = CrmPipelinesDeleteRequest$Outbound;
84
- }
85
- export declare function crmPipelinesDeleteRequestToJSON(crmPipelinesDeleteRequest: CrmPipelinesDeleteRequest): string;
86
- export declare function crmPipelinesDeleteRequestFromJSON(jsonString: string): SafeParseResult<CrmPipelinesDeleteRequest, SDKValidationError>;
87
- /** @internal */
88
- export declare const CrmPipelinesDeleteResponse$inboundSchema: z.ZodType<CrmPipelinesDeleteResponse, z.ZodTypeDef, unknown>;
89
- /** @internal */
90
- export type CrmPipelinesDeleteResponse$Outbound = {
91
- HttpMeta: components.HTTPMetadata$Outbound;
92
- DeletePipelineResponse?: components.DeletePipelineResponse$Outbound | undefined;
93
- UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
94
- };
95
- /** @internal */
96
- export declare const CrmPipelinesDeleteResponse$outboundSchema: z.ZodType<CrmPipelinesDeleteResponse$Outbound, z.ZodTypeDef, CrmPipelinesDeleteResponse>;
97
- /**
98
- * @internal
99
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
100
- */
101
- export declare namespace CrmPipelinesDeleteResponse$ {
102
- /** @deprecated use `CrmPipelinesDeleteResponse$inboundSchema` instead. */
103
- const inboundSchema: z.ZodType<CrmPipelinesDeleteResponse, z.ZodTypeDef, unknown>;
104
- /** @deprecated use `CrmPipelinesDeleteResponse$outboundSchema` instead. */
105
- const outboundSchema: z.ZodType<CrmPipelinesDeleteResponse$Outbound, z.ZodTypeDef, CrmPipelinesDeleteResponse>;
106
- /** @deprecated use `CrmPipelinesDeleteResponse$Outbound` instead. */
107
- type Outbound = CrmPipelinesDeleteResponse$Outbound;
108
- }
109
- export declare function crmPipelinesDeleteResponseToJSON(crmPipelinesDeleteResponse: CrmPipelinesDeleteResponse): string;
110
- export declare function crmPipelinesDeleteResponseFromJSON(jsonString: string): SafeParseResult<CrmPipelinesDeleteResponse, SDKValidationError>;
111
- //# sourceMappingURL=crmpipelinesdelete.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crmpipelinesdelete.d.ts","sourceRoot":"","sources":["../../src/models/operations/crmpipelinesdelete.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,CA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C,+BAA+B,GAC1C,SAAS,CAAC;IACd,uBAAuB,CAAC,EACpB,UAAU,CAAC,gCAAgC,GAC3C,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAa1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -1,141 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CrmPipelinesDeleteResponse$ = exports.CrmPipelinesDeleteResponse$outboundSchema = exports.CrmPipelinesDeleteResponse$inboundSchema = exports.CrmPipelinesDeleteRequest$ = exports.CrmPipelinesDeleteRequest$outboundSchema = exports.CrmPipelinesDeleteRequest$inboundSchema = exports.CrmPipelinesDeleteGlobals$ = exports.CrmPipelinesDeleteGlobals$outboundSchema = exports.CrmPipelinesDeleteGlobals$inboundSchema = void 0;
30
- exports.crmPipelinesDeleteGlobalsToJSON = crmPipelinesDeleteGlobalsToJSON;
31
- exports.crmPipelinesDeleteGlobalsFromJSON = crmPipelinesDeleteGlobalsFromJSON;
32
- exports.crmPipelinesDeleteRequestToJSON = crmPipelinesDeleteRequestToJSON;
33
- exports.crmPipelinesDeleteRequestFromJSON = crmPipelinesDeleteRequestFromJSON;
34
- exports.crmPipelinesDeleteResponseToJSON = crmPipelinesDeleteResponseToJSON;
35
- exports.crmPipelinesDeleteResponseFromJSON = crmPipelinesDeleteResponseFromJSON;
36
- const z = __importStar(require("zod"));
37
- const primitives_js_1 = require("../../lib/primitives.js");
38
- const schemas_js_1 = require("../../lib/schemas.js");
39
- const components = __importStar(require("../components/index.js"));
40
- /** @internal */
41
- exports.CrmPipelinesDeleteGlobals$inboundSchema = z.object({
42
- consumerId: z.string().optional(),
43
- appId: z.string().optional(),
44
- });
45
- /** @internal */
46
- exports.CrmPipelinesDeleteGlobals$outboundSchema = z.object({
47
- consumerId: z.string().optional(),
48
- appId: z.string().optional(),
49
- });
50
- /**
51
- * @internal
52
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
- */
54
- var CrmPipelinesDeleteGlobals$;
55
- (function (CrmPipelinesDeleteGlobals$) {
56
- /** @deprecated use `CrmPipelinesDeleteGlobals$inboundSchema` instead. */
57
- CrmPipelinesDeleteGlobals$.inboundSchema = exports.CrmPipelinesDeleteGlobals$inboundSchema;
58
- /** @deprecated use `CrmPipelinesDeleteGlobals$outboundSchema` instead. */
59
- CrmPipelinesDeleteGlobals$.outboundSchema = exports.CrmPipelinesDeleteGlobals$outboundSchema;
60
- })(CrmPipelinesDeleteGlobals$ || (exports.CrmPipelinesDeleteGlobals$ = CrmPipelinesDeleteGlobals$ = {}));
61
- function crmPipelinesDeleteGlobalsToJSON(crmPipelinesDeleteGlobals) {
62
- return JSON.stringify(exports.CrmPipelinesDeleteGlobals$outboundSchema.parse(crmPipelinesDeleteGlobals));
63
- }
64
- function crmPipelinesDeleteGlobalsFromJSON(jsonString) {
65
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CrmPipelinesDeleteGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CrmPipelinesDeleteGlobals' from JSON`);
66
- }
67
- /** @internal */
68
- exports.CrmPipelinesDeleteRequest$inboundSchema = z.object({
69
- id: z.string(),
70
- serviceId: z.string().optional(),
71
- raw: z.boolean().default(false),
72
- });
73
- /** @internal */
74
- exports.CrmPipelinesDeleteRequest$outboundSchema = z.object({
75
- id: z.string(),
76
- serviceId: z.string().optional(),
77
- raw: z.boolean().default(false),
78
- });
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
- var CrmPipelinesDeleteRequest$;
84
- (function (CrmPipelinesDeleteRequest$) {
85
- /** @deprecated use `CrmPipelinesDeleteRequest$inboundSchema` instead. */
86
- CrmPipelinesDeleteRequest$.inboundSchema = exports.CrmPipelinesDeleteRequest$inboundSchema;
87
- /** @deprecated use `CrmPipelinesDeleteRequest$outboundSchema` instead. */
88
- CrmPipelinesDeleteRequest$.outboundSchema = exports.CrmPipelinesDeleteRequest$outboundSchema;
89
- })(CrmPipelinesDeleteRequest$ || (exports.CrmPipelinesDeleteRequest$ = CrmPipelinesDeleteRequest$ = {}));
90
- function crmPipelinesDeleteRequestToJSON(crmPipelinesDeleteRequest) {
91
- return JSON.stringify(exports.CrmPipelinesDeleteRequest$outboundSchema.parse(crmPipelinesDeleteRequest));
92
- }
93
- function crmPipelinesDeleteRequestFromJSON(jsonString) {
94
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CrmPipelinesDeleteRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CrmPipelinesDeleteRequest' from JSON`);
95
- }
96
- /** @internal */
97
- exports.CrmPipelinesDeleteResponse$inboundSchema = z.object({
98
- HttpMeta: components.HTTPMetadata$inboundSchema,
99
- DeletePipelineResponse: components.DeletePipelineResponse$inboundSchema
100
- .optional(),
101
- UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
102
- .optional(),
103
- }).transform((v) => {
104
- return (0, primitives_js_1.remap)(v, {
105
- "HttpMeta": "httpMeta",
106
- "DeletePipelineResponse": "deletePipelineResponse",
107
- "UnexpectedErrorResponse": "unexpectedErrorResponse",
108
- });
109
- });
110
- /** @internal */
111
- exports.CrmPipelinesDeleteResponse$outboundSchema = z.object({
112
- httpMeta: components.HTTPMetadata$outboundSchema,
113
- deletePipelineResponse: components.DeletePipelineResponse$outboundSchema
114
- .optional(),
115
- unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
116
- .optional(),
117
- }).transform((v) => {
118
- return (0, primitives_js_1.remap)(v, {
119
- httpMeta: "HttpMeta",
120
- deletePipelineResponse: "DeletePipelineResponse",
121
- unexpectedErrorResponse: "UnexpectedErrorResponse",
122
- });
123
- });
124
- /**
125
- * @internal
126
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
127
- */
128
- var CrmPipelinesDeleteResponse$;
129
- (function (CrmPipelinesDeleteResponse$) {
130
- /** @deprecated use `CrmPipelinesDeleteResponse$inboundSchema` instead. */
131
- CrmPipelinesDeleteResponse$.inboundSchema = exports.CrmPipelinesDeleteResponse$inboundSchema;
132
- /** @deprecated use `CrmPipelinesDeleteResponse$outboundSchema` instead. */
133
- CrmPipelinesDeleteResponse$.outboundSchema = exports.CrmPipelinesDeleteResponse$outboundSchema;
134
- })(CrmPipelinesDeleteResponse$ || (exports.CrmPipelinesDeleteResponse$ = CrmPipelinesDeleteResponse$ = {}));
135
- function crmPipelinesDeleteResponseToJSON(crmPipelinesDeleteResponse) {
136
- return JSON.stringify(exports.CrmPipelinesDeleteResponse$outboundSchema.parse(crmPipelinesDeleteResponse));
137
- }
138
- function crmPipelinesDeleteResponseFromJSON(jsonString) {
139
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CrmPipelinesDeleteResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CrmPipelinesDeleteResponse' from JSON`);
140
- }
141
- //# sourceMappingURL=crmpipelinesdelete.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crmpipelinesdelete.js","sourceRoot":"","sources":["../../src/models/operations/crmpipelinesdelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFH,0EAMC;AAED,8EAQC;AA4CD,0EAMC;AAED,8EAQC;AAgED,4EAMC;AAED,gFAQC;AAhPD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAyCrD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,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,wCAAwC,GAIjD,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,0BAA0B,CAO1C;AAPD,WAAiB,0BAA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AC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
@@ -1,116 +0,0 @@
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 CrmPipelinesOneGlobals = {
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 CrmPipelinesOneRequest = {
16
- /**
17
- * ID of the record you are acting upon.
18
- */
19
- id: string;
20
- /**
21
- * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
22
- */
23
- serviceId?: string | undefined;
24
- /**
25
- * Include raw response. Mostly used for debugging purposes
26
- */
27
- raw?: boolean | undefined;
28
- /**
29
- * 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.
30
- */
31
- fields?: string | null | undefined;
32
- };
33
- export type CrmPipelinesOneResponse = {
34
- httpMeta: components.HTTPMetadata;
35
- /**
36
- * Pipeline
37
- */
38
- getPipelineResponse?: components.GetPipelineResponse | undefined;
39
- /**
40
- * Unexpected error
41
- */
42
- unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
43
- };
44
- /** @internal */
45
- export declare const CrmPipelinesOneGlobals$inboundSchema: z.ZodType<CrmPipelinesOneGlobals, z.ZodTypeDef, unknown>;
46
- /** @internal */
47
- export type CrmPipelinesOneGlobals$Outbound = {
48
- consumerId?: string | undefined;
49
- appId?: string | undefined;
50
- };
51
- /** @internal */
52
- export declare const CrmPipelinesOneGlobals$outboundSchema: z.ZodType<CrmPipelinesOneGlobals$Outbound, z.ZodTypeDef, CrmPipelinesOneGlobals>;
53
- /**
54
- * @internal
55
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
- */
57
- export declare namespace CrmPipelinesOneGlobals$ {
58
- /** @deprecated use `CrmPipelinesOneGlobals$inboundSchema` instead. */
59
- const inboundSchema: z.ZodType<CrmPipelinesOneGlobals, z.ZodTypeDef, unknown>;
60
- /** @deprecated use `CrmPipelinesOneGlobals$outboundSchema` instead. */
61
- const outboundSchema: z.ZodType<CrmPipelinesOneGlobals$Outbound, z.ZodTypeDef, CrmPipelinesOneGlobals>;
62
- /** @deprecated use `CrmPipelinesOneGlobals$Outbound` instead. */
63
- type Outbound = CrmPipelinesOneGlobals$Outbound;
64
- }
65
- export declare function crmPipelinesOneGlobalsToJSON(crmPipelinesOneGlobals: CrmPipelinesOneGlobals): string;
66
- export declare function crmPipelinesOneGlobalsFromJSON(jsonString: string): SafeParseResult<CrmPipelinesOneGlobals, SDKValidationError>;
67
- /** @internal */
68
- export declare const CrmPipelinesOneRequest$inboundSchema: z.ZodType<CrmPipelinesOneRequest, z.ZodTypeDef, unknown>;
69
- /** @internal */
70
- export type CrmPipelinesOneRequest$Outbound = {
71
- id: string;
72
- serviceId?: string | undefined;
73
- raw: boolean;
74
- fields?: string | null | undefined;
75
- };
76
- /** @internal */
77
- export declare const CrmPipelinesOneRequest$outboundSchema: z.ZodType<CrmPipelinesOneRequest$Outbound, z.ZodTypeDef, CrmPipelinesOneRequest>;
78
- /**
79
- * @internal
80
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
81
- */
82
- export declare namespace CrmPipelinesOneRequest$ {
83
- /** @deprecated use `CrmPipelinesOneRequest$inboundSchema` instead. */
84
- const inboundSchema: z.ZodType<CrmPipelinesOneRequest, z.ZodTypeDef, unknown>;
85
- /** @deprecated use `CrmPipelinesOneRequest$outboundSchema` instead. */
86
- const outboundSchema: z.ZodType<CrmPipelinesOneRequest$Outbound, z.ZodTypeDef, CrmPipelinesOneRequest>;
87
- /** @deprecated use `CrmPipelinesOneRequest$Outbound` instead. */
88
- type Outbound = CrmPipelinesOneRequest$Outbound;
89
- }
90
- export declare function crmPipelinesOneRequestToJSON(crmPipelinesOneRequest: CrmPipelinesOneRequest): string;
91
- export declare function crmPipelinesOneRequestFromJSON(jsonString: string): SafeParseResult<CrmPipelinesOneRequest, SDKValidationError>;
92
- /** @internal */
93
- export declare const CrmPipelinesOneResponse$inboundSchema: z.ZodType<CrmPipelinesOneResponse, z.ZodTypeDef, unknown>;
94
- /** @internal */
95
- export type CrmPipelinesOneResponse$Outbound = {
96
- HttpMeta: components.HTTPMetadata$Outbound;
97
- GetPipelineResponse?: components.GetPipelineResponse$Outbound | undefined;
98
- UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
99
- };
100
- /** @internal */
101
- export declare const CrmPipelinesOneResponse$outboundSchema: z.ZodType<CrmPipelinesOneResponse$Outbound, z.ZodTypeDef, CrmPipelinesOneResponse>;
102
- /**
103
- * @internal
104
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
105
- */
106
- export declare namespace CrmPipelinesOneResponse$ {
107
- /** @deprecated use `CrmPipelinesOneResponse$inboundSchema` instead. */
108
- const inboundSchema: z.ZodType<CrmPipelinesOneResponse, z.ZodTypeDef, unknown>;
109
- /** @deprecated use `CrmPipelinesOneResponse$outboundSchema` instead. */
110
- const outboundSchema: z.ZodType<CrmPipelinesOneResponse$Outbound, z.ZodTypeDef, CrmPipelinesOneResponse>;
111
- /** @deprecated use `CrmPipelinesOneResponse$Outbound` instead. */
112
- type Outbound = CrmPipelinesOneResponse$Outbound;
113
- }
114
- export declare function crmPipelinesOneResponseToJSON(crmPipelinesOneResponse: CrmPipelinesOneResponse): string;
115
- export declare function crmPipelinesOneResponseFromJSON(jsonString: string): SafeParseResult<CrmPipelinesOneResponse, SDKValidationError>;
116
- //# sourceMappingURL=crmpipelinesone.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crmpipelinesone.d.ts","sourceRoot":"","sources":["../../src/models/operations/crmpipelinesone.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,sBAAsB,GAAG;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SA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