@greensecurity/javascript-sdk 0.40.8-beta.22 → 0.40.8-beta.23

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 (114) hide show
  1. package/README.md +3 -0
  2. package/dist/commonjs/__tests__/vendors.test.js +25 -0
  3. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  5. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/zones.test.js +2 -3
  7. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  8. package/dist/commonjs/funcs/vendorsGetNextUnansweredScreeningQuestion.d.ts +18 -0
  9. package/dist/commonjs/funcs/vendorsGetNextUnansweredScreeningQuestion.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/vendorsGetNextUnansweredScreeningQuestion.js +126 -0
  11. package/dist/commonjs/funcs/vendorsGetNextUnansweredScreeningQuestion.js.map +1 -0
  12. package/dist/commonjs/lib/config.d.ts +4 -4
  13. package/dist/commonjs/lib/config.js +4 -4
  14. package/dist/commonjs/models/components/expand.d.ts +3 -0
  15. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  16. package/dist/commonjs/models/components/expand.js +1 -0
  17. package/dist/commonjs/models/components/expand.js.map +1 -1
  18. package/dist/commonjs/models/components/index.d.ts +2 -0
  19. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  20. package/dist/commonjs/models/components/index.js +2 -0
  21. package/dist/commonjs/models/components/index.js.map +1 -1
  22. package/dist/commonjs/models/components/screeninganswer.d.ts +112 -0
  23. package/dist/commonjs/models/components/screeninganswer.d.ts.map +1 -0
  24. package/dist/commonjs/models/components/screeninganswer.js +138 -0
  25. package/dist/commonjs/models/components/screeninganswer.js.map +1 -0
  26. package/dist/commonjs/models/components/screeningquestion.d.ts +98 -0
  27. package/dist/commonjs/models/components/screeningquestion.d.ts.map +1 -0
  28. package/dist/commonjs/models/components/screeningquestion.js +125 -0
  29. package/dist/commonjs/models/components/screeningquestion.js.map +1 -0
  30. package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.d.ts +70 -0
  31. package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.d.ts.map +1 -0
  32. package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.js +122 -0
  33. package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.js.map +1 -0
  34. package/dist/commonjs/models/operations/index.d.ts +1 -0
  35. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  36. package/dist/commonjs/models/operations/index.js +1 -0
  37. package/dist/commonjs/models/operations/index.js.map +1 -1
  38. package/dist/commonjs/react-query/index.d.ts +1 -0
  39. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  40. package/dist/commonjs/react-query/index.js +1 -0
  41. package/dist/commonjs/react-query/index.js.map +1 -1
  42. package/dist/commonjs/react-query/vendorsGetNextUnansweredScreeningQuestion.d.ts +43 -0
  43. package/dist/commonjs/react-query/vendorsGetNextUnansweredScreeningQuestion.d.ts.map +1 -0
  44. package/dist/commonjs/react-query/vendorsGetNextUnansweredScreeningQuestion.js +97 -0
  45. package/dist/commonjs/react-query/vendorsGetNextUnansweredScreeningQuestion.js.map +1 -0
  46. package/dist/commonjs/sdk/vendors.d.ts +7 -0
  47. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  48. package/dist/commonjs/sdk/vendors.js +10 -0
  49. package/dist/commonjs/sdk/vendors.js.map +1 -1
  50. package/dist/esm/__tests__/vendors.test.js +25 -0
  51. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  52. package/dist/esm/__tests__/webhooks.test.js +1 -1
  53. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  54. package/dist/esm/__tests__/zones.test.js +2 -3
  55. package/dist/esm/__tests__/zones.test.js.map +1 -1
  56. package/dist/esm/funcs/vendorsGetNextUnansweredScreeningQuestion.d.ts +18 -0
  57. package/dist/esm/funcs/vendorsGetNextUnansweredScreeningQuestion.d.ts.map +1 -0
  58. package/dist/esm/funcs/vendorsGetNextUnansweredScreeningQuestion.js +90 -0
  59. package/dist/esm/funcs/vendorsGetNextUnansweredScreeningQuestion.js.map +1 -0
  60. package/dist/esm/lib/config.d.ts +4 -4
  61. package/dist/esm/lib/config.js +4 -4
  62. package/dist/esm/models/components/expand.d.ts +3 -0
  63. package/dist/esm/models/components/expand.d.ts.map +1 -1
  64. package/dist/esm/models/components/expand.js +1 -0
  65. package/dist/esm/models/components/expand.js.map +1 -1
  66. package/dist/esm/models/components/index.d.ts +2 -0
  67. package/dist/esm/models/components/index.d.ts.map +1 -1
  68. package/dist/esm/models/components/index.js +2 -0
  69. package/dist/esm/models/components/index.js.map +1 -1
  70. package/dist/esm/models/components/screeninganswer.d.ts +112 -0
  71. package/dist/esm/models/components/screeninganswer.d.ts.map +1 -0
  72. package/dist/esm/models/components/screeninganswer.js +100 -0
  73. package/dist/esm/models/components/screeninganswer.js.map +1 -0
  74. package/dist/esm/models/components/screeningquestion.d.ts +98 -0
  75. package/dist/esm/models/components/screeningquestion.d.ts.map +1 -0
  76. package/dist/esm/models/components/screeningquestion.js +87 -0
  77. package/dist/esm/models/components/screeningquestion.js.map +1 -0
  78. package/dist/esm/models/operations/getnextunansweredscreeningquestion.d.ts +70 -0
  79. package/dist/esm/models/operations/getnextunansweredscreeningquestion.d.ts.map +1 -0
  80. package/dist/esm/models/operations/getnextunansweredscreeningquestion.js +82 -0
  81. package/dist/esm/models/operations/getnextunansweredscreeningquestion.js.map +1 -0
  82. package/dist/esm/models/operations/index.d.ts +1 -0
  83. package/dist/esm/models/operations/index.d.ts.map +1 -1
  84. package/dist/esm/models/operations/index.js +1 -0
  85. package/dist/esm/models/operations/index.js.map +1 -1
  86. package/dist/esm/react-query/index.d.ts +1 -0
  87. package/dist/esm/react-query/index.d.ts.map +1 -1
  88. package/dist/esm/react-query/index.js +1 -0
  89. package/dist/esm/react-query/index.js.map +1 -1
  90. package/dist/esm/react-query/vendorsGetNextUnansweredScreeningQuestion.d.ts +43 -0
  91. package/dist/esm/react-query/vendorsGetNextUnansweredScreeningQuestion.d.ts.map +1 -0
  92. package/dist/esm/react-query/vendorsGetNextUnansweredScreeningQuestion.js +87 -0
  93. package/dist/esm/react-query/vendorsGetNextUnansweredScreeningQuestion.js.map +1 -0
  94. package/dist/esm/sdk/vendors.d.ts +7 -0
  95. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  96. package/dist/esm/sdk/vendors.js +10 -0
  97. package/dist/esm/sdk/vendors.js.map +1 -1
  98. package/examples/package-lock.json +1 -1
  99. package/jsr.json +1 -1
  100. package/package.json +1 -1
  101. package/src/__tests__/vendors.test.ts +32 -0
  102. package/src/__tests__/webhooks.test.ts +1 -1
  103. package/src/__tests__/zones.test.ts +2 -3
  104. package/src/funcs/vendorsGetNextUnansweredScreeningQuestion.ts +188 -0
  105. package/src/lib/config.ts +4 -4
  106. package/src/models/components/expand.ts +1 -0
  107. package/src/models/components/index.ts +2 -0
  108. package/src/models/components/screeninganswer.ts +195 -0
  109. package/src/models/components/screeningquestion.ts +163 -0
  110. package/src/models/operations/getnextunansweredscreeningquestion.ts +191 -0
  111. package/src/models/operations/index.ts +1 -0
  112. package/src/react-query/index.ts +1 -0
  113. package/src/react-query/vendorsGetNextUnansweredScreeningQuestion.ts +190 -0
  114. package/src/sdk/vendors.ts +18 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screeninganswer.d.ts","sourceRoot":"","sources":["../../../../src/models/components/screeninganswer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AA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AAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
