@conduitplatform/grpc-sdk 0.16.0-alpha.6 → 0.16.0-alpha.8

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 (74) hide show
  1. package/dist/classes/ConduitModule.d.ts +4 -1
  2. package/dist/classes/ConduitModule.js +9 -0
  3. package/dist/classes/ConduitModule.js.map +1 -1
  4. package/dist/index.d.ts +4 -4
  5. package/dist/index.js +14 -32
  6. package/dist/index.js.map +1 -1
  7. package/dist/module.proto +14 -0
  8. package/dist/modules/admin/index.d.ts +2 -2
  9. package/dist/modules/admin/index.js +3 -3
  10. package/dist/modules/admin/index.js.map +1 -1
  11. package/dist/modules/authorization/index.d.ts +3 -2
  12. package/dist/modules/authorization/index.js +4 -4
  13. package/dist/modules/authorization/index.js.map +1 -1
  14. package/dist/modules/config/index.d.ts +2 -2
  15. package/dist/modules/database/index.d.ts +1 -1
  16. package/dist/modules/index.d.ts +0 -2
  17. package/dist/modules/index.js +0 -2
  18. package/dist/modules/index.js.map +1 -1
  19. package/dist/modules/router/index.d.ts +1 -1
  20. package/dist/protoUtils/authentication.d.ts +2 -62
  21. package/dist/protoUtils/authentication.js +111 -258
  22. package/dist/protoUtils/authentication.js.map +1 -1
  23. package/dist/protoUtils/authorization.d.ts +19 -104
  24. package/dist/protoUtils/authorization.js +198 -439
  25. package/dist/protoUtils/authorization.js.map +1 -1
  26. package/dist/protoUtils/chat.d.ts +5 -70
  27. package/dist/protoUtils/chat.js +106 -272
  28. package/dist/protoUtils/chat.js.map +1 -1
  29. package/dist/protoUtils/core.d.ts +65 -121
  30. package/dist/protoUtils/core.js +427 -666
  31. package/dist/protoUtils/core.js.map +1 -1
  32. package/dist/protoUtils/database.d.ts +16 -82
  33. package/dist/protoUtils/database.js +399 -645
  34. package/dist/protoUtils/database.js.map +1 -1
  35. package/dist/protoUtils/email.d.ts +2 -56
  36. package/dist/protoUtils/email.js +131 -259
  37. package/dist/protoUtils/email.js.map +1 -1
  38. package/dist/protoUtils/google/protobuf/empty.d.ts +24 -0
  39. package/dist/protoUtils/google/protobuf/empty.js +63 -0
  40. package/dist/protoUtils/google/protobuf/empty.js.map +1 -0
  41. package/dist/protoUtils/grpc_health_check.d.ts +2 -9
  42. package/dist/protoUtils/grpc_health_check.js +63 -51
  43. package/dist/protoUtils/grpc_health_check.js.map +1 -1
  44. package/dist/protoUtils/index.d.ts +12 -0
  45. package/dist/protoUtils/index.js +29 -0
  46. package/dist/protoUtils/index.js.map +1 -0
  47. package/dist/protoUtils/{forms.d.ts → module.d.ts} +6 -11
  48. package/dist/protoUtils/{forms.js → module.js} +53 -44
  49. package/dist/protoUtils/module.js.map +1 -0
  50. package/dist/protoUtils/push-notifications.d.ts +2 -65
  51. package/dist/protoUtils/push-notifications.js +160 -311
  52. package/dist/protoUtils/push-notifications.js.map +1 -1
  53. package/dist/protoUtils/router.d.ts +7 -75
  54. package/dist/protoUtils/router.js +217 -466
  55. package/dist/protoUtils/router.js.map +1 -1
  56. package/dist/protoUtils/sms.d.ts +2 -59
  57. package/dist/protoUtils/sms.js +110 -233
  58. package/dist/protoUtils/sms.js.map +1 -1
  59. package/dist/protoUtils/storage.d.ts +2 -80
  60. package/dist/protoUtils/storage.js +211 -443
  61. package/dist/protoUtils/storage.js.map +1 -1
  62. package/dist/types/index.d.ts +0 -6
  63. package/dist/types/index.js.map +1 -1
  64. package/package.json +4 -3
  65. package/dist/modules/forms/index.d.ts +0 -6
  66. package/dist/modules/forms/index.js +0 -32
  67. package/dist/modules/forms/index.js.map +0 -1
  68. package/dist/modules/functions/index.d.ts +0 -6
  69. package/dist/modules/functions/index.js +0 -32
  70. package/dist/modules/functions/index.js.map +0 -1
  71. package/dist/protoUtils/forms.js.map +0 -1
  72. package/dist/protoUtils/functions.d.ts +0 -58
  73. package/dist/protoUtils/functions.js +0 -127
  74. package/dist/protoUtils/functions.js.map +0 -1
