@producerflow/producerflowapi 0.0.1

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.
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ // Copyright 2025 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.DayOfWeekSchema = exports.DayOfWeek = exports.file_google_type_dayofweek = void 0;
17
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
18
+ /**
19
+ * Describes the file google/type/dayofweek.proto.
20
+ */
21
+ exports.file_google_type_dayofweek = (0, codegenv2_1.fileDesc)("Chtnb29nbGUvdHlwZS9kYXlvZndlZWsucHJvdG8SC2dvb2dsZS50eXBlKoQBCglEYXlPZldlZWsSGwoXREFZX09GX1dFRUtfVU5TUEVDSUZJRUQQABIKCgZNT05EQVkQARILCgdUVUVTREFZEAISDQoJV0VETkVTREFZEAMSDAoIVEhVUlNEQVkQBBIKCgZGUklEQVkQBRIMCghTQVRVUkRBWRAGEgoKBlNVTkRBWRAHQq4BCg9jb20uZ29vZ2xlLnR5cGVCDkRheW9md2Vla1Byb3RvUAFaPmdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvdHlwZS9kYXlvZndlZWs7ZGF5b2Z3ZWVrogIDR1RYqgILR29vZ2xlLlR5cGXKAgtHb29nbGVcVHlwZeICF0dvb2dsZVxUeXBlXEdQQk1ldGFkYXRh6gIMR29vZ2xlOjpUeXBlYgZwcm90bzM");
22
+ /**
23
+ * Represents a day of the week.
24
+ *
25
+ * @generated from enum google.type.DayOfWeek
26
+ */
27
+ var DayOfWeek;
28
+ (function (DayOfWeek) {
29
+ /**
30
+ * The day of the week is unspecified.
31
+ *
32
+ * @generated from enum value: DAY_OF_WEEK_UNSPECIFIED = 0;
33
+ */
34
+ DayOfWeek[DayOfWeek["DAY_OF_WEEK_UNSPECIFIED"] = 0] = "DAY_OF_WEEK_UNSPECIFIED";
35
+ /**
36
+ * Monday
37
+ *
38
+ * @generated from enum value: MONDAY = 1;
39
+ */
40
+ DayOfWeek[DayOfWeek["MONDAY"] = 1] = "MONDAY";
41
+ /**
42
+ * Tuesday
43
+ *
44
+ * @generated from enum value: TUESDAY = 2;
45
+ */
46
+ DayOfWeek[DayOfWeek["TUESDAY"] = 2] = "TUESDAY";
47
+ /**
48
+ * Wednesday
49
+ *
50
+ * @generated from enum value: WEDNESDAY = 3;
51
+ */
52
+ DayOfWeek[DayOfWeek["WEDNESDAY"] = 3] = "WEDNESDAY";
53
+ /**
54
+ * Thursday
55
+ *
56
+ * @generated from enum value: THURSDAY = 4;
57
+ */
58
+ DayOfWeek[DayOfWeek["THURSDAY"] = 4] = "THURSDAY";
59
+ /**
60
+ * Friday
61
+ *
62
+ * @generated from enum value: FRIDAY = 5;
63
+ */
64
+ DayOfWeek[DayOfWeek["FRIDAY"] = 5] = "FRIDAY";
65
+ /**
66
+ * Saturday
67
+ *
68
+ * @generated from enum value: SATURDAY = 6;
69
+ */
70
+ DayOfWeek[DayOfWeek["SATURDAY"] = 6] = "SATURDAY";
71
+ /**
72
+ * Sunday
73
+ *
74
+ * @generated from enum value: SUNDAY = 7;
75
+ */
76
+ DayOfWeek[DayOfWeek["SUNDAY"] = 7] = "SUNDAY";
77
+ })(DayOfWeek || (exports.DayOfWeek = DayOfWeek = {}));
78
+ /**
79
+ * Describes the enum google.type.DayOfWeek.
80
+ */
81
+ exports.DayOfWeekSchema = (0, codegenv2_1.enumDesc)(exports.file_google_type_dayofweek, 0);
@@ -0,0 +1,47 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file google/type/timeofday.proto.
5
+ */
6
+ export declare const file_google_type_timeofday: GenFile;
7
+ /**
8
+ * Represents a time of day. The date and time zone are either not significant
9
+ * or are specified elsewhere. An API may choose to allow leap seconds. Related
10
+ * types are [google.type.Date][google.type.Date] and
11
+ * `google.protobuf.Timestamp`.
12
+ *
13
+ * @generated from message google.type.TimeOfDay
14
+ */
15
+ export type TimeOfDay = Message<"google.type.TimeOfDay"> & {
16
+ /**
17
+ * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
18
+ * to allow the value "24:00:00" for scenarios like business closing time.
19
+ *
20
+ * @generated from field: int32 hours = 1;
21
+ */
22
+ hours: number;
23
+ /**
24
+ * Minutes of hour of day. Must be from 0 to 59.
25
+ *
26
+ * @generated from field: int32 minutes = 2;
27
+ */
28
+ minutes: number;
29
+ /**
30
+ * Seconds of minutes of the time. Must normally be from 0 to 59. An API may
31
+ * allow the value 60 if it allows leap-seconds.
32
+ *
33
+ * @generated from field: int32 seconds = 3;
34
+ */
35
+ seconds: number;
36
+ /**
37
+ * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
38
+ *
39
+ * @generated from field: int32 nanos = 4;
40
+ */
41
+ nanos: number;
42
+ };
43
+ /**
44
+ * Describes the message google.type.TimeOfDay.
45
+ * Use `create(TimeOfDaySchema)` to create a new message.
46
+ */
47
+ export declare const TimeOfDaySchema: GenMessage<TimeOfDay>;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // Copyright 2025 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TimeOfDaySchema = exports.file_google_type_timeofday = void 0;
17
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
18
+ /**
19
+ * Describes the file google/type/timeofday.proto.
20
+ */
21
+ exports.file_google_type_timeofday = (0, codegenv2_1.fileDesc)("Chtnb29nbGUvdHlwZS90aW1lb2ZkYXkucHJvdG8SC2dvb2dsZS50eXBlIksKCVRpbWVPZkRheRINCgVob3VycxgBIAEoBRIPCgdtaW51dGVzGAIgASgFEg8KB3NlY29uZHMYAyABKAUSDQoFbmFub3MYBCABKAVCsQEKD2NvbS5nb29nbGUudHlwZUIOVGltZW9mZGF5UHJvdG9QAVo+Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy90eXBlL3RpbWVvZmRheTt0aW1lb2ZkYXn4AQGiAgNHVFiqAgtHb29nbGUuVHlwZcoCC0dvb2dsZVxUeXBl4gIXR29vZ2xlXFR5cGVcR1BCTWV0YWRhdGHqAgxHb29nbGU6OlR5cGViBnByb3RvMw");
22
+ /**
23
+ * Describes the message google.type.TimeOfDay.
24
+ * Use `create(TimeOfDaySchema)` to create a new message.
25
+ */
26
+ exports.TimeOfDaySchema = (0, codegenv2_1.messageDesc)(exports.file_google_type_timeofday, 0);
@@ -0,0 +1,4 @@
1
+ export * from "./producerflow/producer/v1/producer_pb";
2
+ export * from "./producerflow/appointment/v1/appointment_pb";
3
+ export * from "./google/type/dayofweek_pb";
4
+ export * from "./google/type/timeofday_pb";
package/dist/index.js ADDED
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ // Generated ProducerFlow API types
18
+ __exportStar(require("./producerflow/producer/v1/producer_pb"), exports);
19
+ __exportStar(require("./producerflow/appointment/v1/appointment_pb"), exports);
20
+ __exportStar(require("./google/type/dayofweek_pb"), exports);
21
+ __exportStar(require("./google/type/timeofday_pb"), exports);