@@ -0,0 +1,138 @@
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.ScreeningAnswer$ = exports.ScreeningAnswer$outboundSchema = exports.ScreeningAnswer$inboundSchema = exports.AnswerType$ = exports.AnswerType$outboundSchema = exports.AnswerType$inboundSchema = exports.AnswerType = void 0;
40
+ exports.screeningAnswerToJSON = screeningAnswerToJSON;
41
+ exports.screeningAnswerFromJSON = screeningAnswerFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const primitives_js_1 = require("../../lib/primitives.js");
44
+ const schemas_js_1 = require("../../lib/schemas.js");
45
+ const screeningquestion_js_1 = require("./screeningquestion.js");
46
+ /**
47
+ * The type of answer option.
48
+ */
49
+ exports.AnswerType = {
50
+ Preset: "preset",
51
+ Date: "date",
52
+ ShortAnswer: "short answer",
53
+ LongAnswer: "long answer",
54
+ };
55
+ /** @internal */
56
+ exports.AnswerType$inboundSchema = z
57
+ .nativeEnum(exports.AnswerType);
58
+ /** @internal */
59
+ exports.AnswerType$outboundSchema = exports.AnswerType$inboundSchema;
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 AnswerType$;
65
+ (function (AnswerType$) {
66
+ /** @deprecated use `AnswerType$inboundSchema` instead. */
67
+ AnswerType$.inboundSchema = exports.AnswerType$inboundSchema;
68
+ /** @deprecated use `AnswerType$outboundSchema` instead. */
69
+ AnswerType$.outboundSchema = exports.AnswerType$outboundSchema;
70
+ })(AnswerType$ || (exports.AnswerType$ = AnswerType$ = {}));
71
+ /** @internal */
72
+ exports.ScreeningAnswer$inboundSchema = z.object({
73
+ id: z.number().int(),
74
+ screening_question_id: z.nullable(z.number().int()).optional(),
75
+ answer: z.nullable(z.string()).optional(),
76
+ answer_type: z.nullable(exports.AnswerType$inboundSchema).optional(),
77
+ answer_title: z.nullable(z.string()).optional(),
78
+ allow_empty_answer: z.boolean(),
79
+ empty_answer_error_message: z.nullable(z.string()).optional(),
80
+ show_confirmation: z.boolean(),
81
+ confirmation_text: z.nullable(z.string()).optional(),
82
+ priority: z.nullable(z.number().int()).optional(),
83
+ screening_questions: z.nullable(z.array(z.lazy(() => screeningquestion_js_1.ScreeningQuestion$inboundSchema))).optional(),
84
+ }).transform((v) => {
85
+ return (0, primitives_js_1.remap)(v, {
86
+ "screening_question_id": "screeningQuestionId",
87
+ "answer_type": "answerType",
88
+ "answer_title": "answerTitle",
89
+ "allow_empty_answer": "allowEmptyAnswer",
90
+ "empty_answer_error_message": "emptyAnswerErrorMessage",
91
+ "show_confirmation": "showConfirmation",
92
+ "confirmation_text": "confirmationText",
93
+ "screening_questions": "screeningQuestions",
94
+ });
95
+ });
96
+ /** @internal */
97
+ exports.ScreeningAnswer$outboundSchema = z.object({
98
+ id: z.number().int(),
99
+ screeningQuestionId: z.nullable(z.number().int()).optional(),
100
+ answer: z.nullable(z.string()).optional(),
101
+ answerType: z.nullable(exports.AnswerType$outboundSchema).optional(),
102
+ answerTitle: z.nullable(z.string()).optional(),
103
+ allowEmptyAnswer: z.boolean(),
104
+ emptyAnswerErrorMessage: z.nullable(z.string()).optional(),
105
+ showConfirmation: z.boolean(),
106
+ confirmationText: z.nullable(z.string()).optional(),
107
+ priority: z.nullable(z.number().int()).optional(),
108
+ screeningQuestions: z.nullable(z.array(z.lazy(() => screeningquestion_js_1.ScreeningQuestion$outboundSchema))).optional(),
109
+ }).transform((v) => {
110
+ return (0, primitives_js_1.remap)(v, {
111
+ screeningQuestionId: "screening_question_id",
112
+ answerType: "answer_type",
113
+ answerTitle: "answer_title",
114
+ allowEmptyAnswer: "allow_empty_answer",
115
+ emptyAnswerErrorMessage: "empty_answer_error_message",
116
+ showConfirmation: "show_confirmation",
117
+ confirmationText: "confirmation_text",
118
+ screeningQuestions: "screening_questions",
119
+ });
120
+ });
121
+ /**
122
+ * @internal
123
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
124
+ */
125
+ var ScreeningAnswer$;
126
+ (function (ScreeningAnswer$) {
127
+ /** @deprecated use `ScreeningAnswer$inboundSchema` instead. */
128
+ ScreeningAnswer$.inboundSchema = exports.ScreeningAnswer$inboundSchema;
129
+ /** @deprecated use `ScreeningAnswer$outboundSchema` instead. */
130
+ ScreeningAnswer$.outboundSchema = exports.ScreeningAnswer$outboundSchema;
131
+ })(ScreeningAnswer$ || (exports.ScreeningAnswer$ = ScreeningAnswer$ = {}));
132
+ function screeningAnswerToJSON(screeningAnswer) {
133
+ return JSON.stringify(exports.ScreeningAnswer$outboundSchema.parse(screeningAnswer));
134
+ }
135
+ function screeningAnswerFromJSON(jsonString) {
136
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ScreeningAnswer$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScreeningAnswer' from JSON`);
137
+ }
138
+ //# sourceMappingURL=screeninganswer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screeninganswer.js","sourceRoot":"","sources":["../../../../src/models/components/screeninganswer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkLH,sDAIC;AAED,0DAQC;AA9LD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,iEAKgC;AAEhC;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,cAAc;IAC3B,UAAU,EAAE,aAAa;CACjB,CAAC;AA4CX,gBAAgB;AACH,QAAA,wBAAwB,GAAuC,CAAC;KAC1E,UAAU,CAAC,kBAAU,CAAC,CAAC;AAE1B,gBAAgB;AACH,QAAA,yBAAyB,GACpC,gCAAwB,CAAC;AAE3B;;;GAGG;AACH,IAAiB,WAAW,CAK3B;AALD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,gCAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,iCAAyB,CAAC;AAC1D,CAAC,EALgB,WAAW,2BAAX,WAAW,QAK3B;AAED,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,MAAM,E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BAAgB,EAAE,mBAAmB;QACrC,gBAAgB,EAAE,mBAAmB;QACrC,kBAAkB,EAAE,qBAAqB;KAC1C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAG/D,CAAC,EAPgB,gBAAgB,gCAAhB,gBAAgB,QAOhC;AAED,SAAgB,qBAAqB,CACnC,eAAgC;IAEhC,OAAO,IAAI,CAAC,SAAS,CAAC,sCAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED,SAAgB,uBAAuB,CACrC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,98 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ import { ScreeningAnswer, ScreeningAnswer$Outbound } from "./screeninganswer.js";
6
+ /**
7
+ * The display format for the question.
8
+ */
9
+ export declare const PresetDisplayAs: {
10
+ readonly FloatingButtons: "floating buttons";
11
+ readonly LineButtons: "line buttons";
12
+ readonly Radio: "radio";
13
+ readonly Select: "select";
14
+ readonly Checkbox: "checkbox";
15
+ readonly Checkbox2Column: "checkbox (2-column)";
16
+ };
17
+ /**
18
+ * The display format for the question.
19
+ */
20
+ export type PresetDisplayAs = ClosedEnum<typeof PresetDisplayAs>;
21
+ /**
22
+ * Reduced list of attributes of ScreeningQuestion record
23
+ */
24
+ export type ScreeningQuestion = {
25
+ id: number;
26
+ screeningQuestionSeriesId: number;
27
+ screeningAnswerId?: number | null | undefined;
28
+ /**
29
+ * The order for displaying the question relative to other questions in the same series. Questions with lower priority values should be shown first.
30
+ */
31
+ priority?: number | null | undefined;
32
+ /**
33
+ * The content of the screening question to be presented.
34
+ */
35
+ question?: string | null | undefined;
36
+ /**
37
+ * The display format for the question.
38
+ */
39
+ presetDisplayAs?: PresetDisplayAs | null | undefined;
40
+ screeningAnswers?: Array<ScreeningAnswer> | undefined;
41
+ };
42
+ /** @internal */
43
+ export declare const PresetDisplayAs$inboundSchema: z.ZodNativeEnum<typeof PresetDisplayAs>;
44
+ /** @internal */
45
+ export declare const PresetDisplayAs$outboundSchema: z.ZodNativeEnum<typeof PresetDisplayAs>;
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export declare namespace PresetDisplayAs$ {
51
+ /** @deprecated use `PresetDisplayAs$inboundSchema` instead. */
52
+ const inboundSchema: z.ZodNativeEnum<{
53
+ readonly FloatingButtons: "floating buttons";
54
+ readonly LineButtons: "line buttons";
55
+ readonly Radio: "radio";
56
+ readonly Select: "select";
57
+ readonly Checkbox: "checkbox";
58
+ readonly Checkbox2Column: "checkbox (2-column)";
59
+ }>;
60
+ /** @deprecated use `PresetDisplayAs$outboundSchema` instead. */
61
+ const outboundSchema: z.ZodNativeEnum<{
62
+ readonly FloatingButtons: "floating buttons";
63
+ readonly LineButtons: "line buttons";
64
+ readonly Radio: "radio";
65
+ readonly Select: "select";
66
+ readonly Checkbox: "checkbox";
67
+ readonly Checkbox2Column: "checkbox (2-column)";
68
+ }>;
69
+ }
70
+ /** @internal */
71
+ export declare const ScreeningQuestion$inboundSchema: z.ZodType<ScreeningQuestion, z.ZodTypeDef, unknown>;
72
+ /** @internal */
73
+ export type ScreeningQuestion$Outbound = {
74
+ id: number;
75
+ screening_question_series_id: number;
76
+ screening_answer_id?: number | null | undefined;
77
+ priority?: number | null | undefined;
78
+ question?: string | null | undefined;
79
+ preset_display_as?: string | null | undefined;
80
+ screening_answers?: Array<ScreeningAnswer$Outbound> | undefined;
81
+ };
82
+ /** @internal */
83
+ export declare const ScreeningQuestion$outboundSchema: z.ZodType<ScreeningQuestion$Outbound, z.ZodTypeDef, ScreeningQuestion>;
84
+ /**
85
+ * @internal
86
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
87
+ */
88
+ export declare namespace ScreeningQuestion$ {
89
+ /** @deprecated use `ScreeningQuestion$inboundSchema` instead. */
90
+ const inboundSchema: z.ZodType<ScreeningQuestion, z.ZodTypeDef, unknown>;
91
+ /** @deprecated use `ScreeningQuestion$outboundSchema` instead. */
92
+ const outboundSchema: z.ZodType<ScreeningQuestion$Outbound, z.ZodTypeDef, ScreeningQuestion>;
93
+ /** @deprecated use `ScreeningQuestion$Outbound` instead. */
94
+ type Outbound = ScreeningQuestion$Outbound;
95
+ }
96
+ export declare function screeningQuestionToJSON(screeningQuestion: ScreeningQuestion): string;
97
+ export declare function screeningQuestionFromJSON(jsonString: string): SafeParseResult<ScreeningQuestion, SDKValidationError>;
98
+ //# sourceMappingURL=screeningquestion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screeningquestion.d.ts","sourceRoot":"","sources":["../../../../src/models/components/screeningquestion.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;CAOlB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC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,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,iBAAiB,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAiBjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
@@ -0,0 +1,125 @@
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.ScreeningQuestion$ = exports.ScreeningQuestion$outboundSchema = exports.ScreeningQuestion$inboundSchema = exports.PresetDisplayAs$ = exports.PresetDisplayAs$outboundSchema = exports.PresetDisplayAs$inboundSchema = exports.PresetDisplayAs = void 0;
40
+ exports.screeningQuestionToJSON = screeningQuestionToJSON;
41
+ exports.screeningQuestionFromJSON = screeningQuestionFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const primitives_js_1 = require("../../lib/primitives.js");
44
+ const schemas_js_1 = require("../../lib/schemas.js");
45
+ const screeninganswer_js_1 = require("./screeninganswer.js");
46
+ /**
47
+ * The display format for the question.
48
+ */
49
+ exports.PresetDisplayAs = {
50
+ FloatingButtons: "floating buttons",
51
+ LineButtons: "line buttons",
52
+ Radio: "radio",
53
+ Select: "select",
54
+ Checkbox: "checkbox",
55
+ Checkbox2Column: "checkbox (2-column)",
56
+ };
57
+ /** @internal */
58
+ exports.PresetDisplayAs$inboundSchema = z.nativeEnum(exports.PresetDisplayAs);
59
+ /** @internal */
60
+ exports.PresetDisplayAs$outboundSchema = exports.PresetDisplayAs$inboundSchema;
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
+ var PresetDisplayAs$;
66
+ (function (PresetDisplayAs$) {
67
+ /** @deprecated use `PresetDisplayAs$inboundSchema` instead. */
68
+ PresetDisplayAs$.inboundSchema = exports.PresetDisplayAs$inboundSchema;
69
+ /** @deprecated use `PresetDisplayAs$outboundSchema` instead. */
70
+ PresetDisplayAs$.outboundSchema = exports.PresetDisplayAs$outboundSchema;
71
+ })(PresetDisplayAs$ || (exports.PresetDisplayAs$ = PresetDisplayAs$ = {}));
72
+ /** @internal */
73
+ exports.ScreeningQuestion$inboundSchema = z.object({
74
+ id: z.number().int(),
75
+ screening_question_series_id: z.number().int(),
76
+ screening_answer_id: z.nullable(z.number().int()).optional(),
77
+ priority: z.nullable(z.number().int()).optional(),
78
+ question: z.nullable(z.string()).optional(),
79
+ preset_display_as: z.nullable(exports.PresetDisplayAs$inboundSchema).optional(),
80
+ screening_answers: z.array(z.lazy(() => screeninganswer_js_1.ScreeningAnswer$inboundSchema))
81
+ .optional(),
82
+ }).transform((v) => {
83
+ return (0, primitives_js_1.remap)(v, {
84
+ "screening_question_series_id": "screeningQuestionSeriesId",
85
+ "screening_answer_id": "screeningAnswerId",
86
+ "preset_display_as": "presetDisplayAs",
87
+ "screening_answers": "screeningAnswers",
88
+ });
89
+ });
90
+ /** @internal */
91
+ exports.ScreeningQuestion$outboundSchema = z.object({
92
+ id: z.number().int(),
93
+ screeningQuestionSeriesId: z.number().int(),
94
+ screeningAnswerId: z.nullable(z.number().int()).optional(),
95
+ priority: z.nullable(z.number().int()).optional(),
96
+ question: z.nullable(z.string()).optional(),
97
+ presetDisplayAs: z.nullable(exports.PresetDisplayAs$outboundSchema).optional(),
98
+ screeningAnswers: z.array(z.lazy(() => screeninganswer_js_1.ScreeningAnswer$outboundSchema))
99
+ .optional(),
100
+ }).transform((v) => {
101
+ return (0, primitives_js_1.remap)(v, {
102
+ screeningQuestionSeriesId: "screening_question_series_id",
103
+ screeningAnswerId: "screening_answer_id",
104
+ presetDisplayAs: "preset_display_as",
105
+ screeningAnswers: "screening_answers",
106
+ });
107
+ });
108
+ /**
109
+ * @internal
110
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
111
+ */
112
+ var ScreeningQuestion$;
113
+ (function (ScreeningQuestion$) {
114
+ /** @deprecated use `ScreeningQuestion$inboundSchema` instead. */
115
+ ScreeningQuestion$.inboundSchema = exports.ScreeningQuestion$inboundSchema;
116
+ /** @deprecated use `ScreeningQuestion$outboundSchema` instead. */
117
+ ScreeningQuestion$.outboundSchema = exports.ScreeningQuestion$outboundSchema;
118
+ })(ScreeningQuestion$ || (exports.ScreeningQuestion$ = ScreeningQuestion$ = {}));
119
+ function screeningQuestionToJSON(screeningQuestion) {
120
+ return JSON.stringify(exports.ScreeningQuestion$outboundSchema.parse(screeningQuestion));
121
+ }
122
+ function screeningQuestionFromJSON(jsonString) {
123
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ScreeningQuestion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScreeningQuestion' from JSON`);
124
+ }
125
+ //# sourceMappingURL=screeningquestion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screeningquestion.js","sourceRoot":"","sources":["../../../../src/models/components/screeningquestion.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgJH,0DAMC;AAED,8DAQC;AA9JD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,6DAK8B;AAE9B;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,eAAe,EAAE,kBAAkB;IACnC,WAAW,EAAE,cAAc;IAC3B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,qBAAqB;CAC9B,CAAC;AA4BX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC;AAElC,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,qCAA6B,CAAC;AAElC;;;GAGG;AACH,IAAiB,gBAAgB,CA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AgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,70 @@
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 GetNextUnansweredScreeningQuestionRequest = {
6
+ /**
7
+ * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
8
+ */
9
+ vendorIdOrMe: string;
10
+ /**
11
+ * An array-style parameter to identify which sections of an object to expand. See documentation for the endpoint for a list of valid expansion values.
12
+ */
13
+ expand?: Array<components.Expand> | undefined;
14
+ };
15
+ /**
16
+ * The request was successful, and the server has returned the requested resource in the response body.
17
+ */
18
+ export type GetNextUnansweredScreeningQuestionResponseBody = {
19
+ screeningQuestion: components.ScreeningQuestion | null;
20
+ screeningResponse: components.ScreeningResponse | null;
21
+ success: boolean;
22
+ };
23
+ /** @internal */
24
+ export declare const GetNextUnansweredScreeningQuestionRequest$inboundSchema: z.ZodType<GetNextUnansweredScreeningQuestionRequest, z.ZodTypeDef, unknown>;
25
+ /** @internal */
26
+ export type GetNextUnansweredScreeningQuestionRequest$Outbound = {
27
+ vendor_id_or_me: string;
28
+ expand?: Array<string> | undefined;
29
+ };
30
+ /** @internal */
31
+ export declare const GetNextUnansweredScreeningQuestionRequest$outboundSchema: z.ZodType<GetNextUnansweredScreeningQuestionRequest$Outbound, z.ZodTypeDef, GetNextUnansweredScreeningQuestionRequest>;
32
+ /**
33
+ * @internal
34
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
35
+ */
36
+ export declare namespace GetNextUnansweredScreeningQuestionRequest$ {
37
+ /** @deprecated use `GetNextUnansweredScreeningQuestionRequest$inboundSchema` instead. */
38
+ const inboundSchema: z.ZodType<GetNextUnansweredScreeningQuestionRequest, z.ZodTypeDef, unknown>;
39
+ /** @deprecated use `GetNextUnansweredScreeningQuestionRequest$outboundSchema` instead. */
40
+ const outboundSchema: z.ZodType<GetNextUnansweredScreeningQuestionRequest$Outbound, z.ZodTypeDef, GetNextUnansweredScreeningQuestionRequest>;
41
+ /** @deprecated use `GetNextUnansweredScreeningQuestionRequest$Outbound` instead. */
42
+ type Outbound = GetNextUnansweredScreeningQuestionRequest$Outbound;
43
+ }
44
+ export declare function getNextUnansweredScreeningQuestionRequestToJSON(getNextUnansweredScreeningQuestionRequest: GetNextUnansweredScreeningQuestionRequest): string;
45
+ export declare function getNextUnansweredScreeningQuestionRequestFromJSON(jsonString: string): SafeParseResult<GetNextUnansweredScreeningQuestionRequest, SDKValidationError>;
46
+ /** @internal */
47
+ export declare const GetNextUnansweredScreeningQuestionResponseBody$inboundSchema: z.ZodType<GetNextUnansweredScreeningQuestionResponseBody, z.ZodTypeDef, unknown>;
48
+ /** @internal */
49
+ export type GetNextUnansweredScreeningQuestionResponseBody$Outbound = {
50
+ screening_question: components.ScreeningQuestion$Outbound | null;
51
+ screening_response: components.ScreeningResponse$Outbound | null;
52
+ success: boolean;
53
+ };
54
+ /** @internal */
55
+ export declare const GetNextUnansweredScreeningQuestionResponseBody$outboundSchema: z.ZodType<GetNextUnansweredScreeningQuestionResponseBody$Outbound, z.ZodTypeDef, GetNextUnansweredScreeningQuestionResponseBody>;
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export declare namespace GetNextUnansweredScreeningQuestionResponseBody$ {
61
+ /** @deprecated use `GetNextUnansweredScreeningQuestionResponseBody$inboundSchema` instead. */
62
+ const inboundSchema: z.ZodType<GetNextUnansweredScreeningQuestionResponseBody, z.ZodTypeDef, unknown>;
63
+ /** @deprecated use `GetNextUnansweredScreeningQuestionResponseBody$outboundSchema` instead. */
64
+ const outboundSchema: z.ZodType<GetNextUnansweredScreeningQuestionResponseBody$Outbound, z.ZodTypeDef, GetNextUnansweredScreeningQuestionResponseBody>;
65
+ /** @deprecated use `GetNextUnansweredScreeningQuestionResponseBody$Outbound` instead. */
66
+ type Outbound = GetNextUnansweredScreeningQuestionResponseBody$Outbound;
67
+ }
68
+ export declare function getNextUnansweredScreeningQuestionResponseBodyToJSON(getNextUnansweredScreeningQuestionResponseBody: GetNextUnansweredScreeningQuestionResponseBody): string;
69
+ export declare function getNextUnansweredScreeningQuestionResponseBodyFromJSON(jsonString: string): SafeParseResult<GetNextUnansweredScreeningQuestionResponseBody, SDKValidationError>;
70
+ //# sourceMappingURL=getnextunansweredscreeningquestion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getnextunansweredscreeningquestion.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getnextunansweredscreeningquestion.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,yCAAyC,GAAG;IACtD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,GAAG,IAAI,CAAC;IACvD,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,GAAG,IAAI,CAAC;IACvD,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAAE,CAAC,C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AAC;IAC/D,8FAA8F;IACvF,MAAM,aAAa,kFACoC,CAAC;IAC/D,+FAA+F;IACxF,MAAM,cAAc,kIACoC,CAAC;IAChE,yFAAyF;IACzF,KAAY,QAAQ,GAClB,uDAAuD,CAAC;CAC3D;AAED,wBAAgB,oDAAoD,CAClE,8CAA8C,EAC5C,8CAA8C,GAC/C,MAAM,CAMR;AAED,wBAAgB,sDAAsD,CACpE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,8CAA8C,EAC9C,kBAAkB,CACnB,CASA"}
@@ -0,0 +1,122 @@
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.GetNextUnansweredScreeningQuestionResponseBody$ = exports.GetNextUnansweredScreeningQuestionResponseBody$outboundSchema = exports.GetNextUnansweredScreeningQuestionResponseBody$inboundSchema = exports.GetNextUnansweredScreeningQuestionRequest$ = exports.GetNextUnansweredScreeningQuestionRequest$outboundSchema = exports.GetNextUnansweredScreeningQuestionRequest$inboundSchema = void 0;
40
+ exports.getNextUnansweredScreeningQuestionRequestToJSON = getNextUnansweredScreeningQuestionRequestToJSON;
41
+ exports.getNextUnansweredScreeningQuestionRequestFromJSON = getNextUnansweredScreeningQuestionRequestFromJSON;
42
+ exports.getNextUnansweredScreeningQuestionResponseBodyToJSON = getNextUnansweredScreeningQuestionResponseBodyToJSON;
43
+ exports.getNextUnansweredScreeningQuestionResponseBodyFromJSON = getNextUnansweredScreeningQuestionResponseBodyFromJSON;
44
+ const z = __importStar(require("zod"));
45
+ const primitives_js_1 = require("../../lib/primitives.js");
46
+ const schemas_js_1 = require("../../lib/schemas.js");
47
+ const components = __importStar(require("../components/index.js"));
48
+ /** @internal */
49
+ exports.GetNextUnansweredScreeningQuestionRequest$inboundSchema = z.object({
50
+ vendor_id_or_me: z.string(),
51
+ expand: z.array(components.Expand$inboundSchema).optional(),
52
+ }).transform((v) => {
53
+ return (0, primitives_js_1.remap)(v, {
54
+ "vendor_id_or_me": "vendorIdOrMe",
55
+ });
56
+ });
57
+ /** @internal */
58
+ exports.GetNextUnansweredScreeningQuestionRequest$outboundSchema = z.object({
59
+ vendorIdOrMe: z.string(),
60
+ expand: z.array(components.Expand$outboundSchema).optional(),
61
+ }).transform((v) => {
62
+ return (0, primitives_js_1.remap)(v, {
63
+ vendorIdOrMe: "vendor_id_or_me",
64
+ });
65
+ });
66
+ /**
67
+ * @internal
68
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
69
+ */
70
+ var GetNextUnansweredScreeningQuestionRequest$;
71
+ (function (GetNextUnansweredScreeningQuestionRequest$) {
72
+ /** @deprecated use `GetNextUnansweredScreeningQuestionRequest$inboundSchema` instead. */
73
+ GetNextUnansweredScreeningQuestionRequest$.inboundSchema = exports.GetNextUnansweredScreeningQuestionRequest$inboundSchema;
74
+ /** @deprecated use `GetNextUnansweredScreeningQuestionRequest$outboundSchema` instead. */
75
+ GetNextUnansweredScreeningQuestionRequest$.outboundSchema = exports.GetNextUnansweredScreeningQuestionRequest$outboundSchema;
76
+ })(GetNextUnansweredScreeningQuestionRequest$ || (exports.GetNextUnansweredScreeningQuestionRequest$ = GetNextUnansweredScreeningQuestionRequest$ = {}));
77
+ function getNextUnansweredScreeningQuestionRequestToJSON(getNextUnansweredScreeningQuestionRequest) {
78
+ return JSON.stringify(exports.GetNextUnansweredScreeningQuestionRequest$outboundSchema.parse(getNextUnansweredScreeningQuestionRequest));
79
+ }
80
+ function getNextUnansweredScreeningQuestionRequestFromJSON(jsonString) {
81
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetNextUnansweredScreeningQuestionRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetNextUnansweredScreeningQuestionRequest' from JSON`);
82
+ }
83
+ /** @internal */
84
+ exports.GetNextUnansweredScreeningQuestionResponseBody$inboundSchema = z.object({
85
+ screening_question: z.nullable(components.ScreeningQuestion$inboundSchema),
86
+ screening_response: z.nullable(components.ScreeningResponse$inboundSchema),
87
+ success: z.boolean(),
88
+ }).transform((v) => {
89
+ return (0, primitives_js_1.remap)(v, {
90
+ "screening_question": "screeningQuestion",
91
+ "screening_response": "screeningResponse",
92
+ });
93
+ });
94
+ /** @internal */
95
+ exports.GetNextUnansweredScreeningQuestionResponseBody$outboundSchema = z.object({
96
+ screeningQuestion: z.nullable(components.ScreeningQuestion$outboundSchema),
97
+ screeningResponse: z.nullable(components.ScreeningResponse$outboundSchema),
98
+ success: z.boolean(),
99
+ }).transform((v) => {
100
+ return (0, primitives_js_1.remap)(v, {
101
+ screeningQuestion: "screening_question",
102
+ screeningResponse: "screening_response",
103
+ });
104
+ });
105
+ /**
106
+ * @internal
107
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
108
+ */
109
+ var GetNextUnansweredScreeningQuestionResponseBody$;
110
+ (function (GetNextUnansweredScreeningQuestionResponseBody$) {
111
+ /** @deprecated use `GetNextUnansweredScreeningQuestionResponseBody$inboundSchema` instead. */
112
+ GetNextUnansweredScreeningQuestionResponseBody$.inboundSchema = exports.GetNextUnansweredScreeningQuestionResponseBody$inboundSchema;
113
+ /** @deprecated use `GetNextUnansweredScreeningQuestionResponseBody$outboundSchema` instead. */
114
+ GetNextUnansweredScreeningQuestionResponseBody$.outboundSchema = exports.GetNextUnansweredScreeningQuestionResponseBody$outboundSchema;
115
+ })(GetNextUnansweredScreeningQuestionResponseBody$ || (exports.GetNextUnansweredScreeningQuestionResponseBody$ = GetNextUnansweredScreeningQuestionResponseBody$ = {}));
116
+ function getNextUnansweredScreeningQuestionResponseBodyToJSON(getNextUnansweredScreeningQuestionResponseBody) {
117
+ return JSON.stringify(exports.GetNextUnansweredScreeningQuestionResponseBody$outboundSchema.parse(getNextUnansweredScreeningQuestionResponseBody));
118
+ }
119
+ function getNextUnansweredScreeningQuestionResponseBodyFromJSON(jsonString) {
120
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetNextUnansweredScreeningQuestionResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetNextUnansweredScreeningQuestionResponseBody' from JSON`);
121
+ }
122
+ //# sourceMappingURL=getnextunansweredscreeningquestion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getnextunansweredscreeningquestion.js","sourceRoot":"","sources":["../../../../src/models/operations/getnextunansweredscreeningquestion.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EH,0GASC;AAED,8GAcC;AA2DD,oHASC;AAED,wHAcC;AA1LD,uCAAyB;AACzB,2D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gD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,qEAA6D,CAAC,KAAK,CACjE,8CAA8C,CAC/C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,sDAAsD,CACpE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,oEAA4D,CAAC,KAAK,CAChE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,4EAA4E,CAC7E,CAAC;AACJ,CAAC"}
@@ -24,6 +24,7 @@ export * from "./deletevendormanagedbycompany.js";
24
24
  export * from "./expeditetimeremaining.js";