@@ -1,118 +1,127 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
4
24
  };
5
25
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FormsDefinition = exports.SetConfigResponse = exports.SetConfigRequest = exports.protobufPackage = void 0;
26
+ exports.ConduitModuleDefinition = exports.SetConfigResponse = exports.SetConfigRequest = void 0;
7
27
  /* eslint-disable */
8
- var minimal_1 = __importDefault(require("protobufjs/minimal"));
9
- exports.protobufPackage = "forms";
28
+ var _m0 = __importStar(require("protobufjs/minimal"));
10
29
  function createBaseSetConfigRequest() {
11
- return { newConfig: "" };
30
+ return { newConfig: '' };
12
31
  }
13
32
  exports.SetConfigRequest = {
14
33
  encode: function (message, writer) {
15
- if (writer === void 0) { writer = minimal_1.default.Writer.create(); }
16
- if (message.newConfig !== "") {
34
+ if (writer === void 0) { writer = _m0.Writer.create(); }
35
+ if (message.newConfig !== '') {
17
36
  writer.uint32(10).string(message.newConfig);
18
37
  }
19
38
  return writer;
20
39
  },
21
40
  decode: function (input, length) {
22
- var reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
41
+ var reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
23
42
  var end = length === undefined ? reader.len : reader.pos + length;
24
43
  var message = createBaseSetConfigRequest();
25
44
  while (reader.pos < end) {
26
45
  var tag = reader.uint32();
27
46
  switch (tag >>> 3) {
28
47
  case 1:
29
- if (tag != 10) {
30
- break;
31
- }
32
48
  message.newConfig = reader.string();
33
- continue;
49
+ break;
50
+ default:
51
+ reader.skipType(tag & 7);
52
+ break;
34
53
  }
35
- if ((tag & 7) == 4 || tag == 0) {
36
- break;
37
- }
38
- reader.skipType(tag & 7);
39
54
  }
40
55
  return message;
41
56
  },
42
57
  fromJSON: function (object) {
43
- return { newConfig: isSet(object.newConfig) ? String(object.newConfig) : "" };
58
+ return {
59
+ newConfig: isSet(object.newConfig) ? String(object.newConfig) : '',
60
+ };
44
61
  },
45
62
  toJSON: function (message) {
46
63
  var obj = {};
47
64
  message.newConfig !== undefined && (obj.newConfig = message.newConfig);
48
65
  return obj;
49
66
  },
50
- create: function (base) {
51
- return exports.SetConfigRequest.fromPartial(base !== null && base !== void 0 ? base : {});
52
- },
53
67
  fromPartial: function (object) {
54
68
  var _a;
55
69
  var message = createBaseSetConfigRequest();
56
- message.newConfig = (_a = object.newConfig) !== null && _a !== void 0 ? _a : "";
70
+ message.newConfig = (_a = object.newConfig) !== null && _a !== void 0 ? _a : '';
57
71
  return message;
58
72
  },
59
73
  };
60
74
  function createBaseSetConfigResponse() {
61
- return { updatedConfig: "" };
75
+ return { updatedConfig: '' };
62
76
  }
63
77
  exports.SetConfigResponse = {
64
78
  encode: function (message, writer) {
65
- if (writer === void 0) { writer = minimal_1.default.Writer.create(); }
66
- if (message.updatedConfig !== "") {
79
+ if (writer === void 0) { writer = _m0.Writer.create(); }
80
+ if (message.updatedConfig !== '') {
67
81
  writer.uint32(10).string(message.updatedConfig);
68
82
  }
69
83
  return writer;
70
84
  },
71
85
  decode: function (input, length) {
72
- var reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
86
+ var reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
73
87
  var end = length === undefined ? reader.len : reader.pos + length;
74
88
  var message = createBaseSetConfigResponse();
75
89
  while (reader.pos < end) {
76
90
  var tag = reader.uint32();
77
91
  switch (tag >>> 3) {
78
92
  case 1:
79
- if (tag != 10) {
80
- break;
81
- }
82
93
  message.updatedConfig = reader.string();
83
- continue;
94
+ break;
95
+ default:
96
+ reader.skipType(tag & 7);
97
+ break;
84
98
  }
85
- if ((tag & 7) == 4 || tag == 0) {
86
- break;
87
- }
88
- reader.skipType(tag & 7);
89
99
  }
90
100
  return message;
91
101
  },
92
102
  fromJSON: function (object) {
93
- return { updatedConfig: isSet(object.updatedConfig) ? String(object.updatedConfig) : "" };
103
+ return {
104
+ updatedConfig: isSet(object.updatedConfig) ? String(object.updatedConfig) : '',
105
+ };
94
106
  },
95
107
  toJSON: function (message) {
96
108
  var obj = {};
97
109
  message.updatedConfig !== undefined && (obj.updatedConfig = message.updatedConfig);
98
110
  return obj;
99
111
  },
100
- create: function (base) {
101
- return exports.SetConfigResponse.fromPartial(base !== null && base !== void 0 ? base : {});
102
- },
103
112
  fromPartial: function (object) {
104
113
  var _a;
105
114
  var message = createBaseSetConfigResponse();
106
- message.updatedConfig = (_a = object.updatedConfig) !== null && _a !== void 0 ? _a : "";
115
+ message.updatedConfig = (_a = object.updatedConfig) !== null && _a !== void 0 ? _a : '';
107
116
  return message;
108
117
  },
109
118
  };
110
- exports.FormsDefinition = {
111
- name: "Forms",
112
- fullName: "forms.Forms",
119
+ exports.ConduitModuleDefinition = {
120
+ name: 'ConduitModule',
121
+ fullName: 'conduit.module.v1.ConduitModule',
113
122
  methods: {
114
123
  setConfig: {
115
- name: "SetConfig",
124
+ name: 'SetConfig',
116
125
  requestType: exports.SetConfigRequest,
117
126
  requestStream: false,
118
127
  responseType: exports.SetConfigResponse,
@@ -124,4 +133,4 @@ exports.FormsDefinition = {
124
133
  function isSet(value) {
125
134
  return value !== null && value !== undefined;
126
135
  }
127
- //# sourceMappingURL=forms.js.map
136
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/protoUtils/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,sDAA0C;AAU1C,SAAS,0BAA0B;IACjC,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;AAC3B,CAAC;AAEY,QAAA,gBAAgB,GAAG;IAC9B,MAAM,EAAN,UACE,OAAyB,EACzB,MAAwC;QAAxC,uBAAA,EAAA,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAExC,IAAI,OAAO,CAAC,SAAS,KAAK,EAAE,EAAE;YAC5B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;SAC7C;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,EAAN,UAAO,KAA8B,EAAE,MAAe;QACpD,IAAM,MAAM,GAAG,KAAK,YAAY,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC;QAClE,IAAM,OAAO,GAAG,0BAA0B,EAAE,CAAC;QAC7C,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE;YACvB,IAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE;gBACjB,KAAK,CAAC;oBACJ,OAAO,CA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QACnD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAGW,QAAA,uBAAuB,GAAG;IACrC,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,iCAAiC;IAC3C,OAAO,EAAE;QACP,SAAS,EAAE;YACT,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,wBAAgB;YAC7B,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,yBAAiB;YAC/B,cAAc,EAAE,KAAK;YACrB,OAAO,EAAE,EAAE;SACZ;KACF;CACO,CAAC;AAcX,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -1,11 +1,4 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "pushnotifications";
3
- export interface SetConfigRequest {
4
- newConfig: string;
5
- }
6
- export interface SetConfigResponse {
7
- updatedConfig: string;
8
- }
1
+ import * as _m0 from 'protobufjs/minimal';
9
2
  export interface SetNotificationTokenRequest {
10
3
  token: string;
11
4
  platform: string;
@@ -42,28 +35,11 @@ export interface SendManyNotificationsRequest {
42
35
  export interface SendNotificationResponse {
43
36
  message: string;
44
37
  }
45
- export declare const SetConfigRequest: {
46
- encode(message: SetConfigRequest, writer?: _m0.Writer): _m0.Writer;
47
- decode(input: _m0.Reader | Uint8Array, length?: number): SetConfigRequest;
48
- fromJSON(object: any): SetConfigRequest;
49
- toJSON(message: SetConfigRequest): unknown;
50
- create(base?: DeepPartial<SetConfigRequest>): SetConfigRequest;
51
- fromPartial(object: DeepPartial<SetConfigRequest>): SetConfigRequest;
52
- };
53
- export declare const SetConfigResponse: {
54
- encode(message: SetConfigResponse, writer?: _m0.Writer): _m0.Writer;
55
- decode(input: _m0.Reader | Uint8Array, length?: number): SetConfigResponse;
56
- fromJSON(object: any): SetConfigResponse;
57
- toJSON(message: SetConfigResponse): unknown;
58
- create(base?: DeepPartial<SetConfigResponse>): SetConfigResponse;
59
- fromPartial(object: DeepPartial<SetConfigResponse>): SetConfigResponse;
60
- };
61
38
  export declare const SetNotificationTokenRequest: {
62
39
  encode(message: SetNotificationTokenRequest, writer?: _m0.Writer): _m0.Writer;
63
40
  decode(input: _m0.Reader | Uint8Array, length?: number): SetNotificationTokenRequest;
64
41
  fromJSON(object: any): SetNotificationTokenRequest;
65
42
  toJSON(message: SetNotificationTokenRequest): unknown;
66
- create(base?: DeepPartial<SetNotificationTokenRequest>): SetNotificationTokenRequest;
67
43
  fromPartial(object: DeepPartial<SetNotificationTokenRequest>): SetNotificationTokenRequest;
68
44
  };
69
45
  export declare const SetNotificationTokenResponse: {
@@ -71,7 +47,6 @@ export declare const SetNotificationTokenResponse: {
71
47
  decode(input: _m0.Reader | Uint8Array, length?: number): SetNotificationTokenResponse;
72
48
  fromJSON(object: any): SetNotificationTokenResponse;
73
49
  toJSON(message: SetNotificationTokenResponse): unknown;
74
- create(base?: DeepPartial<SetNotificationTokenResponse>): SetNotificationTokenResponse;
75
50
  fromPartial(object: DeepPartial<SetNotificationTokenResponse>): SetNotificationTokenResponse;
76
51
  };
77
52
  export declare const GetNotificationTokensRequest: {
@@ -79,7 +54,6 @@ export declare const GetNotificationTokensRequest: {
79
54
  decode(input: _m0.Reader | Uint8Array, length?: number): GetNotificationTokensRequest;
80
55
  fromJSON(object: any): GetNotificationTokensRequest;
81
56
  toJSON(message: GetNotificationTokensRequest): unknown;
82
- create(base?: DeepPartial<GetNotificationTokensRequest>): GetNotificationTokensRequest;
83
57
  fromPartial(object: DeepPartial<GetNotificationTokensRequest>): GetNotificationTokensRequest;
84
58
  };
85
59
  export declare const GetNotificationTokensResponse: {
@@ -87,7 +61,6 @@ export declare const GetNotificationTokensResponse: {
87
61
  decode(input: _m0.Reader | Uint8Array, length?: number): GetNotificationTokensResponse;
88
62
  fromJSON(object: any): GetNotificationTokensResponse;
89
63
  toJSON(message: GetNotificationTokensResponse): unknown;
90
- create(base?: DeepPartial<GetNotificationTokensResponse>): GetNotificationTokensResponse;
91
64
  fromPartial(object: DeepPartial<GetNotificationTokensResponse>): GetNotificationTokensResponse;
92
65
  };
93
66
  export declare const SendNotificationRequest: {
@@ -95,7 +68,6 @@ export declare const SendNotificationRequest: {
95
68
  decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationRequest;
96
69
  fromJSON(object: any): SendNotificationRequest;
97
70
  toJSON(message: SendNotificationRequest): unknown;
98
- create(base?: DeepPartial<SendNotificationRequest>): SendNotificationRequest;
99
71
  fromPartial(object: DeepPartial<SendNotificationRequest>): SendNotificationRequest;
100
72
  };
101
73
  export declare const SendNotificationToManyDevicesRequest: {
@@ -103,7 +75,6 @@ export declare const SendNotificationToManyDevicesRequest: {
103
75
  decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationToManyDevicesRequest;
104
76
  fromJSON(object: any): SendNotificationToManyDevicesRequest;
105
77
  toJSON(message: SendNotificationToManyDevicesRequest): unknown;
106
- create(base?: DeepPartial<SendNotificationToManyDevicesRequest>): SendNotificationToManyDevicesRequest;
107
78
  fromPartial(object: DeepPartial<SendNotificationToManyDevicesRequest>): SendNotificationToManyDevicesRequest;
108
79
  };
109
80
  export declare const SendManyNotificationsRequest: {
@@ -111,7 +82,6 @@ export declare const SendManyNotificationsRequest: {
111
82
  decode(input: _m0.Reader | Uint8Array, length?: number): SendManyNotificationsRequest;
112
83
  fromJSON(object: any): SendManyNotificationsRequest;
113
84
  toJSON(message: SendManyNotificationsRequest): unknown;
114
- create(base?: DeepPartial<SendManyNotificationsRequest>): SendManyNotificationsRequest;
115
85
  fromPartial(object: DeepPartial<SendManyNotificationsRequest>): SendManyNotificationsRequest;
116
86
  };
117
87
  export declare const SendNotificationResponse: {
@@ -119,7 +89,6 @@ export declare const SendNotificationResponse: {
119
89
  decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationResponse;
120
90
  fromJSON(object: any): SendNotificationResponse;
121
91
  toJSON(message: SendNotificationResponse): unknown;
122
- create(base?: DeepPartial<SendNotificationResponse>): SendNotificationResponse;
123
92
  fromPartial(object: DeepPartial<SendNotificationResponse>): SendNotificationResponse;
124
93
  };
125
94
  export declare type PushNotificationsDefinition = typeof PushNotificationsDefinition;
@@ -127,28 +96,6 @@ export declare const PushNotificationsDefinition: {
127
96
  readonly name: "PushNotifications";
128
97
  readonly fullName: "pushnotifications.PushNotifications";
129
98
  readonly methods: {
130
- readonly setConfig: {
131
- readonly name: "SetConfig";
132
- readonly requestType: {
133
- encode(message: SetConfigRequest, writer?: _m0.Writer): _m0.Writer;
134
- decode(input: _m0.Reader | Uint8Array, length?: number): SetConfigRequest;
135
- fromJSON(object: any): SetConfigRequest;
136
- toJSON(message: SetConfigRequest): unknown;
137
- create(base?: DeepPartial<SetConfigRequest>): SetConfigRequest;
138
- fromPartial(object: DeepPartial<SetConfigRequest>): SetConfigRequest;
139
- };
140
- readonly requestStream: false;
141
- readonly responseType: {
142
- encode(message: SetConfigResponse, writer?: _m0.Writer): _m0.Writer;
143
- decode(input: _m0.Reader | Uint8Array, length?: number): SetConfigResponse;
144
- fromJSON(object: any): SetConfigResponse;
145
- toJSON(message: SetConfigResponse): unknown;
146
- create(base?: DeepPartial<SetConfigResponse>): SetConfigResponse;
147
- fromPartial(object: DeepPartial<SetConfigResponse>): SetConfigResponse;
148
- };
149
- readonly responseStream: false;
150
- readonly options: {};
151
- };
152
99
  readonly setNotificationToken: {
153
100
  readonly name: "SetNotificationToken";
154
101
  readonly requestType: {
@@ -156,7 +103,6 @@ export declare const PushNotificationsDefinition: {
156
103
  decode(input: _m0.Reader | Uint8Array, length?: number): SetNotificationTokenRequest;
157
104
  fromJSON(object: any): SetNotificationTokenRequest;
158
105
  toJSON(message: SetNotificationTokenRequest): unknown;
159
- create(base?: DeepPartial<SetNotificationTokenRequest>): SetNotificationTokenRequest;
160
106
  fromPartial(object: DeepPartial<SetNotificationTokenRequest>): SetNotificationTokenRequest;
161
107
  };
162
108
  readonly requestStream: false;
@@ -165,7 +111,6 @@ export declare const PushNotificationsDefinition: {
165
111
  decode(input: _m0.Reader | Uint8Array, length?: number): SetNotificationTokenResponse;
166
112
  fromJSON(object: any): SetNotificationTokenResponse;
167
113
  toJSON(message: SetNotificationTokenResponse): unknown;
168
- create(base?: DeepPartial<SetNotificationTokenResponse>): SetNotificationTokenResponse;
169
114
  fromPartial(object: DeepPartial<SetNotificationTokenResponse>): SetNotificationTokenResponse;
170
115
  };
171
116
  readonly responseStream: false;
@@ -178,7 +123,6 @@ export declare const PushNotificationsDefinition: {
178
123
  decode(input: _m0.Reader | Uint8Array, length?: number): GetNotificationTokensRequest;
179
124
  fromJSON(object: any): GetNotificationTokensRequest;
180
125
  toJSON(message: GetNotificationTokensRequest): unknown;
181
- create(base?: DeepPartial<GetNotificationTokensRequest>): GetNotificationTokensRequest;
182
126
  fromPartial(object: DeepPartial<GetNotificationTokensRequest>): GetNotificationTokensRequest;
183
127
  };
184
128
  readonly requestStream: false;
@@ -187,7 +131,6 @@ export declare const PushNotificationsDefinition: {
187
131
  decode(input: _m0.Reader | Uint8Array, length?: number): GetNotificationTokensResponse;
188
132
  fromJSON(object: any): GetNotificationTokensResponse;
189
133
  toJSON(message: GetNotificationTokensResponse): unknown;
190
- create(base?: DeepPartial<GetNotificationTokensResponse>): GetNotificationTokensResponse;
191
134
  fromPartial(object: DeepPartial<GetNotificationTokensResponse>): GetNotificationTokensResponse;
192
135
  };
193
136
  readonly responseStream: false;
@@ -200,7 +143,6 @@ export declare const PushNotificationsDefinition: {
200
143
  decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationRequest;
201
144
  fromJSON(object: any): SendNotificationRequest;
202
145
  toJSON(message: SendNotificationRequest): unknown;
203
- create(base?: DeepPartial<SendNotificationRequest>): SendNotificationRequest;
204
146
  fromPartial(object: DeepPartial<SendNotificationRequest>): SendNotificationRequest;
205
147
  };
206
148
  readonly requestStream: false;
@@ -209,7 +151,6 @@ export declare const PushNotificationsDefinition: {
209
151
  decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationResponse;
210
152
  fromJSON(object: any): SendNotificationResponse;
211
153
  toJSON(message: SendNotificationResponse): unknown;
212
- create(base?: DeepPartial<SendNotificationResponse>): SendNotificationResponse;
213
154
  fromPartial(object: DeepPartial<SendNotificationResponse>): SendNotificationResponse;
214
155
  };
215
156
  readonly responseStream: false;
@@ -222,7 +163,6 @@ export declare const PushNotificationsDefinition: {
222
163
  decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationToManyDevicesRequest;
223
164
  fromJSON(object: any): SendNotificationToManyDevicesRequest;
224
165
  toJSON(message: SendNotificationToManyDevicesRequest): unknown;
225
- create(base?: DeepPartial<SendNotificationToManyDevicesRequest>): SendNotificationToManyDevicesRequest;
226
166
  fromPartial(object: DeepPartial<SendNotificationToManyDevicesRequest>): SendNotificationToManyDevicesRequest;
227
167
  };
228
168
  readonly requestStream: false;
@@ -231,7 +171,6 @@ export declare const PushNotificationsDefinition: {
231
171
  decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationResponse;
232
172
  fromJSON(object: any): SendNotificationResponse;
233
173
  toJSON(message: SendNotificationResponse): unknown;
234
- create(base?: DeepPartial<SendNotificationResponse>): SendNotificationResponse;
235
174
  fromPartial(object: DeepPartial<SendNotificationResponse>): SendNotificationResponse;
236
175
  };
237
176
  readonly responseStream: false;
@@ -244,7 +183,6 @@ export declare const PushNotificationsDefinition: {
244
183
  decode(input: _m0.Reader | Uint8Array, length?: number): SendManyNotificationsRequest;
245
184
  fromJSON(object: any): SendManyNotificationsRequest;
246
185
  toJSON(message: SendManyNotificationsRequest): unknown;
247
- create(base?: DeepPartial<SendManyNotificationsRequest>): SendManyNotificationsRequest;
248
186
  fromPartial(object: DeepPartial<SendManyNotificationsRequest>): SendManyNotificationsRequest;
249
187
  };
250
188
  readonly requestStream: false;
@@ -253,7 +191,6 @@ export declare const PushNotificationsDefinition: {
253
191
  decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationResponse;
254
192
  fromJSON(object: any): SendNotificationResponse;
255
193
  toJSON(message: SendNotificationResponse): unknown;
256
- create(base?: DeepPartial<SendNotificationResponse>): SendNotificationResponse;
257
194
  fromPartial(object: DeepPartial<SendNotificationResponse>): SendNotificationResponse;
258
195
  };
259
196
  readonly responseStream: false;
@@ -262,7 +199,7 @@ export declare const PushNotificationsDefinition: {
262
199
  };
263
200
  };
264
201
  declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
265
- export declare type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
202
+ declare type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
266
203
  [K in keyof T]?: DeepPartial<T[K]>;
267
204
  } : Partial<T>;
268
205
  export {};