25
25
  export * from "./getfacility.js";
26
26
  export * from "./getfhirconfig.js";
27
+ export * from "./getnextunansweredscreeningquestion.js";
27
28
  export * from "./getsecurityzone.js";
28
29
  export * from "./getsubscription.js";
29
30
  export * from "./getsupportarticle.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uCAAuC,CAAC;AACtD,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cA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;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC"}
@@ -43,6 +43,7 @@ __exportStar(require("./deletevendormanagedbycompany.js"), exports);
43
43
  __exportStar(require("./expeditetimeremaining.js"), exports);
44
44
  __exportStar(require("./getfacility.js"), exports);
45
45
  __exportStar(require("./getfhirconfig.js"), exports);
46
+ __exportStar(require("./getnextunansweredscreeningquestion.js"), exports);
46
47
  __exportStar(require("./getsecurityzone.js"), exports);
47
48
  __exportStar(require("./getsubscription.js"), exports);
48
49
  __exportStar(require("./getsupportarticle.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,wDAAsC;AACtC,8DAA4C;AAC5C,0DAAwC;AACxC,uDAAqC;AACrC,+DAA6C;AAC7C,iEAA+C;AAC/C,kEAAgD;AAChD,sDAAoC;AACpC,0DAAwC;AACxC,yDAAuC;AACvC,mDAAiC;AACjC,qDAAmC;AACnC,wEAAsD;AACtD,yDAAuC;AACvC,2DAAyC;AACzC,gEAA8C;AAC9C,yDAAuC;AACvC,+DAA6C;AAC7C,6DAA2C;AAC3C,mDAAiC;AACjC,4DAA0C;AAC1C,kEAAgD;AAChD,oEAAkD;AAClD,6DAA2C;AAC3C,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,yDAAuC;AACvC,mDAAiC;AACjC,kEAAgD;AAChD,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,0DAAwC;AACxC,yDAAuC;AACvC,0DAAwC;AACxC,kDAAgC;AAChC,+DAA6C;AAC7C,gDAA8B;AAC9B,qDAAmC;AACnC,gEAA8C;AAC9C,6DAA2C;AAC3C,sEAAoD;AACpD,+DAA6C;AAC7C,8DAA4C;AAC5C,iEAA+C;AAC/C,mEAAiD;AACjD,kEAAgD;AAChD,8DAA4C;AAC5C,gEAA8C;AAC9C,mDAAiC;AACjC,0EAAwD;AACxD,wEAAsD;AACtD,iEAA+C;AAC/C,mEAAiD;AACjD,6DAA2C;AAC3C,yDAAuC;AACvC,kEAAgD;AAChD,0DAAwC;AACxC,2DAAyC;AACzC,oEAAkD;AAClD,8DAA4C;AAC5C,+DAA6C;AAC7C,gEAA8C;AAC9C,uDAAqC;AACrC,iDAA+B;AAC/B,mDAAiC;AACjC,gDAA8B;AAC9B,4DAA0C;AAC1C,wDAAsC;AACtC,4DAA0C;AAC1C,oDAAkC;AAClC,2DAAyC;AACzC,wDAAsC;AACtC,8DAA4C;AAC5C,yDAAuC;AACvC,mDAAiC;AACjC,4DAA0C;AAC1C,qDAAmC;AACnC,+EAA6D;AAC7D,wDAAsC;AACtC,kEAAgD;AAChD,kEAAgD;AAChD,2DAAyC;AACzC,oEAAkD;AAClD,gEAA8C;AAC9C,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,wDAAsC;AACtC,8DAA4C;AAC5C,0DAAwC;AACxC,uDAAqC;AACrC,+DAA6C;AAC7C,iEAA+C;AAC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